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

@pixi/canvas-extract

Package Overview
Dependencies
Maintainers
2
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/canvas-extract - npm Package Compare versions

Comparing version 6.1.0-rc.4 to 6.1.0-rc.5

36

dist/browser/canvas-extract.js
/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

@@ -23,3 +23,3 @@ * @pixi/canvas-extract is licensed under the MIT License.

/**
* @param {PIXI.CanvasRenderer} renderer - A reference to the current renderer
* @param renderer - A reference to the current renderer
*/

@@ -32,7 +32,7 @@ function CanvasExtract(renderer) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {HTMLImageElement} HTML Image of the target
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return HTML Image of the target
*/

@@ -48,7 +48,7 @@ CanvasExtract.prototype.image = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {string} A base64 encoded string of the texture.
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return A base64 encoded string of the texture.
*/

@@ -61,5 +61,5 @@ CanvasExtract.prototype.base64 = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {HTMLCanvasElement} A Canvas element with the texture rendered on.
* @return A Canvas element with the texture rendered on.
*/

@@ -104,5 +104,5 @@ CanvasExtract.prototype.canvas = function (target) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {Uint8ClampedArray} One-dimensional array containing the pixel data of the entire texture
* @return One-dimensional array containing the pixel data of the entire texture
*/

@@ -130,2 +130,3 @@ CanvasExtract.prototype.pixels = function (target) {

context = renderer.rootContext;
resolution = renderer.resolution;
frame = TEMP_RECT;

@@ -141,6 +142,3 @@ frame.width = renderer.width;

};
/**
* Destroys the extract
*
*/
/** Destroys the extract */
CanvasExtract.prototype.destroy = function () {

@@ -147,0 +145,0 @@ this.renderer = null;

/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

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

*/
this.PIXI=this.PIXI||{};var _pixi_canvas_extract=function(e,t,r,a){"use strict";var n=new PIXI.Rectangle,i=function(){function e(e){this.renderer=e}return e.prototype.image=function(e,t,r){var a=new Image;return a.src=this.base64(e,t,r),a},e.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},e.prototype.canvas=function(e){var a,i,o,s,h=this.renderer;e&&(s=e instanceof t.RenderTexture?e:h.generateTexture(e)),s?(a=s.baseTexture._canvasRenderTarget.context,i=s.baseTexture._canvasRenderTarget.resolution,o=s.frame):(a=h.rootContext,i=h.resolution,(o=n).width=this.renderer.width,o.height=this.renderer.height);var c=Math.floor(o.width*i+1e-4),u=Math.floor(o.height*i+1e-4),g=new r.CanvasRenderTarget(c,u,1),d=a.getImageData(o.x*i,o.y*i,c,u);return g.context.putImageData(d,0,0),g.canvas},e.prototype.pixels=function(e){var r,a,i,o,s=this.renderer;e&&(o=e instanceof t.RenderTexture?e:s.generateTexture(e)),o?(r=o.baseTexture._canvasRenderTarget.context,a=o.baseTexture._canvasRenderTarget.resolution,i=o.frame):(r=s.rootContext,(i=n).width=s.width,i.height=s.height);var h=i.x*a,c=i.y*a,u=i.width*a,g=i.height*a;return r.getImageData(h,c,u,g).data},e.prototype.destroy=function(){this.renderer=null},e}();return e.CanvasExtract=i,e}({},PIXI,PIXI.utils);Object.assign(this.PIXI,_pixi_canvas_extract);
this.PIXI=this.PIXI||{};var _pixi_canvas_extract=function(e,t,r,a){"use strict";var n=new PIXI.Rectangle,i=function(){function e(e){this.renderer=e}return e.prototype.image=function(e,t,r){var a=new Image;return a.src=this.base64(e,t,r),a},e.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},e.prototype.canvas=function(e){var a,i,o,s,h=this.renderer;e&&(s=e instanceof t.RenderTexture?e:h.generateTexture(e)),s?(a=s.baseTexture._canvasRenderTarget.context,i=s.baseTexture._canvasRenderTarget.resolution,o=s.frame):(a=h.rootContext,i=h.resolution,(o=n).width=this.renderer.width,o.height=this.renderer.height);var u=Math.floor(o.width*i+1e-4),c=Math.floor(o.height*i+1e-4),g=new r.CanvasRenderTarget(u,c,1),d=a.getImageData(o.x*i,o.y*i,u,c);return g.context.putImageData(d,0,0),g.canvas},e.prototype.pixels=function(e){var r,a,i,o,s=this.renderer;e&&(o=e instanceof t.RenderTexture?e:s.generateTexture(e)),o?(r=o.baseTexture._canvasRenderTarget.context,a=o.baseTexture._canvasRenderTarget.resolution,i=o.frame):(r=s.rootContext,a=s.resolution,(i=n).width=s.width,i.height=s.height);var h=i.x*a,u=i.y*a,c=i.width*a,g=i.height*a;return r.getImageData(h,u,c,g).data},e.prototype.destroy=function(){this.renderer=null},e}();return e.CanvasExtract=i,e}({},PIXI,PIXI.utils);Object.assign(this.PIXI,_pixi_canvas_extract);
//# sourceMappingURL=canvas-extract.min.js.map
/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

