supasec 1.0.1 → 1.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/COMPLETION_REPORT.md +324 -0
- package/FIXES_SUMMARY.md +224 -0
- package/IMPLEMENTATION_NOTES.md +305 -0
- package/QUICK_REFERENCE.md +185 -0
- package/README.md +1 -1
- package/REPORTING.md +217 -0
- package/STATUS.md +269 -0
- package/dist/commands/scan.d.ts +1 -0
- package/dist/commands/scan.d.ts.map +1 -1
- package/dist/commands/scan.js +186 -15
- package/dist/commands/scan.js.map +1 -1
- package/dist/models/scan-result.d.ts +8 -0
- package/dist/models/scan-result.d.ts.map +1 -1
- package/dist/models/scan-result.js.map +1 -1
- package/dist/reporters/html.d.ts +18 -0
- package/dist/reporters/html.d.ts.map +1 -0
- package/dist/reporters/html.js +946 -0
- package/dist/reporters/html.js.map +1 -0
- package/dist/reporters/index.d.ts +2 -0
- package/dist/reporters/index.d.ts.map +1 -1
- package/dist/reporters/index.js +2 -0
- package/dist/reporters/index.js.map +1 -1
- package/dist/reporters/terminal.d.ts.map +1 -1
- package/dist/reporters/terminal.js +9 -0
- package/dist/reporters/terminal.js.map +1 -1
- package/dist/scanners/secrets/detector.d.ts.map +1 -1
- package/dist/scanners/secrets/detector.js +6 -2
- package/dist/scanners/secrets/detector.js.map +1 -1
- package/package.json +1 -1
- package/reports/supasec---------app-2026-01-28-16-58-47.html +804 -0
- package/reports/supasec---------app-2026-01-28-17-06-43.html +722 -0
- package/reports/supasec---------app-2026-01-28-17-07-23.html +722 -0
- package/reports/supasec---------app-2026-01-28-17-08-00.html +722 -0
- package/reports/supasec---------app-2026-01-28-17-08-20.html +722 -0
- package/reports/supasec---------app-2026-01-28-17-08-41.html +722 -0
- package/reports/supasec-au---your-app-2026-01-28-17-14-57.html +715 -0
- package/reports/supasec-au---your-app-2026-01-28-17-19-03.html +715 -0
- package/reports/supasec-audityour-app-2026-01-28-17-09-24.html +722 -0
- package/reports/supasec-ex-mple-com-2026-01-28-17-14-52.json +229 -0
- package/reports/supasec-ex-mple-com-2026-01-28-17-15-39.html +715 -0
- package/reports/supasec-ex-mple-com-2026-01-28-17-17-22.html +715 -0
- package/reports/supasec-example-com-2026-01-28-17-15-06.html +715 -0
- package/reports/supasec-my--------------name-com-2026-01-28-17-15-02.html +715 -0
- package/reports/supasec-st-ging-com-2026-01-28-17-16-17.html +715 -0
- package/PUBLISHING.md +0 -51
package/PUBLISHING.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Publishing Guide
|
|
2
|
-
|
|
3
|
-
## One-time Setup
|
|
4
|
-
|
|
5
|
-
1. **Get npm token** from https://www.npmjs.com/settings/~/tokens
|
|
6
|
-
2. **Set globally:**
|
|
7
|
-
```bash
|
|
8
|
-
npm config set //registry.npmjs.org/:_authToken npm_YOUR_TOKEN_HERE
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Publishing
|
|
12
|
-
|
|
13
|
-
### Using current version in package.json
|
|
14
|
-
```bash
|
|
15
|
-
node scripts/publish.js
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Publishing as new version
|
|
19
|
-
```bash
|
|
20
|
-
node scripts/publish.js 1.0.5
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
The script automatically:
|
|
24
|
-
- ✓ Updates `package.json` version
|
|
25
|
-
- ✓ Updates `README.md` with new version
|
|
26
|
-
- ✓ Runs `npm run build`
|
|
27
|
-
- ✓ Publishes to npm
|
|
28
|
-
|
|
29
|
-
## Verify Publication
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
npm view supasec version
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Install Latest Version
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npx supasec scan <url>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## What the Script Does
|
|
42
|
-
|
|
43
|
-
| Step | Command |
|
|
44
|
-
|------|---------|
|
|
45
|
-
| 1. Set version | Updates `package.json` |
|
|
46
|
-
| 2. Update docs | Updates `README.md` version tags |
|
|
47
|
-
| 3. Build | Runs `npm run build` |
|
|
48
|
-
| 4. Publish | Runs `npm publish` |
|
|
49
|
-
| 5. Confirm | Shows installation instructions |
|
|
50
|
-
|
|
51
|
-
If anything fails, the script reverts `package.json` to the previous version.
|