cve-scanner 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/dataset.json +1 -1
- package/package.json +2 -2
package/data/dataset.json
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cve-scanner",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run format && tsc -p .",
|
|
6
6
|
"format": "prettier --write .",
|
|
7
|
-
"release": "npm run refresh-dataset && npm run check-dataset-changed && git add data/dataset.hash && npm version patch && npm run build && npm publish && git push --follow-tags",
|
|
7
|
+
"release": "npm run refresh-dataset && npm run check-dataset-changed && git add data/dataset.hash && (git diff --cached --quiet || git commit -m \"chore: update dataset hash\") && npm version patch && npm run build && npm publish && git push --follow-tags",
|
|
8
8
|
"run": "npm run build && node ./dist/cmd/cve-scanner.js",
|
|
9
9
|
"test": "npm run build && node --test ./dist",
|
|
10
10
|
"fetch-osv-data": "node scripts/fetch-osv-data.js .osv-data",
|