@@ -27,3 +27,3 @@ * @pixi/canvas-extract is licensed under the MIT License.

/**
* @param {PIXI.CanvasRenderer} renderer - A reference to the current renderer
* @param renderer - A reference to the current renderer
*/

@@ -36,7 +36,7 @@ function CanvasExtract(renderer) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {HTMLImageElement} HTML Image of the target
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return HTML Image of the target
*/

@@ -52,7 +52,7 @@ CanvasExtract.prototype.image = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {string} A base64 encoded string of the texture.
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return A base64 encoded string of the texture.
*/

@@ -65,5 +65,5 @@ CanvasExtract.prototype.base64 = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {HTMLCanvasElement} A Canvas element with the texture rendered on.
* @return A Canvas element with the texture rendered on.
*/

@@ -108,5 +108,5 @@ CanvasExtract.prototype.canvas = function (target) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {Uint8ClampedArray} One-dimensional array containing the pixel data of the entire texture
* @return One-dimensional array containing the pixel data of the entire texture
*/

@@ -134,2 +134,3 @@ CanvasExtract.prototype.pixels = function (target) {

context = renderer.rootContext;
resolution = renderer.resolution;
frame = TEMP_RECT;

@@ -145,6 +146,3 @@ frame.width = renderer.width;

};
/**
* Destroys the extract
*
*/
/** Destroys the extract */
CanvasExtract.prototype.destroy = function () {

@@ -151,0 +149,0 @@ this.renderer = null;

/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

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

*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@pixi/core"),utils=require("@pixi/utils"),math=require("@pixi/math"),TEMP_RECT=new math.Rectangle,CanvasExtract=function(){function e(e){this.renderer=e}return e.prototype.image=function(e,t,r){var a=new Image;return a.src=this.base64(e,t,r),a},e.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},e.prototype.canvas=function(e){var t,r,a,n,i=this.renderer;e&&(n=e instanceof core.RenderTexture?e:i.generateTexture(e)),n?(t=n.baseTexture._canvasRenderTarget.context,r=n.baseTexture._canvasRenderTarget.resolution,a=n.frame):(t=i.rootContext,r=i.resolution,(a=TEMP_RECT).width=this.renderer.width,a.height=this.renderer.height);var o=Math.floor(a.width*r+1e-4),s=Math.floor(a.height*r+1e-4),u=new utils.CanvasRenderTarget(o,s,1),h=t.getImageData(a.x*r,a.y*r,o,s);return u.context.putImageData(h,0,0),u.canvas},e.prototype.pixels=function(e){var t,r,a,n,i=this.renderer;e&&(n=e instanceof core.RenderTexture?e:i.generateTexture(e)),n?(t=n.baseTexture._canvasRenderTarget.context,r=n.baseTexture._canvasRenderTarget.resolution,a=n.frame):(t=i.rootContext,(a=TEMP_RECT).width=i.width,a.height=i.height);var o=a.x*r,s=a.y*r,u=a.width*r,h=a.height*r;return t.getImageData(o,s,u,h).data},e.prototype.destroy=function(){this.renderer=null},e}();exports.CanvasExtract=CanvasExtract;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@pixi/core"),utils=require("@pixi/utils"),math=require("@pixi/math"),TEMP_RECT=new math.Rectangle,CanvasExtract=function(){function e(e){this.renderer=e}return e.prototype.image=function(e,t,r){var a=new Image;return a.src=this.base64(e,t,r),a},e.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},e.prototype.canvas=function(e){var t,r,a,n,o=this.renderer;e&&(n=e instanceof core.RenderTexture?e:o.generateTexture(e)),n?(t=n.baseTexture._canvasRenderTarget.context,r=n.baseTexture._canvasRenderTarget.resolution,a=n.frame):(t=o.rootContext,r=o.resolution,(a=TEMP_RECT).width=this.renderer.width,a.height=this.renderer.height);var i=Math.floor(a.width*r+1e-4),s=Math.floor(a.height*r+1e-4),u=new utils.CanvasRenderTarget(i,s,1),h=t.getImageData(a.x*r,a.y*r,i,s);return u.context.putImageData(h,0,0),u.canvas},e.prototype.pixels=function(e){var t,r,a,n,o=this.renderer;e&&(n=e instanceof core.RenderTexture?e:o.generateTexture(e)),n?(t=n.baseTexture._canvasRenderTarget.context,r=n.baseTexture._canvasRenderTarget.resolution,a=n.frame):(t=o.rootContext,r=o.resolution,(a=TEMP_RECT).width=o.width,a.height=o.height);var i=a.x*r,s=a.y*r,u=a.width*r,h=a.height*r;return t.getImageData(i,s,u,h).data},e.prototype.destroy=function(){this.renderer=null},e}();exports.CanvasExtract=CanvasExtract;
//# sourceMappingURL=canvas-extract.min.js.map
/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

