@fileverse-dev/formula-parser 0.2.18 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/error.js CHANGED
@@ -10,7 +10,7 @@ export var ERROR_NULL = "NULL";
10
10
  export var ERROR_NUM = "NUM";
11
11
  export var ERROR_REF = "REF";
12
12
  export var ERROR_VALUE = "VALUE";
13
- var errors = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ERROR, "#ERROR!"), ERROR_DIV_ZERO, "#DIV/0!"), ERROR_NAME, "#NAME?"), ERROR_NOT_AVAILABLE, "#N/A"), ERROR_NULL, "#NULL!"), ERROR_NUM, "#NUM!"), ERROR_REF, "#REF!"), ERROR_VALUE, "#VALUE!");
13
+ var errors = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ERROR, "Syntax error"), ERROR_DIV_ZERO, "#DIV/0!"), ERROR_NAME, "Wrong function name or parameter"), ERROR_NOT_AVAILABLE, "#N/A"), ERROR_NULL, "#NULL!"), ERROR_NUM, "#NUM!"), ERROR_REF, "#REF!"), ERROR_VALUE, "#VALUE!");
14
14
 
15
15
  /**
16
16
  * Return error type based on provided error id.
package/lib/error.js CHANGED
@@ -18,7 +18,7 @@ var ERROR_NULL = exports.ERROR_NULL = "NULL";
18
18
  var ERROR_NUM = exports.ERROR_NUM = "NUM";
19
19
  var ERROR_REF = exports.ERROR_REF = "REF";
20
20
  var ERROR_VALUE = exports.ERROR_VALUE = "VALUE";
21
- var errors = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ERROR, "#ERROR!"), ERROR_DIV_ZERO, "#DIV/0!"), ERROR_NAME, "#NAME?"), ERROR_NOT_AVAILABLE, "#N/A"), ERROR_NULL, "#NULL!"), ERROR_NUM, "#NUM!"), ERROR_REF, "#REF!"), ERROR_VALUE, "#VALUE!");
21
+ var errors = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ERROR, "Syntax error"), ERROR_DIV_ZERO, "#DIV/0!"), ERROR_NAME, "Wrong function name or parameter"), ERROR_NOT_AVAILABLE, "#N/A"), ERROR_NULL, "#NULL!"), ERROR_NUM, "#NUM!"), ERROR_REF, "#REF!"), ERROR_VALUE, "#VALUE!");
22
22
 
23
23
  /**
24
24
  * Return error type based on provided error id.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/formula-parser",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "description": "Formula parser",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -48,7 +48,7 @@
48
48
  "webpack-cli": "^4.2.0"
49
49
  },
50
50
  "dependencies": {
51
- "@fileverse-dev/formulajs": "4.4.11-mod-65",
51
+ "@fileverse-dev/formulajs": "4.4.11-mod-66",
52
52
  "tiny-emitter": "^2.1.0"
53
53
  },
54
54
  "jest": {