@thi.ng/colored-noise 0.2.8 → 0.3.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +51 -36
  2. package/README.md +1 -1
  3. package/package.json +104 -99
package/CHANGELOG.md CHANGED
@@ -1,59 +1,74 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.2.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.2.7...@thi.ng/colored-noise@0.2.8) (2021-11-04)
7
-
8
- **Note:** Version bump only for package @thi.ng/colored-noise
9
-
10
-
11
-
12
-
13
-
14
- ## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.2.6...@thi.ng/colored-noise@0.2.7) (2021-11-03)
15
-
16
- **Note:** Version bump only for package @thi.ng/colored-noise
17
-
18
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
19
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
20
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
21
11
 
22
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.47...@thi.ng/colored-noise@0.2.0) (2021-10-12)
12
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/colored-noise@0.3.0) (2021-11-17)
23
13
 
14
+ #### 🚀 Features
24
15
 
25
- ### Build System
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
26
21
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
22
+ #### ♻️ Refactoring
28
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
29
30
 
30
- ### BREAKING CHANGES
31
+ ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/colored-noise@0.2.1) (2021-10-13)
31
32
 
32
- * discontinue CommonJS & UMD versions
33
+ #### ♻️ Refactoring
33
34
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
40
38
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
39
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/colored-noise@0.2.0) (2021-10-12)
45
40
 
41
+ #### 🛑 Breaking changes
46
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
47
55
 
56
+ #### ♻️ Refactoring
48
57
 
