@histoire/vendors 0.16.0 → 0.17.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.
Files changed (86) hide show
  1. package/dist/client/b-floating-vue.js +2 -7
  2. package/dist/client/b-pinia.js +1970 -1953
  3. package/dist/client/b-vue-router.js +3574 -3550
  4. package/dist/client/b-vue-use.js +426 -360
  5. package/dist/client/b-vue.js +1 -1
  6. package/dist/client/node_modules/@babel/parser/package.json +6 -6
  7. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +4 -2
  8. package/dist/client/node_modules/{sourcemap-codec → @jridgewell/sourcemap-codec}/dist/types/sourcemap-codec.d.ts +1 -0
  9. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +74 -0
  10. package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +992 -1202
  11. package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
  12. package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +42 -66
  13. package/dist/client/node_modules/@vue/compiler-dom/package.json +4 -4
  14. package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +473 -317
  15. package/dist/client/node_modules/@vue/compiler-sfc/package.json +16 -15
  16. package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -6
  17. package/dist/client/node_modules/@vue/compiler-ssr/package.json +4 -4
  18. package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +676 -351
  19. package/dist/client/node_modules/@vue/reactivity/package.json +3 -3
  20. package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +34 -44
  21. package/dist/client/node_modules/@vue/reactivity-transform/package.json +8 -8
  22. package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1742 -2015
  23. package/dist/client/node_modules/@vue/runtime-core/package.json +4 -4
  24. package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1168 -1427
  25. package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
  26. package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +71 -101
  27. package/dist/client/node_modules/@vue/server-renderer/package.json +5 -5
  28. package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +308 -363
  29. package/dist/client/node_modules/@vue/shared/package.json +2 -2
  30. package/dist/client/node_modules/@vueuse/core/index.d.ts +28 -13
  31. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +3 -3
  32. package/dist/client/node_modules/@vueuse/core/package.json +3 -3
  33. package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
  34. package/dist/client/node_modules/@vueuse/shared/index.d.ts +18 -5
  35. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +3 -3
  36. package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
  37. package/dist/client/node_modules/csstype/index.d.ts +5009 -21819
  38. package/dist/client/node_modules/csstype/package.json +35 -25
  39. package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -7
  40. package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -7
  41. package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -7
  42. package/dist/client/node_modules/floating-vue/package.json +3 -2
  43. package/dist/client/node_modules/magic-string/{index.d.ts → dist/magic-string.cjs.d.ts} +50 -7
  44. package/dist/client/node_modules/magic-string/package.json +34 -22
  45. package/dist/client/node_modules/pinia/dist/pinia.d.ts +17 -5
  46. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +3 -3
  47. package/dist/client/node_modules/pinia/package.json +7 -7
  48. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +58 -49
  49. package/dist/client/node_modules/postcss/lib/comment.d.ts +43 -32
  50. package/dist/client/node_modules/postcss/lib/container.d.ts +224 -214
  51. package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +111 -102
  52. package/dist/client/node_modules/postcss/lib/declaration.d.ts +85 -61
  53. package/dist/client/node_modules/postcss/lib/document.d.ts +27 -16
  54. package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +6 -2
  55. package/dist/client/node_modules/postcss/lib/input.d.ts +99 -90
  56. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +69 -55
  57. package/dist/client/node_modules/postcss/lib/list.d.ts +53 -47
  58. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +24 -15
  59. package/dist/client/node_modules/postcss/lib/node.d.ts +339 -281
  60. package/dist/client/node_modules/postcss/lib/parse.d.ts +6 -2
  61. package/dist/client/node_modules/postcss/lib/postcss.d.ts +288 -320
  62. package/dist/client/node_modules/postcss/lib/previous-map.d.ts +23 -14
  63. package/dist/client/node_modules/postcss/lib/processor.d.ts +52 -39
  64. package/dist/client/node_modules/postcss/lib/result.d.ts +77 -67
  65. package/dist/client/node_modules/postcss/lib/root.d.ts +49 -36
  66. package/dist/client/node_modules/postcss/lib/rule.d.ts +54 -45
  67. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +31 -22
  68. package/dist/client/node_modules/postcss/lib/stringify.d.ts +6 -2
  69. package/dist/client/node_modules/postcss/lib/warning.d.ts +72 -63
  70. package/dist/client/node_modules/postcss/package.json +7 -4
  71. package/dist/client/node_modules/vue/compiler-sfc/package.json +2 -3
  72. package/dist/client/node_modules/vue/dist/vue.d.ts +11 -9
  73. package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +29 -0
  74. package/dist/client/node_modules/vue/jsx-runtime/package.json +5 -0
  75. package/dist/client/node_modules/vue/jsx.d.ts +26 -0
  76. package/dist/client/node_modules/vue/package.json +41 -15
  77. package/dist/client/node_modules/vue/ref-macros.d.ts +1 -1
  78. package/dist/client/node_modules/vue/server-renderer/package.json +2 -3
  79. package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +2 -1
  80. package/dist/client/node_modules/vue-router/package.json +38 -36
  81. package/dist/client/vue.runtime.esm-bundler.js +10048 -10684
  82. package/package.json +13 -13
  83. package/tsconfig.json +1 -2
  84. package/dist/client/node_modules/source-map/package.json +0 -73
  85. package/dist/client/node_modules/source-map/source-map.d.ts +0 -98
  86. package/dist/client/node_modules/sourcemap-codec/package.json +0 -53
