cache-hash
Advanced tools
Comparing version 1.0.0-beta.6 to 1.0.0-beta.7
{ | ||
"name": "cache-hash", | ||
"version": "1.0.0-beta.6", | ||
"version": "1.0.0-beta.7", | ||
"description": "Create hash for static resources to break http cache", | ||
"main": "cache-hash.js", | ||
"main": "dist/src/cache-hash.js", | ||
"scripts": { | ||
"test": "node bin/cache-hash -t test/source -o test/dist --ignore **/error2.css", | ||
"lint": "npx eslint . && npx prettier --check .", | ||
"lint:fix": "npx eslint --fix . && npx prettier --check --write ." | ||
"build": "tsc", | ||
"test": "mocha", | ||
"lint": "eslint src && prettier --check src", | ||
"lint:fix": "eslint --fix src && prettier --check --write src" | ||
}, | ||
@@ -14,3 +15,7 @@ "bin": { | ||
}, | ||
"author": "Lete乐特", | ||
"files": [ | ||
"bin", | ||
"dist" | ||
], | ||
"author": "Lete <me@imlete.cn> (https://www.imlete.cn)", | ||
"license": "MIT", | ||
@@ -45,2 +50,3 @@ "keywords": [ | ||
"fast-glob": "^3.2.11", | ||
"fs-extra": "^10.1.0", | ||
"htmlparser2": "^8.0.1", | ||
@@ -52,5 +58,14 @@ "postcss": "^8.4.14", | ||
"devDependencies": { | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^18.11.0", | ||
"@types/pretty-hrtime": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.40.0", | ||
"@typescript-eslint/parser": "^5.40.0", | ||
"eslint": "^8.20.0", | ||
"prettier": "^2.7.1" | ||
"mocha": "^10.1.0", | ||
"prettier": "^2.7.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
26378
472
8
10
11
1
+ Addedfs-extra@^10.1.0
+ Addedfs-extra@10.1.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addeduniversalify@2.0.1(transitive)