@normalizer/template-backend
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -0,6 +1,9 @@ | ||
const path = require('path') | ||
const core = require('@normalizer/core') | ||
const verifyCommitPath = path.resolve('scripts/verifyCommit.js') | ||
core( | ||
`npx --no-install husky add .husky/pre-commit "npx --no-install lint-staged --allow-empty"`, | ||
`npx --no-install husky add .husky/commit-msg "npx --no-install cross-env GIT_PARAMS=$1 node scripts/verifyCommit.js"` | ||
`npx --no-install husky add .husky/commit-msg "npx --no-install cross-env GIT_PARAMS=$1 node ${verifyCommitPath}"` | ||
) |
{ | ||
"name": "@normalizer/template-backend", | ||
"version": "0.0.3", | ||
"description": "", | ||
"version": "0.0.4", | ||
"description": "nodejs 后台项目规范", | ||
"main": "index.js", | ||
@@ -9,3 +9,3 @@ "author": "", | ||
"dependencies": { | ||
"@normalizer/core": "^0.1.0" | ||
"@normalizer/core": "^0.1.3" | ||
}, | ||
@@ -12,0 +12,0 @@ "scripts": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
1395
4
26
0
2
3
Updated@normalizer/core@^0.1.3