Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broker-factory

Package Overview
Dependencies
Maintainers
1
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broker-factory - npm Package Compare versions

Comparing version 3.0.52 to 3.0.53

20

build/es5/bundle.js

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.brokerFactory = {}, global._defineProperty, global._slicedToArray, global.fastUniqueNumbers, global._asyncToGenerator, global._regeneratorRuntime));
}(this, (function (exports, _defineProperty, _slicedToArray, fastUniqueNumbers, _asyncToGenerator, _regeneratorRuntime) { 'use strict';
})(this, (function (exports, _defineProperty, _slicedToArray, fastUniqueNumbers, _asyncToGenerator, _regeneratorRuntime) { 'use strict';

@@ -23,3 +23,3 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var extendBrokerImplementation = function extendBrokerImplementation(partialBrokerImplementation) {

@@ -29,6 +29,6 @@ return _objectSpread$1(_objectSpread$1({}, partialBrokerImplementation), {}, {

var call = _ref.call;
return /*#__PURE__*/_asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee() {
return /*#__PURE__*/_asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
var _MessageChannel, port1, port2, portId;
return _regeneratorRuntime__default['default'].wrap(function _callee$(_context) {
return _regeneratorRuntime__default["default"].wrap(function _callee$(_context) {
while (1) {

@@ -59,5 +59,5 @@ switch (_context.prev = _context.next) {

return /*#__PURE__*/function () {
var _ref4 = _asyncToGenerator__default['default']( /*#__PURE__*/_regeneratorRuntime__default['default'].mark(function _callee2(port) {
var _ref4 = _asyncToGenerator__default["default"]( /*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2(port) {
var portId;
return _regeneratorRuntime__default['default'].wrap(function _callee2$(_context2) {
return _regeneratorRuntime__default["default"].wrap(function _callee2$(_context2) {
while (1) {

@@ -105,3 +105,3 @@ switch (_context2.prev = _context2.next) {

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default['default'](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var ONGOING_REQUESTS = new WeakMap();

@@ -184,7 +184,7 @@

for (var _i = 0, _Object$entries = Object.entries(fullBrokerImplementation); _i < _Object$entries.length; _i++) {
var _Object$entries$_i = _slicedToArray__default['default'](_Object$entries[_i], 2),
var _Object$entries$_i = _slicedToArray__default["default"](_Object$entries[_i], 2),
key = _Object$entries$_i[0],
handler = _Object$entries$_i[1];
functions = _objectSpread(_objectSpread({}, functions), {}, _defineProperty__default['default']({}, key, handler({
functions = _objectSpread(_objectSpread({}, functions), {}, _defineProperty__default["default"]({}, key, handler({
call: call,

@@ -203,2 +203,2 @@ notify: notify

})));
}));

@@ -13,5 +13,5 @@ {

"@babel/runtime": "^7.15.4",
"fast-unique-numbers": "^6.0.6",
"fast-unique-numbers": "^6.0.7",
"tslib": "^2.3.1",
"worker-factory": "^6.0.52"
"worker-factory": "^6.0.53"
},

@@ -23,3 +23,3 @@ "description": "A little factory function to create a broker for a JSON-RPC based Web Worker.",

"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@commitlint/cli": "^13.1.0",

@@ -32,3 +32,3 @@ "@commitlint/config-angular": "^13.1.0",

"eslint": "^7.32.0",
"eslint-config-holy-grail": "^50.1.6",
"eslint-config-holy-grail": "^50.1.9",
"grunt": "^1.4.1",

@@ -50,13 +50,13 @@ "grunt-cli": "^1.4.3",

"mocha": "^9.1.1",
"prettier": "^2.3.2",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"rollup": "^2.56.3",
"rollup": "^2.57.0",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"ts-loader": "^9.2.5",
"tsconfig-holy-grail": "^11.1.10",
"ts-loader": "^9.2.6",
"tsconfig-holy-grail": "^11.1.13",
"tslint": "^6.1.3",
"tslint-config-holy-grail": "^53.2.25",
"typescript": "^4.4.2",
"webpack": "^5.51.1"
"typescript": "^4.4.3",
"webpack": "^5.53.0"
},

@@ -83,3 +83,3 @@ "files": [

"types": "build/es2019/module.d.ts",
"version": "3.0.52"
"version": "3.0.53"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc