@histoire/vendors 1.0.0-alpha.4 → 1.0.0-alpha.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/helper-validator-identifier",
3
- "version": "7.27.1",
3
+ "version": "7.28.5",
4
4
  "description": "Validate identifier/keywords name",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "./package.json": "./package.json"
21
21
  },
22
22
  "devDependencies": {
23
- "@unicode/unicode-16.0.0": "^1.0.0",
23
+ "@unicode/unicode-17.0.0": "^1.6.10",
24
24
  "charcodes": "^0.2.0"
25
25
  },
26
26
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/parser",
3
- "version": "7.28.4",
3
+ "version": "7.28.5",
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",
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
37
37
  "dependencies": {
38
- "@babel/types": "^7.28.4"
38
+ "@babel/types": "^7.28.5"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@babel/code-frame": "^7.27.1",
42
42
  "@babel/helper-check-duplicate-nodes": "^7.27.1",
43
43
  "@babel/helper-fixtures": "^7.28.0",
44
44
  "@babel/helper-string-parser": "^7.27.1",
45
- "@babel/helper-validator-identifier": "^7.27.1",
45
+ "@babel/helper-validator-identifier": "^7.28.5",
46
46
  "charcodes": "^0.2.0"
47
47
  },
48
48
  "bin": "./bin/babel-parser.js",
@@ -3,6 +3,26 @@
3
3
  /* eslint-disable @typescript-eslint/consistent-type-imports, @typescript-eslint/no-redundant-type-constituents */
4
4
  import { File, Expression } from '@babel/types';
5
5
 
6
+ declare class Position {
7
+ line: number;
8
+ column: number;
9
+ index: number;
10
+ constructor(line: number, col: number, index: number);
11
+ }
12
+
13
+ type SyntaxPlugin = "flow" | "typescript" | "jsx" | "pipelineOperator" | "placeholders";
14
+ type ParseErrorCode = "BABEL_PARSER_SYNTAX_ERROR" | "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";
15
+ interface ParseErrorSpecification<ErrorDetails> {
16
+ code: ParseErrorCode;
17
+ reasonCode: string;
18
+ syntaxPlugin?: SyntaxPlugin;
19
+ missingPlugin?: string | string[];
20
+ loc: Position;
21
+ details: ErrorDetails;
22
+ pos: number;
23
+ }
24
+ type ParseError$1<ErrorDetails> = SyntaxError & ParseErrorSpecification<ErrorDetails>;
25
+
6
26
  type BABEL_8_BREAKING = false;
7
27
  type IF_BABEL_7<V> = false extends BABEL_8_BREAKING ? V : never;
8
28
 
@@ -120,6 +140,10 @@ interface Options {
120
140
  * Set this to true to accept such code.
121
141
  */
122
142
  allowNewTargetOutsideFunction?: boolean;
143
+ /**
144
+ * By default, super calls are not allowed outside of a method.
145
+ * Set this to true to accept such code.
146
+ */
123
147
  allowSuperOutsideMethod?: boolean;
124
148
  /**
125
149
  * By default, exported identifiers must refer to a declared variable.
@@ -218,12 +242,11 @@ interface Options {
218
242
  }
219
243
 
220
244
  type ParserOptions = Partial<Options>;
221
- interface ParseError {
222
- code: string;
223
- reasonCode: string;
224
- }
245
+ type ParseError = ParseError$1<object>;
225
246
  type ParseResult<Result extends File | Expression = File> = Result & {
247
+ comments: File["comments"];
226
248
  errors: null | ParseError[];
249
+ tokens?: File["tokens"];
227
250
  };
228
251
  /**
229
252
  * Parse the provided code as an entire ECMAScript program.
@@ -1,5 +1,5 @@
1
1
  // NOTE: This file is autogenerated. Do not modify.
2
- // See packages/babel-types/scripts/generators/typescript-legacy.js for script used.
2
+ // See packages/babel-types/scripts/generators/typescript-legacy.ts for script used.
3
3
 
4
4
  interface BaseComment {
5
5
  value: string;