@scalar/oas-utils 0.4.22 → 0.4.24
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 +37 -0
- package/dist/entities/spec/collection.d.ts.map +1 -1
- package/dist/entities/spec/request-examples.d.ts +65 -65
- package/dist/entities/spec/request-examples.d.ts.map +1 -1
- package/dist/entities/spec/requests.d.ts +3 -3
- package/dist/entities/spec/requests.d.ts.map +1 -1
- package/dist/entities/spec/spec-objects.d.ts.map +1 -1
- package/dist/helpers/fetch-document.d.ts +1 -1
- package/dist/helpers/fetch-document.d.ts.map +1 -1
- package/dist/helpers/fetch-document.js +2 -2
- package/dist/helpers/fetch-document.js.map +2 -2
- package/dist/helpers/normalize-mime-type-object.d.ts +1 -1
- package/dist/helpers/normalize-mime-type-object.d.ts.map +1 -1
- package/dist/helpers/normalize-mime-type-object.js.map +1 -1
- package/dist/helpers/operation-stability.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/operation-to-har.d.ts +1 -3
- package/dist/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/operation-to-har.js.map +2 -2
- package/dist/helpers/operation-to-har/process-body.d.ts +2 -2
- package/dist/helpers/operation-to-har/process-body.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/process-body.js +18 -1
- package/dist/helpers/operation-to-har/process-body.js.map +2 -2
- package/dist/helpers/operation-to-har/process-parameters.d.ts +1 -2
- package/dist/helpers/operation-to-har/process-parameters.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/process-parameters.js.map +2 -2
- package/dist/helpers/operation-to-har/process-security-schemes.d.ts +1 -1
- package/dist/helpers/operation-to-har/process-security-schemes.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/process-security-schemes.js +2 -1
- package/dist/helpers/operation-to-har/process-security-schemes.js.map +2 -2
- package/dist/helpers/operation-to-har/process-server-url.d.ts +1 -1
- package/dist/helpers/operation-to-har/process-server-url.d.ts.map +1 -1
- package/dist/helpers/operation-to-har/process-server-url.js.map +1 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/helpers/pretty-print-json.d.ts.map +1 -1
- package/dist/helpers/security/get-schemes.d.ts.map +1 -1
- package/dist/helpers/security/has-token.d.ts.map +1 -1
- package/dist/helpers/servers.d.ts +1 -1
- package/dist/helpers/servers.d.ts.map +1 -1
- package/dist/helpers/servers.js.map +1 -1
- package/dist/helpers/should-ignore-entity.d.ts.map +1 -1
- package/dist/migrations/local-storage.d.ts.map +1 -1
- package/dist/migrations/semver.d.ts.map +1 -1
- package/dist/migrations/v-2.1.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.2.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.3.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.4.0/migration.d.ts.map +1 -1
- package/dist/migrations/v-2.5.0/migration.d.ts.map +1 -1
- package/dist/spec-getters/get-example-from-schema.d.ts +3 -3
- package/dist/spec-getters/get-example-from-schema.d.ts.map +1 -1
- package/dist/spec-getters/get-example-from-schema.js +55 -53
- package/dist/spec-getters/get-example-from-schema.js.map +2 -2
- package/dist/spec-getters/get-parameters-from-operation.d.ts.map +1 -1
- package/dist/spec-getters/get-parameters-from-operation.js +1 -4
- package/dist/spec-getters/get-parameters-from-operation.js.map +2 -2
- package/dist/spec-getters/get-request-body-from-operation.js +1 -1
- package/dist/spec-getters/get-request-body-from-operation.js.map +2 -2
- package/dist/spec-getters/get-server-variable-examples.d.ts.map +1 -1
- package/dist/transforms/import-spec.d.ts.map +1 -1
- package/package.json +9 -8
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"specification",
|
|
17
17
|
"yaml"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.4.
|
|
19
|
+
"version": "0.4.24",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=20"
|
|
22
22
|
},
|
|
@@ -94,18 +94,19 @@
|
|
|
94
94
|
"@hyperjump/json-schema": "^1.9.6",
|
|
95
95
|
"@types/har-format": "^1.2.15",
|
|
96
96
|
"flatted": "^3.3.3",
|
|
97
|
+
"js-base64": "^3.7.8",
|
|
97
98
|
"microdiff": "^1.5.0",
|
|
98
99
|
"nanoid": "5.1.5",
|
|
99
100
|
"type-fest": "4.41.0",
|
|
100
101
|
"yaml": "2.8.0",
|
|
101
102
|
"zod": "3.24.1",
|
|
102
|
-
"@scalar/helpers": "0.0.
|
|
103
|
-
"@scalar/json-magic": "0.
|
|
103
|
+
"@scalar/helpers": "0.0.9",
|
|
104
|
+
"@scalar/json-magic": "0.4.0",
|
|
104
105
|
"@scalar/openapi-types": "0.3.7",
|
|
105
|
-
"@scalar/object-utils": "1.2.
|
|
106
|
-
"@scalar/themes": "0.13.
|
|
107
|
-
"@scalar/
|
|
108
|
-
"@scalar/
|
|
106
|
+
"@scalar/object-utils": "1.2.5",
|
|
107
|
+
"@scalar/themes": "0.13.16",
|
|
108
|
+
"@scalar/workspace-store": "0.15.1",
|
|
109
|
+
"@scalar/types": "0.2.15"
|
|
109
110
|
},
|
|
110
111
|
"devDependencies": {
|
|
111
112
|
"@types/node": "^22.9.0",
|
|
@@ -114,7 +115,7 @@
|
|
|
114
115
|
"vitest": "^3.2.4",
|
|
115
116
|
"zod-to-ts": "github:amritk/zod-to-ts#build",
|
|
116
117
|
"@scalar/build-tooling": "0.2.6",
|
|
117
|
-
"@scalar/openapi-parser": "0.20.
|
|
118
|
+
"@scalar/openapi-parser": "0.20.2",
|
|
118
119
|
"@scalar/openapi-types": "0.3.7"
|
|
119
120
|
},
|
|
120
121
|
"scripts": {
|