@histoire/vendors 0.17.0 → 0.17.6

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.
Files changed (50) hide show
  1. package/dist/client/b-pinia.js +9 -8
  2. package/dist/client/b-vue-router.js +13 -13
  3. package/dist/client/node_modules/@babel/parser/package.json +5 -5
  4. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +9 -0
  5. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +9 -3
  6. package/dist/client/node_modules/@vue/compiler-core/package.json +4 -4
  7. package/dist/client/node_modules/@vue/compiler-dom/package.json +3 -3
  8. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +8 -7
  9. package/dist/client/node_modules/@vue/compiler-sfc/package.json +16 -18
  10. package/dist/client/node_modules/@vue/compiler-ssr/package.json +3 -3
  11. package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
  12. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +50 -74
  13. package/dist/client/node_modules/@vue/reactivity/package.json +2 -2
  14. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +9 -0
  15. package/dist/client/node_modules/@vue/reactivity-transform/package.json +7 -7
  16. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +77 -204
  17. package/dist/client/node_modules/@vue/runtime-core/package.json +3 -3
  18. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +16 -14
  19. package/dist/client/node_modules/@vue/runtime-dom/package.json +4 -4
  20. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +0 -2
  21. package/dist/client/node_modules/@vue/server-renderer/package.json +4 -4
  22. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +8 -3
  23. package/dist/client/node_modules/@vue/shared/package.json +1 -1
  24. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  25. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  26. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +1 -1
  27. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  28. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  29. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +1 -1
  30. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +4 -4
  31. package/dist/client/node_modules/magic-string/package.json +1 -1
  32. package/dist/client/node_modules/nanoid/package.json +33 -11
  33. package/dist/client/node_modules/pinia/dist/pinia.d.ts +9 -0
  34. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  35. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  36. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +1 -1
  37. package/dist/client/node_modules/pinia/package.json +1 -1
  38. package/dist/client/node_modules/postcss/lib/container.d.ts +32 -32
  39. package/dist/client/node_modules/postcss/lib/input.d.ts +13 -13
  40. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +26 -26
  41. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +3 -3
  42. package/dist/client/node_modules/postcss/lib/result.d.ts +10 -10
  43. package/dist/client/node_modules/postcss/package.json +1 -1
  44. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +1 -6
  45. package/dist/client/node_modules/vue/jsx.d.ts +1 -6
  46. package/dist/client/node_modules/vue/package.json +16 -6
  47. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +21 -16
  48. package/dist/client/node_modules/vue-router/package.json +19 -15
  49. package/dist/client/vue.runtime.esm-bundler.js +707 -645
  50. package/package.json +7 -7
@@ -81,6 +81,32 @@ declare class LazyResult_<RootNode = Document | Root>
81
81
  */
82
82
  async(): Promise<Result<RootNode>>
83
83
 
84
+ /**
85
+ * Run plugin in sync way and return `Result`.
86
+ *
87
+ * @return Result with output content.
88
+ */
89
+ sync(): Result<RootNode>
90
+
91
+ /**
92
+ * Alias for the `LazyResult#css` property.
93
+ *
94
+ * ```js
95
+ * lazy + '' === lazy.css
96
+ * ```
97
+ *
98
+ * @return Output CSS.
99
+ */
100
+ toString(): string
101
+
102
+ /**
103
+ * Processes input CSS through synchronous plugins
104
+ * and calls `Result#warnings`.
105
+ *
106
+ * @return Warnings from plugins.
107
+ */
108
+ warnings(): Warning[]
109
+
84
110
  /**
85
111
  * An alias for the `css` property. Use it with syntaxes
86
112
  * that generate non-CSS output.
@@ -155,32 +181,6 @@ declare class LazyResult_<RootNode = Document | Root>
155
181
  * Required to implement the Promise interface.
156
182
  */
157
183
  get [Symbol.toStringTag](): string
