@amritk/resolve-refs 0.4.2 → 0.4.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/dist/get-by-pointer.js +29 -49
- package/dist/index.js +12 -4
- package/dist/is-private-host.js +112 -158
- package/dist/reference.js +50 -76
- package/dist/resolve-refs-from-file.js +350 -507
- package/dist/resolve-refs.js +114 -184
- package/dist/resource-registry.js +125 -170
- package/dist/safe-assign.js +9 -14
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amritk/resolve-refs",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Resolve and inline JSON Schema / OpenAPI $refs — internal, cross-file, and remote — with session caching and a default-deny SSRF guard.",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "tsgo -p tsconfig.build.json && tsc-alias -p tsconfig.build.json -f",
|
|
35
|
+
"build": "tsgo -p tsconfig.build.json && tsc-alias -p tsconfig.build.json -f && node ../../scripts/strip-comments.mjs",
|
|
36
36
|
"types:check": "tsgo -p . --noEmit",
|
|
37
37
|
"test": "NODE_ENV=production vitest run --root ../.. resolve-refs",
|
|
38
38
|
"bench": "bun run ./bench/run.ts"
|