@nocobase/evaluators 1.7.0-beta.5 → 1.7.0-beta.7

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.
@@ -51,7 +51,7 @@ var formulajs_default = import__.evaluate.bind(function(expression, scope = {})
51
51
  if (Number.isNaN(result) || !Number.isFinite(result)) {
52
52
  return null;
53
53
  }
54
- return (0, import_mathjs.round)(result, 14);
54
+ return (0, import_mathjs.round)(result, 9);
55
55
  }
56
56
  return result;
57
57
  }, {});
@@ -48,7 +48,7 @@ var mathjs_default = import__.evaluate.bind(
48
48
  if (Number.isNaN(result) || !Number.isFinite(result)) {
49
49
  return null;
50
50
  }
51
- return math.round(result, 14);
51
+ return math.round(result, 9);
52
52
  }
53
53
  if (result instanceof math.Matrix) {
54
54
  return result.toArray();
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/evaluators",
3
- "version": "1.7.0-beta.5",
3
+ "version": "1.7.0-beta.7",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
9
  "@formulajs/formulajs": "4.4.9",
10
- "@nocobase/utils": "1.7.0-beta.5",
10
+ "@nocobase/utils": "1.7.0-beta.7",
11
11
  "mathjs": "^10.6.0"
12
12
  },
13
13
  "repository": {
@@ -15,5 +15,5 @@
15
15
  "url": "git+https://github.com/nocobase/nocobase.git",
16
16
  "directory": "packages/evaluators"
17
17
  },
18
- "gitHead": "d95f10c4f23f2f2ee245880b4e900854c40bd114"
18
+ "gitHead": "cd4ee4a58c0dc80418a71b3bba3b56552b85526f"
19
19
  }