diff --git a/lib/index.js b/lib/index.js index 93abc29..501dad8 100644 --- a/lib/index.js +++ b/lib/index.js @@ -3,7 +3,7 @@ const path = require('path') const getName = require('@npmcli/name-from-folder') const { minimatch } = require('minimatch') const rpj = require('read-package-json-fast') -const glob = require('glob') +const { glob } = require('glob') function appendNegatedPatterns (patterns) { const results = [] diff --git a/package.json b/package.json index 5df4beb..1082a39 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@npmcli/name-from-folder": "^2.0.0", - "glob": "^9.3.1", + "glob": "^10.2.2", "minimatch": "^9.0.0", "read-package-json-fast": "^3.0.0" },