@@ -23,3 +23,3 @@ * @pixi/canvas-extract is licensed under the MIT License.

/**
* @param {PIXI.CanvasRenderer} renderer - A reference to the current renderer
* @param renderer - A reference to the current renderer
*/

@@ -32,7 +32,7 @@ function CanvasExtract(renderer) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {HTMLImageElement} HTML Image of the target
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return HTML Image of the target
*/

@@ -48,7 +48,7 @@ CanvasExtract.prototype.image = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {string} A base64 encoded string of the texture.
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return A base64 encoded string of the texture.
*/

@@ -61,5 +61,5 @@ CanvasExtract.prototype.base64 = function (target, format, quality) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {HTMLCanvasElement} A Canvas element with the texture rendered on.
* @return A Canvas element with the texture rendered on.
*/

@@ -104,5 +104,5 @@ CanvasExtract.prototype.canvas = function (target) {

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {Uint8ClampedArray} One-dimensional array containing the pixel data of the entire texture
* @return One-dimensional array containing the pixel data of the entire texture
*/

@@ -130,2 +130,3 @@ CanvasExtract.prototype.pixels = function (target) {

context = renderer.rootContext;
resolution = renderer.resolution;
frame = TEMP_RECT;

@@ -141,6 +142,3 @@ frame.width = renderer.width;

};
/**
* Destroys the extract
*
*/
/** Destroys the extract */
CanvasExtract.prototype.destroy = function () {

@@ -147,0 +145,0 @@ this.renderer = null;

/*!
* @pixi/canvas-extract - v6.1.0-rc.4
* Compiled Tue, 29 Jun 2021 17:40:45 UTC
* @pixi/canvas-extract - v6.1.0-rc.5
* Compiled Mon, 19 Jul 2021 20:32:18 UTC
*

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

*/
import{RenderTexture as e}from"@pixi/core";import{CanvasRenderTarget as t}from"@pixi/utils";import{Rectangle as r}from"@pixi/math";var a=new r,n=function(){function r(e){this.renderer=e}return r.prototype.image=function(e,t,r){var a=new Image;return a.src=this.base64(e,t,r),a},r.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},r.prototype.canvas=function(r){var n,o,i,s,h=this.renderer;r&&(s=r instanceof e?r:h.generateTexture(r)),s?(n=s.baseTexture._canvasRenderTarget.context,o=s.baseTexture._canvasRenderTarget.resolution,i=s.frame):(n=h.rootContext,o=h.resolution,(i=a).width=this.renderer.width,i.height=this.renderer.height);var u=Math.floor(i.width*o+1e-4),c=Math.floor(i.height*o+1e-4),g=new t(u,c,1),p=n.getImageData(i.x*o,i.y*o,u,c);return g.context.putImageData(p,0,0),g.canvas},r.prototype.pixels=function(t){var r,n,o,i,s=this.renderer;t&&(i=t instanceof e?t:s.generateTexture(t)),i?(r=i.baseTexture._canvasRenderTarget.context,n=i.baseTexture._canvasRenderTarget.resolution,o=i.frame):(r=s.rootContext,(o=a).width=s.width,o.height=s.height);var h=o.x*n,u=o.y*n,c=o.width*n,g=o.height*n;return r.getImageData(h,u,c,g).data},r.prototype.destroy=function(){this.renderer=null},r}();export{n as CanvasExtract};
import{RenderTexture as e}from"@pixi/core";import{CanvasRenderTarget as t}from"@pixi/utils";import{Rectangle as r}from"@pixi/math";var n=new r,a=function(){function r(e){this.renderer=e}return r.prototype.image=function(e,t,r){var n=new Image;return n.src=this.base64(e,t,r),n},r.prototype.base64=function(e,t,r){return this.canvas(e).toDataURL(t,r)},r.prototype.canvas=function(r){var a,o,i,s,h=this.renderer;r&&(s=r instanceof e?r:h.generateTexture(r)),s?(a=s.baseTexture._canvasRenderTarget.context,o=s.baseTexture._canvasRenderTarget.resolution,i=s.frame):(a=h.rootContext,o=h.resolution,(i=n).width=this.renderer.width,i.height=this.renderer.height);var u=Math.floor(i.width*o+1e-4),c=Math.floor(i.height*o+1e-4),g=new t(u,c,1),p=a.getImageData(i.x*o,i.y*o,u,c);return g.context.putImageData(p,0,0),g.canvas},r.prototype.pixels=function(t){var r,a,o,i,s=this.renderer;t&&(i=t instanceof e?t:s.generateTexture(t)),i?(r=i.baseTexture._canvasRenderTarget.context,a=i.baseTexture._canvasRenderTarget.resolution,o=i.frame):(r=s.rootContext,a=s.resolution,(o=n).width=s.width,o.height=s.height);var h=o.x*a,u=o.y*a,c=o.width*a,g=o.height*a;return r.getImageData(h,u,c,g).data},r.prototype.destroy=function(){this.renderer=null},r}();export{a as CanvasExtract};
//# sourceMappingURL=canvas-extract.min.js.map

@@ -14,5 +14,6 @@ import { CanvasRenderer } from '@pixi/canvas-renderer';

export declare class CanvasExtract {
/** A reference to the current renderer */
renderer: CanvasRenderer;
/**
* @param {PIXI.CanvasRenderer} renderer - A reference to the current renderer
* @param renderer - A reference to the current renderer
*/

@@ -23,9 +24,9 @@ constructor(renderer: CanvasRenderer);

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {HTMLImageElement} HTML Image of the target
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return HTML Image of the target
*/
image(target: DisplayObject | RenderTexture, format?: string, quality?: number): HTMLImageElement;
image(target?: DisplayObject | RenderTexture, format?: string, quality?: number): HTMLImageElement;
/**

@@ -35,17 +36,17 @@ * Will return a a base64 encoded string of this target. It works by calling

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @param {string} [format] - Image format, e.g. "image/jpeg" or "image/webp".
* @param {number} [quality] - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return {string} A base64 encoded string of the texture.
* @param format - Image format, e.g. "image/jpeg" or "image/webp".
* @param quality - JPEG or Webp compression from 0 to 1. Default is 0.92.
* @return A base64 encoded string of the texture.
*/
base64(target: DisplayObject | RenderTexture, format?: string, quality?: number): string;
base64(target?: DisplayObject | RenderTexture, format?: string, quality?: number): string;
/**
* Creates a Canvas element, renders this target to it and then returns it.
*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {HTMLCanvasElement} A Canvas element with the texture rendered on.
* @return A Canvas element with the texture rendered on.
*/
canvas(target: DisplayObject | RenderTexture): HTMLCanvasElement;
canvas(target?: DisplayObject | RenderTexture): HTMLCanvasElement;
/**

@@ -55,11 +56,8 @@ * Will return a one-dimensional array containing the pixel data of the entire texture in RGBA

*
* @param {PIXI.DisplayObject|PIXI.RenderTexture} target - A displayObject or renderTexture
* @param target - A displayObject or renderTexture
* to convert. If left empty will use the main renderer
* @return {Uint8ClampedArray} One-dimensional array containing the pixel data of the entire texture
* @return One-dimensional array containing the pixel data of the entire texture
*/
pixels(target: DisplayObject | RenderTexture): Uint8ClampedArray;
/**
* Destroys the extract
*
*/
pixels(target?: DisplayObject | RenderTexture): Uint8ClampedArray;
/** Destroys the extract */
destroy(): void;

@@ -66,0 +64,0 @@ }

{
"name": "@pixi/canvas-extract",
"version": "6.1.0-rc.4",
"version": "6.1.0-rc.5",
"main": "dist/cjs/canvas-extract.js",

@@ -28,9 +28,9 @@ "module": "dist/esm/canvas-extract.js",

"peerDependencies": {
"@pixi/canvas-renderer": "6.1.0-rc.4",
"@pixi/core": "6.1.0-rc.4",
"@pixi/display": "6.1.0-rc.4",
"@pixi/math": "6.1.0-rc.4",
"@pixi/utils": "6.1.0-rc.4"
"@pixi/canvas-renderer": "6.1.0-rc.5",
"@pixi/core": "6.1.0-rc.5",
"@pixi/display": "6.1.0-rc.5",
"@pixi/math": "6.1.0-rc.5",
"@pixi/utils": "6.1.0-rc.5"
},
"gitHead": "e004413841d2918bf3dffa29b1ac278589af2e6c"
"gitHead": "95ea00e00e06701e990aba8c76d5c910211c2959"
}

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