Socket
Socket
Sign inDemoInstall

@pixi/sprite

Package Overview
Dependencies
Maintainers
3
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 5.0.4 to 5.1.0

26

dist/sprite.js
/*!
* @pixi/sprite - v5.0.4
* Compiled Fri, 07 Jun 2019 17:17:49 UTC
* @pixi/sprite - v5.1.0
* Compiled Fri, 19 Jul 2019 21:54:36 UTC
*

@@ -47,10 +47,16 @@ * @pixi/sprite is licensed under the MIT License.

/**
* The anchor sets the origin point of the texture.
* The default is 0,0 or taken from the {@link PIXI.Texture#defaultAnchor|Texture}
* passed to the constructor. A value of 0,0 means the texture's origin is the top left.
* Setting the anchor to 0.5,0.5 means the texture's origin is centered.
* Setting the anchor to 1,1 would mean the texture's origin point will be the bottom right corner.
* Note: Updating the {@link PIXI.Texture#defaultAnchor} after a Texture is
* created does _not_ update the Sprite's anchor values.
* The anchor point defines the normalized coordinates
* in the texture that map to the position of this
* sprite.
*
* By default, this is `(0,0)` (or `texture.defaultAnchor`
* if you have modified that), which means the position
* `(x,y)` of this `Sprite` will be the top-left corner.
*
* Note: Updating `texture.defaultAnchor` after
* constructing a `Sprite` does _not_ update its anchor.
*
* {@link https://docs.cocos2d-x.org/cocos2d-x/en/sprites/manipulation.html}
*
* @default `texture.defaultAnchor`
* @member {PIXI.ObservablePoint}

@@ -165,3 +171,3 @@ * @private

* @member {string}
* @default 'sprite'
* @default 'batch'
*/

@@ -168,0 +174,0 @@ this.pluginName = 'batch';

/*!
* @pixi/sprite - v5.0.4
* Compiled Fri, 07 Jun 2019 17:17:49 UTC
* @pixi/sprite - v5.1.0
* Compiled Fri, 19 Jul 2019 21:54:36 UTC
*

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

/*!
* @pixi/sprite - v5.0.4
* Compiled Fri, 07 Jun 2019 17:17:49 UTC
* @pixi/sprite - v5.1.0
* Compiled Fri, 19 Jul 2019 21:54:36 UTC
*

@@ -50,10 +50,16 @@ * @pixi/sprite is licensed under the MIT License.

/**
* The anchor sets the origin point of the texture.
* The default is 0,0 or taken from the {@link PIXI.Texture#defaultAnchor|Texture}
* passed to the constructor. A value of 0,0 means the texture's origin is the top left.
* Setting the anchor to 0.5,0.5 means the texture's origin is centered.
* Setting the anchor to 1,1 would mean the texture's origin point will be the bottom right corner.
* Note: Updating the {@link PIXI.Texture#defaultAnchor} after a Texture is
* created does _not_ update the Sprite's anchor values.
* The anchor point defines the normalized coordinates
* in the texture that map to the position of this
* sprite.
*
* By default, this is `(0,0)` (or `texture.defaultAnchor`
* if you have modified that), which means the position
* `(x,y)` of this `Sprite` will be the top-left corner.
*
* Note: Updating `texture.defaultAnchor` after
* constructing a `Sprite` does _not_ update its anchor.
*
* {@link https://docs.cocos2d-x.org/cocos2d-x/en/sprites/manipulation.html}
*
* @default `texture.defaultAnchor`
* @member {PIXI.ObservablePoint}

@@ -168,3 +174,3 @@ * @private

* @member {string}
* @default 'sprite'
* @default 'batch'
*/

@@ -171,0 +177,0 @@ this.pluginName = 'batch';

/*!
* @pixi/sprite - v5.0.4
* Compiled Fri, 07 Jun 2019 17:17:49 UTC
* @pixi/sprite - v5.1.0
* Compiled Fri, 19 Jul 2019 21:54:36 UTC
*

@@ -54,10 +54,16 @@ * @pixi/sprite is licensed under the MIT License.

/**
* The anchor sets the origin point of the texture.
* The default is 0,0 or taken from the {@link PIXI.Texture#defaultAnchor|Texture}
* passed to the constructor. A value of 0,0 means the texture's origin is the top left.
* Setting the anchor to 0.5,0.5 means the texture's origin is centered.
* Setting the anchor to 1,1 would mean the texture's origin point will be the bottom right corner.
* Note: Updating the {@link PIXI.Texture#defaultAnchor} after a Texture is
* created does _not_ update the Sprite's anchor values.
* The anchor point defines the normalized coordinates
* in the texture that map to the position of this
* sprite.
*
* By default, this is `(0,0)` (or `texture.defaultAnchor`
* if you have modified that), which means the position
* `(x,y)` of this `Sprite` will be the top-left corner.
*
* Note: Updating `texture.defaultAnchor` after
* constructing a `Sprite` does _not_ update its anchor.
*
* {@link https://docs.cocos2d-x.org/cocos2d-x/en/sprites/manipulation.html}
*
* @default `texture.defaultAnchor`
* @member {PIXI.ObservablePoint}

@@ -172,3 +178,3 @@ * @private

* @member {string}
* @default 'sprite'
* @default 'batch'
*/

@@ -175,0 +181,0 @@ this.pluginName = 'batch';

{
"name": "@pixi/sprite",
"version": "5.0.4",
"version": "5.1.0",
"main": "lib/sprite.js",

@@ -22,5 +22,2 @@ "module": "lib/sprite.es.js",

},
"scripts": {
"test": "floss --path test"
},
"files": [

@@ -31,13 +28,10 @@ "lib",

"dependencies": {
"@pixi/constants": "^5.0.4",
"@pixi/core": "^5.0.4",
"@pixi/display": "^5.0.4",
"@pixi/math": "^5.0.4",
"@pixi/settings": "^5.0.4",
"@pixi/utils": "^5.0.4"
"@pixi/constants": "^5.1.0",
"@pixi/core": "^5.1.0",
"@pixi/display": "^5.1.0",
"@pixi/math": "^5.1.0",
"@pixi/settings": "^5.1.0",
"@pixi/utils": "^5.1.0"
},
"devDependencies": {
"floss": "^2.2.0"
},
"gitHead": "7a771ca5f05eeba62222b53446d0c2bdfcac37f7"
"gitHead": "05c5e0e0beba56e886c74f201bf7efe576612570"
}

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