@pluginjs/global-component
Advanced tools
Comparing version 0.8.7 to 0.8.8
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
*/ | ||
"use strict";var e=require("@pluginjs/component");module.exports=class extends e{constructor(){super(window.document.documentElement)}}; |
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
@@ -15,2 +15,2 @@ */ | ||
export default GlobalComponent; | ||
export { GlobalComponent as default }; |
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
*/ | ||
import e from"@pluginjs/component";export default class extends e{constructor(){super(window.document.documentElement)}} | ||
import e from"@pluginjs/component";class o extends e{constructor(){super(window.document.documentElement)}}export{o as default}; |
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
@@ -9,4 +9,4 @@ */ | ||
typeof define === 'function' && define.amd ? define(['@pluginjs/component'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['@pluginjs/global-component'] = factory(global['@pluginjs/component'])); | ||
}(this, (function (Component) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["@pluginjs/global-component"] = factory(global["@pluginjs/component"])); | ||
})(this, (function (Component) { 'use strict'; | ||
@@ -19,2 +19,21 @@ function _classCallCheck(instance, Constructor) { | ||
function _defineProperties(target, props) { | ||
for (var i = 0; i < props.length; i++) { | ||
var descriptor = props[i]; | ||
descriptor.enumerable = descriptor.enumerable || false; | ||
descriptor.configurable = true; | ||
if ("value" in descriptor) descriptor.writable = true; | ||
Object.defineProperty(target, descriptor.key, descriptor); | ||
} | ||
} | ||
function _createClass(Constructor, protoProps, staticProps) { | ||
if (protoProps) _defineProperties(Constructor.prototype, protoProps); | ||
if (staticProps) _defineProperties(Constructor, staticProps); | ||
Object.defineProperty(Constructor, "prototype", { | ||
writable: false | ||
}); | ||
return Constructor; | ||
} | ||
function _inherits(subClass, superClass) { | ||
@@ -32,2 +51,5 @@ if (typeof superClass !== "function" && superClass !== null) { | ||
}); | ||
Object.defineProperty(subClass, "prototype", { | ||
writable: false | ||
}); | ||
if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -76,2 +98,4 @@ } | ||
return call; | ||
} else if (call !== void 0) { | ||
throw new TypeError("Derived constructors may only return object or undefined"); | ||
} | ||
@@ -112,3 +136,3 @@ | ||
return GlobalComponent; | ||
return _createClass(GlobalComponent); | ||
}(Component); | ||
@@ -118,2 +142,2 @@ | ||
}))); | ||
})); |
/*! | ||
* @pluginjs/global-component v0.8.7 (https://pluginjs.com) | ||
* Copyright 2021 Creation Studio Limited | ||
* @pluginjs/global-component v0.8.8 (https://pluginjs.com) | ||
* Copyright 2022 Creation Studio Limited | ||
* Released under the GPL-3.0 License. | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@pluginjs/component")):"function"==typeof define&&define.amd?define(["@pluginjs/component"],e):(t="undefined"!=typeof globalThis?globalThis:t||self)["@pluginjs/global-component"]=e(t["@pluginjs/component"])}(this,(function(t){"use strict";function e(t){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function r(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,u=e(t);if(n){var c=e(this).constructor;r=Reflect.construct(u,arguments,c)}else r=u.apply(this,arguments);return o(this,r)}}return function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}(o,t);var e=r(o);function o(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),e.call(this,window.document.documentElement)}return o}(t)})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@pluginjs/component")):"function"==typeof define&&define.amd?define(["@pluginjs/component"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["@pluginjs/global-component"]=t(e["@pluginjs/component"])}(this,(function(e){"use strict";function t(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function r(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,i=n(e);if(t){var u=n(this).constructor;o=Reflect.construct(i,arguments,u)}else o=i.apply(this,arguments);return r(this,o)}}return function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(f,e);var n,r,u,c=i(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),c.call(this,window.document.documentElement)}return n=f,r&&t(n.prototype,r),u&&t(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n}(e)})); |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"category": "core", | ||
@@ -37,17 +37,17 @@ "main": "dist/global-plugin.common.js", | ||
"dependencies": { | ||
"@pluginjs/component": "^0.8.7" | ||
"@pluginjs/component": "^0.8.8" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.10", | ||
"@pluginjs/browserslist-config": "^1.3.2", | ||
"@pluginjs/cli": "^0.8.4", | ||
"@rollup/plugin-commonjs": "^17.1.0", | ||
"@rollup/plugin-node-resolve": "^11.1.0", | ||
"babel-jest": "*", | ||
"jest": "*", | ||
"jest-extended": "*", | ||
"@babel/core": "^7.16.7", | ||
"@pluginjs/browserslist-config": "^1.3.3", | ||
"@pluginjs/cli": "^0.8.5", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"babel-jest": "^27.4.6", | ||
"jest": "^27.4.7", | ||
"jest-extended": "^1.2.0", | ||
"rename": "^1.0.4", | ||
"rollup": "^2.38.1", | ||
"rollup-plugin-babel": "*", | ||
"rollup-plugin-terser": "*" | ||
"rollup": "^2.63.0", | ||
"rollup-plugin-terser": "^7.0.2" | ||
}, | ||
@@ -54,0 +54,0 @@ "engines": { |
@@ -56,2 +56,2 @@ # GlobalComponent | ||
Copyright (C) 2018 [Creation Studio Limited](creationstudio.com). | ||
Copyright (C) 2022 [Creation Studio Limited](creationstudio.com). |
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
12041
167
Updated@pluginjs/component@^0.8.8