Socket
Socket
Sign inDemoInstall

@pixi/sprite

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/sprite - npm Package Compare versions

Comparing version 6.3.0 to 6.3.1

8

dist/browser/sprite.js
/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

@@ -623,6 +623,8 @@ * @pixi/sprite is licensed under the MIT License.

Object.defineProperty(exports, '__esModule', { value: true });
return exports;
}({}, PIXI, PIXI, PIXI, PIXI, PIXI, PIXI.utils));
})({}, PIXI, PIXI, PIXI, PIXI, PIXI, PIXI.utils);
Object.assign(this.PIXI, _pixi_sprite);
//# sourceMappingURL=sprite.js.map
/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

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

*/
this.PIXI=this.PIXI||{};var _pixi_sprite=function(t,e,i,r,s,n,o){"use strict";var h=function(t,e){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var a=new s.Point,u=new Uint16Array([0,1,2,0,2,3]),_=function(t){function _(r){var o=t.call(this)||this;return o._anchor=new s.ObservablePoint(o._onAnchorUpdate,o,r?r.defaultAnchor.x:0,r?r.defaultAnchor.y:0),o._texture=null,o._width=0,o._height=0,o._tint=null,o._tintRGB=null,o.tint=16777215,o.blendMode=e.BLEND_MODES.NORMAL,o._cachedTint=16777215,o.uvs=null,o.texture=r||i.Texture.EMPTY,o.vertexData=new Float32Array(8),o.vertexTrimmedData=null,o._transformID=-1,o._textureID=-1,o._transformTrimmedID=-1,o._textureTrimmedID=-1,o.indices=u,o.pluginName="batch",o.isSprite=!0,o._roundPixels=n.settings.ROUND_PIXELS,o}return function(t,e){function i(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(_,t),_.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=o.sign(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=o.sign(this.scale.y)*this._height/this._texture.orig.height)},_.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},_.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,s=e.c,o=e.d,h=e.tx,a=e.ty,u=this.vertexData,_=t.trim,c=t.orig,l=this._anchor,d=0,x=0,p=0,f=0;if(_?(d=(x=_.x-l._x*c.width)+_.width,p=(f=_.y-l._y*c.height)+_.height):(d=(x=-l._x*c.width)+c.width,p=(f=-l._y*c.height)+c.height),u[0]=i*x+s*f+h,u[1]=o*f+r*x+a,u[2]=i*d+s*f+h,u[3]=o*f+r*d+a,u[4]=i*d+s*p+h,u[5]=o*p+r*d+a,u[6]=i*x+s*p+h,u[7]=o*p+r*x+a,this._roundPixels)for(var m=n.settings.RESOLUTION,g=0;g<u.length;++g)u[g]=Math.round((u[g]*m|0)/m)}},_.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,s=this.transform.worldTransform,n=s.a,o=s.b,h=s.c,a=s.d,u=s.tx,_=s.ty,c=-r._x*i.width,l=c+i.width,d=-r._y*i.height,x=d+i.height;e[0]=n*c+h*d+u,e[1]=a*d+o*c+_,e[2]=n*l+h*d+u,e[3]=a*d+o*l+_,e[4]=n*l+h*x+u,e[5]=a*x+o*l+_,e[6]=n*c+h*x+u,e[7]=a*x+o*c+_},_.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},_.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},_.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._localBounds||(this._localBounds=new r.Bounds),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new s.Rectangle),e=this._localBoundsRect),this._localBounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},_.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,a);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,s=0;return a.x>=r&&a.x<r+e&&(s=-i*this.anchor.y,a.y>=s&&a.y<s+i)},_.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var i="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!i)}this._texture=null},_.from=function(t,e){return new _(t instanceof i.Texture?t:i.Texture.from(t,e))},Object.defineProperty(_.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=o.sign(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=o.sign(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||i.Texture.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),_}(r.Container);return t.Sprite=_,t}({},PIXI,PIXI,PIXI,PIXI,PIXI,PIXI.utils);Object.assign(this.PIXI,_pixi_sprite);
this.PIXI=this.PIXI||{};var _pixi_sprite=function(t,e,i,r,s,n,o){"use strict";var h=function(t,e){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},h(t,e)};var a=new s.Point,u=new Uint16Array([0,1,2,0,2,3]),_=function(t){function _(r){var o=t.call(this)||this;return o._anchor=new s.ObservablePoint(o._onAnchorUpdate,o,r?r.defaultAnchor.x:0,r?r.defaultAnchor.y:0),o._texture=null,o._width=0,o._height=0,o._tint=null,o._tintRGB=null,o.tint=16777215,o.blendMode=e.BLEND_MODES.NORMAL,o._cachedTint=16777215,o.uvs=null,o.texture=r||i.Texture.EMPTY,o.vertexData=new Float32Array(8),o.vertexTrimmedData=null,o._transformID=-1,o._textureID=-1,o._transformTrimmedID=-1,o._textureTrimmedID=-1,o.indices=u,o.pluginName="batch",o.isSprite=!0,o._roundPixels=n.settings.ROUND_PIXELS,o}return function(t,e){function i(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(_,t),_.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=o.sign(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=o.sign(this.scale.y)*this._height/this._texture.orig.height)},_.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},_.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,s=e.c,o=e.d,h=e.tx,a=e.ty,u=this.vertexData,_=t.trim,c=t.orig,l=this._anchor,d=0,x=0,p=0,f=0;if(_?(d=(x=_.x-l._x*c.width)+_.width,p=(f=_.y-l._y*c.height)+_.height):(d=(x=-l._x*c.width)+c.width,p=(f=-l._y*c.height)+c.height),u[0]=i*x+s*f+h,u[1]=o*f+r*x+a,u[2]=i*d+s*f+h,u[3]=o*f+r*d+a,u[4]=i*d+s*p+h,u[5]=o*p+r*d+a,u[6]=i*x+s*p+h,u[7]=o*p+r*x+a,this._roundPixels)for(var m=n.settings.RESOLUTION,g=0;g<u.length;++g)u[g]=Math.round((u[g]*m|0)/m)}},_.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,s=this.transform.worldTransform,n=s.a,o=s.b,h=s.c,a=s.d,u=s.tx,_=s.ty,c=-r._x*i.width,l=c+i.width,d=-r._y*i.height,x=d+i.height;e[0]=n*c+h*d+u,e[1]=a*d+o*c+_,e[2]=n*l+h*d+u,e[3]=a*d+o*l+_,e[4]=n*l+h*x+u,e[5]=a*x+o*l+_,e[6]=n*c+h*x+u,e[7]=a*x+o*c+_},_.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},_.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},_.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._localBounds||(this._localBounds=new r.Bounds),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new s.Rectangle),e=this._localBoundsRect),this._localBounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},_.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,a);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,s=0;return a.x>=r&&a.x<r+e&&(s=-i*this.anchor.y,a.y>=s&&a.y<s+i)},_.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var i="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!i)}this._texture=null},_.from=function(t,e){return new _(t instanceof i.Texture?t:i.Texture.from(t,e))},Object.defineProperty(_.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=o.sign(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=o.sign(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||i.Texture.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),_}(r.Container);return t.Sprite=_,Object.defineProperty(t,"__esModule",{value:!0}),t}({},PIXI,PIXI,PIXI,PIXI,PIXI,PIXI.utils);Object.assign(this.PIXI,_pixi_sprite);
//# sourceMappingURL=sprite.min.js.map
/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

