Comparing version 0.1.0 to 0.1.2
{ | ||
"name": "et-parser", | ||
"version": "0.1.0", | ||
"version": "0.1.2", | ||
"description": "A library to parse string.", | ||
@@ -8,4 +8,5 @@ "main": "es5/src/parser.js", | ||
"start": "node test/server", | ||
"build": "rm -rf es2015 && rm -rf es5 && tsc && babel es2015/src -d es5/src", | ||
"test": "babel es2015 -d .tmp && mocha .tmp/test/fuse" | ||
"setup": "tsd install", | ||
"build": "rm -rf es5 && tsc", | ||
"test": "mocha test/fuse" | ||
}, | ||
@@ -28,4 +29,6 @@ "repository": { | ||
"express": "^4.13.3", | ||
"mocha": "^2.3.4", | ||
"should": "^8.1.1", | ||
"systemjs": "^0.19.16", | ||
"tsd": "^0.6.5", | ||
"typescript": "^1.7.5" | ||
@@ -32,0 +35,0 @@ }, |
@@ -13,3 +13,3 @@ # et-parser [![NPM version](https://img.shields.io/npm/v/et-parser.svg?style=flat-square)](https://www.npmjs.com/package/et-parser) | ||
var Parser = require('et-parser') | ||
var Parser = require('et-parser').Parser | ||
@@ -16,0 +16,0 @@ var table = ` |
const STATE_BACK_MARK = '_' | ||
const STATE_CHILD_REG = /^_/ | ||
const STATE_BACK_MARK = '_'; | ||
const STATE_CHILD_REG = /^_/; | ||
@@ -5,0 +5,0 @@ export class Machine { |
@@ -5,3 +5,3 @@ | ||
export default class Parser extends Machine { | ||
export class Parser extends Machine { | ||
constructor (table: string, firstState?: string) { | ||
@@ -15,2 +15,2 @@ super(); | ||
} | ||
} | ||
} |
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
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
10
24637
6
543
1