@thi.ng/lowdisc 0.3.66 → 0.3.68

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,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-05-08T18:24:32Z
3
+ - **Last updated**: 2024-06-29T09:28:36Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [0.3.67](https://github.com/thi-ng/umbrella/tree/@thi.ng/lowdisc@0.3.67) (2024-06-21)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
17
+
12
18
  ### [0.3.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/lowdisc@0.3.39) (2023-11-09)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 192 standalone projects, maintained as part
10
+ > This is one of 189 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -99,7 +99,7 @@ For Node.js REPL:
99
99
  const ld = await import("@thi.ng/lowdisc");
100
100
  ```
101
101
 
102
- Package sizes (brotli'd, pre-treeshake): ESM: 450 bytes
102
+ Package sizes (brotli'd, pre-treeshake): ESM: 456 bytes
103
103
 
104
104
  ## Dependencies
105
105
 
package/kronecker.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { lowDiscrepancy } from "./lowdisc.js";
2
- const fract = (x) => x - Math.floor(x);
2
+ const __fract = (x) => x - Math.floor(x);
3
3
  function* kronecker(alpha, start = 0) {
4
- while (true) yield start = fract(start + alpha);
4
+ while (true) yield start = __fract(start + alpha);
5
5
  }
6
6
  const kroneckerND = (alphas, offset = 0) => lowDiscrepancy(alphas.map(kronecker), offset);
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/lowdisc",
3
- "version": "0.3.66",
3
+ "version": "0.3.68",
4
4
  "description": "n-dimensional low-discrepancy sequence generators/iterators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/lowdisc#readme",
13
+ "homepage": "https://thi.ng/lowdisc",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -36,13 +36,13 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/errors": "^2.5.7"
39
+ "@thi.ng/errors": "^2.5.9"
40
40
  },
41
41
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.43.2",
43
- "esbuild": "^0.21.1",
42
+ "@microsoft/api-extractor": "^7.47.0",
43
+ "esbuild": "^0.21.5",
44
44
  "typedoc": "^0.25.13",
45
- "typescript": "^5.4.5"
45
+ "typescript": "^5.5.2"
46
46
  },
47
47
  "keywords": [
48
48
  "discrepancy",
@@ -94,5 +94,5 @@
94
94
  "status": "beta",
95
95
  "year": 2020
96
96
  },
97
- "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
97
+ "gitHead": "7b950c112fba0b2e7c450765b15624c3382f1354\n"
98
98
  }