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

@pluginjs/global-component

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluginjs/global-component - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

12

dist/global-plugin.common.js
/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -8,7 +8,9 @@ */

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Component = require('@pluginjs/component');
var Component = _interopDefault(require('@pluginjs/component'));
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
class GlobalComponent extends Component {
var Component__default = /*#__PURE__*/_interopDefaultLegacy(Component);
class GlobalComponent extends Component__default['default'] {
constructor() {

@@ -15,0 +17,0 @@ super(window.document.documentElement);

/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* Released under the GPL-3.0 License.
*/
"use strict";var e,t=(e=require("@pluginjs/component"))&&"object"==typeof e&&"default"in e?e.default:e;module.exports=class extends t{constructor(){super(window.document.documentElement)}};
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=e(require("@pluginjs/component"));class n extends t.default{constructor(){super(window.document.documentElement)}}module.exports=n;
/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -5,0 +5,0 @@ */

/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 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)}}
/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 Creation Studio Limited
* Released under the GPL-3.0 License.

@@ -9,7 +9,9 @@ */

typeof define === 'function' && define.amd ? define(['@pluginjs/component'], factory) :
(global = global || self, global['@pluginjs/global-component'] = factory(global['@pluginjs/component']));
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global['@pluginjs/global-component'] = factory(global['@pluginjs/component']));
}(this, (function (Component) { 'use strict';
Component = Component && Object.prototype.hasOwnProperty.call(Component, 'default') ? Component['default'] : Component;
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var Component__default = /*#__PURE__*/_interopDefaultLegacy(Component);
function _classCallCheck(instance, Constructor) {

@@ -58,3 +60,3 @@ if (!(instance instanceof Constructor)) {

try {
Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
return true;

@@ -85,3 +87,3 @@ } catch (e) {

return function () {
return function _createSuperInternal() {
var Super = _getPrototypeOf(Derived),

@@ -114,3 +116,3 @@ result;

return GlobalComponent;
}(Component);
}(Component__default['default']);

@@ -117,0 +119,0 @@ return GlobalComponent;

/*!
* @pluginjs/global-component v0.8.4 (https://pluginjs.com)
* Copyright 2020 Creation Studio Limited
* @pluginjs/global-component v0.8.5 (https://pluginjs.com)
* Copyright 2021 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=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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,c=e(t);if(n){var u=e(this).constructor;r=Reflect.construct(c,arguments,u)}else r=c.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=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t)}));
!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 t&&"object"==typeof t&&"default"in t?t:{default:t}}function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function r(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 u(t){var e=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 o,u=n(t);if(e){var c=n(this).constructor;o=Reflect.construct(u,arguments,c)}else o=u.apply(this,arguments);return r(this,o)}}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&&o(t,e)}(n,t);var e=u(n);function n(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),e.call(this,window.document.documentElement)}return n}(e(t).default)}));

@@ -14,3 +14,3 @@ {

},
"version": "0.8.4",
"version": "0.8.5",
"category": "core",

@@ -37,10 +37,10 @@ "main": "dist/global-plugin.common.js",

"dependencies": {
"@pluginjs/component": "^0.8.4"
"@pluginjs/component": "^0.8.5"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@pluginjs/browserslist-config": "^1.3.1",
"@pluginjs/cli": "^0.8.1",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@babel/core": "^7.12.10",
"@pluginjs/browserslist-config": "^1.3.2",
"@pluginjs/cli": "^0.8.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"babel-jest": "*",

@@ -50,3 +50,3 @@ "jest": "*",

"rename": "^1.0.4",
"rollup": "^2.12.0",
"rollup": "^2.38.1",
"rollup-plugin-babel": "*",

@@ -70,4 +70,4 @@ "rollup-plugin-terser": "*"

],
"gitHead": "c7a30bcc922362e40dbc35af4290a259c9b29566",
"gitHead": "e0247ab4b5e2026b77a390619f2b96bac30609c6",
"title": "Plugin"
}
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