Socket
Socket
Sign inDemoInstall

@pixi/display

Package Overview
Dependencies
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/display - npm Package Compare versions

Comparing version 7.0.0-beta.3 to 7.0.0-beta.4

4

dist/cjs/display.js
/*!
* @pixi/display - v7.0.0-beta.3
* Compiled Thu, 13 Oct 2022 15:35:43 UTC
* @pixi/display - v7.0.0-beta.4
* Compiled Thu, 20 Oct 2022 19:45:44 UTC
*

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

"use strict";/*!
* @pixi/display - v7.0.0-beta.3
* Compiled Thu, 13 Oct 2022 15:35:43 UTC
* @pixi/display - v7.0.0-beta.4
* Compiled Thu, 20 Oct 2022 19:45:44 UTC
*

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

@@ -162,9 +162,6 @@ /// <reference path="./global.d.ts" />

* @example
* import { BlurFilter } from '@pixi/filter-blur';
* import { Container } from '@pixi/display';
* import { Graphics } from '@pixi/graphics';
* import { Sprite } from '@pixi/sprite';
* import { BlurFilter, Container, Graphics, Sprite } from 'pixi.js';
*
* const container = new Container();
* const sprite = Sprite.from("https://s3-us-west-2.amazonaws.com/s.cdpn.io/693612/IaUrttj.png");
* const sprite = Sprite.from('https://s3-us-west-2.amazonaws.com/s.cdpn.io/693612/IaUrttj.png');
*

@@ -183,5 +180,5 @@ * sprite.width = 512;

* container.mask = new Graphics()
* .beginFill(0xffffff)
* .drawCircle(sprite.width / 2, sprite.height / 2, Math.min(sprite.width, sprite.height) / 2)
* .endFill();
* .beginFill(0xffffff)
* .drawCircle(sprite.width / 2, sprite.height / 2, Math.min(sprite.width, sprite.height) / 2)
* .endFill();
* @memberof PIXI

@@ -372,3 +369,3 @@ */

export declare interface DisplayObject extends Omit<GlobalMixins.DisplayObject, keyof utils.EventEmitter>, utils.EventEmitter {
export declare interface DisplayObject extends Omit<GlobalMixins.DisplayObject, keyof utils.EventEmitter<DisplayObjectEventEmitterTypes>>, utils.EventEmitter<DisplayObjectEventEmitterTypes> {
}

@@ -524,3 +521,3 @@

* ```js
* calculateBounds(): void
* calculateBounds()
* {

@@ -562,3 +559,3 @@ * const points = [...];

*/
export declare abstract class DisplayObject extends utils.EventEmitter {
export declare abstract class DisplayObject extends utils.EventEmitter<DisplayObjectEventEmitterTypes> {
abstract sortDirty: boolean;

@@ -794,5 +791,5 @@ /** The display object container that contains this display object. */

/**
* Used in Renderer, cacheAsBitmap and other places where you call an `updateTransform` on root
* Used in Renderer, cacheAsBitmap and other places where you call an `updateTransform` on root.
*
* ```
* ```js
* const cacheParent = elem.enableTempParent();

@@ -802,3 +799,3 @@ * elem.updateTransform();

* ```
* @returns - current parent
* @returns - Current parent
*/

@@ -914,2 +911,11 @@ enableTempParent(): Container;

export declare type DisplayObjectEventEmitterTypes = GlobalMixins.FederatedEventEmitterTypes & {
added: [Container];
childAdded: [DisplayObject, Container, number];
childRemoved: [DisplayObject, Container, number];
destroyed: [];
removed: [Container];
removedFrom: [DisplayObject, Container, number];
};
export declare interface IDestroyOptions {

@@ -916,0 +922,0 @@ children?: boolean;

{
"name": "@pixi/display",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"main": "dist/cjs/display.js",

@@ -41,3 +41,3 @@ "module": "dist/esm/display.mjs",

],
"gitHead": "8055ae1c16d4c0f8dabda86cafd8e68c356450e8"
"gitHead": "a4581e4a49d23afc98fcf726765c9d54e51c3c39"
}

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