@scalar/oas-utils 0.2.103 → 0.2.105
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/CHANGELOG.md +28 -0
- package/dist/entities/spec/index.js +1 -1
- package/dist/entities/spec/request-examples.d.ts +267 -55
- package/dist/entities/spec/request-examples.d.ts.map +1 -1
- package/dist/entities/spec/request-examples.js +43 -12
- package/dist/entities/spec/spec-objects.js +1 -1
- package/dist/entities/workspace/workspace.d.ts +19 -0
- package/dist/entities/workspace/workspace.d.ts.map +1 -1
- package/dist/entities/workspace/workspace.js +11 -0
- package/dist/helpers/ensure-protocol.d.ts.map +1 -1
- package/dist/helpers/ensure-protocol.js +1 -2
- package/dist/helpers/fetchWithProxyFallback.d.ts +1 -1
- package/dist/helpers/fetchWithProxyFallback.d.ts.map +1 -1
- package/dist/helpers/merge-urls.d.ts +1 -1
- package/dist/helpers/merge-urls.d.ts.map +1 -1
- package/dist/helpers/merge-urls.js +17 -10
- package/dist/helpers/redirectToProxy.d.ts.map +1 -1
- package/dist/helpers/redirectToProxy.js +1 -5
- package/dist/helpers/regexHelpers.d.ts +3 -1
- package/dist/helpers/regexHelpers.d.ts.map +1 -1
- package/dist/helpers/regexHelpers.js +4 -2
- package/dist/migrations/v-2.5.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.5.0/migration.js +11 -0
- package/dist/spec-getters/getRequestBodyFromOperation.d.ts +4 -10
- package/dist/spec-getters/getRequestBodyFromOperation.d.ts.map +1 -1
- package/dist/spec-getters/getRequestBodyFromOperation.js +29 -57
- package/dist/transforms/import-spec.d.ts +1 -3
- package/dist/transforms/import-spec.d.ts.map +1 -1
- package/dist/transforms/import-spec.js +25 -7
- package/package.json +9 -11
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"specification",
|
|
17
17
|
"yaml"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.2.
|
|
19
|
+
"version": "0.2.105",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -123,29 +123,27 @@
|
|
|
123
123
|
"@hyperjump/json-schema": "^1.9.6",
|
|
124
124
|
"flatted": "^3.3.1",
|
|
125
125
|
"microdiff": "^1.4.0",
|
|
126
|
-
"nanoid": "^5.0.
|
|
126
|
+
"nanoid": "^5.0.9",
|
|
127
127
|
"yaml": "^2.4.5",
|
|
128
128
|
"zod": "^3.23.8",
|
|
129
|
-
"@scalar/object-utils": "1.1.
|
|
130
|
-
"@scalar/
|
|
131
|
-
"@scalar/
|
|
132
|
-
"@scalar/types": "0.
|
|
129
|
+
"@scalar/object-utils": "1.1.13",
|
|
130
|
+
"@scalar/themes": "0.9.67",
|
|
131
|
+
"@scalar/types": "0.0.33",
|
|
132
|
+
"@scalar/openapi-types": "0.1.7"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
135
|
"type-fest": "^4.20.0",
|
|
136
136
|
"vite": "^5.4.10",
|
|
137
137
|
"vitest": "^1.6.0",
|
|
138
138
|
"zod-to-ts": "github:amritk/zod-to-ts#build",
|
|
139
|
-
"@scalar/build-tooling": "0.1.
|
|
140
|
-
"@scalar/openapi-
|
|
141
|
-
"@scalar/openapi-
|
|
139
|
+
"@scalar/build-tooling": "0.1.13",
|
|
140
|
+
"@scalar/openapi-types": "0.1.7",
|
|
141
|
+
"@scalar/openapi-parser": "0.10.7"
|
|
142
142
|
},
|
|
143
143
|
"scripts": {
|
|
144
144
|
"build": "scalar-build-rollup",
|
|
145
|
-
"dev": "vite",
|
|
146
145
|
"lint:check": "eslint .",
|
|
147
146
|
"lint:fix": "eslint . --fix",
|
|
148
|
-
"preview": "vite preview",
|
|
149
147
|
"test": "vitest",
|
|
150
148
|
"test:unit": "vitest .",
|
|
151
149
|
"typegen:migration": "vite-node ./src/migrations/generate-types.ts",
|