Comparing version 2.0.1 to 3.0.0
@@ -149,6 +149,7 @@ // Generated by dts-bundle v0.7.3 | ||
import { Flags, RegExpLiteral, Pattern } from "regexpp/ast"; | ||
import { EcmaVersion } from "regexpp/ecma-versions"; | ||
export namespace RegExpParser { | ||
interface Options { | ||
strict?: boolean; | ||
ecmaVersion?: 5 | 2015 | 2016 | 2017 | 2018; | ||
ecmaVersion?: EcmaVersion; | ||
} | ||
@@ -165,6 +166,7 @@ } | ||
declare module 'regexpp/validator' { | ||
import { EcmaVersion } from "regexpp/ecma-versions"; | ||
export namespace RegExpValidator { | ||
interface Options { | ||
strict?: boolean; | ||
ecmaVersion?: 5 | 2015 | 2016 | 2017 | 2018; | ||
ecmaVersion?: EcmaVersion; | ||
onLiteralEnter?(start: number): void; | ||
@@ -244,1 +246,5 @@ onLiteralLeave?(start: number, end: number): void; | ||
declare module 'regexpp/ecma-versions' { | ||
export type EcmaVersion = 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020; | ||
} | ||
{ | ||
"name": "regexpp", | ||
"version": "2.0.1", | ||
"description": "Regular expression parser for ECMAScript 2018.", | ||
"version": "3.0.0", | ||
"description": "Regular expression parser for ECMAScript.", | ||
"engines": { | ||
"node": ">=6.5.0" | ||
"node": ">=8" | ||
}, | ||
@@ -14,20 +14,20 @@ "main": "index", | ||
"devDependencies": { | ||
"@mysticatea/eslint-plugin": "^11.0.0", | ||
"@types/eslint": "^4.16.2", | ||
"@types/jsdom": "^12.2.4", | ||
"@types/mocha": "^5.2.2", | ||
"@types/node": "^10.3.3", | ||
"coveralls": "^3.0.1", | ||
"@types/node": "^12.6.8", | ||
"codecov": "^3.5.0", | ||
"dts-bundle": "^0.7.3", | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-mysticatea": "^5.0.0-beta.15", | ||
"mocha": "^5.2.0", | ||
"npm-run-all": "^4.1.3", | ||
"nyc": "^12.0.2", | ||
"eslint": "^6.1.0", | ||
"jsdom": "^15.1.1", | ||
"mocha": "^6.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^14.1.1", | ||
"rimraf": "^2.6.2", | ||
"rollup": "^0.60.7", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rollup": "^1.17.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup-watch": "^4.3.1", | ||
"ts-node": "^6.1.1", | ||
"typescript": "^2.9.2", | ||
"typescript-eslint-parser": "^16.0.0" | ||
"ts-node": "^8.3.0", | ||
"typescript": "^3.5.3" | ||
}, | ||
@@ -41,3 +41,3 @@ "scripts": { | ||
"clean": "rimraf .temp index.*", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
"codecov": "nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov", | ||
"lint": "eslint scripts src test --ext .ts", | ||
@@ -47,3 +47,5 @@ "pretest": "run-s build lint", | ||
"update:test": "ts-node scripts/update-fixtures.ts", | ||
"update:ids": "ts-node scripts/update-unicode-ids.ts", | ||
"update:unicode": "run-s update:unicode:*", | ||
"update:unicode:ids": "ts-node scripts/update-unicode-ids.ts", | ||
"update:unicode:props": "ts-node scripts/update-unicode-properties.ts", | ||
"preversion": "npm test", | ||
@@ -74,2 +76,4 @@ "version": "npm run -s build", | ||
"es2018", | ||
"es2019", | ||
"es2020", | ||
"annexB" | ||
@@ -76,0 +80,0 @@ ], |
@@ -5,7 +5,7 @@ # regexpp | ||
[![Downloads/month](https://img.shields.io/npm/dm/regexpp.svg)](http://www.npmtrends.com/regexpp) | ||
[![Build Status](https://travis-ci.org/mysticatea/regexpp.svg?branch=master)](https://travis-ci.org/mysticatea/regexpp) | ||
[![Coverage Status](https://coveralls.io/repos/github/mysticatea/regexpp/badge.svg)](https://coveralls.io/github/mysticatea/regexpp) | ||
[![Build Status](https://github.com/mysticatea/regexpp/workflows/CI/badge.svg)](https://github.com/mysticatea/regexpp/actions) | ||
[![codecov](https://codecov.io/gh/mysticatea/regexpp/branch/master/graph/badge.svg)](https://codecov.io/gh/mysticatea/regexpp) | ||
[![Dependency Status](https://david-dm.org/mysticatea/regexpp.svg)](https://david-dm.org/mysticatea/regexpp) | ||
The regular expression parser for ECMAScript. | ||
A regular expression parser for ECMAScript. | ||
@@ -18,3 +18,3 @@ ## 💿 Installation | ||
- require Node.js 6.5.0 or newer. | ||
- require Node.js 8 or newer. | ||
@@ -21,0 +21,0 @@ ## 📖 Usage |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
331440
4981