a-calc 3.0.0-beta.2025120808 → 3.0.0-beta.20260121
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/README.md +83 -403
- package/a-calc.versions.js +3 -2
- package/browser/index.js +8 -1
- package/calc.d.ts +522 -84
- package/cjs/index.js +8 -1
- package/es/index.js +8 -1
- package/package.json +18 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "a-calc",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.20260121",
|
|
4
4
|
"description": "A very powerful and easy-to-use number precision calculation and formatting library.",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"build-test": "rollup -c --environment build:build & npm run test",
|
|
32
32
|
"build-only": "rollup -c --environment build:build",
|
|
33
33
|
"build:w": "rollup -c -w --environment build:build",
|
|
34
|
-
"test": "
|
|
34
|
+
"test": "vitest run",
|
|
35
35
|
"test:type": "tsc --noEmit type-check.ts",
|
|
36
36
|
"gen:version": "node gen_version_info.cjs",
|
|
37
37
|
"docs:dev": "vitepress dev docs",
|
|
@@ -82,30 +82,41 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/core": "^7.21.4",
|
|
84
84
|
"@babel/preset-env": "^7.21.4",
|
|
85
|
+
"@codemirror/commands": "^6.10.1",
|
|
86
|
+
"@codemirror/lang-javascript": "^6.2.4",
|
|
87
|
+
"@codemirror/language": "^6.12.1",
|
|
88
|
+
"@codemirror/state": "^6.5.3",
|
|
89
|
+
"@codemirror/theme-one-dark": "^6.1.3",
|
|
90
|
+
"@codemirror/view": "^6.39.8",
|
|
85
91
|
"@rollup/plugin-babel": "^6.0.4",
|
|
86
92
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
87
93
|
"@rollup/plugin-json": "^6.0.1",
|
|
88
94
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
89
95
|
"@rollup/plugin-terser": "^0.4.4",
|
|
90
|
-
"
|
|
96
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
97
|
+
"a-calc": "^2.2.15",
|
|
91
98
|
"benchmark": "^2.1.4",
|
|
92
|
-
"bignumber.js": "^9.
|
|
99
|
+
"bignumber.js": "^9.3.1",
|
|
100
|
+
"codemirror": "^6.0.2",
|
|
93
101
|
"cross-env": "^7.0.3",
|
|
102
|
+
"decimal.js": "^10.6.0",
|
|
94
103
|
"fast-deep-equal": "^3.1.3",
|
|
95
104
|
"glob": "^8.1.0",
|
|
96
105
|
"json-stringify-safe": "^5.0.1",
|
|
97
106
|
"lodash-es": "^4.17.21",
|
|
98
|
-
"math-expression-evaluator": "2.0.
|
|
99
|
-
"mathjs": "
|
|
107
|
+
"math-expression-evaluator": "^2.0.7",
|
|
108
|
+
"mathjs": "^15.1.0",
|
|
100
109
|
"npm-run-all": "^4.1.5",
|
|
101
110
|
"rollup": "^4.6.0",
|
|
102
111
|
"rollup-plugin-livereload": "^2.0.5",
|
|
103
112
|
"rollup-plugin-serve": "^1.1.0",
|
|
104
113
|
"typescript": "^5.1.6",
|
|
105
114
|
"vitepress": "^1.6.4",
|
|
115
|
+
"vitest": "^2.1.0",
|
|
106
116
|
"vue": "^3.5.25"
|
|
107
117
|
},
|
|
108
118
|
"dependencies": {
|
|
119
|
+
"@uiw/codemirror-themes-all": "^4.25.4",
|
|
109
120
|
"typescript-treasure": "0.0.9"
|
|
110
121
|
}
|
|
111
|
-
}
|
|
122
|
+
}
|