New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.36 to 0.0.37

dist/ast/statements/forBinding.d.ts

7

dist/ast/statements/for-in-stmt.d.ts
import { Node } from '../node';
import { Statement } from '.';
import { Expression, AssignmentPattern } from '../expressions/index';
import { ForDeclaration } from '../declarations/for-declaration';
import { LexicalDeclaration } from '../declarations/lexical-declaration';
import { ForBinding } from './forBinding';
export interface ForInStatement extends Node {
readonly initializer: ForDeclaration | AssignmentPattern | Expression | null;
readonly initializer: LexicalDeclaration | ForBinding | AssignmentPattern | Expression | null;
readonly expression: Expression;
readonly statement: Statement;
}
export declare function createForInStatement(initializer: ForDeclaration | AssignmentPattern | Expression | null, expression: Expression, statement: Statement): ForInStatement;
export declare function createForInStatement(initializer: LexicalDeclaration | ForBinding | AssignmentPattern | Expression | null, expression: Expression, statement: Statement): ForInStatement;
//# sourceMappingURL=for-in-stmt.d.ts.map
import { Node } from '../node';
import { Statement } from '.';
import { Expression, AssignmentPattern } from '../expressions/index';
import { ForDeclaration } from '../declarations/for-declaration';
import { LexicalDeclaration } from '../declarations/lexical-declaration';
import { ForBinding } from './forBinding';
export interface ForOfStatement extends Node {
readonly initializer: ForDeclaration | AssignmentPattern | Expression | null;
readonly initializer: LexicalDeclaration | ForBinding | AssignmentPattern | Expression | null;
readonly expression: Expression;

@@ -11,3 +12,3 @@ readonly statement: Statement;

}
export declare function createForOfStatement(initializer: ForDeclaration | AssignmentPattern | Expression | null, expression: Expression, statement: Statement, isAwait: boolean): ForOfStatement;
export declare function createForOfStatement(initializer: LexicalDeclaration | ForBinding | AssignmentPattern | Expression | null, expression: Expression, statement: Statement, isAwait: boolean): ForOfStatement;
//# sourceMappingURL=for-of-stmt.d.ts.map
import { Node } from '../node';
import { Statement } from '.';
import { Expression } from '../expressions/index';
import { ForDeclaration } from '../declarations/for-declaration';
import { VariableDeclaration } from '../declarations/variable-declaration';
export interface ForStatement extends Node {
readonly initializer: ForDeclaration | Expression | null;
readonly initializer: VariableDeclaration | Expression | null;
readonly condition: Expression | null;

@@ -8,0 +8,0 @@ readonly incrementor: Expression | null;

@@ -26,5 +26,5 @@ import { ExpressionStatement } from './expression-stmt';

import { ClassDeclaration } from '../declarations/class-declaration';
import { ForDeclaration } from '../declarations/for-declaration';
import { ForBinding } from './forBinding';
export declare type CaseBlock = DefaultClause | CaseClause;
export declare type Statement = ExpressionStatement | BlockStatement | DebuggerStatement | WhileStatement | WithStatement | BreakStatement | ContinueStatement | LabelledStatement | DoWhileStatement | IfStatement | ForOfStatement | ForInStatement | ForStatement | ReturnStatement | SwitchStatement | CaseClause | DefaultClause | EmptyStatement | ThrowStatement | TryStatement | VariableStatement | VariableDeclaration | LexicalDeclaration | LexicalBinding | FunctionDeclaration | ForDeclaration | ClassDeclaration;
export declare type Statement = ExpressionStatement | BlockStatement | DebuggerStatement | WhileStatement | WithStatement | BreakStatement | ContinueStatement | LabelledStatement | DoWhileStatement | IfStatement | ForOfStatement | ForInStatement | ForStatement | ReturnStatement | SwitchStatement | CaseClause | DefaultClause | EmptyStatement | ThrowStatement | TryStatement | VariableStatement | VariableDeclaration | LexicalDeclaration | LexicalBinding | FunctionDeclaration | ForBinding | ClassDeclaration;
//# sourceMappingURL=index.d.ts.map

@@ -14,3 +14,3 @@ import { createModuleNode } from '../ast/module-node';

import { createFunctionDeclaration } from '../ast/declarations/function-declaration';
import { createForDeclaration } from '../ast/declarations/for-declaration';
import { createForBinding } from '../ast/statements/forBinding';
import { createBindingElement } from '../ast/expressions/binding-element';

@@ -136,3 +136,3 @@ import { createArrayBindingPattern } from '../ast/expressions/array-binding-pattern';

FunctionDeclaration: typeof createFunctionDeclaration;
ForDeclaration: typeof createForDeclaration;
ForBinding: typeof createForBinding;
BindingElement: typeof createBindingElement;

@@ -139,0 +139,0 @@ ArrayBindingPattern: typeof createArrayBindingPattern;

@@ -14,3 +14,3 @@ import { RootNode } from './ast/root-node';

export declare function update(text: string, fileName: string, root: RootNode, textChangeRange: TextChangeRange): RootNode;
export declare const version = "0.29";
export declare const version = "0.22";
//# sourceMappingURL=escaya.d.ts.map

@@ -32,3 +32,2 @@ import { ImportCall } from './ast/expressions/import-call';

import { FunctionDeclaration } from './ast/declarations/function-declaration';
import { ForDeclaration } from './ast/declarations/for-declaration';
import { BindingElement } from './ast/expressions/binding-element';

@@ -127,3 +126,3 @@ import { ArrayBindingPattern } from './ast/expressions/array-binding-pattern';

export declare function parseForStatement(state: ParserState, context: Context, scope: ScopeState, labels: any[]): ForStatement | ForOfStatement | ForInStatement;
export declare function parseForDeclaration(state: ParserState, context: Context, isConst: boolean, scope: any, type: BindingType, cb: LexicalCallback, start: number): ForDeclaration;
export declare function parseForBinding(state: ParserState, context: Context, scope: any, isLexical: boolean, isConst: boolean, type: BindingType, cb: LexicalCallback, start: number): any;
export declare function parseForBindingList(state: ParserState, context: Context, scope: any, type: BindingType, cb: LexicalCallback): (LexicalBinding | VariableDeclaration)[];

@@ -130,0 +129,0 @@ export declare function parseForLexicalBinding(state: ParserState, context: Context, scope: any, type: BindingType): LexicalBinding;

{
"name": "escaya",
"version": "0.0.36",
"version": "0.0.37",
"description": "An blazing fast 100% spec compliant, incremental javascript parser written in Typescript",

@@ -103,3 +103,6 @@ "main": "dist/escaya.umd.min.js",

"node": ">=6.0.0"
},
"dependencies": {
"@babel/parser": "^7.11.5"
}
}

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