Skip to content

Commit

Permalink
fix: reduce number of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Dec 9, 2024
1 parent a5134db commit 8119edc
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 19 deletions.
67 changes: 50 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"estree-walker": "2.0.2",
"glob": "^7.1.3",
"graceful-fs": "^4.2.9",
"micromatch": "^4.0.8",
"picomatch": "^4.0.2",
"node-gyp-build": "^4.2.2",
"resolve-from": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/node-file-trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
import { basename, dirname, extname, join, relative, resolve, sep } from 'path';
import analyze, { AnalyzeResult } from './analyze';
import resolveDependency, { NotFoundError } from './resolve-dependency';
import { isMatch } from 'micromatch';
import { isMatch } from 'picomatch';

Check failure on line 10 in src/node-file-trace.ts

View workflow job for this annotation

GitHub Actions / Test on node 18 and macos-14

Could not find a declaration file for module 'picomatch'. '/Users/runner/work/nft/nft/node_modules/picomatch/index.js' implicitly has an 'any' type.

Check failure on line 10 in src/node-file-trace.ts

View workflow job for this annotation

GitHub Actions / Test on node 20 and macos-14

Could not find a declaration file for module 'picomatch'. '/Users/runner/work/nft/nft/node_modules/picomatch/index.js' implicitly has an 'any' type.
import { sharedLibEmit } from './utils/sharedlib-emit';
import { CachedFileSystem } from './fs';

Expand Down

0 comments on commit 8119edc

Please sign in to comment.