broker-factory 3.0.83 → 3.0.85
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 +4 -4
- package/package.json +22 -17
package/build/es5/bundle.js
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
var PORT_MAP = new WeakMap();
|
|
12
12
|
|
|
13
|
-
function ownKeys$1(
|
|
14
|
-
function _objectSpread$1(
|
|
13
|
+
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
var extendBrokerImplementation = function extendBrokerImplementation(partialBrokerImplementation) {
|
|
16
16
|
return _objectSpread$1(_objectSpread$1({}, partialBrokerImplementation), {}, {
|
|
17
17
|
connect: function connect(_ref) {
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
function ownKeys(
|
|
80
|
-
function _objectSpread(
|
|
79
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
80
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
81
81
|
var ONGOING_REQUESTS = new WeakMap();
|
|
82
82
|
var createOrGetOngoingRequests = function createOrGetOngoingRequests(sender) {
|
|
83
83
|
if (ONGOING_REQUESTS.has(sender)) {
|
package/package.json
CHANGED
|
@@ -10,24 +10,24 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.22.6",
|
|
13
|
-
"fast-unique-numbers": "^8.0.
|
|
14
|
-
"tslib": "^2.6.
|
|
15
|
-
"worker-factory": "^7.0.
|
|
13
|
+
"fast-unique-numbers": "^8.0.7",
|
|
14
|
+
"tslib": "^2.6.1",
|
|
15
|
+
"worker-factory": "^7.0.9"
|
|
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.22.
|
|
19
|
+
"@babel/core": "^7.22.17",
|
|
20
20
|
"@babel/plugin-external-helpers": "^7.22.5",
|
|
21
|
-
"@babel/plugin-transform-runtime": "^7.22.
|
|
22
|
-
"@babel/preset-env": "^7.22.
|
|
23
|
-
"@commitlint/cli": "^17.
|
|
24
|
-
"@commitlint/config-angular": "^17.
|
|
21
|
+
"@babel/plugin-transform-runtime": "^7.22.15",
|
|
22
|
+
"@babel/preset-env": "^7.22.15",
|
|
23
|
+
"@commitlint/cli": "^17.7.1",
|
|
24
|
+
"@commitlint/config-angular": "^17.7.0",
|
|
25
25
|
"@rollup/plugin-babel": "^6.0.3",
|
|
26
|
-
"chai": "^4.3.
|
|
26
|
+
"chai": "^4.3.8",
|
|
27
27
|
"commitizen": "^4.3.0",
|
|
28
28
|
"cz-conventional-changelog": "^3.3.0",
|
|
29
|
-
"eslint": "^8.
|
|
30
|
-
"eslint-config-holy-grail": "^57.2.
|
|
29
|
+
"eslint": "^8.49.0",
|
|
30
|
+
"eslint-config-holy-grail": "^57.2.20",
|
|
31
31
|
"grunt": "^1.6.1",
|
|
32
32
|
"grunt-cli": "^1.4.3",
|
|
33
33
|
"grunt-sh": "^0.2.1",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"prettier": "^2.8.8",
|
|
46
46
|
"pretty-quick": "^3.1.3",
|
|
47
47
|
"rimraf": "^5.0.1",
|
|
48
|
-
"rollup": "^3.
|
|
48
|
+
"rollup": "^3.29.1",
|
|
49
49
|
"sinon": "^15.2.0",
|
|
50
50
|
"sinon-chai": "^3.7.0",
|
|
51
51
|
"ts-loader": "^9.4.4",
|
|
52
|
-
"tsconfig-holy-grail": "^14.0.
|
|
52
|
+
"tsconfig-holy-grail": "^14.0.8",
|
|
53
53
|
"tslint": "^6.1.3",
|
|
54
|
-
"tslint-config-holy-grail": "^55.0.
|
|
54
|
+
"tslint-config-holy-grail": "^55.0.4",
|
|
55
55
|
"typescript": "^5.1.6",
|
|
56
|
-
"webpack": "^5.88.
|
|
56
|
+
"webpack": "^5.88.2"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"build/es2019/",
|
|
@@ -70,10 +70,15 @@
|
|
|
70
70
|
"url": "https://github.com/chrisguttandin/broker-factory.git"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
|
+
"build": "rimraf build/* && tsc --project src/tsconfig.json && rollup --config config/rollup/bundle.mjs",
|
|
74
|
+
"lint": "npm run lint:config && npm run lint:src && npm run lint:test",
|
|
75
|
+
"lint:config": "eslint --config config/eslint/config.json --ext .js --report-unused-disable-directives config/",
|
|
76
|
+
"lint:src": "tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts",
|
|
77
|
+
"lint:test": "eslint --config config/eslint/test.json --ext .js --report-unused-disable-directives test/",
|
|
73
78
|
"prepare": "husky install",
|
|
74
|
-
"prepublishOnly": "
|
|
79
|
+
"prepublishOnly": "npm run build",
|
|
75
80
|
"test": "grunt lint && grunt test"
|
|
76
81
|
},
|
|
77
82
|
"types": "build/es2019/module.d.ts",
|
|
78
|
-
"version": "3.0.
|
|
83
|
+
"version": "3.0.85"
|
|
79
84
|
}
|