@thi.ng/dsp 4.7.32 → 4.7.33

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-04-23T07:02:18Z
3
+ - **Last updated**: 2024-05-08T18:24:31Z
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.
package/README.md CHANGED
@@ -94,7 +94,7 @@ For Node.js REPL:
94
94
  const dsp = await import("@thi.ng/dsp");
95
95
  ```
96
96
 
97
- Package sizes (brotli'd, pre-treeshake): ESM: 7.57 KB
97
+ Package sizes (brotli'd, pre-treeshake): ESM: 7.56 KB
98
98
 
99
99
  ## Dependencies
100
100
 
package/agen.js CHANGED
@@ -7,8 +7,7 @@ class AGen {
7
7
  return this._val;
8
8
  }
9
9
  *[Symbol.iterator]() {
10
- while (true)
11
- yield this.next();
10
+ while (true) yield this.next();
12
11
  }
13
12
  take(num, out = [], idx = 0) {
14
13
  return __take(this, num, out, idx);
package/bounce.js CHANGED
@@ -6,8 +6,7 @@ class Bounce extends AProc {
6
6
  }
7
7
  next(src) {
8
8
  let res = 0;
9
- for (let i = src.length; i-- > 0; )
10
- res += src[i];
9
+ for (let i = src.length; i-- > 0; ) res += src[i];
11
10
  return this._val = res;
12
11
  }
13
12
  }
package/delay.js CHANGED
@@ -17,8 +17,7 @@ class Delay extends AProc {
17
17
  constructor(n, _empty) {
18
18
  super(isFunction(_empty) ? _empty() : _empty);
19
19
  this._empty = _empty;
20
- if (n < 1)
21
- illegalArgs("delay size must be >= 1");
20
+ if (n < 1) illegalArgs("delay size must be >= 1");
22
21
  n >>>= 0;
23
22
  this._wpos = n - 1;
24
23
  this._rpos = 0;
package/iterable.js CHANGED
@@ -11,8 +11,7 @@ class $Iterable {
11
11
  return this._val;
12
12
  }
13
13
  *[Symbol.iterator]() {
14
- while (true)
15
- yield this.next();
14
+ while (true) yield this.next();
16
15
  }
17
16
  next() {
18
17
  if (this._iter) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/dsp",
3
- "version": "4.7.32",
3
+ "version": "4.7.33",
4
4
  "description": "Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,18 +37,18 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.11.1",
41
- "@thi.ng/checks": "^3.6.3",
42
- "@thi.ng/errors": "^2.5.6",
43
- "@thi.ng/math": "^5.10.12",
44
- "@thi.ng/random": "^3.7.5",
45
- "@thi.ng/transducers": "^9.0.4"
40
+ "@thi.ng/api": "^8.11.2",
41
+ "@thi.ng/checks": "^3.6.4",
42
+ "@thi.ng/errors": "^2.5.7",
43
+ "@thi.ng/math": "^5.10.13",
44
+ "@thi.ng/random": "^3.8.0",
45
+ "@thi.ng/transducers": "^9.0.5"
46
46
  },
47
47
  "devDependencies": {
48
- "@microsoft/api-extractor": "^7.43.0",
49
- "esbuild": "^0.20.2",
50
- "typedoc": "^0.25.12",
51
- "typescript": "^5.4.3"
48
+ "@microsoft/api-extractor": "^7.43.2",
49
+ "esbuild": "^0.21.1",
50
+ "typedoc": "^0.25.13",
51
+ "typescript": "^5.4.5"
52
52
  },
53
53
  "keywords": [
54
54
  "allpass",
@@ -288,5 +288,5 @@
288
288
  ],
289
289
  "year": 2015
290
290
  },
291
- "gitHead": "aed3421c21044c005fbcb7cc37965ccf85a870d2\n"
291
+ "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
292
292
  }