worker-timers-broker 7.1.8 → 7.1.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.
- package/build/es5/bundle.js +2 -2
- package/package.json +4 -4
package/build/es5/bundle.js
CHANGED
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
}
|
|
116
116
|
var timerId = fastUniqueNumbers.generateUniqueNumber(scheduledIntervalFunctions);
|
|
117
117
|
scheduledIntervalFunctions.set(timerId, function () {
|
|
118
|
-
func.apply(
|
|
118
|
+
func.apply(undefined, args);
|
|
119
119
|
// Doublecheck if the interval should still be rescheduled because it could have been cleared inside of func().
|
|
120
120
|
if (typeof scheduledIntervalFunctions.get(timerId) === 'function') {
|
|
121
121
|
worker.postMessage({
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
var timerId = fastUniqueNumbers.generateUniqueNumber(scheduledTimeoutFunctions);
|
|
151
151
|
scheduledTimeoutFunctions.set(timerId, function () {
|
|
152
|
-
return func.apply(
|
|
152
|
+
return func.apply(undefined, args);
|
|
153
153
|
});
|
|
154
154
|
worker.postMessage({
|
|
155
155
|
id: null,
|
package/package.json
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
22
22
|
"@babel/preset-env": "^7.26.0",
|
|
23
23
|
"@commitlint/cli": "^19.6.1",
|
|
24
|
-
"@commitlint/config-angular": "^19.
|
|
24
|
+
"@commitlint/config-angular": "^19.7.0",
|
|
25
25
|
"@rollup/plugin-babel": "^6.0.4",
|
|
26
26
|
"chai": "^4.3.10",
|
|
27
27
|
"commitizen": "^4.3.1",
|
|
28
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
29
29
|
"eslint": "^8.57.0",
|
|
30
|
-
"eslint-config-holy-grail": "^60.0.
|
|
30
|
+
"eslint-config-holy-grail": "^60.0.18",
|
|
31
31
|
"grunt": "^1.6.1",
|
|
32
32
|
"grunt-cli": "^1.5.0",
|
|
33
33
|
"grunt-sh": "^0.2.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mocha": "^10.8.2",
|
|
46
46
|
"prettier": "^3.4.2",
|
|
47
47
|
"rimraf": "^6.0.1",
|
|
48
|
-
"rollup": "^4.
|
|
48
|
+
"rollup": "^4.30.0",
|
|
49
49
|
"sinon": "^17.0.2",
|
|
50
50
|
"sinon-chai": "^3.7.0",
|
|
51
51
|
"ts-loader": "^9.5.1",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"test": "grunt lint && grunt test"
|
|
81
81
|
},
|
|
82
82
|
"types": "build/es2019/module.d.ts",
|
|
83
|
-
"version": "7.1.
|
|
83
|
+
"version": "7.1.9"
|
|
84
84
|
}
|