58
+ - minor pkg restructure (various) ([47f88d2](https://github.com/thi-ng/umbrella/commit/47f88d2))
59
+ - update imports ([c0d9e17](https://github.com/thi-ng/umbrella/commit/c0d9e17))
60
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
61
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
62
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
49
63
 
64
+ ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/colored-noise@0.1.1) (2020-09-13)
50
65
 
51
- ## [0.1.47](https://github.com/thi-ng/umbrella/compare/@thi.ng/colored-noise@0.1.46...@thi.ng/colored-noise@0.1.47) (2021-09-03)
66
+ #### ♻️ Refactoring
52
67
 
53
- **Note:** Version bump only for package @thi.ng/colored-noise
68
+ - update imports, use new Fn types in various pkgs ([ced1e5d](https://github.com/thi-ng/umbrella/commit/ced1e5d))
54
69
 
55
- # 0.1.0 (2020-08-28)
70
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/colored-noise@0.1.0) (2020-08-28)
56
71
 
57
- ### Features
72
+ #### 🚀 Features
58
73
 
59
- - **colored-noise:** import as new pkg (MBP2010) ([6459256](https://github.com/thi-ng/umbrella/commit/64592562ee4e4374011edc596e28f41b94218b44))
74
+ - import as new pkg (MBP2010) ([6459256](https://github.com/thi-ng/umbrella/commit/6459256))
package/README.md CHANGED
@@ -374,7 +374,7 @@ node --experimental-repl-await
374
374
  > const coloredNoise = await import("@thi.ng/colored-noise");
375
375
  ```
376
376
 
377
- Package sizes (gzipped, pre-treeshake): ESM: 506 bytes
377
+ Package sizes (gzipped, pre-treeshake): ESM: 538 bytes
378
378
 
379
379
  ## Dependencies
380
380
 
package/package.json CHANGED
@@ -1,107 +1,112 @@
1
1
  {
2
- "name": "@thi.ng/colored-noise",
3
- "version": "0.2.8",
4
- "description": "Customizable O(1) ES6 generators for colored noise",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/colored-noise",
3
+ "version": "0.3.2",
4
+ "description": "Customizable O(1) ES6 generators for colored noise",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/colored-noise#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/colored-noise#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/binary": "^3.1.2",
38
+ "@thi.ng/random": "^3.2.2"
39
+ },
40
+ "devDependencies": {
41
+ "@microsoft/api-extractor": "^7.18.19",
42
+ "@thi.ng/api": "^8.3.2",
43
+ "@thi.ng/dsp": "^4.1.2",
44
+ "@thi.ng/dsp-io-wav": "^2.1.2",
45
+ "@thi.ng/testament": "^0.2.2",
46
+ "@thi.ng/text-canvas": "^2.2.2",
47
+ "@thi.ng/transducers": "^8.1.2",
48
+ "@thi.ng/vectors": "^7.2.2",
49
+ "rimraf": "^3.0.2",
50
+ "tools": "^0.0.1",
51
+ "typedoc": "^0.22.9",
52
+ "typescript": "^4.5.2"
53
+ },
54
+ "keywords": [
55
+ "1d",
56
+ "blue",
57
+ "brown",
58
+ "fft",
59
+ "filter",
60
+ "generator",
61
+ "green",
62
+ "noise",
63
+ "random",
64
+ "red",
65
+ "sample",
66
+ "spectrum",
67
+ "typescript",
68
+ "white"
69
+ ],
70
+ "publishConfig": {
71
+ "access": "public"
72
+ },
73
+ "engines": {
74
+ "node": ">=12.7"
75
+ },
76
+ "files": [
77
+ "*.js",
78
+ "*.d.ts"
79
+ ],
80
+ "exports": {
81
+ ".": {
82
+ "import": "./index.js"
35
83
  },
36
- "dependencies": {
37
- "@thi.ng/binary": "^3.0.7",
38
- "@thi.ng/random": "^3.1.3"
84
+ "./blue": {
85
+ "import": "./blue.js"
39
86
  },
40
- "devDependencies": {
41
- "@thi.ng/api": "^8.1.0",
42
- "@thi.ng/dsp": "^4.0.7",
43
- "@thi.ng/dsp-io-wav": "^2.0.7",
44
- "@thi.ng/testament": "^0.1.6",
45
- "@thi.ng/text-canvas": "^2.1.1",
46
- "@thi.ng/transducers": "^8.0.7",
47
- "@thi.ng/vectors": "^7.1.0"
87
+ "./green": {
88
+ "import": "./green.js"
48
89
  },
49
- "keywords": [
50
- "1d",
51
- "blue",
52
- "brown",
53
- "fft",
54
- "filter",
55
- "generator",
56
- "green",
57
- "noise",
58
- "random",
59
- "red",
60
- "sample",
61
- "spectrum",
62
- "typescript",
63
- "white"
64
- ],
65
- "publishConfig": {
66
- "access": "public"
90
+ "./pink": {
91
+ "import": "./pink.js"
67
92
  },
68
- "engines": {
69
- "node": ">=12.7"
93
+ "./red": {
94
+ "import": "./red.js"
70
95
  },
71
- "files": [
72
- "*.js",
73
- "*.d.ts"
74
- ],
75
- "exports": {
76
- ".": {
77
- "import": "./index.js"
78
- },
79
- "./blue": {
80
- "import": "./blue.js"
81
- },
82
- "./green": {
83
- "import": "./green.js"
84
- },
85
- "./pink": {
86
- "import": "./pink.js"
87
- },
88
- "./red": {
89
- "import": "./red.js"
90
- },
91
- "./violet": {
92
- "import": "./violet.js"
93
- },
94
- "./white": {
95
- "import": "./white.js"
96
- }
96
+ "./violet": {
97
+ "import": "./violet.js"
97
98
  },
98
- "thi.ng": {
99
- "related": [
100
- "dsp",
101
- "lowdisc",
102
- "random"
103
- ],
104
- "year": 2015
105
- },
106
- "gitHead": "d6aca4b4edb697613ed6635b1c0b12f0bf27b1f0"
107
- }
99
+ "./white": {
100
+ "import": "./white.js"
101
+ }
102
+ },
103
+ "thi.ng": {
104
+ "related": [
105
+ "dsp",
106
+ "lowdisc",
107
+ "random"
108
+ ],
109
+ "year": 2015
110
+ },
111
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
112
+ }