web-audio-beat-detector-broker 5.0.8 → 5.0.9

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 (2) hide show
  1. package/build/es5/bundle.js +8 -8
  2. package/package.json +12 -12
@@ -43,7 +43,7 @@
43
43
  sampleRate,
44
44
  tempoSettings,
45
45
  _args = arguments;
46
- return _regeneratorRuntime.wrap(function _callee$(_context) {
46
+ return _regeneratorRuntime.wrap(function (_context) {
47
47
  while (1) switch (_context.prev = _context.next) {
48
48
  case 0:
49
49
  for (_len = _args.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -52,9 +52,9 @@
52
52
  audioBuffer = args[0], offsetOrTempoSettings = args[1], durationOrTempoSettings = args[2];
53
53
  offset = typeof offsetOrTempoSettings === 'number' ? offsetOrTempoSettings : 0;
54
54
  duration = typeof durationOrTempoSettings === 'number' ? durationOrTempoSettings : audioBuffer.duration - offset;
55
- _context.next = 6;
55
+ _context.next = 1;
56
56
  return render(audioBuffer, offset, duration);
57
- case 6:
57
+ case 1:
58
58
  _yield$render = _context.sent;
59
59
  channelData = _yield$render.channelData;
60
60
  sampleRate = _yield$render.sampleRate;
@@ -65,7 +65,7 @@
65
65
  }, tempoSettings === null ? tempoSettings : {
66
66
  tempoSettings: tempoSettings
67
67
  }), [channelData.buffer]));
68
- case 11:
68
+ case 2:
69
69
  case "end":
70
70
  return _context.stop();
71
71
  }
@@ -89,7 +89,7 @@
89
89
  sampleRate,
90
90
  tempoSettings,
91
91
  _args2 = arguments;
92
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
92
+ return _regeneratorRuntime.wrap(function (_context2) {
93
93
  while (1) switch (_context2.prev = _context2.next) {
94
94
  case 0:
95
95
  for (_len2 = _args2.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
@@ -98,9 +98,9 @@
98
98
  audioBuffer = args[0], offsetOrTempoSettings = args[1], durationOrTempoSettings = args[2];
99
99
  offset = typeof offsetOrTempoSettings === 'number' ? offsetOrTempoSettings : 0;
100
100
  duration = typeof durationOrTempoSettings === 'number' ? durationOrTempoSettings : audioBuffer.duration - offset;
101
- _context2.next = 6;
101
+ _context2.next = 1;
102
102
  return render(audioBuffer, offset, duration);
103
- case 6:
103
+ case 1:
104
104
  _yield$render2 = _context2.sent;
105
105
  channelData = _yield$render2.channelData;
106
106
  sampleRate = _yield$render2.sampleRate;
@@ -111,7 +111,7 @@
111
111
  }, tempoSettings === null ? tempoSettings : {
112
112
  tempoSettings: tempoSettings
113
113
  }), [channelData.buffer]));
114
- case 11:
114
+ case 2:
115
115
  case "end":
116
116
  return _context2.stop();
117
117
  }
package/package.json CHANGED
@@ -10,17 +10,17 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@babel/runtime": "^7.27.6",
13
- "broker-factory": "^3.1.7",
13
+ "broker-factory": "^3.1.8",
14
14
  "standardized-audio-context": "^25.3.77",
15
15
  "tslib": "^2.8.1",
16
- "web-audio-beat-detector-worker": "^6.0.8"
16
+ "web-audio-beat-detector-worker": "^6.0.9"
17
17
  },
18
18
  "description": "The broker which is used by the web-audio-beat-detector package.",
19
19
  "devDependencies": {
20
- "@babel/core": "^7.27.4",
20
+ "@babel/core": "^7.28.0",
21
21
  "@babel/plugin-external-helpers": "^7.27.1",
22
- "@babel/plugin-transform-runtime": "^7.27.4",
23
- "@babel/preset-env": "^7.27.2",
22
+ "@babel/plugin-transform-runtime": "^7.28.0",
23
+ "@babel/preset-env": "^7.28.0",
24
24
  "@commitlint/cli": "^19.8.1",
25
25
  "@commitlint/config-angular": "^19.8.1",
26
26
  "@rollup/plugin-babel": "^6.0.4",
@@ -28,7 +28,7 @@
28
28
  "commitizen": "^4.3.1",
29
29
  "cz-conventional-changelog": "^3.3.0",
30
30
  "eslint": "^8.57.0",
31
- "eslint-config-holy-grail": "^60.0.35",
31
+ "eslint-config-holy-grail": "^60.0.36",
32
32
  "husky": "^9.1.7",
33
33
  "karma": "^6.4.4",
34
34
  "karma-chrome-launcher": "^3.2.0",
@@ -38,11 +38,11 @@
38
38
  "karma-sinon-chai": "^2.0.2",
39
39
  "karma-webkit-launcher": "^2.6.0",
40
40
  "karma-webpack": "^5.0.1",
41
- "lint-staged": "^15.5.1",
42
- "mocha": "^11.6.0",
43
- "prettier": "^3.5.3",
41
+ "lint-staged": "^16.1.2",
42
+ "mocha": "^11.7.1",
43
+ "prettier": "^3.6.2",
44
44
  "rimraf": "^6.0.1",
45
- "rollup": "^4.43.0",
45
+ "rollup": "^4.45.1",
46
46
  "sinon": "^17.0.2",
47
47
  "sinon-chai": "^3.7.0",
48
48
  "ts-loader": "^9.5.2",
@@ -50,7 +50,7 @@
50
50
  "tslint": "^6.1.3",
51
51
  "tslint-config-holy-grail": "^56.0.6",
52
52
  "typescript": "^5.8.3",
53
- "webpack": "^5.99.9"
53
+ "webpack": "^5.100.2"
54
54
  },
55
55
  "files": [
56
56
  "build/es2019/",
@@ -78,5 +78,5 @@
78
78
  "test:unit": "if [ \"$TYPE\" = \"\" -o \"$TYPE\" = \"unit\" ]; then karma start config/karma/config-unit.js --single-run; fi"
79
79
  },
80
80
  "types": "build/es2019/module.d.ts",
81
- "version": "5.0.8"
81
+ "version": "5.0.9"
82
82
  }