🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

detect-secrets-js

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-secrets-js - npm Package Compare versions

Comparing version

to
2.1.1

8

package.json
{
"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"
}