Skip to content

Commit

Permalink
Update globby, remove unnecessary slice
Browse files Browse the repository at this point in the history
Made possible by this patch:
sindresorhus/globby#235
  • Loading branch information
djmattyg007 committed Jun 19, 2022
1 parent 8f87bc8 commit 27f207d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"types": "dist/index.d.ts",
"dependencies": {
"github-slugger": "^1.4.0",
"globby": "^13.1.1",
"globby": "^13.1.2",
"is-text-path": "^2.0.0",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/scanner.ts
Expand Up @@ -69,7 +69,7 @@ export async function* scanFiles(
caseSensitiveMatch: mergedOptions.caseSensitive,
onlyFiles: true,
gitignore: mergedOptions.useGitignore,
ignoreFiles: mergedOptions.ignoreFiles.slice(),
ignoreFiles: mergedOptions.ignoreFiles,
};
/* eslint-enable unicorn/prefer-spread */
if (mergedOptions.globConcurrency > 0) {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Expand Up @@ -1243,7 +1243,7 @@ __metadata:
chai: 4.3.6
eslint-plugin-mocha: 10.0.5
github-slugger: ^1.4.0
globby: ^13.1.1
globby: ^13.1.2
is-text-path: ^2.0.0
mocha: 10.0.0
prettier: 2.7.1
Expand Down Expand Up @@ -2290,16 +2290,16 @@ __metadata:
languageName: node
linkType: hard

"globby@npm:^13.1.1":
version: 13.1.1
resolution: "globby@npm:13.1.1"
"globby@npm:^13.1.1, globby@npm:^13.1.2":
version: 13.1.2
resolution: "globby@npm:13.1.2"
dependencies:
dir-glob: ^3.0.1
fast-glob: ^3.2.11
ignore: ^5.2.0
merge2: ^1.4.1
slash: ^4.0.0
checksum: e6c43409c6c31b374fbd1c01a8c1811de52336928be9c697e472d2a89a156c9cbf1fb33863755c0447b4db16485858aa57f16628d66a6b7c7131669c9fbe76cd
checksum: c148fcda0c981f00fb434bb94ca258f0a9d23cedbde6fb3f37098e1abde5b065019e2c63fe2aa2fad4daf2b54bf360b4d0423d85fb3a63d09ed75a2837d4de0f
languageName: node
linkType: hard

Expand Down

0 comments on commit 27f207d

Please sign in to comment.