detect-secrets-js
Advanced tools
Comparing version
{ | ||
"name": "detect-secrets-js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A JavaScript implementation of Yelp's detect-secrets tool - no Python required", | ||
@@ -50,9 +50,9 @@ "main": "wasm-version/dist/index.js", | ||
"type": "git", | ||
"url": "https://github.com/yourusername/detect-secrets-js.git" | ||
"url": "https://github.com/Expedey/detect-secrets-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/yourusername/detect-secrets-js/issues" | ||
"url": "https://github.com/Expedey/detect-secrets-js/issues" | ||
}, | ||
"homepage": "https://github.com/yourusername/detect-secrets-js#readme", | ||
"homepage": "https://github.com/Expedey/detect-secrets-js#readme", | ||
"engineStrict": true | ||
} |
@@ -126,18 +126,10 @@ # detect-secrets-js | ||
For a comprehensive list of all secret types detected, see the [Secret Types Documentation](wasm-version/docs/secret-types.md). | ||
## Testing | ||
The package includes test files with examples of various secret types: | ||
You can run basic tests with: | ||
- `wasm-version/test/test-file.js`: Basic test file with common secrets | ||
- `wasm-version/test/secret-examples.js`: Comprehensive examples of many secret types | ||
You can run the tests with: | ||
```bash | ||
cd wasm-version | ||
npm run build | ||
node test/test.js # Basic test | ||
node test/test-examples.js # Comprehensive test | ||
node test/test.js | ||
``` | ||
@@ -157,6 +149,10 @@ | ||
### v2.0.1 | ||
### v2.1.1 | ||
- Removed example files containing secrets to avoid GitHub secret scanning | ||
- Updated test files to use safe example values | ||
- Fixed repository URLs | ||
### v2.1.0 | ||
- Removed default file size limits to scan all files by default | ||
- Added comprehensive secret type documentation | ||
- Added additional test files with examples of various secret types | ||
- Fixed minor bugs and improved error handling | ||
@@ -163,0 +159,0 @@ |
{ | ||
"name": "detect-secrets-js", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A JavaScript implementation of Yelp's detect-secrets tool - no Python required", | ||
@@ -50,9 +50,9 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/yourusername/detect-secrets-js.git" | ||
"url": "https://github.com/Expedey/detect-secrets-js.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/yourusername/detect-secrets-js/issues" | ||
"url": "https://github.com/Expedey/detect-secrets-js/issues" | ||
}, | ||
"homepage": "https://github.com/yourusername/detect-secrets-js#readme", | ||
"homepage": "https://github.com/Expedey/detect-secrets-js#readme", | ||
"type": "commonjs" | ||
} |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
156386
-54.43%21
-8.7%167
-2.34%