Comparing version 10.3.4 to 10.3.7
@@ -5,4 +5,4 @@ { | ||
"description": "the most correct and second fastest glob implementation in JavaScript", | ||
"version": "10.3.4", | ||
"bin": "./dist/cjs/src/bin.js", | ||
"version": "10.3.7", | ||
"bin": "./dist/esm/bin.mjs", | ||
"repository": { | ||
@@ -12,14 +12,12 @@ "type": "git", | ||
}, | ||
"main": "./dist/cjs/src/index.js", | ||
"module": "./dist/mjs/index.js", | ||
"types": "./dist/mjs/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.js" | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/src/index.d.ts", | ||
"default": "./dist/cjs/src/index.js" | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
@@ -35,9 +33,9 @@ } | ||
"prepublishOnly": "git push origin --follow-tags", | ||
"prepare": "tsc -p tsconfig/cjs.json && tsc -p tsconfig/esm.json && bash fixup.sh", | ||
"prepare": "tshy", | ||
"pretest": "npm run prepare", | ||
"presnap": "npm run prepare", | ||
"test": "c8 tap", | ||
"snap": "c8 tap", | ||
"test": "tap", | ||
"snap": "tap", | ||
"format": "prettier --write . --loglevel warn", | ||
"typedoc": "typedoc --tsconfig tsconfig/esm.json ./src/*.ts", | ||
"typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts", | ||
"prepublish": "npm run benchclean", | ||
@@ -50,3 +48,3 @@ "profclean": "rm -f v8.log profile.txt", | ||
"prof": "bash prof.sh", | ||
"benchclean": "node benchclean.js" | ||
"benchclean": "node benchclean.cjs" | ||
}, | ||
@@ -73,23 +71,14 @@ "prettier": { | ||
"@types/node": "^20.3.2", | ||
"@types/tap": "^15.0.7", | ||
"c8": "^7.12.0", | ||
"memfs": "^3.4.13", | ||
"mkdirp": "^2.1.4", | ||
"mkdirp": "^3.0.1", | ||
"prettier": "^2.8.3", | ||
"rimraf": "^4.1.3", | ||
"rimraf": "^5.0.1", | ||
"sync-content": "^1.0.2", | ||
"tap": "^16.3.4", | ||
"ts-node": "^10.9.1", | ||
"typedoc": "^0.23.24", | ||
"typescript": "^4.9.4" | ||
"tap": "^18.1.4", | ||
"tshy": "^1.1.1", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2" | ||
}, | ||
"tap": { | ||
"before": "test/00-setup.ts", | ||
"coverage": false, | ||
"node-arg": [ | ||
"--no-warnings", | ||
"--loader", | ||
"ts-node/esm" | ||
], | ||
"ts": false | ||
"before": "test/00-setup.ts" | ||
}, | ||
@@ -102,3 +91,10 @@ "license": "ISC", | ||
"node": ">=16 || 14 >=14.17" | ||
}, | ||
"type": "module", | ||
"tshy": { | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
} | ||
} | ||
} |
@@ -92,3 +92,3 @@ # Glob | ||
const timeSortedFiles = results | ||
.sort((a, b) => a.mtimeMS - b.mtimeMS) | ||
.sort((a, b) => a.mtimeMs - b.mtimeMs) | ||
.map(path => path.fullpath()) | ||
@@ -95,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
454226
10
4259
Yes
2
1