@histoire/vendors 0.16.5 → 0.17.4

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 (21) hide show
  1. package/dist/client/node_modules/@babel/parser/package.json +4 -4
  2. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +9 -0
  3. package/dist/client/node_modules/@vue/devtools-api/package.json +1 -1
  4. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  5. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  6. package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +1 -1
  7. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  8. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  9. package/dist/client/node_modules/@vueuse/shared/node_modules/vue-demi/package.json +1 -1
  10. package/dist/client/node_modules/magic-string/dist/magic-string.cjs.d.ts +4 -4
  11. package/dist/client/node_modules/magic-string/package.json +7 -7
  12. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +2 -0
  13. package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +2 -0
  14. package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +1 -1
  15. package/dist/client/node_modules/postcss/lib/container.d.ts +32 -32
  16. package/dist/client/node_modules/postcss/lib/input.d.ts +13 -13
  17. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +26 -26
  18. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +3 -3
  19. package/dist/client/node_modules/postcss/lib/result.d.ts +10 -10
  20. package/dist/client/node_modules/postcss/package.json +1 -1
  21. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/parser",
3
- "version": "7.22.10",
3
+ "version": "7.23.0",
4
4
  "description": "A JavaScript parser",
5
5
  "author": "The Babel Team (https://babel.dev/team)",
6
6
  "homepage": "https://babel.dev/docs/en/next/babel-parser",
@@ -34,11 +34,11 @@
34
34
  "node": ">=6.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@babel/code-frame": "^7.22.10",
37
+ "@babel/code-frame": "^7.22.13",
38
38
  "@babel/helper-check-duplicate-nodes": "^7.22.5",
39
- "@babel/helper-fixtures": "^7.22.9",
39
+ "@babel/helper-fixtures": "^7.22.19",
40
40
  "@babel/helper-string-parser": "^7.22.5",
41
- "@babel/helper-validator-identifier": "^7.22.5",
41
+ "@babel/helper-validator-identifier": "^7.22.20",
42
42
  "charcodes": "^0.2.0"
43
43
  },
44
44
  "bin": "./bin/babel-parser.js",
@@ -12,6 +12,7 @@ type Plugin =
12
12
  | "classStaticBlock" // Enabled by default
13
13
  | "decimal"
14
14
  | "decorators-legacy"
15
+ | "deferredImportEvaluation"
15
16
  | "decoratorAutoAccessors"
16
17
  | "destructuringPrivate"
17
18
  | "doExpressions"
@@ -40,6 +41,7 @@ type Plugin =
40
41
  | "placeholders"
41
42
  | "privateIn" // Enabled by default
42
43
  | "regexpUnicodeSets" // Enabled by default
44
+ | "sourcePhaseImports"
43
45
  | "throwExpressions"
44
46
  | "topLevelAwait"
45
47
  | "v8intrinsic"
@@ -51,6 +53,7 @@ type ParserPluginWithOptions =
51
53
  | ["importAttributes", { deprecatedAssertSyntax: boolean }]
52
54
  // @deprecated
53
55
  | ["moduleAttributes", { version: "may-2020" }]
56
+ | ["optionalChainingAssign", { version: "2023-07" }]
54
57
  | ["pipelineOperator", PipelineOperatorPluginOptions]
55
58
  | ["recordAndTuple", RecordAndTuplePluginOptions]
56
59
  | ["flow", FlowPluginOptions]
@@ -219,6 +222,12 @@ interface ParserOptions {
219
222
  * AST nodes instead of using the `extra` property.
220
223
  */
221
224
  createParenthesizedExpressions?: boolean;
225
+
226
+ /**
227
+ * By default, `import(foo)` is parsed as `CallExpression(Import, [Identifier(foo)])`.
228
+ * Set this to true to parse it as an `ImportExpression` node.
229
+ */
230
+ createImportExpressions?: boolean;
222
231
  }
223
232
 
