math-labs 1.1.0 → 2.0.0
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/index.js +3 -3
- package/package.json +3 -2
- package/src/math.js +1 -3
- package/test.js +2 -2
package/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { MathUtils } from "./src/math.js";
|
|
2
|
+
const math = new MathUtils();
|
|
3
|
+
export default math;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "math-labs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Simple math utility package",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"keywords": [
|
|
7
8
|
"math",
|
|
8
9
|
"utils",
|
|
@@ -11,6 +12,6 @@
|
|
|
11
12
|
"author": "Your Name",
|
|
12
13
|
"license": "MIT",
|
|
13
14
|
"dependencies": {
|
|
14
|
-
"math-labs": "^1.
|
|
15
|
+
"math-labs": "^1.1.0"
|
|
15
16
|
}
|
|
16
17
|
}
|
package/src/math.js
CHANGED
package/test.js
CHANGED