Skip to content

Bump degit from 2.8.6 to 3.10.1 - #67

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/degit-3.10.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/degit-3.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Bumps degit from 2.8.6 to 3.10.1.

Release notes

Sourced from degit's releases.

v3.10.1

  • Download failures now reject with a DegitError (an Error with code) instead of a plain object.
  • Log the name of each environment variable read by search_replace directives.
  • Bound search_replace regex execution with a 1s timeout and skip files larger than 10MB.
  • Cap HTTP redirects at 5 when downloading archives, require a Location header, and refuse non-HTTPS redirect targets.
  • Warn when clone directives nest deeper than 5 levels.
  • Fix proxied archive downloads to URLs with a non-default port sending the port inside the hostname field.

v3.10.0

  • Add GitHub Gist support: gist: shorthand, HTTPS and SSH URL forms (#21).

3.9.0

  • Add Degit#doActions() for programmatic degit.json actions and make the constructor source-optional (#33).

3.8.0

  • Add --repo-name / -r flag to clone into a directory named after the repository (#42).
  • Support glob patterns in the remove action's files list behind the allowGlobs flag (#148).

3.7.1

  • Reject remove and keep directives that resolve to the destination root, preventing a degit.json action from deleting the whole clone.
  • Fix --help crash on Node 20.10 caused by import.meta.dirname being undefined before Node 20.11.
  • Fix interactive cache prompt crash on corrupt access.json.

3.7.0

  • Redownload cached tar archives when extraction fails with any tar/zlib error, not only TAR_BAD_ARCHIVE (#41).
  • Added files option to clone only specific files or directories (#129).

3.6.6

  • Support GitLab nested groups by probing candidate user/repo paths at runtime (#76).
  • Clarify --cache flag and default offline fallback behavior in help text and README (#314).
  • Add a JSON Schema for degit.json at schemas/degit.schema.json.
  • Decode URL-encoded subdirectory segments in full repository URLs (#477).

3.6.5

  • Fix interactive mode crash when the cache directory does not exist (#345).
  • Add repository aliases to the CLI (#362).
  • Respect repo.subdir and report the correct mode when using mode: 'git' (#349).
  • Throw an error instead of creating an empty destination when the requested subdirectory does not exist in git mode (#331).

3.6.4

  • Add --version / -V flag to print the package version.

3.6.3

  • Accept full subdirectory URLs containing branch path segments such as /tree/main/... (#370).

3.6.2

  • Fix Bitbucket subdirectory clones that silently create an empty directory (#371).

... (truncated)

Changelog

Sourced from degit's changelog.

[3.10.1]

  • Download failures now reject with a DegitError (an Error with code) instead of a plain object.
  • Log the name of each environment variable read by search_replace directives.
  • Bound search_replace regex execution with a 1s timeout and skip files larger than 10MB.
  • Cap HTTP redirects at 5 when downloading archives, require a Location header, and refuse non-HTTPS redirect targets.
  • Warn when clone directives nest deeper than 5 levels.
  • Fix proxied archive downloads to URLs with a non-default port sending the port inside the hostname field.

[3.10.0]

  • Add GitHub Gist support: gist: shorthand, HTTPS and SSH URL forms (#21).

[3.9.0]

  • Add Degit#doActions() for programmatic degit.json actions and make the constructor source-optional (#33).

[3.8.0]

  • Add --repo-name / -r flag to clone into a directory named after the repository (#42).
  • Support glob patterns in the remove action's files list behind the allowGlobs flag (#148).

[3.7.1]

  • Reject remove and keep directives that resolve to the destination root, preventing a degit.json action from deleting the whole clone.
  • Fix --help crash on Node 20.10 caused by import.meta.dirname being undefined before Node 20.11.
  • Fix interactive cache prompt crash on corrupt access.json.

[3.7.0]

  • Redownload cached tar archives when extraction fails with any tar/zlib error, not only TAR_BAD_ARCHIVE (#41).
  • Added files option to clone only specific files or directories (#129).

[3.6.6]

  • Support GitLab nested groups by probing candidate user/repo paths at runtime (#76).
  • Clarify --cache flag and default offline fallback behavior in help text and README (#314).
  • Add a JSON Schema for degit.json at schemas/degit.schema.json.
  • Decode URL-encoded subdirectory segments in full repository URLs (#477).

[3.6.5]

  • Fix interactive mode crash when the cache directory does not exist (#345).
  • Add repository aliases to the CLI (#362).
  • Respect repo.subdir and report the correct mode when using mode: 'git' (#349).
  • Throw an error instead of creating an empty destination when the requested subdirectory does not exist in git mode (#331).

[3.6.4]

  • Add --version / -V flag to print the package version.

... (truncated)

Commits
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [degit](https://github.com/Rich-Harris/degit) from 2.8.6 to 3.10.1.
- [Release notes](https://github.com/Rich-Harris/degit/releases)
- [Changelog](https://github.com/Rich-Harris/degit/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/Rich-Harris/degit/commits/v3.10.1)

---
updated-dependencies:
- dependency-name: degit
  dependency-version: 3.10.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants