@patchstack/connect 0.5.24 → 0.5.26
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/AGENT-INSTALL.md +117 -9
- package/README.md +30 -0
- package/dist/cli.js +522 -153
- package/dist/cli.js.map +1 -1
- package/dist/protect/templates/next-guard.ts +54 -0
- package/dist/protect.cjs +11 -3
- package/dist/protect.cjs.map +1 -1
- package/dist/protect.edge.js +12 -4
- package/dist/protect.edge.js.map +1 -1
- package/dist/protect.js +11 -3
- package/dist/protect.js.map +1 -1
- package/package.json +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patchstack/connect",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
4
4
|
"description": "Runtime application security for JavaScript and Node.js: dependency inventory, attack-surface mapping, and an in-process guard that virtually patches known vulnerabilities and hardens responses.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"patchstack",
|
|
@@ -54,6 +54,13 @@
|
|
|
54
54
|
"default": "./dist/protect.js"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
+
"typesVersions": {
|
|
58
|
+
"*": {
|
|
59
|
+
"protect": [
|
|
60
|
+
"dist/protect.d.ts"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
57
64
|
"bin": {
|
|
58
65
|
"patchstack-connect": "./dist/cli.js"
|
|
59
66
|
},
|
|
@@ -70,6 +77,7 @@
|
|
|
70
77
|
"test": "vitest run",
|
|
71
78
|
"test:consumers": "node scripts/compat-matrix.mjs",
|
|
72
79
|
"test:bundled": "node scripts/bundled-consumer.mjs",
|
|
80
|
+
"test:next": "node scripts/next-consumer.mjs",
|
|
73
81
|
"test:demos": "npm run build && node scripts/run-demos.mjs",
|
|
74
82
|
"audit:side-effects": "npm run build && node scripts/side-effect-audit.mjs --selftest && node scripts/side-effect-audit.mjs",
|
|
75
83
|
"test:manifest": "bun scripts/test-manifest.ts",
|