cpx2
cpx2 copied to clipboard
Upgrade: Bump ignore from 6.0.2 to 7.0.3
Bumps ignore from 6.0.2 to 7.0.3.
Release notes
Sourced from ignore's releases.
7.0.0
Minor feature
The primary feature introduced by
7.0.0is the.checkIgnore()method, which is most equivalent togit check-ignore -v. And also it allows to pass{pattern, mark?}as the parameter of.add()so that we could imitate the mechanism ofgit check-ignoreas:ig.add({ pattern: 'foo/*', mark: '60' })const {
ignored,
rule
} = checkIgnore('foo/')if (ignored) {
console.log(.gitignore:${result}:${rule.mark}:${rule.pattern} foo/)
}// .gitignore:60:foo/* foo/
Potential Incompatibilities
The only situation that
7.0.0might bring incompatibility is to.add()a< 7.0.0instance into a>= 7.0.0instance, which might occur when the current workspace has multiplenode-ignoreversions installed, please be careful.const {anotherIgnoreInstance} = require('./ignore-6.0-instance')// A 7.0.0 instance
ignore().add(anotherIgnoreInstance)// It will break your code
Otherwise, in most cases, if you never do something above or there is only one version of
node-ignoreinstalled in the current workspace, it is quite safe to upgrade to7.0.0.6.x (== 5.3.2)
6.x
- The release of
6.xis due to a mistake.- Making an upgrade from
5.xto 6.x for now actually changes nothing and does no harm, everyone could just upgrade or ignore the version.
- Actually
6.0.2is5.3.2- The next major release will be
7.0.0
Commits
- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updated dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/[email protected] 🔁 npm/[email protected] | None | 0 |
63.1 kB | kael |
@dependabot rebase
Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
Superseded by #142.