@@ -5,0 +5,0 @@ * @pixi/sprite is licensed under the MIT License.

/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

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

*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var constants=require("@pixi/constants"),core=require("@pixi/core"),display=require("@pixi/display"),math=require("@pixi/math"),settings=require("@pixi/settings"),utils=require("@pixi/utils"),extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};function __extends(t,e){function i(){this.constructor=t}extendStatics(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var tempPoint=new math.Point,indices=new Uint16Array([0,1,2,0,2,3]),Sprite=function(t){function e(e){var i=t.call(this)||this;return i._anchor=new math.ObservablePoint(i._onAnchorUpdate,i,e?e.defaultAnchor.x:0,e?e.defaultAnchor.y:0),i._texture=null,i._width=0,i._height=0,i._tint=null,i._tintRGB=null,i.tint=16777215,i.blendMode=constants.BLEND_MODES.NORMAL,i._cachedTint=16777215,i.uvs=null,i.texture=e||core.Texture.EMPTY,i.vertexData=new Float32Array(8),i.vertexTrimmedData=null,i._transformID=-1,i._textureID=-1,i._transformTrimmedID=-1,i._textureTrimmedID=-1,i.indices=indices,i.pluginName="batch",i.isSprite=!0,i._roundPixels=settings.settings.ROUND_PIXELS,i}return __extends(e,t),e.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=utils.sign(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=utils.sign(this.scale.y)*this._height/this._texture.orig.height)},e.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},e.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,s=e.c,n=e.d,o=e.tx,h=e.ty,a=this.vertexData,u=t.trim,c=t.orig,_=this._anchor,l=0,d=0,x=0,p=0;if(u?(l=(d=u.x-_._x*c.width)+u.width,x=(p=u.y-_._y*c.height)+u.height):(l=(d=-_._x*c.width)+c.width,x=(p=-_._y*c.height)+c.height),a[0]=i*d+s*p+o,a[1]=n*p+r*d+h,a[2]=i*l+s*p+o,a[3]=n*p+r*l+h,a[4]=i*l+s*x+o,a[5]=n*x+r*l+h,a[6]=i*d+s*x+o,a[7]=n*x+r*d+h,this._roundPixels)for(var f=settings.settings.RESOLUTION,m=0;m<a.length;++m)a[m]=Math.round((a[m]*f|0)/f)}},e.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,s=this.transform.worldTransform,n=s.a,o=s.b,h=s.c,a=s.d,u=s.tx,c=s.ty,_=-r._x*i.width,l=_+i.width,d=-r._y*i.height,x=d+i.height;e[0]=n*_+h*d+u,e[1]=a*d+o*_+c,e[2]=n*l+h*d+u,e[3]=a*d+o*l+c,e[4]=n*l+h*x+u,e[5]=a*x+o*l+c,e[6]=n*_+h*x+u,e[7]=a*x+o*_+c},e.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},e.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._localBounds||(this._localBounds=new display.Bounds),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new math.Rectangle),e=this._localBoundsRect),this._localBounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,tempPoint);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,s=0;return tempPoint.x>=r&&tempPoint.x<r+e&&(s=-i*this.anchor.y,tempPoint.y>=s&&tempPoint.y<s+i)},e.prototype.destroy=function(e){if(t.prototype.destroy.call(this,e),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof e?e:e&&e.texture){var i="boolean"==typeof e?e:e&&e.baseTexture;this._texture.destroy(!!i)}this._texture=null},e.from=function(t,i){return new e(t instanceof core.Texture?t:core.Texture.from(t,i))},Object.defineProperty(e.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=utils.sign(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=utils.sign(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||core.Texture.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),e}(display.Container);exports.Sprite=Sprite;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@pixi/constants"),e=require("@pixi/core"),i=require("@pixi/display"),r=require("@pixi/math"),s=require("@pixi/settings"),n=require("@pixi/utils"),o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},o(t,e)};var h=new r.Point,u=new Uint16Array([0,1,2,0,2,3]),a=function(a){function c(i){var n=a.call(this)||this;return n._anchor=new r.ObservablePoint(n._onAnchorUpdate,n,i?i.defaultAnchor.x:0,i?i.defaultAnchor.y:0),n._texture=null,n._width=0,n._height=0,n._tint=null,n._tintRGB=null,n.tint=16777215,n.blendMode=t.BLEND_MODES.NORMAL,n._cachedTint=16777215,n.uvs=null,n.texture=i||e.Texture.EMPTY,n.vertexData=new Float32Array(8),n.vertexTrimmedData=null,n._transformID=-1,n._textureID=-1,n._transformTrimmedID=-1,n._textureTrimmedID=-1,n.indices=u,n.pluginName="batch",n.isSprite=!0,n._roundPixels=s.settings.ROUND_PIXELS,n}return function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(c,a),c.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=n.sign(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=n.sign(this.scale.y)*this._height/this._texture.orig.height)},c.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},c.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,n=e.c,o=e.d,h=e.tx,u=e.ty,a=this.vertexData,c=t.trim,_=t.orig,l=this._anchor,d=0,x=0,p=0,f=0;if(c?(d=(x=c.x-l._x*_.width)+c.width,p=(f=c.y-l._y*_.height)+c.height):(d=(x=-l._x*_.width)+_.width,p=(f=-l._y*_.height)+_.height),a[0]=i*x+n*f+h,a[1]=o*f+r*x+u,a[2]=i*d+n*f+h,a[3]=o*f+r*d+u,a[4]=i*d+n*p+h,a[5]=o*p+r*d+u,a[6]=i*x+n*p+h,a[7]=o*p+r*x+u,this._roundPixels)for(var m=s.settings.RESOLUTION,g=0;g<a.length;++g)a[g]=Math.round((a[g]*m|0)/m)}},c.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,s=this.transform.worldTransform,n=s.a,o=s.b,h=s.c,u=s.d,a=s.tx,c=s.ty,_=-r._x*i.width,l=_+i.width,d=-r._y*i.height,x=d+i.height;e[0]=n*_+h*d+a,e[1]=u*d+o*_+c,e[2]=n*l+h*d+a,e[3]=u*d+o*l+c,e[4]=n*l+h*x+a,e[5]=u*x+o*l+c,e[6]=n*_+h*x+a,e[7]=u*x+o*_+c},c.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},c.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},c.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._localBounds||(this._localBounds=new i.Bounds),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new r.Rectangle),t=this._localBoundsRect),this._localBounds.getRectangle(t)):a.prototype.getLocalBounds.call(this,t)},c.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,h);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,s=0;return h.x>=r&&h.x<r+e&&(s=-i*this.anchor.y,h.y>=s&&h.y<s+i)},c.prototype.destroy=function(t){if(a.prototype.destroy.call(this,t),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof t?t:t&&t.texture){var e="boolean"==typeof t?t:t&&t.baseTexture;this._texture.destroy(!!e)}this._texture=null},c.from=function(t,i){return new c(t instanceof e.Texture?t:e.Texture.from(t,i))},Object.defineProperty(c.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=n.sign(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=n.sign(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||e.Texture.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),c}(i.Container);exports.Sprite=a;
//# sourceMappingURL=sprite.min.js.map
/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

@@ -5,0 +5,0 @@ * @pixi/sprite is licensed under the MIT License.

/*!
* @pixi/sprite - v6.3.0
* Compiled Wed, 23 Mar 2022 18:58:56 UTC
* @pixi/sprite - v6.3.1
* Compiled Tue, 03 May 2022 13:21:19 UTC
*

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

*/
import{BLEND_MODES as t}from"@pixi/constants";import{Texture as e}from"@pixi/core";import{Bounds as i,Container as r}from"@pixi/display";import{Point as o,Rectangle as n,ObservablePoint as s}from"@pixi/math";import{settings as h}from"@pixi/settings";import{sign as a}from"@pixi/utils";var u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};var c=new o,_=new Uint16Array([0,1,2,0,2,3]),l=function(r){function o(i){var o=r.call(this)||this;return o._anchor=new s(o._onAnchorUpdate,o,i?i.defaultAnchor.x:0,i?i.defaultAnchor.y:0),o._texture=null,o._width=0,o._height=0,o._tint=null,o._tintRGB=null,o.tint=16777215,o.blendMode=t.NORMAL,o._cachedTint=16777215,o.uvs=null,o.texture=i||e.EMPTY,o.vertexData=new Float32Array(8),o.vertexTrimmedData=null,o._transformID=-1,o._textureID=-1,o._transformTrimmedID=-1,o._textureTrimmedID=-1,o.indices=_,o.pluginName="batch",o.isSprite=!0,o._roundPixels=h.ROUND_PIXELS,o}return function(t,e){function i(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(o,r),o.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=a(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=a(this.scale.y)*this._height/this._texture.orig.height)},o.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},o.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,o=e.c,n=e.d,s=e.tx,a=e.ty,u=this.vertexData,c=t.trim,_=t.orig,l=this._anchor,d=0,p=0,x=0,f=0;if(c?(d=(p=c.x-l._x*_.width)+c.width,x=(f=c.y-l._y*_.height)+c.height):(d=(p=-l._x*_.width)+_.width,x=(f=-l._y*_.height)+_.height),u[0]=i*p+o*f+s,u[1]=n*f+r*p+a,u[2]=i*d+o*f+s,u[3]=n*f+r*d+a,u[4]=i*d+o*x+s,u[5]=n*x+r*d+a,u[6]=i*p+o*x+s,u[7]=n*x+r*p+a,this._roundPixels)for(var m=h.RESOLUTION,g=0;g<u.length;++g)u[g]=Math.round((u[g]*m|0)/m)}},o.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,o=this.transform.worldTransform,n=o.a,s=o.b,h=o.c,a=o.d,u=o.tx,c=o.ty,_=-r._x*i.width,l=_+i.width,d=-r._y*i.height,p=d+i.height;e[0]=n*_+h*d+u,e[1]=a*d+s*_+c,e[2]=n*l+h*d+u,e[3]=a*d+s*l+c,e[4]=n*l+h*p+u,e[5]=a*p+s*l+c,e[6]=n*_+h*p+u,e[7]=a*p+s*_+c},o.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},o.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},o.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._localBounds||(this._localBounds=new i),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new n),t=this._localBoundsRect),this._localBounds.getRectangle(t)):r.prototype.getLocalBounds.call(this,t)},o.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,c);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,o=0;return c.x>=r&&c.x<r+e&&(o=-i*this.anchor.y,c.y>=o&&c.y<o+i)},o.prototype.destroy=function(t){if(r.prototype.destroy.call(this,t),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof t?t:t&&t.texture){var e="boolean"==typeof t?t:t&&t.baseTexture;this._texture.destroy(!!e)}this._texture=null},o.from=function(t,i){return new o(t instanceof e?t:e.from(t,i))},Object.defineProperty(o.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=a(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=a(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||e.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),o}(r);export{l as Sprite};
import{BLEND_MODES as t}from"@pixi/constants";import{Texture as e}from"@pixi/core";import{Bounds as i,Container as r}from"@pixi/display";import{Point as o,Rectangle as n,ObservablePoint as s}from"@pixi/math";import{settings as h}from"@pixi/settings";import{sign as a}from"@pixi/utils";var u=function(t,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},u(t,e)};var c=new o,_=new Uint16Array([0,1,2,0,2,3]),l=function(r){function o(i){var o=r.call(this)||this;return o._anchor=new s(o._onAnchorUpdate,o,i?i.defaultAnchor.x:0,i?i.defaultAnchor.y:0),o._texture=null,o._width=0,o._height=0,o._tint=null,o._tintRGB=null,o.tint=16777215,o.blendMode=t.NORMAL,o._cachedTint=16777215,o.uvs=null,o.texture=i||e.EMPTY,o.vertexData=new Float32Array(8),o.vertexTrimmedData=null,o._transformID=-1,o._textureID=-1,o._transformTrimmedID=-1,o._textureTrimmedID=-1,o.indices=_,o.pluginName="batch",o.isSprite=!0,o._roundPixels=h.ROUND_PIXELS,o}return function(t,e){function i(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}(o,r),o.prototype._onTextureUpdate=function(){this._textureID=-1,this._textureTrimmedID=-1,this._cachedTint=16777215,this._width&&(this.scale.x=a(this.scale.x)*this._width/this._texture.orig.width),this._height&&(this.scale.y=a(this.scale.y)*this._height/this._texture.orig.height)},o.prototype._onAnchorUpdate=function(){this._transformID=-1,this._transformTrimmedID=-1},o.prototype.calculateVertices=function(){var t=this._texture;if(this._transformID!==this.transform._worldID||this._textureID!==t._updateID){this._textureID!==t._updateID&&(this.uvs=this._texture._uvs.uvsFloat32),this._transformID=this.transform._worldID,this._textureID=t._updateID;var e=this.transform.worldTransform,i=e.a,r=e.b,o=e.c,n=e.d,s=e.tx,a=e.ty,u=this.vertexData,c=t.trim,_=t.orig,l=this._anchor,d=0,p=0,x=0,f=0;if(c?(d=(p=c.x-l._x*_.width)+c.width,x=(f=c.y-l._y*_.height)+c.height):(d=(p=-l._x*_.width)+_.width,x=(f=-l._y*_.height)+_.height),u[0]=i*p+o*f+s,u[1]=n*f+r*p+a,u[2]=i*d+o*f+s,u[3]=n*f+r*d+a,u[4]=i*d+o*x+s,u[5]=n*x+r*d+a,u[6]=i*p+o*x+s,u[7]=n*x+r*p+a,this._roundPixels)for(var m=h.RESOLUTION,g=0;g<u.length;++g)u[g]=Math.round((u[g]*m|0)/m)}},o.prototype.calculateTrimmedVertices=function(){if(this.vertexTrimmedData){if(this._transformTrimmedID===this.transform._worldID&&this._textureTrimmedID===this._texture._updateID)return}else this.vertexTrimmedData=new Float32Array(8);this._transformTrimmedID=this.transform._worldID,this._textureTrimmedID=this._texture._updateID;var t=this._texture,e=this.vertexTrimmedData,i=t.orig,r=this._anchor,o=this.transform.worldTransform,n=o.a,s=o.b,h=o.c,a=o.d,u=o.tx,c=o.ty,_=-r._x*i.width,l=_+i.width,d=-r._y*i.height,p=d+i.height;e[0]=n*_+h*d+u,e[1]=a*d+s*_+c,e[2]=n*l+h*d+u,e[3]=a*d+s*l+c,e[4]=n*l+h*p+u,e[5]=a*p+s*l+c,e[6]=n*_+h*p+u,e[7]=a*p+s*_+c},o.prototype._render=function(t){this.calculateVertices(),t.batch.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this)},o.prototype._calculateBounds=function(){var t=this._texture.trim,e=this._texture.orig;!t||t.width===e.width&&t.height===e.height?(this.calculateVertices(),this._bounds.addQuad(this.vertexData)):(this.calculateTrimmedVertices(),this._bounds.addQuad(this.vertexTrimmedData))},o.prototype.getLocalBounds=function(t){return 0===this.children.length?(this._localBounds||(this._localBounds=new i),this._localBounds.minX=this._texture.orig.width*-this._anchor._x,this._localBounds.minY=this._texture.orig.height*-this._anchor._y,this._localBounds.maxX=this._texture.orig.width*(1-this._anchor._x),this._localBounds.maxY=this._texture.orig.height*(1-this._anchor._y),t||(this._localBoundsRect||(this._localBoundsRect=new n),t=this._localBoundsRect),this._localBounds.getRectangle(t)):r.prototype.getLocalBounds.call(this,t)},o.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,c);var e=this._texture.orig.width,i=this._texture.orig.height,r=-e*this.anchor.x,o=0;return c.x>=r&&c.x<r+e&&(o=-i*this.anchor.y,c.y>=o&&c.y<o+i)},o.prototype.destroy=function(t){if(r.prototype.destroy.call(this,t),this._texture.off("update",this._onTextureUpdate,this),this._anchor=null,"boolean"==typeof t?t:t&&t.texture){var e="boolean"==typeof t?t:t&&t.baseTexture;this._texture.destroy(!!e)}this._texture=null},o.from=function(t,i){return new o(t instanceof e?t:e.from(t,i))},Object.defineProperty(o.prototype,"roundPixels",{get:function(){return this._roundPixels},set:function(t){this._roundPixels!==t&&(this._transformID=-1),this._roundPixels=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"width",{get:function(){return Math.abs(this.scale.x)*this._texture.orig.width},set:function(t){var e=a(this.scale.x)||1;this.scale.x=e*t/this._texture.orig.width,this._width=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"height",{get:function(){return Math.abs(this.scale.y)*this._texture.orig.height},set:function(t){var e=a(this.scale.y)||1;this.scale.y=e*t/this._texture.orig.height,this._height=t},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"anchor",{get:function(){return this._anchor},set:function(t){this._anchor.copyFrom(t)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"tint",{get:function(){return this._tint},set:function(t){this._tint=t,this._tintRGB=(t>>16)+(65280&t)+((255&t)<<16)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"texture",{get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture&&this._texture.off("update",this._onTextureUpdate,this),this._texture=t||e.EMPTY,this._cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.valid?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))},enumerable:!1,configurable:!0}),o}(r);export{l as Sprite};
//# sourceMappingURL=sprite.min.js.map
{
"name": "@pixi/sprite",
"version": "6.3.0",
"version": "6.3.1",
"main": "dist/cjs/sprite.js",

@@ -28,10 +28,10 @@ "module": "dist/esm/sprite.js",

"peerDependencies": {
"@pixi/constants": "6.3.0",
"@pixi/core": "6.3.0",
"@pixi/display": "6.3.0",
"@pixi/math": "6.3.0",
"@pixi/settings": "6.3.0",
"@pixi/utils": "6.3.0"
"@pixi/constants": "6.3.1",
"@pixi/core": "6.3.1",
"@pixi/display": "6.3.1",
"@pixi/math": "6.3.1",
"@pixi/settings": "6.3.1",
"@pixi/utils": "6.3.1"
},
"gitHead": "dc311cdd7a28e6817556cdc674fd15ef71069467"
"gitHead": "a520915d81f307c40fcbad5d877b0f2de465c4bf"
}

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