@babel/parser
Advanced tools
+33
-20
@@ -8,3 +8,3 @@ import * as _babel_types from '@babel/types'; | ||
| type UnparenthesizedPipeBodyTypes = GetSetMemberType<typeof UnparenthesizedPipeBodyDescriptions>; | ||
| declare const _default$4: { | ||
| declare const _default$5: { | ||
| PipeTopicRequiresHackPipes: string; | ||
@@ -36,3 +36,3 @@ PipeTopicUnbound: string; | ||
| declare const _default$3: { | ||
| declare const _default$4: { | ||
| ImportMetaOutsideModule: { | ||
@@ -55,3 +55,3 @@ message: string; | ||
| }; | ||
| declare const _default$2: { | ||
| declare const _default$3: { | ||
| AccessorIsGenerator: ({ kind }: { | ||
@@ -116,5 +116,11 @@ kind: "get" | "set"; | ||
| }) => string; | ||
| ImportCallArity: string; | ||
| ImportCallNotNewExpression: string; | ||
| ImportCallSpreadArgument: string; | ||
| ImportCallArity: ({ phase }: { | ||
| phase?: string | null; | ||
| }) => string; | ||
| ImportCallNotNewExpression: ({ phase }: { | ||
| phase?: string | null; | ||
| }) => string; | ||
| ImportCallSpreadArgument: ({ phase }: { | ||
| phase?: string | null; | ||
| }) => string; | ||
| IncompatibleRegExpUVFlags: string; | ||
@@ -206,2 +212,3 @@ InvalidBigIntLiteral: string; | ||
| StaticPrototype: string; | ||
| SuperCallNotNewExpression: string; | ||
| SuperNotAllowed: string; | ||
@@ -232,3 +239,2 @@ SuperPrivateField: string; | ||
| UnexpectedVoidPattern: string; | ||
| UnsupportedBind: string; | ||
| UnsupportedDecoratorExport: string; | ||
@@ -261,3 +267,3 @@ UnsupportedDefaultExport: string; | ||
| declare const _default$1: { | ||
| declare const _default$2: { | ||
| StrictDelete: string; | ||
@@ -277,3 +283,3 @@ StrictEvalArguments: ({ referenceName }: { | ||
| declare const _default: { | ||
| declare const _default$1: { | ||
| ParseExpressionEmptyInput: string; | ||
@@ -286,2 +292,8 @@ ParseExpressionExpectsEOF: ({ unexpected }: { | ||
| declare const _default: { | ||
| UnsupportedBind: string; | ||
| UnsupportedBindRHS: string; | ||
| }; | ||
| //# sourceMappingURL=bind-operator-errors.d.ts.map | ||
| declare class TokContext { | ||
@@ -403,7 +415,2 @@ constructor(token: string, preserveSpace?: boolean); | ||
| } | ||
| type ESTreeNode = ESTreeClassElement | ESTreeExpression | EstreePrivateIdentifier | EstreeProperty | EstreeRegExpLiteral; | ||
| type ESTreeClassElement = EstreeAccessorProperty | EstreeMethodDefinition | EstreePropertyDefinition | EstreeTSAbstractMethodDefinition | EstreeTSAbstractPropertyDefinition | EstreeTSAbstractAccessorProperty; | ||
| type ESTreeLiteral = EstreeLiteral | EstreeBigIntLiteral; | ||
| type ESTreeExpression = EstreeChainExpression | EstreeImportExpression | ESTreeLiteral | EstreeTSEmptyBodyFunctionExpression; | ||
| type Node = _babel_types.Node | ESTreeNode | TSTypeCastExpression; | ||
| type Accessibility = "public" | "protected" | "private"; | ||
@@ -421,2 +428,7 @@ type VarianceAnnotations = "in" | "out"; | ||
| } | ||
| type ESTreeNode = ESTreeClassElement | ESTreeExpression | EstreePrivateIdentifier | EstreeProperty | EstreeRegExpLiteral; | ||
| type ESTreeClassElement = EstreeAccessorProperty | EstreeMethodDefinition | EstreePropertyDefinition | EstreeTSAbstractMethodDefinition | EstreeTSAbstractPropertyDefinition | EstreeTSAbstractAccessorProperty; | ||
| type ESTreeLiteral = EstreeLiteral | EstreeBigIntLiteral; | ||
| type ESTreeExpression = EstreeChainExpression | ESTreeLiteral | EstreeTSEmptyBodyFunctionExpression; | ||
| type Node = _babel_types.Node | ESTreeNode | TSTypeCastExpression; | ||
| interface EstreeLiteral extends BaseNode { | ||
@@ -465,7 +477,2 @@ type: "Literal"; | ||
| } | ||
| interface EstreeImportExpression extends BaseNode { | ||
| type: "ImportExpression"; | ||
| source: _babel_types.Expression; | ||
| options?: _babel_types.Expression | null; | ||
| } | ||
| interface EstreePrivateIdentifier extends BaseNode { | ||
@@ -676,3 +683,6 @@ type: "PrivateIdentifier"; | ||
| ExpectedAmbientAfterExportDeclare: string; | ||
| ExportAssignmentInTSNamespace: string; | ||
| ExportInTSNamespace: string; | ||
| ImportAliasHasImportType: string; | ||
| ImportInTSNamespace: string; | ||
| IncompatibleModifiers: ({ modifiers, }: { | ||
@@ -710,2 +720,3 @@ modifiers: [TsModifier, TsModifier]; | ||
| MissingInterfaceName: string; | ||
| NamespaceExportInTSNamespace: string; | ||
| NonAbstractClassHasAbstractMethod: string; | ||
@@ -735,2 +746,3 @@ NonClassMethodPropertyHasAbstractModifier: string; | ||
| TypeModifierIsUsedInTypeImports: string; | ||
| UnexpectedParameterInitializer: string; | ||
| UnexpectedParameterModifier: string; | ||
@@ -740,2 +752,3 @@ UnexpectedReadonly: string; | ||
| UnexpectedTypeCastInParameter: string; | ||
| UnexpectedTypeDeclaration: (type: "interface" | "type") => string; | ||
| UnsupportedImportTypeArgument: string; | ||
@@ -861,3 +874,3 @@ UnsupportedParameterPropertyKind: string; | ||
| }; | ||
| type __ExtractMe = typeof _default$3 & typeof _default$2 & typeof _default$1 & typeof _default & typeof _default$4 & typeof TSErrorTemplates & typeof FlowErrorTemplates & typeof JsxErrorTemplates & typeof PlaceholderErrorTemplates; | ||
| type __ExtractMe = typeof _default$4 & typeof _default$3 & typeof _default$2 & typeof _default$1 & typeof _default & typeof _default$5 & typeof TSErrorTemplates & typeof FlowErrorTemplates & typeof JsxErrorTemplates & typeof PlaceholderErrorTemplates; | ||
| type __PatchMe = never & Decompress<ErrorInfoCompressed>; | ||
@@ -864,0 +877,0 @@ type ErrorsObjects = ErrorToObject<__ExtractMe>; |
+7
-7
| { | ||
| "name": "@babel/parser", | ||
| "version": "8.0.0-rc.3", | ||
| "version": "8.0.0-rc.4", | ||
| "description": "A JavaScript parser", | ||
@@ -37,10 +37,10 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
| "dependencies": { | ||
| "@babel/types": "^8.0.0-rc.3" | ||
| "@babel/types": "^8.0.0-rc.4" | ||
| }, | ||
| "devDependencies": { | ||
| "@babel/code-frame": "^8.0.0-rc.3", | ||
| "@babel/helper-check-duplicate-nodes": "^8.0.0-rc.3", | ||
| "@babel/helper-fixtures": "^8.0.0-rc.3", | ||
| "@babel/helper-string-parser": "^8.0.0-rc.3", | ||
| "@babel/helper-validator-identifier": "^8.0.0-rc.3", | ||
| "@babel/code-frame": "^8.0.0-rc.4", | ||
| "@babel/helper-check-duplicate-nodes": "^8.0.0-rc.4", | ||
| "@babel/helper-fixtures": "^8.0.0-rc.4", | ||
| "@babel/helper-string-parser": "^8.0.0-rc.4", | ||
| "@babel/helper-validator-identifier": "^8.0.0-rc.4", | ||
| "charcodes": "^0.2.0" | ||
@@ -47,0 +47,0 @@ }, |
@@ -37,3 +37,3 @@ import { File, Expression } from "@babel/types"; | ||
| }; | ||
| //# sourceMappingURL=parse-expression-errors.d.ts.map | ||
| //# sourceMappingURL=bind-operator-errors.d.ts.map | ||
@@ -161,5 +161,5 @@ type Accessibility = "public" | "protected" | "private"; | ||
| ImportBindingIsString: [{ importName: string }]; | ||
| ImportCallArity: []; | ||
| ImportCallNotNewExpression: []; | ||
| ImportCallSpreadArgument: []; | ||
| ImportCallArity: [{ phase?: string | null | undefined }]; | ||
| ImportCallNotNewExpression: [{ phase?: string | null | undefined }]; | ||
| ImportCallSpreadArgument: [{ phase?: string | null | undefined }]; | ||
| IncompatibleRegExpUVFlags: []; | ||
@@ -219,2 +219,3 @@ InvalidBigIntLiteral: []; | ||
| StaticPrototype: []; | ||
| SuperCallNotNewExpression: []; | ||
| SuperNotAllowed: []; | ||
@@ -237,3 +238,2 @@ SuperPrivateField: []; | ||
| UnexpectedVoidPattern: []; | ||
| UnsupportedBind: []; | ||
| UnsupportedDecoratorExport: []; | ||
@@ -268,2 +268,4 @@ UnsupportedDefaultExport: []; | ||
| ParseExpressionExpectsEOF: [{ unexpected: number }]; | ||
| UnsupportedBind: []; | ||
| UnsupportedBindRHS: []; | ||
| PipeTopicRequiresHackPipes: []; | ||
@@ -301,3 +303,6 @@ PipeTopicUnbound: []; | ||
| ExpectedAmbientAfterExportDeclare: []; | ||
| ExportAssignmentInTSNamespace: []; | ||
| ExportInTSNamespace: []; | ||
| ImportAliasHasImportType: []; | ||
| ImportInTSNamespace: []; | ||
| IncompatibleModifiers: [{ modifiers: [TsModifier, TsModifier] }]; | ||
@@ -339,2 +344,3 @@ IndexSignatureHasAbstract: []; | ||
| MissingInterfaceName: []; | ||
| NamespaceExportInTSNamespace: []; | ||
| NonAbstractClassHasAbstractMethod: []; | ||
@@ -359,2 +365,3 @@ NonClassMethodPropertyHasAbstractModifier: []; | ||
| TypeModifierIsUsedInTypeImports: []; | ||
| UnexpectedParameterInitializer: []; | ||
| UnexpectedParameterModifier: []; | ||
@@ -364,2 +371,3 @@ UnexpectedReadonly: []; | ||
| UnexpectedTypeCastInParameter: []; | ||
| UnexpectedTypeDeclaration: ["interface" | "type"]; | ||
| UnsupportedImportTypeArgument: []; | ||
@@ -366,0 +374,0 @@ UnsupportedParameterPropertyKind: []; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1979857
0.83%15896
0.79%17
-5.56%Updated