redoc 2.2.0 → 2.3.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/CHANGELOG.md +16 -0
- package/bundles/{756674defce81e90acea.worker.js.LICENSE.txt → a6b6d6494d34d2b1b721.worker.js.LICENSE.txt} +1 -1
- package/bundles/{756674defce81e90acea.worker.js.map → a6b6d6494d34d2b1b721.worker.js.map} +1 -1
- package/bundles/redoc.browser.lib.js +119 -117
- package/bundles/redoc.browser.lib.js.LICENSE.txt +1 -1
- package/bundles/redoc.browser.lib.js.map +1 -1
- package/bundles/redoc.lib.js +114 -112
- package/bundles/redoc.lib.js.LICENSE.txt +1 -1
- package/bundles/redoc.lib.js.map +1 -1
- package/bundles/redoc.standalone.js +196 -194
- package/bundles/redoc.standalone.js.LICENSE.txt +1 -1
- package/bundles/redoc.standalone.js.map +1 -1
- package/package.json +3 -3
- package/typings/utils/openapi.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redoc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "ReDoc",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"pre-commit": "pretty-quick --staged && npm run lint"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
+
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
|
|
64
65
|
"@cypress/webpack-preprocessor": "^5.17.1",
|
|
65
66
|
"@size-limit/file": "^11.1.4",
|
|
66
67
|
"@types/chai": "^4.2.18",
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
"typescript": "^4.9.0",
|
|
124
125
|
"unfetch": "^4.2.0",
|
|
125
126
|
"url": "^0.11.1",
|
|
126
|
-
"webpack": "^5.
|
|
127
|
+
"webpack": "^5.94.0",
|
|
127
128
|
"webpack-cli": "^5.1.4",
|
|
128
129
|
"webpack-dev-server": "^4.15.1",
|
|
129
130
|
"webpack-node-externals": "^3.0.0",
|
|
@@ -137,7 +138,6 @@
|
|
|
137
138
|
"styled-components": "^4.1.1 || ^5.1.1 || ^6.0.5"
|
|
138
139
|
},
|
|
139
140
|
"dependencies": {
|
|
140
|
-
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
|
|
141
141
|
"@redocly/openapi-core": "^1.4.0",
|
|
142
142
|
"classnames": "^2.3.2",
|
|
143
143
|
"decko": "^1.2.0",
|
|
@@ -17,7 +17,7 @@ export declare function serializeParameterValueWithMime(value: any, mime: string
|
|
|
17
17
|
export declare function serializeParameterValue(parameter: (OpenAPIParameter & {
|
|
18
18
|
serializationMime?: string;
|
|
19
19
|
}) | FieldModel, value: any): string;
|
|
20
|
-
export declare function getSerializedValue(field: FieldModel, example: any):
|
|
20
|
+
export declare function getSerializedValue(field: FieldModel, example: any): any;
|
|
21
21
|
export declare function langFromMime(contentType: string): string;
|
|
22
22
|
export declare function isNamedDefinition(pointer?: string): boolean;
|
|
23
23
|
export declare function getDefinitionName(pointer?: string): string | undefined;
|