@@ -1,37 +1,46 @@
1
1
  import {
2
- Document,
3
- Root,
4
- Comment,
5
- Declaration,
6
- Builder,
7
2
  AnyNode,
8
- Rule,
9
3
  AtRule,
10
- Container
4
+ Builder,
5
+ Comment,
6
+ Container,
7
+ Declaration,
8
+ Document,
9
+ Root,
10
+ Rule
11
11
  } from './postcss.js'
12
12
 
13
- export default class Stringifier {
13
+ declare namespace Stringifier {
14
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
15
+ export { Stringifier_ as default }
16
+ }
17
+
18
+ declare class Stringifier_ {
14
19
  builder: Builder
15
20
  constructor(builder: Builder)
16
- stringify(node: AnyNode, semicolon?: boolean): void
17
- document(node: Document): void
18
- root(node: Root): void
19
- comment(node: Comment): void
20
- decl(node: Declaration, semicolon?: boolean): void
21
- rule(node: Rule): void
22
21
  atrule(node: AtRule, semicolon?: boolean): void
23
- body(node: Container): void
22
+ beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
24
23
  block(node: AnyNode, start: string): void
25
- raw(node: AnyNode, own: string | null, detect?: string): string
26
- rawSemicolon(root: Root): boolean | undefined
27
- rawEmptyBody(root: Root): string | undefined
28
- rawIndent(root: Root): string | undefined
24
+ body(node: Container): void
25
+ comment(node: Comment): void
26
+ decl(node: Declaration, semicolon?: boolean): void
27
+ document(node: Document): void
28
+ raw(node: AnyNode, own: null | string, detect?: string): string
29
+ rawBeforeClose(root: Root): string | undefined
29
30
  rawBeforeComment(root: Root, node: Comment): string | undefined
30
31
  rawBeforeDecl(root: Root, node: Declaration): string | undefined
31
- rawBeforeRule(root: Root): string | undefined
32
- rawBeforeClose(root: Root): string | undefined
33
32
  rawBeforeOpen(root: Root): string | undefined
33
+ rawBeforeRule(root: Root): string | undefined
34
34
  rawColon(root: Root): string | undefined
35
- beforeAfter(node: AnyNode, detect: 'before' | 'after'): string
35
+ rawEmptyBody(root: Root): string | undefined
36
+ rawIndent(root: Root): string | undefined
37
+ rawSemicolon(root: Root): boolean | undefined
36
38
  rawValue(node: AnyNode, prop: string): string
39
+ root(node: Root): void
40
+ rule(node: Rule): void
41
+ stringify(node: AnyNode, semicolon?: boolean): void
37
42
  }
43
+
44
+ declare class Stringifier extends Stringifier_ {}
45
+
46
+ export = Stringifier
@@ -1,5 +1,9 @@
1
1
  import { Stringifier } from './postcss.js'
2
2
 
3
- declare const stringify: Stringifier
3
+ interface Stringify extends Stringifier {
4
+ default: Stringify
5
+ }
4
6
 
5
- export default stringify
7
+ declare const stringify: Stringify
8
+
9
+ export = stringify
@@ -1,42 +1,47 @@
1
1
  import { RangePosition } from './css-syntax-error.js'
2
2
  import Node from './node.js'
3
3
 
4
- export interface WarningOptions {
5
- /**
6
- * CSS node that caused the warning.
7
- */
8
- node?: Node
9
-
10
- /**
11
- * Word in CSS source that caused the warning.
12
- */
13
- word?: string
14
-
15
- /**
16
- * Start index, inclusive, in CSS node string that caused the warning.
17
- */
18
- index?: number
19
-
20
- /**
21
- * End index, exclusive, in CSS node string that caused the warning.
22
- */
23
- endIndex?: number
24
-
25
- /**
26
- * Start position, inclusive, in CSS node string that caused the warning.
27
- */
28
- start?: RangePosition
29
-
30
- /**
31
- * End position, exclusive, in CSS node string that caused the warning.
32
- */
33
- end?: RangePosition
34
-
35
- /**
36
- * Name of the plugin that created this warning. `Result#warn` fills
37
- * this property automatically.
38
- */
39
- plugin?: string
4
+ declare namespace Warning {
5
+ export interface WarningOptions {
6
+ /**
7
+ * End position, exclusive, in CSS node string that caused the warning.
8
+ */
9
+ end?: RangePosition
10
+
11
+ /**
12
+ * End index, exclusive, in CSS node string that caused the warning.
13
+ */
14
+ endIndex?: number
15
+
16
+ /**
17
+ * Start index, inclusive, in CSS node string that caused the warning.
18
+ */
19
+ index?: number
20
+
21
+ /**
22
+ * CSS node that caused the warning.
23
+ */
24
+ node?: Node
25
+
26
+ /**
27
+ * Name of the plugin that created this warning. `Result#warn` fills
28
+ * this property automatically.
29
+ */
30
+ plugin?: string
31
+
32
+ /**
33
+ * Start position, inclusive, in CSS node string that caused the warning.
34
+ */
35
+ start?: RangePosition
36
+
37
+ /**
38
+ * Word in CSS source that caused the warning.
39
+ */
40
+ word?: string
41
+ }
42
+
43
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
44
+ export { Warning_ as default }
40
45
  }
41
46
 
42
47
  /**
@@ -48,40 +53,33 @@ export interface WarningOptions {
48
53
  * }
49
54
  * ```
50
55
  */
51
- export default class Warning {
56
+ declare class Warning_ {
52
57
  /**
53
- * Type to filter warnings from `Result#messages`.
54
- * Always equal to `"warning"`.
55
- */
56
- type: 'warning'
57
-
58
- /**
59
- * The warning message.
58
+ * Column for inclusive start position in the input file with this warning’s source.
60
59
  *
61
60
  * ```js
62
- * warning.text //=> 'Try to avoid !important'
61
+ * warning.column //=> 6
63
62
  * ```
64
63
  */
65
- text: string
64
+ column: number
66
65
 
67
66
  /**
68
- * The name of the plugin that created this warning.
69
- * When you call `Node#warn` it will fill this property automatically.
67
+ * Column for exclusive end position in the input file with this warning’s source.
70
68
  *
71
69
  * ```js
72
- * warning.plugin //=> 'postcss-important'
70
+ * warning.endColumn //=> 4
73
71
  * ```
74
72
  */
75
- plugin: string
73
+ endColumn?: number
76
74
 
77
75
  /**
78
- * Contains the CSS node that caused the warning.
76
+ * Line for exclusive end position in the input file with this warning’s source.
79
77
  *
80
78
  * ```js
81
- * warning.node.toString() //=> 'color: white !important'
79
+ * warning.endLine //=> 6
82
80
  * ```
83
81
  */
84
- node: Node
82
+ endLine?: number
85
83
 
86
84
  /**
87
85
  * Line for inclusive start position in the input file with this warning’s source.
@@ -93,37 +91,44 @@ export default class Warning {
93
91
  line: number
94
92
 
95
93
  /**
96
- * Column for inclusive start position in the input file with this warning’s source.
94
+ * Contains the CSS node that caused the warning.
97
95
  *
98
96
  * ```js
99
- * warning.column //=> 6
97
+ * warning.node.toString() //=> 'color: white !important'
100
98
  * ```
101
99
  */
102
- column: number
100
+ node: Node
103
101
 
104
102
  /**
105
- * Line for exclusive end position in the input file with this warning’s source.
103
+ * The name of the plugin that created this warning.
104
+ * When you call `Node#warn` it will fill this property automatically.
106
105
  *
107
106
  * ```js
108
- * warning.endLine //=> 6
107
+ * warning.plugin //=> 'postcss-important'
109
108
  * ```
110
109
  */
111
- endLine?: number
110
+ plugin: string
112
111
 
113
112
  /**
114
- * Column for exclusive end position in the input file with this warning’s source.
113
+ * The warning message.
115
114
  *
116
115
  * ```js
117
- * warning.endColumn //=> 4
116
+ * warning.text //=> 'Try to avoid !important'
118
117
  * ```
119
118
  */
120
- endColumn?: number
119
+ text: string
120
+
121
+ /**
122
+ * Type to filter warnings from `Result#messages`.
123
+ * Always equal to `"warning"`.
124
+ */
125
+ type: 'warning'
121
126
 
122
127
  /**
123
128
  * @param text Warning message.
124
129
  * @param opts Warning options.
125
130
  */
126
- constructor(text: string, opts?: WarningOptions)
131
+ constructor(text: string, opts?: Warning.WarningOptions)
127
132
 
128
133
  /**
129
134
  * Returns a warning position and message.
@@ -136,3 +141,7 @@ export default class Warning {
136
141
  */
137
142
  toString(): string
138
143
  }
144
+
145
+ declare class Warning extends Warning_ {}
146
+
147
+ export = Warning
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postcss",
3
- "version": "8.4.21",
3
+ "version": "8.4.28",
4
4
  "description": "Tool for transforming styles with JS plugins",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -8,8 +8,7 @@
8
8
  "exports": {
9
9
  ".": {
10
10
  "require": "./lib/postcss.js",
11
- "import": "./lib/postcss.mjs",
12
- "types": "./lib/postcss.d.ts"
11
+ "import": "./lib/postcss.mjs"
13
12
  },
14
13
  "./lib/at-rule": "./lib/at-rule.js",
15
14
  "./lib/comment": "./lib/comment.js",
@@ -61,6 +60,10 @@
61
60
  {
62
61
  "type": "tidelift",
63
62
  "url": "https://tidelift.com/funding/github/npm/postcss"
63
+ },
64
+ {
65
+ "type": "github",
66
+ "url": "https://github.com/sponsors/ai"
64
67
  }
65
68
  ],
66
69
  "author": "Andrey Sitnik <andrey@sitnik.ru>",
@@ -71,7 +74,7 @@
71
74
  "url": "https://github.com/postcss/postcss/issues"
72
75
  },
73
76
  "dependencies": {
74
- "nanoid": "^3.3.4",
77
+ "nanoid": "^3.3.6",
75
78
  "picocolors": "^1.0.0",
76
79
  "source-map-js": "^1.0.2"
77
80
  },
@@ -1,5 +1,4 @@
1
1
  {
2
2
  "main": "index.js",
3
- "module": "index.mjs",
4
- "types": "index.d.ts"
5
- }
3
+ "module": "index.mjs"
4
+ }
@@ -1,9 +1,11 @@
1
- import { CompilerOptions } from '@vue/compiler-dom';
2
- import { RenderFunction } from '@vue/runtime-dom';
3
-
4
- export declare function compile(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
5
-
6
-
7
- export * from "@vue/runtime-dom";
8
-
9
- export { }
1
+ import { CompilerOptions } from '@vue/compiler-dom';
2
+ import { RenderFunction } from '@vue/runtime-dom';
3
+ export * from '@vue/runtime-dom';
4
+
5
+ export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
6
+
7
+ export { compileToFunction as compile };
8
+ // this is appended to the end of ../dist/vue.d.ts during build.
9
+ // imports the global JSX namespace registration for compat.
10
+ // TODO: remove in 3.4
11
+ import '../jsx'
@@ -0,0 +1,29 @@
1
+ import type {
2
+ VNode,
3
+ IntrinsicElementAttributes,
4
+ ReservedProps,
5
+ NativeElements
6
+ } from '@vue/runtime-dom'
7
+
8
+ /**
9
+ * JSX namespace for usage with @jsxImportsSource directive
10
+ * when ts compilerOptions.jsx is 'react-jsx' or 'react-jsxdev'
11
+ * https://www.typescriptlang.org/tsconfig#jsxImportSource
12
+ */
13
+ export { h as jsx, h as jsxDEV, Fragment } from '@vue/runtime-dom'
14
+
15
+ export namespace JSX {
16
+ export interface Element extends VNode {}
17
+ export interface ElementClass {
18
+ $props: {}
19
+ }
20
+ export interface ElementAttributesProperty {
21
+ $props: {}
22
+ }
23
+ export interface IntrinsicElements extends NativeElements {
24
+ // allow arbitrary elements
25
+ // @ts-ignore suppress ts:2374 = Duplicate string index signature.
26
+ [name: string]: any
27
+ }
28
+ export interface IntrinsicAttributes extends ReservedProps {}
29
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "index.js",
3
+ "module": "index.mjs",
4
+ "types": "index.d.ts"
5
+ }
@@ -0,0 +1,26 @@
1
+ // global JSX namespace registration
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'
9
+
10
+ declare global {
11
+ namespace JSX {
12
+ export interface Element extends VNode {}
13
+ export interface ElementClass {
14
+ $props: {}
15
+ }
16
+ export interface ElementAttributesProperty {
17
+ $props: {}
18
+ }
19
+ export interface IntrinsicElements extends NativeElements {
20
+ // allow arbitrary elements
21
+ // @ts-ignore suppress ts:2374 = Duplicate string index signature.
22
+ [name: string]: any
23
+ }
24
+ export interface IntrinsicAttributes extends ReservedProps {}
25
+ }
26
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue",
3
- "version": "3.2.47",
3
+ "version": "3.3.4",
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",
@@ -13,29 +13,55 @@
13
13
  "dist",
14
14
  "compiler-sfc",
15
15
  "server-renderer",
16
+ "jsx-runtime",
17
+ "jsx.d.ts",
16
18
  "macros.d.ts",
17
19
  "macros-global.d.ts",
18
20
  "ref-macros.d.ts"
19
21
  ],
20
22
  "exports": {
21
23
  ".": {
22
- "types": "./dist/vue.d.ts",
23
24
  "import": {
25
+ "types": "./dist/vue.d.mts",
24
26
  "node": "./index.mjs",
25
27
  "default": "./dist/vue.runtime.esm-bundler.js"
26
28
  },
27
- "require": "./index.js"
29
+ "require": {
30
+ "types": "./dist/vue.d.ts",
31
+ "default": "./index.js"
32
+ }
28
33
  },
29
34
  "./server-renderer": {
30
- "types": "./server-renderer/index.d.ts",
31
- "import": "./server-renderer/index.mjs",
32
- "require": "./server-renderer/index.js"
35
+ "import": {
36
+ "types": "./server-renderer/index.d.mts",
37
+ "default": "./server-renderer/index.mjs"
38
+ },
39
+ "require": {
40
+ "types": "./server-renderer/index.d.ts",
41
+ "default": "./server-renderer/index.js"
42
+ }
33
43
  },
34
44
  "./compiler-sfc": {
35
- "types": "./compiler-sfc/index.d.ts",
36
- "import": "./compiler-sfc/index.mjs",
37
- "require": "./compiler-sfc/index.js"
45
+ "import": {
46
+ "types": "./compiler-sfc/index.d.mts",
47
+ "default": "./compiler-sfc/index.mjs"
48
+ },
49
+ "require": {
50
+ "types": "./compiler-sfc/index.d.ts",
51
+ "default": "./compiler-sfc/index.js"
52
+ }
53
+ },
54
+ "./jsx-runtime": {
55
+ "types": "./jsx-runtime/index.d.ts",
56
+ "import": "./jsx-runtime/index.mjs",
57
+ "require": "./jsx-runtime/index.js"
58
+ },
59
+ "./jsx-dev-runtime": {
60
+ "types": "./jsx-runtime/index.d.ts",
61
+ "import": "./jsx-runtime/index.mjs",
62
+ "require": "./jsx-runtime/index.js"
38
63
  },
64
+ "./jsx": "./jsx.d.ts",
39
65
  "./dist/*": "./dist/*",
40
66
  "./package.json": "./package.json",
41
67
  "./macros": "./macros.d.ts",
@@ -68,10 +94,10 @@
68
94
  },
69
95
  "homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
70
96
  "dependencies": {
71
- "@vue/shared": "3.2.47",
72
- "@vue/compiler-dom": "3.2.47",
73
- "@vue/runtime-dom": "3.2.47",
74
- "@vue/compiler-sfc": "3.2.47",
75
- "@vue/server-renderer": "3.2.47"
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"
76
102
  }
77
- }
103
+ }
@@ -1,2 +1,2 @@
1
- // TODO deprecated file - to be removed when out of experimental
1
+ // TODO remove in 3.4
2
2
  import './macros-global'
@@ -1,5 +1,4 @@
1
1
  {
2
2
  "main": "index.js",
3
- "module": "index.mjs",
4
- "types": "index.d.ts"
5
- }
3
+ "module": "index.mjs"
4
+ }
@@ -697,7 +697,7 @@ export declare interface Router {
697
697
  * Returns the {@link RouteLocation | normalized version} of a
698
698
  * {@link RouteLocationRaw | route location}. Also includes an `href` property
699
699
  * that includes any existing `base`. By default, the `currentLocation` used is
700
- * `route.currentRoute` and should only be overridden in advanced use cases.
700
+ * `router.currentRoute` and should only be overridden in advanced use cases.
701
701
  *
702
702
  * @param to - Raw route location to resolve
703
703
  * @param currentLocation - Optional current location to resolve against
@@ -1431,6 +1431,7 @@ declare type VueUseOptions<T> = {
1431
1431
 
1432
1432
  export { }
1433
1433
 
1434
+ // TODO: figure out why it cannot be 'vue' like said in docs
1434
1435
  declare module '@vue/runtime-core' {
1435
1436
  export interface ComponentCustomOptions {
1436
1437
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-router",
3
- "version": "4.1.6",
3
+ "version": "4.2.4",
4
4
  "main": "index.js",
5
5
  "unpkg": "dist/vue-router.global.js",
6
6
  "jsdelivr": "dist/vue-router.global.js",
@@ -55,60 +55,62 @@
55
55
  "attributes": "vetur/attributes.json"
56
56
  },
57
57
  "dependencies": {
58
- "@vue/devtools-api": "^6.4.5"
58
+ "@vue/devtools-api": "^6.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@microsoft/api-extractor": "^7.29.2",
62
- "@rollup/plugin-alias": "^3.1.4",
63
- "@rollup/plugin-commonjs": "^22.0.2",
64
- "@rollup/plugin-node-resolve": "^13.0.5",
65
- "@rollup/plugin-replace": "^4.0.0",
66
- "@sucrase/jest-plugin": "^2.1.1",
67
- "@types/jest": "^27.4.1",
68
- "@types/jsdom": "^16.2.13",
69
- "@types/nightwatch": "^2.3.12",
70
- "@vitejs/plugin-vue": "^2.3.3",
71
- "@vue/compiler-sfc": "^3.2.41",
72
- "@vue/server-renderer": "^3.2.41",
73
- "@vue/test-utils": "^2.2.0",
74
- "browserstack-local": "^1.4.5",
75
- "chromedriver": "^106.0.1",
61
+ "@microsoft/api-extractor": "^7.36.0",
62
+ "@rollup/plugin-alias": "^5.0.0",
63
+ "@rollup/plugin-commonjs": "^25.0.0",
64
+ "@rollup/plugin-node-resolve": "^15.0.2",
65
+ "@rollup/plugin-replace": "^5.0.2",
66
+ "@rollup/plugin-terser": "^0.4.3",
67
+ "@sucrase/jest-plugin": "^3.0.0",
68
+ "@types/jest": "^29.5.1",
69
+ "@types/jsdom": "^21.1.1",
70
+ "@types/nightwatch": "^2.3.23",
71
+ "@vitejs/plugin-vue": "^4.2.3",
72
+ "@vue/compiler-sfc": "^3.3.4",
73
+ "@vue/server-renderer": "^3.3.4",
74
+ "@vue/test-utils": "^2.3.2",
75
+ "browserstack-local": "^1.5.2",
76
+ "chromedriver": "^113.0.0",
76
77
  "connect-history-api-fallback": "^1.6.0",
77
78
  "conventional-changelog-cli": "^2.1.1",
78
79
  "dotenv": "^16.0.3",
79
80
  "faked-promise": "^2.2.2",
80
81
  "geckodriver": "^3.2.0",
81
- "jest": "^27.5.1",
82
+ "jest": "^29.5.0",
83
+ "jest-environment-jsdom": "^29.5.0",
82
84
  "jest-mock-warn": "^1.1.0",
83
- "nightwatch": "^2.4.1",
85
+ "nightwatch": "^2.6.21",
84
86
  "nightwatch-helpers": "^1.2.0",
85
- "rimraf": "^3.0.2",
86
- "rollup": "^2.78.0",
87
+ "rimraf": "^5.0.1",
88
+ "rollup": "^3.26.1",
87
89
  "rollup-plugin-analyzer": "^4.0.0",
88
- "rollup-plugin-terser": "^7.0.2",
89
- "rollup-plugin-typescript2": "^0.32.1",
90
- "typescript": "~4.7.4",
91
- "vite": "^3.1.8",
92
- "vue": "^3.2.41"
90
+ "rollup-plugin-typescript2": "^0.35.0",
91
+ "sucrase": "^3.32.0",
92
+ "typescript": "~5.1.6",
93
+ "vite": "^4.3.8",
94
+ "vue": "^3.3.4"
93
95
  },
94
96
  "scripts": {
95
97
  "dev": "jest --watch",
96
98
  "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
97
- "build": "rimraf dist && rollup -c rollup.config.js",
99
+ "build": "rimraf dist && rollup -c rollup.config.mjs",
98
100
  "build:dts": "api-extractor run --local --verbose && tail -n +10 src/globalExtensions.ts >> dist/vue-router.d.ts",
99
- "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.js",
100
- "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.js",
101
- "build:size": "pnpm run build && rollup -c size-checks/rollup.config.js",
102
- "dev:e2e": "vite --config e2e/vite.config.js",
101
+ "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.ts",
102
+ "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.mjs",
103
+ "build:size": "pnpm run build && rollup -c size-checks/rollup.config.mjs",
104
+ "dev:e2e": "vite --config e2e/vite.config.mjs",
103
105
  "test:types": "tsc --build tsconfig.json",
104
106
  "test:dts": "tsc -p ./test-dts/tsconfig.json",
105
107
  "test:unit": "jest --coverage",
106
108
  "test": "pnpm run test:types && pnpm run test:unit && pnpm run build && pnpm run build:dts && pnpm run test:e2e",
107
109
  "test:e2e": "pnpm run test:e2e:headless",
108
- "test:e2e:headless": "node e2e/runner.js --env chrome-headless",
109
- "test:e2e:native": "node e2e/runner.js --env chrome",
110
- "test:e2e:ci": "node e2e/runner.js --env chrome-headless --retries 2",
111
- "test:e2e:bs": "node e2e/runner.js --local -e android5 --tag browserstack",
112
- "test:e2e:bs-test": "node e2e/runner.js --local --env browserstack.local_chrome --tag browserstack"
110
+ "test:e2e:headless": "node e2e/runner.mjs --env chrome-headless",
111
+ "test:e2e:native": "node e2e/runner.mjs --env chrome",
112
+ "test:e2e:ci": "node e2e/runner.mjs --env chrome-headless --retries 2",
113
+ "test:e2e:bs": "node e2e/runner.mjs --local -e android5 --tag browserstack",
114
+ "test:e2e:bs-test": "node e2e/runner.mjs --local --env browserstack.local_chrome --tag browserstack"
113
115
  }
114
116
  }