Skip to content

Commit 8195047

Browse files
isabellahochstainless-app[bot]
authored andcommitted
add minimatch dep, fix glob issue (#12)
1 parent 673f532 commit 8195047

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464
"import": "./dist/*.mjs",
6565
"require": "./dist/*.js"
6666
}
67+
},
68+
"dependencies": {
69+
"minimatch": "^10.0.3"
6770
}
6871
}

src/lib/helpers.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import fs from 'fs';
22
import path from 'path';
33
import minimatch from 'minimatch';
4-
import pkg from 'glob';
5-
const { glob } = pkg;
64

75
export interface FileData {
86
path: string;

yarn.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,18 @@
446446
resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.4.1.tgz#9a96ce501bc62df46c4031fbd970e3cc6b10f07b"
447447
integrity sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==
448448

449+
"@isaacs/balanced-match@^4.0.1":
450+
version "4.0.1"
451+
resolved "https://registry.yarnpkg.com/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz#3081dadbc3460661b751e7591d7faea5df39dd29"
452+
integrity sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==
453+
454+
"@isaacs/brace-expansion@^5.0.0":
455+
version "5.0.0"
456+
resolved "https://registry.yarnpkg.com/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz#4b3dabab7d8e75a429414a96bd67bf4c1d13e0f3"
457+
integrity sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==
458+
dependencies:
459+
"@isaacs/balanced-match" "^4.0.1"
460+
449461
"@istanbuljs/load-nyc-config@^1.0.0":
450462
version "1.1.0"
451463
resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
@@ -2628,6 +2640,13 @@ mimic-fn@^2.1.0:
26282640
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
26292641
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
26302642

2643+
minimatch@^10.0.3:
2644+
version "10.0.3"
2645+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.3.tgz#cf7a0314a16c4d9ab73a7730a0e8e3c3502d47aa"
2646+
integrity sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==
2647+
dependencies:
2648+
"@isaacs/brace-expansion" "^5.0.0"
2649+
26312650
minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:
26322651
version "3.1.2"
26332652
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"

0 commit comments

Comments
 (0)