big.esm 1.2.1 → 1.2.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.2.2](https://github.com/dschewchenko/big.esm/compare/v1.2.1...v1.2.2) (2023-05-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * import name for types generation ([e41cbf5](https://github.com/dschewchenko/big.esm/commit/e41cbf573d55f46e5baf8ee661483dbcf8dcf289))
7
+
1
8
  ## [1.2.1](https://github.com/dschewchenko/big.esm/compare/v1.2.0...v1.2.1) (2023-05-28)
2
9
 
3
10
 
package/dist/index.d.ts CHANGED
@@ -12,6 +12,6 @@ export { compareBig } from "./operations/compare";
12
12
  export { isBigObject } from "./utils/is-big-object";
13
13
  export { isNumericValue } from "./utils/numeric";
14
14
  export { alignScale } from "./utils/align-scale";
15
- export { createBig } from "./utils/create.ts";
16
- export { cloneBig } from "./utils/clone.ts";
17
- export { fromString } from "./utils/from-string.ts";
15
+ export { createBig } from "./utils/create";
16
+ export { cloneBig } from "./utils/clone";
17
+ export { fromString } from "./utils/from-string";
@@ -1,5 +1,5 @@
1
1
  import type { Big } from "../big";
2
- import type { CompareResult } from "../types.ts";
2
+ import type { CompareResult } from "../types";
3
3
  /**
4
4
  * Compares two Big numbers and returns a CompareResult indicating the relation between them.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { Big } from "../big.ts";
1
+ import { Big } from "../big";
2
2
  /**
3
3
  * Clone a Big instance
4
4
  * @param {Big} big - The Big instance to clone.
@@ -1,5 +1,5 @@
1
- import { Big } from "../big.ts";
2
- import type { BigObject, PossibleNumber } from "../types.ts";
1
+ import { Big } from "../big";
2
+ import type { BigObject, PossibleNumber } from "../types";
3
3
  /**
4
4
  * Creates a new Big instance from the given value.
5
5
  * If the value is already a Big instance, it returns the value itself.
@@ -1,5 +1,5 @@
1
- import { Big } from "../big.ts";
2
- import { BigObject } from "../types.ts";
1
+ import { Big } from "../big";
2
+ import { BigObject } from "../types";
3
3
  /**
4
4
  * Convert a number or string to normal string number. Supports scientific notation.
5
5
  *
@@ -1,5 +1,5 @@
1
- import type { BigObject } from "../types.ts";
2
- import type { Big } from "../big.ts";
1
+ import type { BigObject } from "../types";
2
+ import type { Big } from "../big";
3
3
  /**
4
4
  * Determines if the value is a BigObject. A BigObject is an object with a value property of type bigint and a scale property of type number. It usually represents a Big instance.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "big.esm",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A small, fast JavaScript library for arbitrary-precision decimal arithmetic.",
5
5
  "type": "module",
6
6
  "scripts": {