@scalar/fastify-api-reference 1.25.127 → 1.25.130
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 +31 -0
- package/dist/fastifyApiReference.d.ts.map +1 -1
- package/dist/index.cjs +1 -7
- package/dist/index.js +4000 -19349
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -8
- package/dist/js/standalone.js +0 -30966
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtmlRenderingConfiguration } from '@scalar/api-reference/lib/html-rendering';
|
|
2
1
|
import type { onRequestHookHandler, preHandlerHookHandler } from 'fastify';
|
|
2
|
+
import type { HtmlRenderingConfiguration } from '@scalar/core/libs/html-rendering';
|
|
3
3
|
/**
|
|
4
4
|
* The configuration for the Scalar API Reference for Fastify
|
|
5
5
|
*/
|
|
@@ -56,7 +56,7 @@ export type FastifyApiReferenceOptions = {
|
|
|
56
56
|
*
|
|
57
57
|
* Read more: https://github.com/scalar/scalar
|
|
58
58
|
*/
|
|
59
|
-
configuration?: ApiReferenceConfiguration
|
|
59
|
+
configuration?: Partial<ApiReferenceConfiguration>;
|
|
60
60
|
/**
|
|
61
61
|
* The hooks for the API Reference.
|
|
62
62
|
*/
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAE1E,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAA;AAElF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,0BAA0B,CAAA;AAElE,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;IAC1B;;;;;;;;;;;;;OAaG;IACH,wBAAwB,CAAC,EAAE;QACzB;;;;;;WAMG;QACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;QACnB;;;;;;WAMG;QACH,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;KACpB,CAAA;IACD;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,+BAA+B,CAAA;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;CAC9E,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,OAAO,CAAC;IACpD,SAAS,CAAC,EAAE,oBAAoB,CAAA;IAChC,UAAU,CAAC,EAAE,qBAAqB,CAAA;CACnC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"openapi",
|
|
18
18
|
"swagger"
|
|
19
19
|
],
|
|
20
|
-
"version": "1.25.
|
|
20
|
+
"version": "1.25.130",
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=18"
|
|
23
23
|
},
|
|
@@ -36,8 +36,10 @@
|
|
|
36
36
|
"module": "./dist/index.js",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"fastify-plugin": "^4.5.1",
|
|
39
|
-
"
|
|
40
|
-
"@scalar/
|
|
39
|
+
"github-slugger": "^2.0.0",
|
|
40
|
+
"@scalar/core": "0.1.0",
|
|
41
|
+
"@scalar/openapi-parser": "0.10.9",
|
|
42
|
+
"@scalar/openapi-types": "0.1.9"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@fastify/basic-auth": "^5.1.1",
|
|
@@ -45,17 +47,13 @@
|
|
|
45
47
|
"@fastify/swagger": "^8.10.1",
|
|
46
48
|
"@vitest/coverage-v8": "^1.6.0",
|
|
47
49
|
"fastify": "^4.26.2",
|
|
48
|
-
"github-slugger": "^2.0.0",
|
|
49
|
-
"magic-string": "^0.30.8",
|
|
50
50
|
"rollup-plugin-node-externals": "^7.1.2",
|
|
51
51
|
"terser": "^5.30.0",
|
|
52
52
|
"vite": "^5.4.10",
|
|
53
53
|
"vite-plugin-static-copy": "^1.0.2",
|
|
54
54
|
"vitest": "^1.6.0",
|
|
55
|
-
"vue": "^3.5.12",
|
|
56
55
|
"yaml": "^2.4.5",
|
|
57
|
-
"@scalar/
|
|
58
|
-
"@scalar/build-tooling": "0.1.15"
|
|
56
|
+
"@scalar/build-tooling": "0.1.16"
|
|
59
57
|
},
|
|
60
58
|
"scripts": {
|
|
61
59
|
"build": "scalar-build-vite",
|