@thi.ng/lowdisc 0.2.0 → 0.2.4

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
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/lowdisc@0.2.3...@thi.ng/lowdisc@0.2.4) (2021-10-25)
7
+
8
+ **Note:** Version bump only for package @thi.ng/lowdisc
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.2.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/lowdisc@0.2.2...@thi.ng/lowdisc@0.2.3) (2021-10-15)
15
+
16
+ **Note:** Version bump only for package @thi.ng/lowdisc
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.2.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/lowdisc@0.2.1...@thi.ng/lowdisc@0.2.2) (2021-10-15)
23
+
24
+ **Note:** Version bump only for package @thi.ng/lowdisc
25
+
26
+
27
+
28
+
29
+
30
+ ## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/lowdisc@0.2.0...@thi.ng/lowdisc@0.2.1) (2021-10-13)
31
+
32
+ **Note:** Version bump only for package @thi.ng/lowdisc
33
+
34
+
35
+
36
+
37
+
6
38
  # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/lowdisc@0.1.7...@thi.ng/lowdisc@0.2.0) (2021-10-12)
7
39
 
8
40
 
package/README.md CHANGED
@@ -81,10 +81,11 @@ ES module import:
81
81
 
82
82
  [Skypack documentation](https://docs.skypack.dev/)
83
83
 
84
- For NodeJS (v14.6+):
84
+ For Node.js REPL:
85
85
 
86
86
  ```text
87
- node --experimental-specifier-resolution=node --experimental-repl-await
87
+ # with flag only for < v16
88
+ node --experimental-repl-await
88
89
 
89
90
  > const lowdisc = await import("@thi.ng/lowdisc");
90
91
  ```
package/halton.js CHANGED
@@ -1,4 +1,4 @@
1
- import { lowDiscrepancy } from "./lowdisc";
1
+ import { lowDiscrepancy } from "./lowdisc.js";
2
2
  /**
3
3
  * Iterator yielding 1D Halton sequence for given `base` (preferably a prime).
4
4
  *
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./halton";
2
- export * from "./kronecker";
3
- export * from "./lowdisc";
4
- export * from "./plastic";
1
+ export * from "./halton.js";
2
+ export * from "./kronecker.js";
3
+ export * from "./lowdisc.js";
4
+ export * from "./plastic.js";
5
5
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./halton";
2
- export * from "./kronecker";
3
- export * from "./lowdisc";
4
- export * from "./plastic";
1
+ export * from "./halton.js";
2
+ export * from "./kronecker.js";
3
+ export * from "./lowdisc.js";
4
+ export * from "./plastic.js";
package/kronecker.js CHANGED
@@ -1,4 +1,4 @@
1
- import { lowDiscrepancy } from "./lowdisc";
1
+ import { lowDiscrepancy } from "./lowdisc.js";
2
2
  /** @internal */
3
3
  const fract = (x) => x - Math.floor(x);
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/lowdisc",
3
- "version": "0.2.0",
3
+ "version": "0.2.4",
4
4
  "description": "n-dimensional low-discrepancy sequence generators/iterators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,10 +34,10 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/errors": "^2.0.0"
37
+ "@thi.ng/errors": "^2.0.4"
38
38
  },
39
39
  "devDependencies": {
40
- "@thi.ng/testament": "^0.1.0"
40
+ "@thi.ng/testament": "^0.1.4"
41
41
  },
42
42
  "keywords": [
43
43
  "discrepancy",
@@ -56,6 +56,9 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
+ "engines": {
60
+ "node": ">=12.7"
61
+ },
59
62
  "files": [
60
63
  "*.js",
61
64
  "*.d.ts"
@@ -85,5 +88,5 @@
85
88
  "status": "beta",
86
89
  "year": 2020
87
90
  },
88
- "gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
91
+ "gitHead": "9ff00a103f76cc4917ef3f244132e218f2300a05"
89
92
  }
package/plastic.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { assert } from "@thi.ng/errors/assert";
2
- import { kronecker } from "./kronecker";
3
- import { lowDiscrepancy } from "./lowdisc";
2
+ import { kronecker } from "./kronecker.js";
3
+ import { lowDiscrepancy } from "./lowdisc.js";
4
4
  /**
5
5
  * Computes the `d`-th Harmonious number, with:
6
6
  *