158
-
159
- /**
160
- * Run plugin in sync way and return `Result`.
161
- *
162
- * @return Result with output content.
163
- */
164
- sync(): Result<RootNode>
165
-
166
- /**
167
- * Alias for the `LazyResult#css` property.
168
- *
169
- * ```js
170
- * lazy + '' === lazy.css
171
- * ```
172
- *
173
- * @return Output CSS.
174
- */
175
- toString(): string
176
-
177
- /**
178
- * Processes input CSS through synchronous plugins
179
- * and calls `Result#warnings`.
180
- *
181
- * @return Warnings from plugins.
182
- */
183
- warnings(): Warning[]
184
184
  }
185
185
 
186
186
  declare class LazyResult<
@@ -28,6 +28,9 @@ declare class NoWorkResult_ implements LazyResult<Root> {
28
28
  then: Promise<Result<Root>>['then']
29
29
  constructor(processor: Processor, css: string, opts: ResultOptions)
30
30
  async(): Promise<Result<Root>>
31
+ sync(): Result<Root>
32
+ toString(): string
33
+ warnings(): Warning[]
31
34
  get content(): string
32
35
  get css(): string
33
36
  get map(): SourceMap
@@ -36,9 +39,6 @@ declare class NoWorkResult_ implements LazyResult<Root> {
36
39
  get processor(): Processor
37
40
  get root(): Root
38
41
  get [Symbol.toStringTag](): string
39
- sync(): Result<Root>
40
- toString(): string
41
- warnings(): Warning[]
42
42
  }
43
43
 
44
44
  declare class NoWorkResult extends NoWorkResult_ {}
@@ -150,16 +150,6 @@ declare class Result_<RootNode = Document | Root> {
150
150
  */
151
151
  constructor(processor: Processor, root: RootNode, opts: Result.ResultOptions)
152
152
 
153
- /**
154
- * An alias for the `Result#css` property.
155
- * Use it with syntaxes that generate non-CSS output.
156
- *
157
- * ```js
158
- * result.css === result.content
159
- * ```
160
- */
161
- get content(): string
162
-
163
153
  /**
164
154
  * Returns for `Result#css` content.
165
155
  *
@@ -199,6 +189,16 @@ declare class Result_<RootNode = Document | Root> {
199
189
  * @return Warnings from plugins.
200
190
  */
201
191
  warnings(): Warning[]
192
+
193
+ /**
194
+ * An alias for the `Result#css` property.
195
+ * Use it with syntaxes that generate non-CSS output.
196
+ *
197
+ * ```js
198
+ * result.css === result.content
199
+ * ```
200
+ */
201
+ get content(): string
202
202
  }
203
203
 
204
204
  declare class Result<RootNode = Document | Root> extends Result_<RootNode> {}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.4.28",
3
+ "version": "8.4.31",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -1,9 +1,4 @@
1
- import type {
2
- VNode,
3
- IntrinsicElementAttributes,
4
- ReservedProps,
5
- NativeElements
6
- } from '@vue/runtime-dom'
1
+ import type { VNode, ReservedProps, NativeElements } from '@vue/runtime-dom'
7
2
 
8
3
  /**
9
4
  * JSX namespace for usage with @jsxImportsSource directive
@@ -1,11 +1,6 @@
1
1
  // global JSX namespace registration
2
2
  // somehow we have to copy=pase the jsx-runtime types here to make TypeScript happy
3
- import type {
4
- VNode,
5
- IntrinsicElementAttributes,
6
- ReservedProps,
7
- NativeElements
8
- } from '@vue/runtime-dom'
3
+ import type { VNode, ReservedProps, NativeElements } from '@vue/runtime-dom'
9
4
 
10
5
  declare global {
11
6
  namespace JSX {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue",
3
- "version": "3.3.4",
3
+ "version": "3.3.8",
4
4
  "description": "The progressive JavaScript framework for building modern web UI.",
5
5
  "main": "index.js",
6
6
  "module": "dist/vue.runtime.esm-bundler.js",
@@ -44,10 +44,12 @@
44
44
  "./compiler-sfc": {
45
45
  "import": {
46
46
  "types": "./compiler-sfc/index.d.mts",
47
+ "browser": "./compiler-sfc/index.browser.mjs",
47
48
  "default": "./compiler-sfc/index.mjs"
48
49
  },
49
50
  "require": {
50
51
  "types": "./compiler-sfc/index.d.ts",
52
+ "browser": "./compiler-sfc/index.browser.js",
51
53
  "default": "./compiler-sfc/index.js"
52
54
  }
53
55
  },
@@ -94,10 +96,18 @@
94
96
  },
95
97
  "homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
96
98
  "dependencies": {
97
- "@vue/shared": "3.3.4",
98
- "@vue/compiler-dom": "3.3.4",
99
- "@vue/runtime-dom": "3.3.4",
100
- "@vue/compiler-sfc": "3.3.4",
101
- "@vue/server-renderer": "3.3.4"
99
+ "@vue/shared": "3.3.8",
100
+ "@vue/compiler-dom": "3.3.8",
101
+ "@vue/runtime-dom": "3.3.8",
102
+ "@vue/compiler-sfc": "3.3.8",
103
+ "@vue/server-renderer": "3.3.8"
104
+ },
105
+ "peerDependencies": {
106
+ "typescript": "*"
107
+ },
108
+ "peerDependenciesMeta": {
109
+ "typescript": {
110
+ "optional": true
111
+ }
102
112
  }
103
113
  }
@@ -79,7 +79,9 @@ export declare function createWebHistory(base?: string): RouterHistory;
79
79
  * @param from - location we were navigating from when the error happened
80
80
  * @internal
81
81
  */
82
- declare type _ErrorHandler = (error: any, to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded) => any;
82
+ declare interface _ErrorListener {
83
+ (error: any, to: RouteLocationNormalized, from: RouteLocationNormalizedLoaded): any;
84
+ }
83
85
 
84
86
  /**
85
87
  * Flags so we can combine them when checking for multiple errors. This is the internal version of
@@ -125,6 +127,9 @@ declare type HistoryStateValue = string | number | boolean | null | undefined |
125
127
  /**
126
128
  * Check if an object is a {@link NavigationFailure}.
127
129
  *
130
+ * @param error - possible {@link NavigationFailure}
131
+ * @param type - optional types to check for
132
+ *
128
133
  * @example
129
134
  * ```js
130
135
  * import { isNavigationFailure, NavigationFailureType } from 'vue-router'
@@ -144,8 +149,6 @@ declare type HistoryStateValue = string | number | boolean | null | undefined |
144
149
  * }
145
150
  * })
146
151
  * ```
147
- * @param error - possible {@link NavigationFailure}
148
- * @param type - optional types to check for
149
152
  */
150
153
  export declare function isNavigationFailure(error: any, type?: ErrorTypes.NAVIGATION_GUARD_REDIRECT): error is NavigationRedirectError;
151
154
 
@@ -336,7 +339,7 @@ export declare interface NavigationGuardNext {
336
339
  (cb: NavigationGuardNextCallback): void;
337
340
  }
338
341
 
339
- declare type NavigationGuardNextCallback = (vm: ComponentPublicInstance) => any;
342
+ declare type NavigationGuardNextCallback = (vm: ComponentPublicInstance) => unknown;
340
343
 
341
344
  declare type NavigationGuardReturn = void | Error | RouteLocationRaw | boolean | NavigationGuardNextCallback;
342
345
 
@@ -750,6 +753,9 @@ export declare interface Router {
750
753
  * navigation guards have been successful. Returns a function that removes the
751
754
  * registered guard.
752
755
  *
756
+ * @param guard - navigation guard to add
757
+ * @returns a function that removes the registered guard
758
+ *
753
759
  * @example
754
760
  * ```js
755
761
  * router.beforeResolve(to => {
@@ -757,13 +763,15 @@ export declare interface Router {
757
763
  * })
758
764
  * ```
759
765
  *
760
- * @param guard - navigation guard to add
761
766
  */
762
767
  beforeResolve(guard: NavigationGuardWithThis<undefined>): () => void;
763
768
  /**
764
769
  * Add a navigation hook that is executed after every navigation. Returns a
765
770
  * function that removes the registered hook.
766
771
  *
772
+ * @param guard - navigation hook to add
773
+ * @returns a function that removes the registered hook
774
+ *
767
775
  * @example
768
776
  * ```js
769
777
  * router.afterEach((to, from, failure) => {
@@ -772,8 +780,6 @@ export declare interface Router {
772
780
  * }
773
781
  * })
774
782
  * ```
775
- *
776
- * @param guard - navigation hook to add
777
783
  */
778
784
  afterEach(guard: NavigationHookAfter): () => void;
779
785
  /**
@@ -785,7 +791,7 @@ export declare interface Router {
785
791
  *
786
792
  * @param handler - error handler to register
787
793
  */
788
- onError(handler: _ErrorHandler): () => void;
794
+ onError(handler: _ErrorListener): () => void;
789
795
  /**
790
796
  * Returns a Promise that resolves when the router has completed the initial
791
797
  * navigation, which means it has resolved all async enter hooks and async
@@ -814,8 +820,7 @@ export declare interface Router {
814
820
  export declare type RouteRecord = RouteRecordNormalized;
815
821
 
816
822
  /**
817
- * Common properties among all kind of {@link RouteRecordRaw}
818
- * @internal
823
+ * Internal type for common properties among all kind of {@link RouteRecordRaw}.
819
824
  */
820
825
  export declare interface _RouteRecordBase extends PathParserOptions {
821
826
  /**
@@ -838,7 +843,7 @@ export declare interface _RouteRecordBase extends PathParserOptions {
838
843
  */
839
844
  alias?: string | string[];
840
845
  /**
841
- * Name for the route record.
846
+ * Name for the route record. Must be unique.
842
847
  */
843
848
  name?: RouteRecordName;
844
849
  /**
@@ -870,7 +875,7 @@ declare interface RouteRecordMatcher extends PathParser {
870
875
  /**
871
876
  * Route Record defining multiple named components with the `components` option.
872
877
  */
873
- declare interface RouteRecordMultipleViews extends _RouteRecordBase {
878
+ export declare interface RouteRecordMultipleViews extends _RouteRecordBase {
874
879
  /**
875
880
  * Components to display when the URL matches this route. Allow using named views.
876
881
  */
@@ -889,7 +894,7 @@ declare interface RouteRecordMultipleViews extends _RouteRecordBase {
889
894
  /**
890
895
  * Route Record defining multiple named components with the `components` option and children.
891
896
  */
892
- declare interface RouteRecordMultipleViewsWithChildren extends _RouteRecordBase {
897
+ export declare interface RouteRecordMultipleViewsWithChildren extends _RouteRecordBase {
893
898
  /**
894
899
  * Components to display when the URL matches this route. Allow using named views.
895
900
  */
@@ -991,7 +996,7 @@ export declare type RouteRecordRaw = RouteRecordSingleView | RouteRecordSingleVi
991
996
  * Route Record that defines a redirect. Cannot have `component` or `components`
992
997
  * as it is never rendered.
993
998
  */
994
- declare interface RouteRecordRedirect extends _RouteRecordBase {
999
+ export declare interface RouteRecordRedirect extends _RouteRecordBase {
995
1000
  redirect: RouteRecordRedirectOption;
996
1001
  component?: never;
997
1002
  components?: never;
@@ -1006,7 +1011,7 @@ export declare type RouteRecordRedirectOption = RouteLocationRaw | ((to: RouteLo
1006
1011
  /**
1007
1012
  * Route Record defining one single component with the `component` option.
1008
1013
  */
1009
- declare interface RouteRecordSingleView extends _RouteRecordBase {
1014
+ export declare interface RouteRecordSingleView extends _RouteRecordBase {
1010
1015
  /**
1011
1016
  * Component to display when the URL matches this route.
1012
1017
  */
@@ -1023,7 +1028,7 @@ declare interface RouteRecordSingleView extends _RouteRecordBase {
1023
1028
  /**
1024
1029
  * Route Record defining one single component with a nested view.
1025
1030
  */
1026
- declare interface RouteRecordSingleViewWithChildren extends _RouteRecordBase {
1031
+ export declare interface RouteRecordSingleViewWithChildren extends _RouteRecordBase {
1027
1032
  /**
1028
1033
  * Component to display when the URL matches this route.
1029
1034
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-router",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "main": "index.js",
5
5
  "unpkg": "dist/vue-router.global.js",
6
6
  "jsdelivr": "dist/vue-router.global.js",
@@ -29,6 +29,10 @@
29
29
  "./package.json": "./package.json"
30
30
  },
31
31
  "sideEffects": false,
32
+ "author": {
33
+ "name": "Eduardo San Martin Morote",
34
+ "email": "posva13@gmail.com"
35
+ },
32
36
  "funding": "https://github.com/sponsors/posva",
33
37
  "license": "MIT",
34
38
  "repository": {
@@ -58,39 +62,39 @@
58
62
  "@vue/devtools-api": "^6.5.0"
59
63
  },
60
64
  "devDependencies": {
61
- "@microsoft/api-extractor": "^7.36.0",
65
+ "@microsoft/api-extractor": "^7.36.4",
62
66
  "@rollup/plugin-alias": "^5.0.0",
63
- "@rollup/plugin-commonjs": "^25.0.0",
64
- "@rollup/plugin-node-resolve": "^15.0.2",
67
+ "@rollup/plugin-commonjs": "^25.0.4",
68
+ "@rollup/plugin-node-resolve": "^15.1.0",
65
69
  "@rollup/plugin-replace": "^5.0.2",
66
70
  "@rollup/plugin-terser": "^0.4.3",
67
71
  "@sucrase/jest-plugin": "^3.0.0",
68
- "@types/jest": "^29.5.1",
72
+ "@types/jest": "^29.5.3",
69
73
  "@types/jsdom": "^21.1.1",
70
- "@types/nightwatch": "^2.3.23",
74
+ "@types/nightwatch": "^2.3.25",
71
75
  "@vitejs/plugin-vue": "^4.2.3",
72
76
  "@vue/compiler-sfc": "^3.3.4",
73
77
  "@vue/server-renderer": "^3.3.4",
74
- "@vue/test-utils": "^2.3.2",
75
- "browserstack-local": "^1.5.2",
76
- "chromedriver": "^113.0.0",
78
+ "@vue/test-utils": "^2.4.1",
79
+ "browserstack-local": "^1.5.4",
80
+ "chromedriver": "^115.0.1",
77
81
  "connect-history-api-fallback": "^1.6.0",
78
82
  "conventional-changelog-cli": "^2.1.1",
79
- "dotenv": "^16.0.3",
83
+ "dotenv": "^16.3.1",
80
84
  "faked-promise": "^2.2.2",
81
85
  "geckodriver": "^3.2.0",
82
- "jest": "^29.5.0",
83
- "jest-environment-jsdom": "^29.5.0",
86
+ "jest": "^29.6.2",
87
+ "jest-environment-jsdom": "^29.6.2",
84
88
  "jest-mock-warn": "^1.1.0",
85
89
  "nightwatch": "^2.6.21",
86
90
  "nightwatch-helpers": "^1.2.0",
87
91
  "rimraf": "^5.0.1",
88
- "rollup": "^3.26.1",
92
+ "rollup": "^3.28.0",
89
93
  "rollup-plugin-analyzer": "^4.0.0",
90
94
  "rollup-plugin-typescript2": "^0.35.0",
91
- "sucrase": "^3.32.0",
95
+ "sucrase": "^3.34.0",
92
96
  "typescript": "~5.1.6",
93
- "vite": "^4.3.8",
97
+ "vite": "^4.4.9",
94
98
  "vue": "^3.3.4"
95
99
  },
96
100
  "scripts": {