vibe-safe-push 1.0.0 → 1.0.1
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/index.js +2 -2
- package/package.json +1 -1
- package/scanners/advancedScanner.js +2 -2
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const axios = require('axios');
|
|
@@ -104,7 +104,7 @@ async function main() {
|
|
|
104
104
|
logger.success('Premium features are enabled. Running full scan.');
|
|
105
105
|
} else {
|
|
106
106
|
logger.info('Running in free mode. For advanced scanning, unlock premium features.');
|
|
107
|
-
logger.link('Run `npx safe-push --unlock` to begin.');
|
|
107
|
+
logger.link('Run `npx vibe-safe-push --unlock` to begin.');
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
await basicScanner();
|
package/package.json
CHANGED
|
@@ -31,8 +31,8 @@ async function advancedScanner() {
|
|
|
31
31
|
# A basic pre-commit hook to run safe-push before committing.
|
|
32
32
|
#
|
|
33
33
|
|
|
34
|
-
echo "Running safe-push scan before commit..."
|
|
35
|
-
npx safe-push
|
|
34
|
+
echo "Running vibe-safe-push scan before commit..."
|
|
35
|
+
npx vibe-safe-push
|
|
36
36
|
|
|
37
37
|
# If the scan fails (exits with a non-zero code), prevent the commit
|
|
38
38
|
if [ $? -ne 0 ]; then
|