broker-factory 3.0.101 → 3.0.103
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 +21 -21
package/build/es5/bundle.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
return _objectSpread$1(_objectSpread$1({}, partialBrokerImplementation), {}, {
|
|
17
17
|
connect: function connect(_ref) {
|
|
18
18
|
var call = _ref.call;
|
|
19
|
-
return /*#__PURE__*/_asyncToGenerator(
|
|
19
|
+
return /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
20
20
|
var _MessageChannel, port1, port2, portId;
|
|
21
21
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
22
22
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
disconnect: function disconnect(_ref3) {
|
|
41
41
|
var call = _ref3.call;
|
|
42
42
|
return /*#__PURE__*/function () {
|
|
43
|
-
var _ref4 = _asyncToGenerator(
|
|
43
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(port) {
|
|
44
44
|
var portId;
|
|
45
45
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
46
46
|
while (1) switch (_context2.prev = _context2.next) {
|
package/package.json
CHANGED
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@babel/runtime": "^7.25.
|
|
13
|
-
"fast-unique-numbers": "^9.0.
|
|
14
|
-
"tslib": "^2.
|
|
15
|
-
"worker-factory": "^7.0.
|
|
12
|
+
"@babel/runtime": "^7.25.7",
|
|
13
|
+
"fast-unique-numbers": "^9.0.10",
|
|
14
|
+
"tslib": "^2.7.0",
|
|
15
|
+
"worker-factory": "^7.0.30"
|
|
16
16
|
},
|
|
17
17
|
"description": "A little factory function to create a broker for a JSON-RPC based Web Worker.",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@babel/core": "^7.25.
|
|
20
|
-
"@babel/plugin-external-helpers": "^7.
|
|
21
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
22
|
-
"@babel/preset-env": "^7.25.
|
|
23
|
-
"@commitlint/cli": "^19.
|
|
24
|
-
"@commitlint/config-angular": "^19.
|
|
19
|
+
"@babel/core": "^7.25.7",
|
|
20
|
+
"@babel/plugin-external-helpers": "^7.25.7",
|
|
21
|
+
"@babel/plugin-transform-runtime": "^7.25.7",
|
|
22
|
+
"@babel/preset-env": "^7.25.7",
|
|
23
|
+
"@commitlint/cli": "^19.5.0",
|
|
24
|
+
"@commitlint/config-angular": "^19.5.0",
|
|
25
25
|
"@rollup/plugin-babel": "^6.0.4",
|
|
26
26
|
"chai": "^4.3.10",
|
|
27
|
-
"commitizen": "^4.3.
|
|
27
|
+
"commitizen": "^4.3.1",
|
|
28
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
29
29
|
"eslint": "^8.57.0",
|
|
30
|
-
"eslint-config-holy-grail": "^
|
|
30
|
+
"eslint-config-holy-grail": "^60.0.7",
|
|
31
31
|
"grunt": "^1.6.1",
|
|
32
32
|
"grunt-cli": "^1.5.0",
|
|
33
33
|
"grunt-sh": "^0.2.1",
|
|
34
|
-
"husky": "^
|
|
34
|
+
"husky": "^9.1.6",
|
|
35
35
|
"karma": "^6.4.4",
|
|
36
36
|
"karma-chrome-launcher": "^3.2.0",
|
|
37
37
|
"karma-firefox-launcher": "^2.1.3",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"karma-sinon-chai": "^2.0.2",
|
|
41
41
|
"karma-webkit-launcher": "^2.6.0",
|
|
42
42
|
"karma-webpack": "^5.0.1",
|
|
43
|
-
"lint-staged": "^15.2.
|
|
43
|
+
"lint-staged": "^15.2.10",
|
|
44
44
|
"load-grunt-config": "^4.0.1",
|
|
45
45
|
"mocha": "^10.7.3",
|
|
46
46
|
"prettier": "^3.3.3",
|
|
47
|
-
"rimraf": "^
|
|
48
|
-
"rollup": "^4.
|
|
47
|
+
"rimraf": "^6.0.1",
|
|
48
|
+
"rollup": "^4.24.0",
|
|
49
49
|
"sinon": "^17.0.2",
|
|
50
50
|
"sinon-chai": "^3.7.0",
|
|
51
51
|
"ts-loader": "^9.5.1",
|
|
52
52
|
"tsconfig-holy-grail": "^15.0.1",
|
|
53
53
|
"tslint": "^6.1.3",
|
|
54
|
-
"tslint-config-holy-grail": "^56.0.
|
|
55
|
-
"typescript": "^5.
|
|
56
|
-
"webpack": "^5.
|
|
54
|
+
"tslint-config-holy-grail": "^56.0.3",
|
|
55
|
+
"typescript": "^5.6.2",
|
|
56
|
+
"webpack": "^5.95.0"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"build/es2019/",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"lint:config": "eslint --config config/eslint/config.json --ext .js --report-unused-disable-directives config/",
|
|
76
76
|
"lint:src": "tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts",
|
|
77
77
|
"lint:test": "eslint --config config/eslint/test.json --ext .js --report-unused-disable-directives test/",
|
|
78
|
-
"prepare": "husky
|
|
78
|
+
"prepare": "husky",
|
|
79
79
|
"prepublishOnly": "npm run build",
|
|
80
80
|
"test": "grunt lint && grunt test"
|
|
81
81
|
},
|
|
82
82
|
"types": "build/es2019/module.d.ts",
|
|
83
|
-
"version": "3.0.
|
|
83
|
+
"version": "3.0.103"
|
|
84
84
|
}
|