@leankylin-sheet/formula-parser 5.2.11 → 5.2.12

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/dist/index.esm.js CHANGED
@@ -329,7 +329,7 @@ function compare(exp1, exp2, type) {
329
329
  } else if (type === ">=") {
330
330
  return tsValue(exp1) >= tsValue(exp2);
331
331
  } else if (type === "=") {
332
- if (exp1 === 0 || epx2 === 0) {
332
+ if (exp1 === 0 || exp2 === 0) {
333
333
  return (exp1 || 0) === (exp2 || 0);
334
334
  }
335
335
  return tsValue(exp1) === tsValue(exp2);
package/dist/index.js CHANGED
@@ -357,7 +357,7 @@ function compare(exp1, exp2, type) {
357
357
  } else if (type === ">=") {
358
358
  return tsValue(exp1) >= tsValue(exp2);
359
359
  } else if (type === "=") {
360
- if (exp1 === 0 || epx2 === 0) {
360
+ if (exp1 === 0 || exp2 === 0) {
361
361
  return (exp1 || 0) === (exp2 || 0);
362
362
  }
363
363
  return tsValue(exp1) === tsValue(exp2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leankylin-sheet/formula-parser",
3
- "version": "5.2.11",
3
+ "version": "5.2.12",
4
4
  "description": "Formula parser",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",