224
233
  type ParserPlugin = PluginConfig;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue/devtools-api",
3
- "version": "6.5.0",
3
+ "version": "6.5.1",
4
4
  "description": "Interact with the Vue devtools from the page",
5
5
  "main": "lib/cjs/index.js",
6
6
  "browser": "lib/esm/index.js",
@@ -29,3 +29,5 @@ export {
29
29
  version,
30
30
  install,
31
31
  }
32
+
33
+ export declare function hasInjectionContext(): boolean
@@ -34,3 +34,5 @@ export interface App<T = any> {
34
34
  }
35
35
  export declare function createApp(rootComponent: any, rootProps?: any): App
36
36
  // #endregion
37
+
38
+ export declare function hasInjectionContext(): boolean
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-demi",
3
- "version": "0.14.5",
3
+ "version": "0.14.6",
4
4
  "engines": {
5
5
  "node": ">=12"
6
6
  },
@@ -29,3 +29,5 @@ export {
29
29
  version,
30
30
  install,
31
31
  }
32
+
33
+ export declare function hasInjectionContext(): boolean
@@ -34,3 +34,5 @@ export interface App<T = any> {
34
34
  }
35
35
  export declare function createApp(rootComponent: any, rootProps?: any): App
36
36
  // #endregion
37
+
38
+ export declare function hasInjectionContext(): boolean
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-demi",
3
- "version": "0.14.5",
3
+ "version": "0.14.6",
4
4
  "engines": {
5
5
  "node": ">=12"
6
6
  },
@@ -37,7 +37,7 @@ export type SourceMapSegment =
37
37
  export interface DecodedSourceMap {
38
38
  file: string;
39
39
  sources: string[];
40
- sourcesContent: (string | null)[];
40
+ sourcesContent?: string[];
41
41
  names: string[];
42
42
  mappings: SourceMapSegment[][];
43
43
  x_google_ignoreList?: number[];
@@ -49,7 +49,7 @@ export class SourceMap {
49
49
  version: number;
50
50
  file: string;
51
51
  sources: string[];
52
- sourcesContent: (string | null)[];
52
+ sourcesContent?: string[];
53
53
  names: string[];
54
54
  mappings: string;
55
55
  x_google_ignoreList?: number[];
@@ -80,8 +80,8 @@ export class Bundle {
80
80
  addSource(source: MagicString | { filename?: string, content: MagicString, ignoreList?: boolean }): Bundle;
81
81
  append(str: string, options?: BundleOptions): Bundle;
82
82
  clone(): Bundle;
83
- generateMap(options?: SourceMapOptions): SourceMap;
84
- generateDecodedMap(options?: SourceMapOptions): DecodedSourceMap;
83
+ generateMap(options?: SourceMapOptions): Omit<SourceMap, 'sourcesContent'> & { sourcesContent: Array<string | null> };
84
+ generateDecodedMap(options?: SourceMapOptions): Omit<DecodedSourceMap, 'sourcesContent'> & { sourcesContent: Array<string | null> };
85
85
  getIndentString(): string;
86
86
  indent(indentStr?: string): Bundle;
87
87
  indentExclusionRanges: ExclusionRange | Array<ExclusionRange>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-string",
3
- "version": "0.30.2",
3
+ "version": "0.30.5",
4
4
  "description": "Modify strings, generate sourcemaps",
5
5
  "keywords": [
6
6
  "string",
@@ -42,16 +42,16 @@
42
42
  "watch": "rollup -cw"
43
43
  },
44
44
  "devDependencies": {
45
- "@rollup/plugin-node-resolve": "^15.1.0",
45
+ "@rollup/plugin-node-resolve": "^15.2.0",
46
46
  "@rollup/plugin-replace": "^5.0.2",
47
47
  "benchmark": "^2.1.4",
48
- "bumpp": "^9.1.1",
48
+ "bumpp": "^9.2.0",
49
49
  "conventional-changelog-cli": "^3.0.0",
50
- "eslint": "^8.45.0",
50
+ "eslint": "^8.47.0",
51
51
  "mocha": "^10.2.0",
52
- "prettier": "^3.0.0",
53
- "publint": "^0.2.0",
54
- "rollup": "^3.26.3",
52
+ "prettier": "^3.0.2",
53
+ "publint": "^0.2.1",
54
+ "rollup": "^3.28.0",
55
55
  "source-map-js": "^1.0.2",
56
56
  "source-map-support": "^0.5.21"
57
57
  },
@@ -29,3 +29,5 @@ export {
29
29
  version,
30
30
  install,
31
31
  }
32
+
33
+ export declare function hasInjectionContext(): boolean
@@ -34,3 +34,5 @@ export interface App<T = any> {
34
34
  }
35
35
  export declare function createApp(rootComponent: any, rootProps?: any): App
36
36
  // #endregion
37
+
38
+ export declare function hasInjectionContext(): boolean
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-demi",
3
- "version": "0.14.5",
3
+ "version": "0.14.6",
4
4
  "engines": {
5
5
  "node": ">=12"
6
6
  },
@@ -125,15 +125,6 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
125
125
  every(
126
126
  condition: (node: Child, index: number, nodes: Child[]) => boolean
127
127
  ): boolean
128
- /**
129
- * The container’s first child.
130
- *
131
- * ```js
132
- * rule.first === rules.nodes[0]
133
- * ```
134
- */
135
- get first(): Child | undefined
136
-
137
128
  /**
138
129
  * Returns a `child`’s index within the `Container#nodes` array.
139
130
  *
@@ -145,6 +136,7 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
145
136
  * @return Child index.
146
137
  */
147
138
  index(child: Child | number): number
139
+
148
140
  /**
149
141
  * Insert new node after old node within the container.
150
142
  *
@@ -156,24 +148,6 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
156
148
  oldNode: Child | number,
157
149
  newNode: Child | Child[] | ChildProps | ChildProps[] | string | string[]
158
150
  ): this
159
-
160
- /**
161
- * Traverses the container’s descendant nodes, calling callback
162
- * for each comment node.
163
- *
164
- * Like `Container#each`, this method is safe
165
- * to use if you are mutating arrays during iteration.
166
- *
167
- * ```js
168
- * root.walkComments(comment => {
169
- * comment.remove()
170
- * })
171
- * ```
172
- *
173
- * @param callback Iterator receives each node and index.
174
- * @return Returns `false` if iteration was broke.
175
- */
176
-
177
151
  /**
178
152
  * Insert new node before old node within the container.
179
153
  *
@@ -189,14 +163,23 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
189
163
  oldNode: Child | number,
190
164
  newNode: Child | Child[] | ChildProps | ChildProps[] | string | string[]
191
165
  ): this
166
+
192
167
  /**
193
- * The container’s last child.
168
+ * Traverses the container’s descendant nodes, calling callback
169
+ * for each comment node.
170
+ *
171
+ * Like `Container#each`, this method is safe
172
+ * to use if you are mutating arrays during iteration.
194
173
  *
195
174
  * ```js
196
- * rule.last === rule.nodes[rule.nodes.length - 1]
175
+ * root.walkComments(comment => {
176
+ * comment.remove()
177
+ * })
197
178
  * ```
179
+ *
180
+ * @param callback Iterator receives each node and index.
181
+ * @return Returns `false` if iteration was broke.
198
182
  */
199
- get last(): Child | undefined
200
183
 
201
184
  /**
202
185
  * Inserts new nodes to the start of the container.
@@ -221,7 +204,6 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
221
204
  prepend(
222
205
  ...nodes: (ChildProps | ChildProps[] | Node | Node[] | string | string[])[]
223
206
  ): this
224
-
225
207
  /**
226
208
  * Add child to the end of the node.
227
209
  *
@@ -334,6 +316,7 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
334
316
  walk(
335
317
  callback: (node: ChildNode, index: number) => false | void
336
318
  ): false | undefined
319
+
337
320
  /**
338
321
  * Traverses the container’s descendant nodes, calling callback
339
322
  * for each at-rule node.
@@ -371,7 +354,6 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
371
354
  walkAtRules(
372
355
  callback: (atRule: AtRule, index: number) => false | void
373
356
  ): false | undefined
374
-
375
357
  walkComments(
376
358
  callback: (comment: Comment, indexed: number) => false | void
377
359
  ): false | undefined
@@ -413,9 +395,11 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
413
395
  propFilter: RegExp | string,
414
396
  callback: (decl: Declaration, index: number) => false | void
415
397
  ): false | undefined
398
+
416
399
  walkDecls(
417
400
  callback: (decl: Declaration, index: number) => false | void
418
401
  ): false | undefined
402
+
419
403
  /**
420
404
  * Traverses the container’s descendant nodes, calling callback
421
405
  * for each rule node.
@@ -445,6 +429,22 @@ declare abstract class Container_<Child extends Node = ChildNode> extends Node {
445
429
  walkRules(
446
430
  callback: (rule: Rule, index: number) => false | void
447
431
  ): false | undefined
432
+ /**
433
+ * The container’s first child.
434
+ *
435
+ * ```js
436
+ * rule.first === rules.nodes[0]
437
+ * ```
438
+ */
439
+ get first(): Child | undefined
440
+ /**
441
+ * The container’s last child.
442
+ *
443
+ * ```js
444
+ * rule.last === rule.nodes[rule.nodes.length - 1]
445
+ * ```
446
+ */
447
+ get last(): Child | undefined
448
448
  }
449
449
 
450
450
  declare class Container<Child extends Node = ChildNode> extends Container_<Child> {}
@@ -143,19 +143,6 @@ declare class Input_ {
143
143
  opts?: { plugin?: CssSyntaxError['plugin'] }
144
144
  ): CssSyntaxError
145
145
 
146
- /**
147
- * The CSS source identifier. Contains `Input#file` if the user
148
- * set the `from` option, or `Input#id` if they did not.
149
- *
150
- * ```js
151
- * const root = postcss.parse(css, { from: 'a.css' })
152
- * root.source.input.from //=> "/home/ai/a.css"
153
- *
154
- * const root = postcss.parse(css)
155
- * root.source.input.from //=> "<input css 1>"
156
- * ```
157
- */
158
- get from(): string
159
146
  /**
160
147
  * Converts source offset to line and column.
161
148
  *
@@ -187,6 +174,19 @@ declare class Input_ {
187
174
  endLine?: number,
188
175
  endColumn?: number
189
176
  ): false | Input.FilePosition
177
+ /**
178
+ * The CSS source identifier. Contains `Input#file` if the user
179
+ * set the `from` option, or `Input#id` if they did not.
180
+ *
181
+ * ```js
182
+ * const root = postcss.parse(css, { from: 'a.css' })
183
+ * root.source.input.from //=> "/home/ai/a.css"
184
+ *
185
+ * const root = postcss.parse(css)
186
+ * root.source.input.from //=> "<input css 1>"
187
+ * ```
188
+ */
189
+ get from(): string
190
190
  }
191
191
 
192
192
  declare class Input extends Input_ {}
@@ -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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@histoire/vendors",
3
- "version": "0.16.5",
3
+ "version": "0.17.4",
4
4
  "description": "Bundled vendors for histoire",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -37,7 +37,7 @@
37
37
  "fs-extra": "^10.1.0",
38
38
  "globby": "^13.2.2",
39
39
  "pinia": "^2.1.6",
40
- "rollup": "^3.28.0",
40
+ "rollup": "^3.29.4",
41
41
  "rollup-plugin-typescript2": "^0.34.1",
42
42
  "scroll-into-view-if-needed": "^2.2.31",
43
43
  "typescript": "^4.9.5",