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

@pixi/extensions

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/extensions - npm Package Compare versions

Comparing version 6.5.8 to 6.5.9

7

dist/browser/extensions.js
/*!
* @pixi/extensions - v6.5.8
* Compiled Sun, 23 Oct 2022 23:01:45 UTC
* @pixi/extensions - v6.5.9
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
*

@@ -390,2 +390,5 @@ * @pixi/extensions is licensed under the MIT License.

var _a, _b;
if (list.includes(extension.ref)) {
return;
}
list.push(extension.ref);

@@ -392,0 +395,0 @@ // TODO: remove me later, only added for @pixi/loaders

/*!
* @pixi/extensions - v6.5.8
* Compiled Sun, 23 Oct 2022 23:01:45 UTC
* @pixi/extensions - v6.5.9
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
*

@@ -8,3 +8,3 @@ * @pixi/extensions is licensed under the MIT License.

*/
this.PIXI=this.PIXI||{};var _pixi_extensions=function(e){"use strict";var n,r=function(){return r=Object.assign||function(e){for(var n,r=arguments,t=1,i=arguments.length;t<i;t++)for(var o in n=r[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},r.apply(this,arguments)};e.ExtensionType=void 0,(n=e.ExtensionType||(e.ExtensionType={})).Application="application",n.RendererPlugin="renderer-webgl-plugin",n.CanvasRendererPlugin="renderer-canvas-plugin",n.Loader="loader",n.LoadParser="load-parser",n.ResolveParser="resolve-parser",n.CacheParser="cache-parser",n.DetectionParser="detection-parser";var t=function(e){if("function"==typeof e||"object"==typeof e&&e.extension){var n="object"!=typeof e.extension?{type:e.extension}:e.extension;e=r(r({},n),{ref:e})}if("object"!=typeof e)throw new Error("Invalid extension type");return"string"==typeof(e=r({},e)).type&&(e.type=[e.type]),e},i={_addHandlers:null,_removeHandlers:null,_queue:{},remove:function(){for(var e=arguments,n=this,r=[],i=0;i<arguments.length;i++)r[i]=e[i];return r.map(t).forEach((function(e){e.type.forEach((function(r){var t,i;return null===(i=(t=n._removeHandlers)[r])||void 0===i?void 0:i.call(t,e)}))})),this},add:function(){for(var e=arguments,n=this,r=[],i=0;i<arguments.length;i++)r[i]=e[i];return r.map(t).forEach((function(e){e.type.forEach((function(r){var t=n._addHandlers,i=n._queue;t[r]?t[r](e):(i[r]=i[r]||[],i[r].push(e))}))})),this},handle:function(e,n,r){var t=this._addHandlers=this._addHandlers||{},i=this._removeHandlers=this._removeHandlers||{};t[e]=n,i[e]=r;var o=this._queue;return o[e]&&(o[e].forEach((function(e){return n(e)})),delete o[e]),this},handleByMap:function(e,n){return this.handle(e,(function(e){n[e.name]=e.ref}),(function(e){delete n[e.name]}))},handleByList:function(n,r){return this.handle(n,(function(t){var i,o;r.push(t.ref),n===e.ExtensionType.Loader&&(null===(o=(i=t.ref).add)||void 0===o||o.call(i))}),(function(e){var n=r.indexOf(e.ref);-1!==n&&r.splice(n,1)}))}};return e.extensions=i,Object.defineProperty(e,"__esModule",{value:!0}),e}({});Object.assign(this.PIXI,_pixi_extensions);
this.PIXI=this.PIXI||{};var _pixi_extensions=function(e){"use strict";var n,r=function(){return r=Object.assign||function(e){for(var n,r=arguments,t=1,i=arguments.length;t<i;t++)for(var o in n=r[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e},r.apply(this,arguments)};e.ExtensionType=void 0,(n=e.ExtensionType||(e.ExtensionType={})).Application="application",n.RendererPlugin="renderer-webgl-plugin",n.CanvasRendererPlugin="renderer-canvas-plugin",n.Loader="loader",n.LoadParser="load-parser",n.ResolveParser="resolve-parser",n.CacheParser="cache-parser",n.DetectionParser="detection-parser";var t=function(e){if("function"==typeof e||"object"==typeof e&&e.extension){var n="object"!=typeof e.extension?{type:e.extension}:e.extension;e=r(r({},n),{ref:e})}if("object"!=typeof e)throw new Error("Invalid extension type");return"string"==typeof(e=r({},e)).type&&(e.type=[e.type]),e},i={_addHandlers:null,_removeHandlers:null,_queue:{},remove:function(){for(var e=arguments,n=this,r=[],i=0;i<arguments.length;i++)r[i]=e[i];return r.map(t).forEach((function(e){e.type.forEach((function(r){var t,i;return null===(i=(t=n._removeHandlers)[r])||void 0===i?void 0:i.call(t,e)}))})),this},add:function(){for(var e=arguments,n=this,r=[],i=0;i<arguments.length;i++)r[i]=e[i];return r.map(t).forEach((function(e){e.type.forEach((function(r){var t=n._addHandlers,i=n._queue;t[r]?t[r](e):(i[r]=i[r]||[],i[r].push(e))}))})),this},handle:function(e,n,r){var t=this._addHandlers=this._addHandlers||{},i=this._removeHandlers=this._removeHandlers||{};t[e]=n,i[e]=r;var o=this._queue;return o[e]&&(o[e].forEach((function(e){return n(e)})),delete o[e]),this},handleByMap:function(e,n){return this.handle(e,(function(e){n[e.name]=e.ref}),(function(e){delete n[e.name]}))},handleByList:function(n,r){return this.handle(n,(function(t){var i,o;r.includes(t.ref)||(r.push(t.ref),n===e.ExtensionType.Loader&&(null===(o=(i=t.ref).add)||void 0===o||o.call(i)))}),(function(e){var n=r.indexOf(e.ref);-1!==n&&r.splice(n,1)}))}};return e.extensions=i,Object.defineProperty(e,"__esModule",{value:!0}),e}({});Object.assign(this.PIXI,_pixi_extensions);
//# sourceMappingURL=extensions.min.js.map
/*!
* @pixi/extensions - v6.5.8
* Compiled Sun, 23 Oct 2022 23:01:45 UTC
* @pixi/extensions - v6.5.9
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
*

@@ -193,2 +193,5 @@ * @pixi/extensions is licensed under the MIT License.

var _a, _b;
if (list.includes(extension.ref)) {
return;
}
list.push(extension.ref);

@@ -195,0 +198,0 @@ // TODO: remove me later, only added for @pixi/loaders

/*!
* @pixi/extensions - v6.5.8
* Compiled Sun, 23 Oct 2022 23:01:45 UTC
* @pixi/extensions - v6.5.9
* Compiled Wed, 25 Jan 2023 05:01:45 UTC
*

@@ -8,3 +8,3 @@ * @pixi/extensions is licensed under the MIT License.

*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n=function(){return n=Object.assign||function(e){for(var n,r=arguments,t=1,o=arguments.length;t<o;t++)for(var a in n=r[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},n.apply(this,arguments)};exports.ExtensionType=void 0,(e=exports.ExtensionType||(exports.ExtensionType={})).Application="application",e.RendererPlugin="renderer-webgl-plugin",e.CanvasRendererPlugin="renderer-canvas-plugin",e.Loader="loader",e.LoadParser="load-parser",e.ResolveParser="resolve-parser",e.CacheParser="cache-parser",e.DetectionParser="detection-parser";var r=function(e){if("function"==typeof e||"object"==typeof e&&e.extension){var r="object"!=typeof e.extension?{type:e.extension}:e.extension;e=n(n({},r),{ref:e})}if("object"!=typeof e)throw new Error("Invalid extension type");return"string"==typeof(e=n({},e)).type&&(e.type=[e.type]),e},t={_addHandlers:null,_removeHandlers:null,_queue:{},remove:function(){for(var e=arguments,n=this,t=[],o=0;o<arguments.length;o++)t[o]=e[o];return t.map(r).forEach((function(e){e.type.forEach((function(r){var t,o;return null===(o=(t=n._removeHandlers)[r])||void 0===o?void 0:o.call(t,e)}))})),this},add:function(){for(var e=arguments,n=this,t=[],o=0;o<arguments.length;o++)t[o]=e[o];return t.map(r).forEach((function(e){e.type.forEach((function(r){var t=n._addHandlers,o=n._queue;t[r]?t[r](e):(o[r]=o[r]||[],o[r].push(e))}))})),this},handle:function(e,n,r){var t=this._addHandlers=this._addHandlers||{},o=this._removeHandlers=this._removeHandlers||{};t[e]=n,o[e]=r;var a=this._queue;return a[e]&&(a[e].forEach((function(e){return n(e)})),delete a[e]),this},handleByMap:function(e,n){return this.handle(e,(function(e){n[e.name]=e.ref}),(function(e){delete n[e.name]}))},handleByList:function(e,n){return this.handle(e,(function(r){var t,o;n.push(r.ref),e===exports.ExtensionType.Loader&&(null===(o=(t=r.ref).add)||void 0===o||o.call(t))}),(function(e){var r=n.indexOf(e.ref);-1!==r&&n.splice(r,1)}))}};exports.extensions=t;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,n=function(){return n=Object.assign||function(e){for(var n,r=arguments,t=1,o=arguments.length;t<o;t++)for(var a in n=r[t])Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a]);return e},n.apply(this,arguments)};exports.ExtensionType=void 0,(e=exports.ExtensionType||(exports.ExtensionType={})).Application="application",e.RendererPlugin="renderer-webgl-plugin",e.CanvasRendererPlugin="renderer-canvas-plugin",e.Loader="loader",e.LoadParser="load-parser",e.ResolveParser="resolve-parser",e.CacheParser="cache-parser",e.DetectionParser="detection-parser";var r=function(e){if("function"==typeof e||"object"==typeof e&&e.extension){var r="object"!=typeof e.extension?{type:e.extension}:e.extension;e=n(n({},r),{ref:e})}if("object"!=typeof e)throw new Error("Invalid extension type");return"string"==typeof(e=n({},e)).type&&(e.type=[e.type]),e},t={_addHandlers:null,_removeHandlers:null,_queue:{},remove:function(){for(var e=arguments,n=this,t=[],o=0;o<arguments.length;o++)t[o]=e[o];return t.map(r).forEach((function(e){e.type.forEach((function(r){var t,o;return null===(o=(t=n._removeHandlers)[r])||void 0===o?void 0:o.call(t,e)}))})),this},add:function(){for(var e=arguments,n=this,t=[],o=0;o<arguments.length;o++)t[o]=e[o];return t.map(r).forEach((function(e){e.type.forEach((function(r){var t=n._addHandlers,o=n._queue;t[r]?t[r](e):(o[r]=o[r]||[],o[r].push(e))}))})),this},handle:function(e,n,r){var t=this._addHandlers=this._addHandlers||{},o=this._removeHandlers=this._removeHandlers||{};t[e]=n,o[e]=r;var a=this._queue;return a[e]&&(a[e].forEach((function(e){return n(e)})),delete a[e]),this},handleByMap:function(e,n){return this.handle(e,(function(e){n[e.name]=e.ref}),(function(e){delete n[e.name]}))},handleByList:function(e,n){return this.handle(e,(function(r){var t,o;n.includes(r.ref)||(n.push(r.ref),e===exports.ExtensionType.Loader&&(null===(o=(t=r.ref).add)||void 0===o||o.call(t)))}),(function(e){var r=n.indexOf(e.ref);-1!==r&&n.splice(r,1)}))}};exports.extensions=t;
//# sourceMappingURL=extensions.min.js.map
{
"name": "@pixi/extensions",
"version": "6.5.8",
"version": "6.5.9",
"main": "dist/cjs/extensions.js",

@@ -37,3 +37,3 @@ "module": "dist/esm/extensions.mjs",

],
"gitHead": "bce3b3e5b51ad28527e6284dc02c8e46eff113dd"
"gitHead": "387386b5da1a22c955aa97d0ef1eb59f5458729a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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