@histoire/vendors 0.15.8 → 0.16.5
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/client/b-floating-vue.js +2 -7
- package/dist/client/b-pinia.js +1970 -1953
- package/dist/client/b-vue-router.js +3574 -3550
- package/dist/client/b-vue-use.js +426 -360
- package/dist/client/b-vue.js +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +6 -6
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +16 -2
- package/dist/client/node_modules/{sourcemap-codec → @jridgewell/sourcemap-codec}/dist/types/sourcemap-codec.d.ts +1 -0
- package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +74 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +992 -1202
- package/dist/client/node_modules/@vue/compiler-core/package.json +6 -6
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +42 -66
- package/dist/client/node_modules/@vue/compiler-dom/package.json +4 -4
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +473 -317
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +16 -15
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +4 -6
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +4 -4
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +676 -351
- package/dist/client/node_modules/@vue/reactivity/package.json +3 -3
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +34 -44
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +8 -8
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +1742 -2015
- package/dist/client/node_modules/@vue/runtime-core/package.json +4 -4
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1168 -1427
- package/dist/client/node_modules/@vue/runtime-dom/package.json +5 -5
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +71 -101
- package/dist/client/node_modules/@vue/server-renderer/package.json +5 -5
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +308 -363
- package/dist/client/node_modules/@vue/shared/package.json +2 -2
- package/dist/client/node_modules/@vueuse/core/index.d.ts +28 -13
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +3 -3
- package/dist/client/node_modules/@vueuse/core/package.json +3 -3
- package/dist/client/node_modules/@vueuse/metadata/package.json +1 -1
- package/dist/client/node_modules/@vueuse/shared/index.d.ts +18 -5
- package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +3 -3
- package/dist/client/node_modules/@vueuse/shared/package.json +1 -1
- package/dist/client/node_modules/csstype/index.d.ts +5009 -21819
- package/dist/client/node_modules/csstype/package.json +35 -25
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +0 -7
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +0 -7
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +0 -7
- package/dist/client/node_modules/floating-vue/package.json +3 -2
- package/dist/client/node_modules/magic-string/{index.d.ts → dist/magic-string.cjs.d.ts} +50 -7
- package/dist/client/node_modules/magic-string/package.json +34 -22
- package/dist/client/node_modules/nanoid/package.json +7 -1
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +17 -5
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +3 -3
- package/dist/client/node_modules/pinia/package.json +7 -7
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +58 -49
- package/dist/client/node_modules/postcss/lib/comment.d.ts +43 -32
- package/dist/client/node_modules/postcss/lib/container.d.ts +224 -214
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +111 -102
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +85 -61
- package/dist/client/node_modules/postcss/lib/document.d.ts +27 -16
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +6 -2
- package/dist/client/node_modules/postcss/lib/input.d.ts +99 -90
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +69 -55
- package/dist/client/node_modules/postcss/lib/list.d.ts +53 -47
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +24 -15
- package/dist/client/node_modules/postcss/lib/node.d.ts +339 -281
- package/dist/client/node_modules/postcss/lib/parse.d.ts +6 -2
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +288 -320
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +23 -14
- package/dist/client/node_modules/postcss/lib/processor.d.ts +52 -39
- package/dist/client/node_modules/postcss/lib/result.d.ts +77 -67
- package/dist/client/node_modules/postcss/lib/root.d.ts +49 -36
- package/dist/client/node_modules/postcss/lib/rule.d.ts +54 -45
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +31 -22
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +6 -2
- package/dist/client/node_modules/postcss/lib/warning.d.ts +72 -63
- package/dist/client/node_modules/postcss/package.json +7 -4
- package/dist/client/node_modules/vue/compiler-sfc/package.json +2 -3
- package/dist/client/node_modules/vue/dist/vue.d.ts +11 -9
- package/dist/client/node_modules/vue/jsx-runtime/index.d.ts +29 -0
- package/dist/client/node_modules/vue/jsx-runtime/package.json +5 -0
- package/dist/client/node_modules/vue/jsx.d.ts +26 -0
- package/dist/client/node_modules/vue/package.json +41 -15
- package/dist/client/node_modules/vue/ref-macros.d.ts +1 -1
- package/dist/client/node_modules/vue/server-renderer/package.json +2 -3
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +2 -1
- package/dist/client/node_modules/vue-router/package.json +38 -36
- package/dist/client/vue.runtime.esm-bundler.js +10048 -10684
- package/package.json +13 -13
- package/rollup.config.mjs +1 -1
- package/tsconfig.json +1 -2
- package/dist/client/node_modules/source-map/package.json +0 -73
- package/dist/client/node_modules/source-map/source-map.d.ts +0 -98
- 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
|
-
|
|
4
|
+
Builder,
|
|
5
|
+
Comment,
|
|
6
|
+
Container,
|
|
7
|
+
Declaration,
|
|
8
|
+
Document,
|
|
9
|
+
Root,
|
|
10
|
+
Rule
|
|
11
11
|
} from './postcss.js'
|
|
12
12
|
|
|
13
|
-
|
|
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
|
-
|
|
22
|
+
beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
|
|
24
23
|
block(node: AnyNode, start: string): void
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
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,42 +1,47 @@
|
|
|
1
1
|
import { RangePosition } from './css-syntax-error.js'
|
|
2
2
|
import Node from './node.js'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
56
|
+
declare class Warning_ {
|
|
52
57
|
/**
|
|
53
|
-
*
|
|
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.
|
|
61
|
+
* warning.column //=> 6
|
|
63
62
|
* ```
|
|
64
63
|
*/
|
|
65
|
-
|
|
64
|
+
column: number
|
|
66
65
|
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
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.
|
|
70
|
+
* warning.endColumn //=> 4
|
|
73
71
|
* ```
|
|
74
72
|
*/
|
|
75
|
-
|
|
73
|
+
endColumn?: number
|
|
76
74
|
|
|
77
75
|
/**
|
|
78
|
-
*
|
|
76
|
+
* Line for exclusive end position in the input file with this warning’s source.
|
|
79
77
|
*
|
|
80
78
|
* ```js
|
|
81
|
-
* warning.
|
|
79
|
+
* warning.endLine //=> 6
|
|
82
80
|
* ```
|
|
83
81
|
*/
|
|
84
|
-
|
|
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
|
-
*
|
|
94
|
+
* Contains the CSS node that caused the warning.
|
|
97
95
|
*
|
|
98
96
|
* ```js
|
|
99
|
-
* warning.
|
|
97
|
+
* warning.node.toString() //=> 'color: white !important'
|
|
100
98
|
* ```
|
|
101
99
|
*/
|
|
102
|
-
|
|
100
|
+
node: Node
|
|
103
101
|
|
|
104
102
|
/**
|
|
105
|
-
*
|
|
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.
|
|
107
|
+
* warning.plugin //=> 'postcss-important'
|
|
109
108
|
* ```
|
|
110
109
|
*/
|
|
111
|
-
|
|
110
|
+
plugin: string
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
|
-
*
|
|
113
|
+
* The warning message.
|
|
115
114
|
*
|
|
116
115
|
* ```js
|
|
117
|
-
* warning.
|
|
116
|
+
* warning.text //=> 'Try to avoid !important'
|
|
118
117
|
* ```
|
|
119
118
|
*/
|
|
120
|
-
|
|
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.
|
|
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.
|
|
77
|
+
"nanoid": "^3.3.6",
|
|
75
78
|
"picocolors": "^1.0.0",
|
|
76
79
|
"source-map-js": "^1.0.2"
|
|
77
80
|
},
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { CompilerOptions } from '@vue/compiler-dom';
|
|
2
|
-
import { RenderFunction } from '@vue/runtime-dom';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
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,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.
|
|
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":
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./dist/vue.d.ts",
|
|
31
|
+
"default": "./index.js"
|
|
32
|
+
}
|
|
28
33
|
},
|
|
29
34
|
"./server-renderer": {
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
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.
|
|
72
|
-
"@vue/compiler-dom": "3.
|
|
73
|
-
"@vue/runtime-dom": "3.
|
|
74
|
-
"@vue/compiler-sfc": "3.
|
|
75
|
-
"@vue/server-renderer": "3.
|
|
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
|
|
1
|
+
// TODO remove in 3.4
|
|
2
2
|
import './macros-global'
|
|
@@ -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
|
-
* `
|
|
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.
|
|
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.
|
|
58
|
+
"@vue/devtools-api": "^6.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@microsoft/api-extractor": "^7.
|
|
62
|
-
"@rollup/plugin-alias": "^
|
|
63
|
-
"@rollup/plugin-commonjs": "^
|
|
64
|
-
"@rollup/plugin-node-resolve": "^
|
|
65
|
-
"@rollup/plugin-replace": "^
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@types/
|
|
69
|
-
"@types/
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@vue/
|
|
73
|
-
"@vue/
|
|
74
|
-
"
|
|
75
|
-
"
|
|
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": "^
|
|
82
|
+
"jest": "^29.5.0",
|
|
83
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
82
84
|
"jest-mock-warn": "^1.1.0",
|
|
83
|
-
"nightwatch": "^2.
|
|
85
|
+
"nightwatch": "^2.6.21",
|
|
84
86
|
"nightwatch-helpers": "^1.2.0",
|
|
85
|
-
"rimraf": "^
|
|
86
|
-
"rollup": "^
|
|
87
|
+
"rimraf": "^5.0.1",
|
|
88
|
+
"rollup": "^3.26.1",
|
|
87
89
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
88
|
-
"rollup-plugin-
|
|
89
|
-
"
|
|
90
|
-
"typescript": "~
|
|
91
|
-
"vite": "^3.
|
|
92
|
-
"vue": "^3.
|
|
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.
|
|
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.
|
|
100
|
-
"build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.
|
|
101
|
-
"build:size": "pnpm run build && rollup -c size-checks/rollup.config.
|
|
102
|
-
"dev:e2e": "vite --config e2e/vite.config.
|
|
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.
|
|
109
|
-
"test:e2e:native": "node e2e/runner.
|
|
110
|
-
"test:e2e:ci": "node e2e/runner.
|
|
111
|
-
"test:e2e:bs": "node e2e/runner.
|
|
112
|
-
"test:e2e:bs-test": "node e2e/runner.
|
|
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
|
}
|