zudoku 0.18.2 → 0.18.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/lib/components/Header.js +2 -2
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/oas/parser/upgrade/index.js +1 -3
- package/dist/lib/oas/parser/upgrade/index.js.map +1 -1
- package/lib/{OperationList-BwBl1xrD.js → OperationList-n4cxkna8.js} +2 -2
- package/lib/{OperationList-BwBl1xrD.js.map → OperationList-n4cxkna8.js.map} +1 -1
- package/lib/assets/{worker-CPsGZsve.js → worker-DFqp3K5a.js} +432 -434
- package/lib/assets/{worker-CPsGZsve.js.map → worker-DFqp3K5a.js.map} +1 -1
- package/lib/{createServer-DK-g7kbB.js → createServer-DizTyrsZ.js} +2 -4
- package/lib/{createServer-DK-g7kbB.js.map → createServer-DizTyrsZ.js.map} +1 -1
- package/lib/{index-DNxQ_rCt.js → index-DVheR31u.js} +3 -3
- package/lib/{index-DNxQ_rCt.js.map → index-DVheR31u.js.map} +1 -1
- package/lib/zudoku.components.js +1 -2
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +1 -1
- package/lib/zudoku.plugin-openapi.js +1 -1
- package/package.json +2 -2
- package/src/lib/components/Header.tsx +1 -2
- package/src/lib/oas/parser/upgrade/index.ts +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zudoku",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://zudoku.dev",
|
|
6
6
|
"repository": {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@types/react": "18.3.11",
|
|
142
142
|
"@types/react-dom": "18.3.1",
|
|
143
143
|
"@vitejs/plugin-react": "4.3.1",
|
|
144
|
-
"@zudoku/config": "0.18.
|
|
144
|
+
"@zudoku/config": "0.18.3",
|
|
145
145
|
"@zudoku/httpsnippet": "10.0.9",
|
|
146
146
|
"@zudoku/react-helmet-async": "2.0.4",
|
|
147
147
|
"autoprefixer": "10.4.20",
|
|
@@ -87,7 +87,6 @@ export const Header = memo(function HeaderInner() {
|
|
|
87
87
|
loading="lazy"
|
|
88
88
|
/>
|
|
89
89
|
<img
|
|
90
|
-
data-hide-on-theme="light"
|
|
91
90
|
src={
|
|
92
91
|
/https?:\/\//.test(page.logo.src.dark)
|
|
93
92
|
? page.logo.src.dark
|
|
@@ -98,7 +97,7 @@ export const Header = memo(function HeaderInner() {
|
|
|
98
97
|
}
|
|
99
98
|
alt={page.logo.alt ?? page.pageTitle}
|
|
100
99
|
style={{ width: page.logo.width }}
|
|
101
|
-
className="h-10"
|
|
100
|
+
className="h-10 hidden dark:block"
|
|
102
101
|
loading="lazy"
|
|
103
102
|
/>
|
|
104
103
|
</>
|
|
@@ -64,9 +64,7 @@ export const upgradeSchema = (schema: Record<string, any>): OpenAPIDocument => {
|
|
|
64
64
|
schema = traverse(schema, (sub) => {
|
|
65
65
|
if (sub.example !== undefined) {
|
|
66
66
|
sub.examples = {
|
|
67
|
-
default:
|
|
68
|
-
value: sub.example,
|
|
69
|
-
},
|
|
67
|
+
default: sub.example,
|
|
70
68
|
};
|
|
71
69
|
delete sub.example;
|
|
72
70
|
}
|