Socket
Socket
Sign inDemoInstall

@pixi/settings

Package Overview
Dependencies
2
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.2 to 7.0.3

5

lib/ICanvas.d.ts

@@ -11,2 +11,3 @@ import type { ICanvasRenderingContext2D } from './ICanvasRenderingContext2D';

}
export declare type ContextSettings = ICanvasRenderingContext2DSettings | ImageBitmapRenderingContextSettings | WebGLContextAttributes;
export interface ICanvasParentNode {

@@ -51,3 +52,3 @@ /** Adds a node to the end of the list of children of the parent node. */

* @param {ContextIds} contextId - The identifier of the type of context to create.
* @param {any} options - The options for creating context.
* @param {ContextSettings} options - The options for creating context.
* @returns {RenderingContext | null} The created context, or null if contextId is not supported.

@@ -59,3 +60,3 @@ */

getContext(contextId: 'webgl2' | 'experimental-webgl2', options?: WebGLContextAttributes): WebGL2RenderingContext | null;
getContext(contextId: ContextIds, options?: any): RenderingContext | null;
getContext(contextId: ContextIds, options?: ContextSettings): RenderingContext | null;
/**

@@ -62,0 +63,0 @@ * Get the content of the canvas as data URL.

6

package.json
{
"name": "@pixi/settings",
"version": "7.0.2",
"version": "7.0.3",
"main": "lib/index.js",

@@ -39,3 +39,3 @@ "module": "lib/index.mjs",

"dependencies": {
"@pixi/constants": "7.0.2",
"@pixi/constants": "7.0.3",
"@types/css-font-loading-module": "^0.0.7"

@@ -46,3 +46,3 @@ },

},
"gitHead": "55e5e0da83f7771eb2a85033fb03898319a2c346"
"gitHead": "1a8c89762cc348a7cb7c5f97b0cf97b2695c38b9"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc