@daloyjs/core 0.34.2 → 0.35.0
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/README.md +14 -11
- package/dist/cli.d.ts +32 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +62 -4
- package/dist/cli.js.map +1 -1
- package/dist/fetch-guard.d.ts +50 -5
- package/dist/fetch-guard.d.ts.map +1 -1
- package/dist/fetch-guard.js +83 -17
- package/dist/fetch-guard.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/jwt.d.ts +15 -0
- package/dist/jwt.d.ts.map +1 -1
- package/dist/jwt.js +56 -2
- package/dist/jwt.js.map +1 -1
- package/dist/middleware.d.ts +78 -0
- package/dist/middleware.d.ts.map +1 -1
- package/dist/middleware.js +134 -5
- package/dist/middleware.js.map +1 -1
- package/dist/safe-redirect.d.ts +92 -0
- package/dist/safe-redirect.d.ts.map +1 -0
- package/dist/safe-redirect.js +169 -0
- package/dist/safe-redirect.js.map +1 -0
- package/dist/sbom.cdx.json +13 -9
- package/dist/sbom.spdx.json +5 -5
- package/dist/security.d.ts +134 -2
- package/dist/security.d.ts.map +1 -1
- package/dist/security.js +265 -5
- package/dist/security.js.map +1 -1
- package/package.json +30 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daloyjs/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "DaloyJS is a runtime-portable, contract-first TypeScript web framework with built-in OpenAPI (Hey API), typed client generation, large-scale maintainability, and security-first defaults. Hono-grade portability, Elysia-grade DX, FastAPI-grade docs, Fastify-grade ops — distributed via pnpm.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -158,12 +158,6 @@
|
|
|
158
158
|
"typescript": "^6.0.3",
|
|
159
159
|
"zod": "^4.4.3"
|
|
160
160
|
},
|
|
161
|
-
"files": [
|
|
162
|
-
"dist",
|
|
163
|
-
"bin",
|
|
164
|
-
"README.md"
|
|
165
|
-
],
|
|
166
|
-
"dependencies": {},
|
|
167
161
|
"scripts": {
|
|
168
162
|
"build": "tsc -p tsconfig.json",
|
|
169
163
|
"dev": "tsc -w -p tsconfig.json",
|
|
@@ -173,6 +167,7 @@
|
|
|
173
167
|
"coverage": "node --import tsx --test --experimental-test-coverage --test-coverage-include='src/**' --test-coverage-lines=90 --test-coverage-functions=90 tests/**/*.test.ts",
|
|
174
168
|
"coverage:branches": "tsc -p tsconfig.coverage.json && node --test --experimental-test-coverage --test-coverage-include='dist-coverage/src/**' --test-coverage-branches=90 dist-coverage/tests/**/*.test.js",
|
|
175
169
|
"typecheck": "tsc --noEmit",
|
|
170
|
+
"format": "prettier --write .",
|
|
176
171
|
"gen:openapi": "node --import tsx scripts/dump-openapi.ts",
|
|
177
172
|
"gen:client": "openapi-ts",
|
|
178
173
|
"gen:sbom": "node --import tsx scripts/generate-sbom.ts --package-json ./package.json --out-cyclonedx ./dist/sbom.cdx.json --out-spdx ./dist/sbom.spdx.json && node --import tsx scripts/generate-sbom.ts --package-json ./packages/create-daloy/package.json --out-cyclonedx ./packages/create-daloy/sbom.cdx.json --out-spdx ./packages/create-daloy/sbom.spdx.json",
|
|
@@ -180,21 +175,42 @@
|
|
|
180
175
|
"verify:lockfile": "node --import tsx scripts/verify-lockfile-sources.ts",
|
|
181
176
|
"verify:no-runtime-deps": "node --import tsx scripts/verify-no-runtime-deps.ts",
|
|
182
177
|
"verify:no-lifecycle-scripts": "node --import tsx scripts/verify-no-lifecycle-scripts.ts",
|
|
178
|
+
"verify:no-shrinkwrap": "node --import tsx scripts/verify-no-shrinkwrap.ts",
|
|
183
179
|
"verify:no-bin-shadowing": "node --import tsx scripts/verify-no-bin-shadowing.ts",
|
|
184
180
|
"verify:secret-comparisons": "node --import tsx scripts/verify-secret-comparisons.ts",
|
|
185
181
|
"verify:no-unsafe-buffer": "node --import tsx scripts/verify-no-unsafe-buffer.ts",
|
|
186
182
|
"verify:no-remote-exec": "node --import tsx scripts/verify-no-remote-exec.ts",
|
|
187
183
|
"verify:no-vulnerable-sandboxes": "node --import tsx scripts/verify-no-vulnerable-sandboxes.ts",
|
|
184
|
+
"verify:no-native-addons": "node --import tsx scripts/verify-no-native-addons.ts",
|
|
188
185
|
"verify:no-leaked-credentials": "node --import tsx scripts/verify-no-leaked-credentials.ts",
|
|
186
|
+
"verify:no-leaky-agent-skills": "node --import tsx scripts/verify-no-leaky-agent-skills.ts",
|
|
187
|
+
"verify:no-toxic-agent-skills": "node --import tsx scripts/verify-no-toxic-agent-skills.ts",
|
|
189
188
|
"verify:no-invisible-unicode": "node --import tsx scripts/verify-no-invisible-unicode.ts",
|
|
190
189
|
"verify:no-encoded-payloads": "node --import tsx scripts/verify-no-encoded-payloads.ts",
|
|
191
190
|
"verify:no-registry-exfiltration": "node --import tsx scripts/verify-no-registry-exfiltration.ts",
|
|
191
|
+
"verify:no-polyfill-cdns": "node --import tsx scripts/verify-no-polyfill-cdns.ts",
|
|
192
|
+
"verify:no-toxic-skills": "node --import tsx scripts/verify-no-toxic-skills.ts",
|
|
193
|
+
"verify:no-weak-random": "node --import tsx scripts/verify-no-weak-random.ts",
|
|
194
|
+
"verify:no-redos-patterns": "node --import tsx scripts/verify-no-redos-patterns.ts",
|
|
195
|
+
"verify:dep-licenses": "node --import tsx scripts/verify-dep-licenses.ts",
|
|
196
|
+
"verify:known-dep-names": "node --import tsx scripts/verify-known-dep-names.ts",
|
|
197
|
+
"verify:runtime-eol": "node --import tsx scripts/verify-runtime-eol.ts",
|
|
192
198
|
"verify:actions-pinned": "node --import tsx scripts/verify-actions-pinned.ts",
|
|
193
|
-
"verify:
|
|
194
|
-
"verify:
|
|
195
|
-
"verify:
|
|
196
|
-
"verify:
|
|
199
|
+
"verify:parity-audits": "node --import tsx scripts/verify-parity-audits.ts",
|
|
200
|
+
"verify:governance-audits": "node --import tsx scripts/verify-governance-audits.ts",
|
|
201
|
+
"verify:runtime-parity-audits": "node --import tsx scripts/verify-runtime-parity-audits.ts",
|
|
202
|
+
"verify:routing-hardening-audits": "node --import tsx scripts/verify-routing-hardening-audits.ts",
|
|
197
203
|
"verify:sbom": "node --import tsx scripts/verify-sbom.ts",
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
204
|
+
"scan:staged-secrets": "node --import tsx scripts/scan-staged-secrets.ts",
|
|
205
|
+
"hooks:install": "node --import tsx scripts/install-git-hooks.ts",
|
|
206
|
+
"audit": "pnpm audit --prod",
|
|
207
|
+
"prepublishOnly": "pnpm build && pnpm gen:sbom"
|
|
208
|
+
},
|
|
209
|
+
"files": [
|
|
210
|
+
"dist",
|
|
211
|
+
"bin",
|
|
212
|
+
"README.md"
|
|
213
|
+
],
|
|
214
|
+
"packageManager": "pnpm@11.1.3",
|
|
215
|
+
"dependencies": {}
|
|
216
|
+
}
|