hot-formula-parser
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "hot-formula-parser", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Formula parser", | ||
@@ -80,5 +80,4 @@ "main": "dist/formula-parser.js", | ||
"formulajs": "github:handsontable/formula.js", | ||
"mixin": "^0.2.0", | ||
"tiny-emitter": "^1.0.2" | ||
} | ||
} |
import Emitter from 'tiny-emitter'; | ||
import evaluateByOperator from './evaluate-by-operator/evaluate-by-operator'; | ||
import mixin from 'mixin'; | ||
import {Parser as GrammarParser} from './grammar-parser/grammar-parser'; | ||
@@ -17,4 +16,5 @@ import {trimEdges} from './helper/string'; | ||
*/ | ||
class Parser { | ||
class Parser extends Emitter { | ||
constructor() { | ||
super(); | ||
this.parser = new GrammarParser(); | ||
@@ -167,4 +167,2 @@ this.parser.yy = { | ||
Parser = mixin(Parser, Emitter); | ||
export {Parser}; |
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
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
2
2232207
18896
- Removedmixin@^0.2.0
- Removedmixin@0.2.0(transitive)