Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

acorn-typescript

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acorn-typescript - npm Package Compare versions

Comparing version 1.4.8 to 1.4.9

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.4.9](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.8...v1.4.9) (2023-10-18)
### ♻️ Code Refactoring
* 🌟set jsx options to true, while its empty ([77e26cd](https://github.com/TyrealHu/acorn-typescript/commit/77e26cd54947242b6b994cd24e4ff476422edeb9))
### [1.4.8](https://github.com/TyrealHu/acorn-typescript/compare/v1.4.7...v1.4.8) (2023-10-09)

@@ -7,0 +14,0 @@

13

lib/extentions/jsx/index.d.ts

@@ -111,2 +111,3 @@ import type { AcornParseClass } from '../../middleware';

parseSubscripts(base: any, startPos: number, startLoc: acornNamespace.Position, noCalls?: any, forInit?: any): any;
parseSpread(refDestructuringErrors: any): any;
parseExprList(close: acornNamespace.TokenType, allowTrailingComma?: any, allowEmpty?: any, refDestructuringErrors?: any): any;

@@ -144,9 +145,14 @@ parseExprOp(left: any, leftStartPos: number, leftStartLoc: acornNamespace.Position, minPrec?: any, forInit?: any): any;

parsePrivateIdent(): any;
parseRestBinding: any;
parseExportSpecifier(exports: any): any;
parseRestBinding(): any;
parseBlock(createNewLexicalScope?: boolean, node?: any, exitStrict?: boolean): any;
enterClassBody(): any;
exitClassBody(): any;
parseIdentNode(): any;
parseVar(node: any, isFor: any, kind: any, allowMissingInitializer: any): any;
parseExportDefaultDeclaration(): any;
parseIdent(liberal?: boolean): any;
copyNode(node: any): any;
checkLValPattern(expr: any, bindingType?: number, checkClashes?: any): any;
checkLValInnerPattern(expr: any, bindingType?: number, checkClashes?: any): any;
isAsyncProp(prop: any): boolean;

@@ -167,2 +173,7 @@ shouldParseArrow(): boolean;

parseExprAtom(refDestructuringErrors?: any, forInit?: boolean, forNew?: boolean): any;
parseImportSpecifiers(): any;
parseImportDefaultSpecifier(): any;
parseImportNamespaceSpecifier(): any;
parseImportAttributes(): any;
parseMaybeImportAttributes(node: any): any;
lineStart: number;

@@ -169,0 +180,0 @@ curLine: number;

2

package.json
{
"name": "acorn-typescript",
"version": "1.4.8",
"version": "1.4.9",
"description": "Alternative, TypeScript parser",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc