@dwmt/comlink
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -48,2 +48,18 @@ import Cookies from 'js-cookie'; | ||
function _typeof(obj) { | ||
"@babel/helpers - typeof"; | ||
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { | ||
_typeof = function (obj) { | ||
return typeof obj; | ||
}; | ||
} else { | ||
_typeof = function (obj) { | ||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}; | ||
} | ||
return _typeof(obj); | ||
} | ||
function _classCallCheck(instance, Constructor) { | ||
@@ -157,2 +173,6 @@ if (!(instance instanceof Constructor)) { | ||
if (_typeof(options.loader) === 'object' && options.loader.work && options.loader.terminate) { | ||
loader = options.loader; | ||
} | ||
return loader; | ||
@@ -159,0 +179,0 @@ } |
@@ -52,2 +52,18 @@ 'use strict'; | ||
function _typeof(obj) { | ||
"@babel/helpers - typeof"; | ||
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { | ||
_typeof = function (obj) { | ||
return typeof obj; | ||
}; | ||
} else { | ||
_typeof = function (obj) { | ||
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; | ||
}; | ||
} | ||
return _typeof(obj); | ||
} | ||
function _classCallCheck(instance, Constructor) { | ||
@@ -161,2 +177,6 @@ if (!(instance instanceof Constructor)) { | ||
if (_typeof(options.loader) === 'object' && options.loader.work && options.loader.terminate) { | ||
loader = options.loader; | ||
} | ||
return loader; | ||
@@ -163,0 +183,0 @@ } |
{ | ||
"name": "@dwmt/comlink", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "Communication library for lazy enthusiasts", | ||
@@ -5,0 +5,0 @@ "main": "dist/Comlink.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71162
2020