Comparing version 1.2.4-dev.20190701 to 1.2.4-dev.20190702
@@ -6,3 +6,3 @@ import { Options } from './parser'; | ||
export declare function parse(source: string, options: Options | void): ESTree.Program; | ||
export declare const version = "1.2.1"; | ||
export declare const version = "1.2.4"; | ||
//# sourceMappingURL=meriyah.d.ts.map |
{ | ||
"name": "meriyah", | ||
"version": "1.2.4-dev.20190701", | ||
"version": "1.2.4-dev.20190702", | ||
"description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability", | ||
@@ -49,3 +49,3 @@ "main": "dist/meriyah.umd.js", | ||
"build:watch": "tsc -w", | ||
"lint": "cross-env tslint -p tsconfig.json -t stylish", | ||
"lint": "eslint \"{src,test,scripts}/**/*.{ts,js}\"", | ||
"prettier": "node ./scripts/prettier.js write-changed", | ||
@@ -66,5 +66,12 @@ "prettier-all": "node ./scripts/prettier.js write", | ||
"@types/node": "^12.0.10", | ||
"@typescript-eslint/eslint-plugin": "^1.11.0", | ||
"@typescript-eslint/parser": "^1.11.0", | ||
"chalk": "^2.4.2", | ||
"coveralls": "^3.0.4", | ||
"cross-env": "^5.2.0", | ||
"husky": "^2.4.1", | ||
"eslint": "^6.0.1", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-node": "^9.1.0", | ||
"glob": "^7.1.4", | ||
"husky": "^2.3.0", | ||
"mocha": "^6.1.4", | ||
@@ -93,3 +100,6 @@ "nyc": "^14.1.1", | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
} | ||
} |
@@ -337,2 +337,3 @@ import { ParserState } from './common'; | ||
public description: string; | ||
/*eslint-disable*/ | ||
constructor(startindex: number, line: number, column: number, type: Errors, ...params: string[]) { | ||
@@ -339,0 +340,0 @@ const message = |
@@ -24,2 +24,3 @@ interface _Node<T extends string> { | ||
} | ||
/*eslint-disable*/ | ||
interface _Expression<T extends string> extends _Node<T> {} | ||
@@ -186,3 +187,3 @@ interface T_Expression { | ||
| AwaitExpression; | ||
/*eslint-disable*/ | ||
export interface EmptyStatement extends _Node<'EmptyStatement'> {} | ||
@@ -271,3 +272,3 @@ | ||
} | ||
/*eslint-disable*/ | ||
interface _Statement<T extends string> extends _Node<T> {} | ||
@@ -300,8 +301,9 @@ interface T_Declaration { | ||
} | ||
/*eslint-disable*/ | ||
export interface DebuggerStatement extends _Node<'DebuggerStatement'> {} | ||
export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration; | ||
/*eslint-disable*/ | ||
interface _Declaration<T extends string> extends _Statement<T> {} | ||
interface BaseDeclaration extends _Node<'ExpressionStatement'> {} | ||
@@ -352,2 +354,3 @@ export interface FunctionDeclaration extends _Declaration<'FunctionDeclaration'> { | ||
/*eslint-disable*/ | ||
export interface ThisExpression extends _Expression<'ThisExpression'> {} | ||
@@ -448,2 +451,3 @@ | ||
} | ||
/*eslint-disable*/ | ||
interface _Pattern<T extends string> extends _Node<T> {} | ||
@@ -526,2 +530,3 @@ | ||
/*eslint-disable*/ | ||
export interface Super extends _Node<'Super'> {} | ||
@@ -648,3 +653,3 @@ | ||
export type ModuleSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ExportSpecifier; | ||
/*eslint-disable*/ | ||
interface _ModuleDeclaration<T extends string> extends _Node<T> {} | ||
@@ -658,4 +663,6 @@ export interface ImportDeclaration extends _ModuleDeclaration<'ImportDeclaration'> { | ||
} | ||
/*eslint-disable*/ | ||
export interface ImportDefaultSpecifier extends _ModuleSpecifier<'ImportDefaultSpecifier'> {} | ||
/*eslint-disable*/ | ||
export interface ImportNamespaceSpecifier extends _ModuleSpecifier<'ImportNamespaceSpecifier'> {} | ||
@@ -662,0 +669,0 @@ |
@@ -1,9 +0,5 @@ | ||
import { skipSingleLineComment, skipMultiLineComment, LexerState } from './'; | ||
import { CharTypes, CharFlags } from './charClassifier'; | ||
import { Chars } from '../chars'; | ||
import { Token } from '../token'; | ||
import { ParserState, Context, Flags } from '../common'; | ||
import { report, Errors } from '../errors'; | ||
import { isIDStart } from '../unicode'; | ||
import { | ||
skipSingleLineComment, | ||
skipMultiLineComment, | ||
LexerState, | ||
nextCP, | ||
@@ -24,2 +20,8 @@ consumeMultiUnitCodePoint, | ||
} from './'; | ||
import { CharTypes, CharFlags } from './charClassifier'; | ||
import { Chars } from '../chars'; | ||
import { Token } from '../token'; | ||
import { ParserState, Context, Flags } from '../common'; | ||
import { report, Errors } from '../errors'; | ||
import { isIDStart } from '../unicode'; | ||
@@ -26,0 +28,0 @@ /* |
@@ -26,2 +26,2 @@ import { Context } from './common'; | ||
export const version = '1.2.1'; | ||
export const version = '1.2.4'; |
// Unicode v. 12 support | ||
// tslint:disable | ||
/*eslint-disable*/ | ||
@@ -4,0 +4,0 @@ function isIDContinue(code:number) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2589811
47617
0
30