npm / @babel/types / 7.29.11

@babel/types 7.29.11

Source
https://github.com/babel/babel
Artifact scanned
types-7.29.11.tgz (npm tarball · 294.8 KB · SHA-256 8b5f60bb490c…)
Compared with
types-7.29.8.tgz (0 signals introduced since)
Files
90 scanned, 88 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 37 info
Scan time
6.1 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 6 of 6 warn and critical signals; 6 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-24 17:12

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review long-line lib/builders/generated/uppercase.js:6:1

    line length 2760 characters (raw pass, confidence 0.65)

    exports.JSXIdentifier = exports.JSXFragment = exports.JSXExpressionContainer = exports.JSXEmptyExpression = exports.JSXElement = exports.JSXClosingFragment = exports.JSXClosingElement = exports.JSXAttribute = exports.IntersectionTypeAnnotation = exports.InterpreterDirective = exports.InterfaceTypeAnnotation = exports.I
    likely benign LLM, confidence 0.95 A generated Babel types builder module that assigns many AST node exports on one very long line.
    Reasoning

    The snippet is a long chain of CommonJS export assignments naming AST node builders (JSXElement, InterpreterDirective, and so on). This is the shape of a generated Babel types module, which concatenates exports on one line. A long line from a code generator is a formatting artifact, not obfuscation, and nothing here executes or decodes anything.

  2. info warn → info by review long-line lib/builders/generated/uppercase.js:7:1

    line length 2791 characters (raw pass, confidence 0.65)

    exports.TSNumberKeyword = exports.TSNullKeyword = exports.TSNonNullExpression = exports.TSNeverKeyword = exports.TSNamespaceExportDeclaration = exports.TSNamedTupleMember = exports.TSModuleDeclaration = exports.TSModuleBlock = exports.TSMethodSignature = exports.TSMappedType = exports.TSLiteralType = exports.TSIntrinsi
    likely benign LLM, confidence 0.95 Another long generated export line in the Babel types builders, listing TypeScript node types.
    Reasoning

    Same generated pattern as line 6: a long run of exports.TS* and related node-type assignments. Only the length triggers the signal, and the content is ordinary declarative export wiring.

  3. line length 1557 characters (raw pass, confidence 0.50)

    exports.YieldExpression = exports.WithStatement = exports.WhileStatement = exports.VoidTypeAnnotation = exports.VoidPattern = exports.Variance = exports.VariableDeclarator = exports.VariableDeclaration = exports.V8IntrinsicIdentifier = exports.UpdateExpression = exports.UnionTypeAnnotation = exports.UnaryExpression = e
  4. line length 1405 characters (raw pass, confidence 0.50)

    exports.WHILE_TYPES = exports.USERWHITESPACABLE_TYPES = exports.UNARYLIKE_TYPES = exports.TYPESCRIPT_TYPES = exports.TSTYPE_TYPES = exports.TSTYPEELEMENT_TYPES = exports.TSENTITYNAME_TYPES = exports.TSBASETYPE_TYPES = exports.TERMINATORLESS_TYPES = exports.STATEMENT_TYPES = exports.STANDARDIZED_TYPES = exports.SCOPABLE
  5. line length 562 characters (raw pass, confidence 0.50)

    exports.UPDATE_OPERATORS = exports.UNARY_OPERATORS = exports.STRING_UNARY_OPERATORS = exports.STATEMENT_OR_BLOCK_KEYS = exports.NUMBER_UNARY_OPERATORS = exports.NUMBER_BINARY_OPERATORS = exports.LOGICAL_OPERATORS = exports.INHERIT_KEYS = exports.FOR_INIT_KEYS = exports.FLATTENABLE_KEYS = exports.EQUALITY_BINARY_OPERATO
  6. info warn → info by review long-line lib/index-legacy.d.ts:45:1

    line length 5732 characters (raw pass, confidence 0.65)

    export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | Boolea
    likely benign LLM, confidence 0.95 A TypeScript declaration file line defining a large union type of AST node names.
    Reasoning

    The snippet is a TypeScript union type alias listing AST node type names (Accessor, ArrayExpression, and so on). This is a typical declaration file for @babel/types, where long unions are emitted on a single line. It contains no executable or encoded content.

  7. line length 1653 characters (raw pass, confidence 0.50)

    export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStat
  8. line length 1017 characters (raw pass, confidence 0.50)

    export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | Sequen
  9. line length 958 characters (raw pass, confidence 0.50)

    export type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableD
  10. line length 593 characters (raw pass, confidence 0.50)

    export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | Declar
  11. line length 1429 characters (raw pass, confidence 0.50)

    export type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExp
  12. line length 1354 characters (raw pass, confidence 0.50)

    export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSN
  13. line length 659 characters (raw pass, confidence 0.50)

    export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference
  14. info warn → info by review long-line lib/index.d.ts:378:1

    line length 5049 characters (raw pass, confidence 0.65)

    type Node = AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | BinaryExpression | BindExpression | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | Boolean
    likely benign LLM, confidence 0.95 A declaration-file type union enumerating Babel AST node types on one long line.
    Reasoning

    This is a long type alias union of Babel AST node names in a .d.ts file. It is a declaration only, with no runtime behavior, and the length comes from generated type unions.

  15. info long-line lib/index.d.ts:1806:1

    line length 1646 characters (raw pass, confidence 0.50)

    type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement |
  16. info long-line lib/index.d.ts:1807:1

    line length 1010 characters (raw pass, confidence 0.50)

    type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpre
  17. info long-line lib/index.d.ts:1812:1

    line length 951 characters (raw pass, confidence 0.50)

    type Statement = BlockStatement | BreakStatement | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | ForInStatement | ForStatement | FunctionDeclaration | IfStatement | LabeledStatement | ReturnStatement | SwitchStatement | ThrowStatement | TryStatement | VariableDeclarat
  18. info long-line lib/index.d.ts:1824:1

    line length 586 characters (raw pass, confidence 0.50)

    type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariab
  19. info long-line lib/index.d.ts:1843:1

    line length 1422 characters (raw pass, confidence 0.50)

    type Flow = AnyTypeAnnotation | ArrayTypeAnnotation | BooleanTypeAnnotation | BooleanLiteralTypeAnnotation | NullLiteralTypeAnnotation | ClassImplements | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDecl
  20. info long-line lib/index.d.ts:1852:1

    line length 1347 characters (raw pass, confidence 0.50)

    type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyw
  21. info long-line lib/index.d.ts:1854:1

    line length 652 characters (raw pass, confidence 0.50)

    type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTy
  22. info long-line lib/index.d.ts:1942:1

    line length 1281 characters (raw pass, confidence 0.50)

        ConditionalExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression
  23. info long-line lib/index.d.ts:1945:1

    line length 1274 characters (raw pass, confidence 0.50)

        DecimalLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Deco
  24. info long-line lib/index.d.ts:1960:1

    line length 1272 characters (raw pass, confidence 0.50)

        DoExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decora
  25. info long-line lib/index.d.ts:1963:1

    line length 550 characters (raw pass, confidence 0.50)

        EmptyTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot 
  26. info long-line lib/index.d.ts:1973:1

    line length 551 characters (raw pass, confidence 0.50)

        ExistsTypeAnnotation: ArrayTypeAnnotation | DeclareExportDeclaration | DeclareOpaqueType | DeclareTypeAlias | DeclaredPredicate | FunctionTypeAnnotation | FunctionTypeParam | IndexedAccessType | IntersectionTypeAnnotation | NullableTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot
  27. info warn → info by review long-line lib/index.d.ts:1990:1

    line length 2506 characters (raw pass, confidence 0.65)

        Identifier: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | BreakStatement | CallExpression | CatchClause | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPr
    likely benign LLM, confidence 0.95 A long union of AST node type names inside a TypeScript declaration interface.
    Reasoning

    The snippet is a union of node type names assigned to an Identifier-like property in a type declaration. It is generated type-definition content with no executable or hidden payload.

  28. info long-line lib/index.d.ts:2009:1

    line length 1312 characters (raw pass, confidence 0.50)

        JSXElement: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorato
  29. info long-line lib/index.d.ts:2012:1

    line length 1313 characters (raw pass, confidence 0.50)

        JSXFragment: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decorat
  30. info long-line lib/index.d.ts:2068:1

    line length 1604 characters (raw pass, confidence 0.50)

        StringLiteral: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Decla
  31. info long-line lib/index.d.ts:2077:1

    line length 1303 characters (raw pass, confidence 0.50)

        TSAsExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalEx
  32. info long-line lib/index.d.ts:2098:1

    line length 1285 characters (raw pass, confidence 0.50)

        TSInstantiationExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpres
  33. info long-line lib/index.d.ts:2111:1

    line length 1308 characters (raw pass, confidence 0.50)

        TSNonNullExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | Conditio
  34. info long-line lib/index.d.ts:2121:1

    line length 1310 characters (raw pass, confidence 0.50)

        TSSatisfiesExpression: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | Condit
  35. info long-line lib/index.d.ts:2129:1

    line length 1304 characters (raw pass, confidence 0.50)

        TSTypeAssertion: ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalE
  36. info long-line lib/index.d.ts:2170:1

    line length 1275 characters (raw pass, confidence 0.50)

        YieldExpression: ArrayExpression | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BinaryExpression | BindExpression | CallExpression | ClassAccessorProperty | ClassDeclaration | ClassExpression | ClassMethod | ClassPrivateProperty | ClassProperty | ConditionalExpression | Dec
  37. info warn → info by review long-line lib/index.d.ts:3616:1

    line length 29715 characters (raw pass, confidence 0.65)

    export { ACCESSOR_TYPES, ALIAS_KEYS, ASSIGNMENT_OPERATORS, Accessor, Aliases, AnyTypeAnnotation, ArgumentPlaceholder, ArrayExpression, ArrayPattern, ArrayTypeAnnotation, ArrowFunctionExpression, AssignmentExpression, AssignmentPattern, AwaitExpression, BINARY_OPERATORS, BINARY_TYPES, BLOCKPARENT_TYPES, BLOCK_TYPES, BOO
    likely benign LLM, confidence 0.95 A very long generated export statement re-exporting Babel AST constants and node types from a declaration file.
    Reasoning

    A single export statement re-exporting many Babel type constants and node types, at roughly 29k characters. This is a generated barrel export in a declaration file. The length is unusual, but the content is a plain list of identifiers with no encoding or execution.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o types-7.29.11.tgz https://registry.npmjs.org/@babel/types/-/types-7.29.11.tgz
printf '%s  %s\n' 8b5f60bb490c0f306e9c01a51e1603442d04c666bb500e087e70dcfb1fbb0296 types-7.29.11.tgz | shasum -a 256 -c -
mkdir pkg && tar -xzf types-7.29.11.tgz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg