Socket
Socket
Sign inDemoInstall

@pixi/core

Package Overview
Dependencies
32
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.3.0-rc.2 to 7.3.0

2

lib/index.js

@@ -28,3 +28,3 @@ "use strict";

var utils__namespace = /* @__PURE__ */ _interopNamespaceDefault(utils$1);
const VERSION = "7.3.0-rc.2";
const VERSION = "7.3.0";
exports.utils = utils__namespace;

@@ -31,0 +31,0 @@ exports.autoDetectRenderer = autoDetectRenderer.autoDetectRenderer;

@@ -13,3 +13,3 @@ "use strict";

const { renderer } = this;
renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.3.0-rc.2 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
renderer.runners.init.emit(renderer.options), options.hello && console.log(`PixiJS 7.3.0 - ${renderer.rendererLogId} - https://pixijs.com`), renderer.resize(renderer.screen.width, renderer.screen.height);
}

@@ -16,0 +16,0 @@ destroy() {

@@ -165,3 +165,3 @@ "use strict";

destroy() {
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete utils.BaseTextureCache[this.cacheId], delete utils.TextureCache[this.cacheId], this.cacheId = null), this.valid = !1, this.dispose(), _BaseTexture2.removeFromCache(this), this.textureCacheIds = null, this.destroyed = !0, this.emit("destroyed", this);
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete utils.BaseTextureCache[this.cacheId], delete utils.TextureCache[this.cacheId], this.cacheId = null), this.valid = !1, this.dispose(), _BaseTexture2.removeFromCache(this), this.textureCacheIds = null, this.destroyed = !0, this.emit("destroyed", this), this.removeAllListeners();
}

@@ -168,0 +168,0 @@ /**

@@ -77,2 +77,7 @@ import { Point, Rectangle } from '@pixi/math';

/**
* Has the texture been destroyed?
* @readonly
*/
destroyed: boolean;
/**
* Does this Texture have any frame data assigned to it?

@@ -156,2 +161,3 @@ *

* @param [destroyBase=false] - Whether to destroy the base texture as well
* @fires PIXI.Texture#destroyed
*/

@@ -158,0 +164,0 @@ destroy(destroyBase?: boolean): void;

@@ -22,3 +22,3 @@ "use strict";

constructor(baseTexture, frame, orig, trim, rotate, anchor, borders) {
if (super(), this.noFrame = !1, frame || (this.noFrame = !0, frame = new math.Rectangle(0, 0, 1, 1)), baseTexture instanceof Texture && (baseTexture = baseTexture.baseTexture), this.baseTexture = baseTexture, this._frame = frame, this.trim = trim, this.valid = !1, this._uvs = DEFAULT_UVS, this.uvMatrix = null, this.orig = orig || frame, this._rotate = Number(rotate || 0), rotate === !0)
if (super(), this.noFrame = !1, frame || (this.noFrame = !0, frame = new math.Rectangle(0, 0, 1, 1)), baseTexture instanceof Texture && (baseTexture = baseTexture.baseTexture), this.baseTexture = baseTexture, this._frame = frame, this.trim = trim, this.valid = !1, this.destroyed = !1, this._uvs = DEFAULT_UVS, this.uvMatrix = null, this.orig = orig || frame, this._rotate = Number(rotate || 0), rotate === !0)
this._rotate = 2;

@@ -56,2 +56,3 @@ else if (this._rotate % 2 !== 0)

* @param [destroyBase=false] - Whether to destroy the base texture as well
* @fires PIXI.Texture#destroyed
*/

@@ -66,3 +67,3 @@ destroy(destroyBase) {

}
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, Texture.removeFromCache(this), this.textureCacheIds = null;
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, Texture.removeFromCache(this), this.textureCacheIds = null, this.destroyed = !0, this.emit("destroyed", this), this.removeAllListeners();
}

@@ -69,0 +70,0 @@ /**

{
"name": "@pixi/core",
"version": "7.3.0-rc.2",
"version": "7.3.0",
"main": "lib/index.js",

@@ -43,12 +43,12 @@ "module": "lib/index.mjs",

"dependencies": {
"@pixi/color": "7.3.0-rc.2",
"@pixi/constants": "7.3.0-rc.2",
"@pixi/extensions": "7.3.0-rc.2",
"@pixi/math": "7.3.0-rc.2",
"@pixi/runner": "7.3.0-rc.2",
"@pixi/settings": "7.3.0-rc.2",
"@pixi/ticker": "7.3.0-rc.2",
"@pixi/utils": "7.3.0-rc.2",
"@pixi/color": "7.3.0",
"@pixi/constants": "7.3.0",
"@pixi/extensions": "7.3.0",
"@pixi/math": "7.3.0",
"@pixi/runner": "7.3.0",
"@pixi/settings": "7.3.0",
"@pixi/ticker": "7.3.0",
"@pixi/utils": "7.3.0",
"@types/offscreencanvas": "^2019.6.4"
}
}

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc