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

@pixi/extensions

Package Overview
Dependencies
Maintainers
3
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 7.0.0-alpha to 7.0.0-alpha.2

5

dist/cjs/extensions.js
/*!
* @pixi/extensions - v7.0.0-alpha
* Compiled Fri, 09 Sep 2022 16:09:18 UTC
* @pixi/extensions - v7.0.0-alpha.2
* Compiled Sun, 18 Sep 2022 20:45:04 UTC
*

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

ExtensionType2["CanvasRendererPlugin"] = "renderer-canvas-plugin";
ExtensionType2["Asset"] = "asset";
ExtensionType2["LoadParser"] = "load-parser";

@@ -21,0 +22,0 @@ ExtensionType2["ResolveParser"] = "resolve-parser";

6

dist/cjs/extensions.min.js
"use strict";/*!
* @pixi/extensions - v7.0.0-alpha
* Compiled Fri, 09 Sep 2022 16:09:18 UTC
* @pixi/extensions - v7.0.0-alpha.2
* Compiled Sun, 18 Sep 2022 20:45:04 UTC
*
* @pixi/extensions is licensed under the MIT License.
* http://www.opensource.org/licenses/mit-license
*/Object.defineProperty(exports,"__esModule",{value:!0});var i=(e=>(e.Renderer="renderer",e.Application="application",e.RendererSystem="renderer-webgl-system",e.RendererPlugin="renderer-webgl-plugin",e.CanvasRendererSystem="renderer-canvas-system",e.CanvasRendererPlugin="renderer-canvas-plugin",e.LoadParser="load-parser",e.ResolveParser="resolve-parser",e.CacheParser="cache-parser",e.DetectionParser="detection-parser",e))(i||{});const a=e=>{if((typeof e=="function"||typeof e=="object"&&e.extension)&&(e={...typeof e.extension!="object"?{type:e.extension}:e.extension,ref:e}),typeof e=="object")e={...e};else throw new Error("Invalid extension type");return typeof e.type=="string"&&(e.type=[e.type]),e},p={_addHandlers:{},_removeHandlers:{},_queue:{},remove(...e){return e.map(a).forEach(t=>{t.type.forEach(r=>this._removeHandlers[r]?.(t))}),this},add(...e){return e.map(a).forEach(t=>{t.type.forEach(r=>{const s=this._addHandlers,n=this._queue;s[r]?s[r](t):(n[r]=n[r]||[],n[r].push(t))})}),this},handle(e,t,r){const s=this._addHandlers,n=this._removeHandlers;s[e]=t,n[e]=r;const o=this._queue;return o[e]&&(o[e].forEach(d=>t(d)),delete o[e]),this},handleByMap(e,t){return this.handle(e,r=>{t[r.name]=r.ref},r=>{delete t[r.name]})},handleByList(e,t){return this.handle(e,r=>{t.push(r.ref),t.sort((s,n)=>(n.priority??-1)-(s.priority??-1))},r=>{const s=t.indexOf(r.ref);s!==-1&&t.splice(s,1)})}};exports.ExtensionType=i,exports.extensions=p;
*/Object.defineProperty(exports,"__esModule",{value:!0});var i=(e=>(e.Renderer="renderer",e.Application="application",e.RendererSystem="renderer-webgl-system",e.RendererPlugin="renderer-webgl-plugin",e.CanvasRendererSystem="renderer-canvas-system",e.CanvasRendererPlugin="renderer-canvas-plugin",e.Asset="asset",e.LoadParser="load-parser",e.ResolveParser="resolve-parser",e.CacheParser="cache-parser",e.DetectionParser="detection-parser",e))(i||{});const a=e=>{if((typeof e=="function"||typeof e=="object"&&e.extension)&&(e={...typeof e.extension!="object"?{type:e.extension}:e.extension,ref:e}),typeof e=="object")e={...e};else throw new Error("Invalid extension type");return typeof e.type=="string"&&(e.type=[e.type]),e},p={_addHandlers:{},_removeHandlers:{},_queue:{},remove(...e){return e.map(a).forEach(t=>{t.type.forEach(r=>this._removeHandlers[r]?.(t))}),this},add(...e){return e.map(a).forEach(t=>{t.type.forEach(r=>{const s=this._addHandlers,n=this._queue;s[r]?s[r](t):(n[r]=n[r]||[],n[r].push(t))})}),this},handle(e,t,r){const s=this._addHandlers,n=this._removeHandlers;s[e]=t,n[e]=r;const o=this._queue;return o[e]&&(o[e].forEach(d=>t(d)),delete o[e]),this},handleByMap(e,t){return this.handle(e,r=>{t[r.name]=r.ref},r=>{delete t[r.name]})},handleByList(e,t){return this.handle(e,r=>{t.push(r.ref),t.sort((s,n)=>(n.priority??-1)-(s.priority??-1))},r=>{const s=t.indexOf(r.ref);s!==-1&&t.splice(s,1)})}};exports.ExtensionType=i,exports.extensions=p;
//# sourceMappingURL=extensions.min.js.map

@@ -103,2 +103,3 @@ /**

CanvasRendererPlugin = "renderer-canvas-plugin",
Asset = "asset",
LoadParser = "load-parser",

@@ -105,0 +106,0 @@ ResolveParser = "resolve-parser",

{
"name": "@pixi/extensions",
"version": "7.0.0-alpha",
"version": "7.0.0-alpha.2",
"main": "dist/cjs/extensions.js",

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

],
"gitHead": "da993226df64b804a9c00ed9ee4d011191467b8a"
"gitHead": "439f6c1606ba63b26a93173284d25c35a7682b17"
}

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