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

escaya

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escaya - npm Package Compare versions

Comparing version 0.0.45 to 0.0.46

3

dist/ast/expressions/arrow-function.d.ts

@@ -12,5 +12,6 @@ import { FunctionBody } from './function-body';

readonly contents: Expression | FunctionBody;
readonly arrowParameters: boolean;
async: boolean;
}
export declare function createArrowFunction(params: ArrowFormals[], contents: Expression | FunctionBody, async: boolean): ArrowFunction;
export declare function createArrowFunction(params: ArrowFormals[], contents: Expression | FunctionBody, arrowParameters: boolean, async: boolean): ArrowFunction;
//# sourceMappingURL=arrow-function.d.ts.map

@@ -0,11 +1,14 @@

import { IdentifierReference } from './identifierreference';
import { Node } from '../node';
import { PropertyKey } from '.';
import { Expression, PropertyKey } from '.';
import { AssignmentExpression } from './assignment-expr';
import { BindingElement } from './binding-element';
import { BindingIdentifier } from './binding-identifier';
import { AssignmentElement } from './assignment-element';
import { IdentifierName } from './identifiername';
export interface PropertyName extends Node {
readonly key: PropertyKey;
readonly value: AssignmentExpression | BindingElement | AssignmentElement;
readonly key: PropertyKey | IdentifierReference | IdentifierName;
readonly value: AssignmentExpression | BindingElement | AssignmentElement | BindingIdentifier | Expression;
}
export declare function createPropertyName(key: PropertyKey, value: AssignmentExpression | BindingElement | AssignmentElement): PropertyName;
export declare function createPropertyName(key: PropertyKey, value: AssignmentExpression | BindingElement | AssignmentElement | BindingIdentifier): PropertyName;
//# sourceMappingURL=property-name.d.ts.map

@@ -25,3 +25,2 @@ import { PropertyName } from './ast/expressions/property-name';

import { AssignmentElement } from './ast/expressions/assignment-element';
import { Expression, MethodName, Parameter, BindingPattern, LeftHandSideExpression } from './ast/expressions/index';
import { MemberExpression } from './ast/expressions/member-expr';

@@ -87,2 +86,3 @@ import { IdentifierReference } from './ast/expressions/identifierreference';

import { Constants } from './constants';
import { Expression, MethodName, Parameter, BindingPattern, LeftHandSideExpression } from './ast/expressions/index';
import { ScopeState } from './scope';

@@ -204,5 +204,5 @@ import { Context, BindingType, ParserState, Destructible, PropertyKind, ArrowKind, DestuctionKind } from './common';

export declare function parseAsyncArrowDeclaration(state: ParserState, context: Context, start: number): any;
export declare function parseArrowAfterIdentifier(state: ParserState, context: Context, params: ArrowFormals[], value: string, assignable: boolean, kind: ArrowKind, start: number): ArrowFunction;
export declare function parseArrowAfterIdentifier(state: ParserState, context: Context, params: BindingIdentifier, value: string, assignable: boolean, kind: ArrowKind, start: number): ArrowFunction;
export declare function parseCoverCallExpressionAndAsyncArrowHead(state: ParserState, context: Context, expr: Expression, hasLineTerminator: boolean, assignable: boolean, start: number): ArrowFunction | Expression;
export declare function parseArrowFunction(state: ParserState, context: Context, scope: any, parameters: ArrowFormals[], isAsync: ArrowKind, start: number): ArrowFunction;
export declare function parseArrowFunction(state: ParserState, context: Context, scope: any, arrowParameters: boolean, parameters: any, isAsync: ArrowKind, start: number): ArrowFunction;
export declare function parseConciseOrFunctionBody(state: ParserState, context: Context, scope: any): FunctionBody | Expression;

@@ -209,0 +209,0 @@ export declare function parseCoverParenthesizedExpressionAndArrowParameterList(state: ParserState, context: Context, assignable: boolean): Expression | ArrowFunction | ParenthesizedExpression;

{
"name": "escaya",
"version": "0.0.45",
"version": "0.0.46",
"description": "A blazing fast 100% spec compliant, self-hosted incremental javascript parser written in Typescript",

@@ -53,4 +53,4 @@ "main": "dist/escaya.umd.min.js",

"@types/node": "^14.6.4",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"chalk": "^3.0.0",

@@ -60,3 +60,3 @@ "coveralls": "^3.1.0",

"eslint": "^7.9.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",

@@ -70,3 +70,3 @@ "glob": "^7.1.6",

"rimraf": "^3.0.2",
"rollup": "^2.26.11",
"rollup": "^2.27.1",
"rollup-plugin-replace": "^2.2.0",

@@ -79,3 +79,3 @@ "rollup-plugin-terser": "^7.0.2",

"tsconfig-paths": "^3.9.0",
"typescript": "^4.0.2",
"typescript": "^4.0.3",
"unicode-13.0.0": "^0.8.0"

@@ -82,0 +82,0 @@ },

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

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

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

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