New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pixi/prepare

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/prepare - npm Package Compare versions

Comparing version 6.3.2 to 6.4.0

63

dist/browser/prepare.js
/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -14,3 +14,2 @@ * @pixi/prepare is licensed under the MIT License.

* Default number of uploads per frame using prepare plugin.
*
* @static

@@ -218,3 +217,2 @@ * @memberof PIXI.settings

* number of items per frame.
*
* @memberof PIXI

@@ -236,4 +234,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return If the item is allowed to be uploaded.
* @returns If the item is allowed to be uploaded.
*/

@@ -248,7 +245,6 @@ CountLimiter.prototype.allowedToUpload = function () {

* Built-in hook to find multiple textures from objects like AnimatedSprites.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -273,7 +269,6 @@ function findMultipleBaseTextures(item, queue) {

* Built-in hook to find BaseTextures from Texture.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -292,7 +287,6 @@ function findBaseTexture(item, queue) {

* Built-in hook to find textures from objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -311,7 +305,6 @@ function findTexture(item, queue) {

* Built-in hook to draw PIXI.Text to its texture.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -328,7 +321,6 @@ function drawText(_helper, item) {

* Built-in hook to calculate a text style for a PIXI.Text object.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -345,7 +337,6 @@ function calculateTextStyle(_helper, item) {

* Built-in hook to find Text objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Text object was found.
* @returns if a PIXI.Text object was found.
*/

@@ -373,7 +364,6 @@ function findText(item, queue) {

* Built-in hook to find TextStyle objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.TextStyle object was found.
* @returns If a PIXI.TextStyle object was found.
*/

@@ -395,3 +385,2 @@ function findTextStyle(item, queue) {

* to provide preparation capabilities specific to their respective renderers.
*
* @example

@@ -408,3 +397,2 @@ * // Create a sprite

* })
*
* @abstract

@@ -446,3 +434,2 @@ * @memberof PIXI

* Upload all the textures and graphics to the GPU.
*
* @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item -

@@ -479,3 +466,2 @@ * Either the container or display object to search for items to upload, the items to upload themselves,

* Handle tick update
*
* @private

@@ -489,3 +475,2 @@ */

* and we do NOT want to block the current animation frame from rendering.
*
* @private

@@ -528,6 +513,5 @@ */

* Adds hooks for finding items.
*
* @param {Function} addHook - Function call that takes two parameters: `item:*, queue:Array`
* function must return `true` if it was able to add item to the queue.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -542,6 +526,5 @@ BasePrepare.prototype.registerFindHook = function (addHook) {

* Adds hooks for uploading items.
*
* @param {Function} uploadHook - Function call that takes two parameters: `prepare:CanvasPrepare, item:*` and
* function must return `true` if it was able to handle upload of item.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -556,6 +539,5 @@ BasePrepare.prototype.registerUploadHook = function (uploadHook) {

* Manually add an item to the uploading queue.
*
* @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to
* add to the queue
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -597,7 +579,6 @@ BasePrepare.prototype.add = function (item) {

* Built-in hook to upload PIXI.Texture objects to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -618,7 +599,6 @@ function uploadBaseTextures(renderer, item) {

* Built-in hook to upload PIXI.Graphics to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -649,7 +629,6 @@ function uploadGraphics(renderer, item) {

* Built-in hook to find graphics.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Graphics object was found.
* @returns if a PIXI.Graphics object was found.
*/

@@ -689,4 +668,2 @@ function findGraphics(item, queue) {

* });
*
*
* @memberof PIXI

@@ -714,3 +691,2 @@ */

* number of milliseconds per frame.
*
* @memberof PIXI

@@ -730,4 +706,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return - If the item is allowed to be uploaded.
* @returns - If the item is allowed to be uploaded.
*/

@@ -734,0 +709,0 @@ TimeLimiter.prototype.allowedToUpload = function () {

/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

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

/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -21,3 +21,2 @@ * @pixi/prepare is licensed under the MIT License.

* Default number of uploads per frame using prepare plugin.
*
* @static

@@ -63,3 +62,2 @@ * @memberof PIXI.settings

* number of items per frame.
*
* @memberof PIXI

@@ -81,4 +79,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return If the item is allowed to be uploaded.
* @returns If the item is allowed to be uploaded.
*/

@@ -93,7 +90,6 @@ CountLimiter.prototype.allowedToUpload = function () {

* Built-in hook to find multiple textures from objects like AnimatedSprites.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -118,7 +114,6 @@ function findMultipleBaseTextures(item, queue) {

* Built-in hook to find BaseTextures from Texture.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -137,7 +132,6 @@ function findBaseTexture(item, queue) {

* Built-in hook to find textures from objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -156,7 +150,6 @@ function findTexture(item, queue) {

* Built-in hook to draw PIXI.Text to its texture.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -173,7 +166,6 @@ function drawText(_helper, item) {

* Built-in hook to calculate a text style for a PIXI.Text object.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -190,7 +182,6 @@ function calculateTextStyle(_helper, item) {

* Built-in hook to find Text objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Text object was found.
* @returns if a PIXI.Text object was found.
*/

@@ -218,7 +209,6 @@ function findText(item, queue) {

* Built-in hook to find TextStyle objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.TextStyle object was found.
* @returns If a PIXI.TextStyle object was found.
*/

@@ -240,3 +230,2 @@ function findTextStyle(item, queue) {

* to provide preparation capabilities specific to their respective renderers.
*
* @example

@@ -253,3 +242,2 @@ * // Create a sprite

* })
*
* @abstract

@@ -291,3 +279,2 @@ * @memberof PIXI

* Upload all the textures and graphics to the GPU.
*
* @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item -

@@ -324,3 +311,2 @@ * Either the container or display object to search for items to upload, the items to upload themselves,

* Handle tick update
*
* @private

@@ -334,3 +320,2 @@ */

* and we do NOT want to block the current animation frame from rendering.
*
* @private

@@ -373,6 +358,5 @@ */

* Adds hooks for finding items.
*
* @param {Function} addHook - Function call that takes two parameters: `item:*, queue:Array`
* function must return `true` if it was able to add item to the queue.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -387,6 +371,5 @@ BasePrepare.prototype.registerFindHook = function (addHook) {

* Adds hooks for uploading items.
*
* @param {Function} uploadHook - Function call that takes two parameters: `prepare:CanvasPrepare, item:*` and
* function must return `true` if it was able to handle upload of item.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -401,6 +384,5 @@ BasePrepare.prototype.registerUploadHook = function (uploadHook) {

* Manually add an item to the uploading queue.
*
* @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to
* add to the queue
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -442,7 +424,6 @@ BasePrepare.prototype.add = function (item) {

* Built-in hook to upload PIXI.Texture objects to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -463,7 +444,6 @@ function uploadBaseTextures(renderer, item) {

* Built-in hook to upload PIXI.Graphics to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -494,7 +474,6 @@ function uploadGraphics(renderer, item) {

* Built-in hook to find graphics.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Graphics object was found.
* @returns if a PIXI.Graphics object was found.
*/

@@ -534,4 +513,2 @@ function findGraphics(item, queue) {

* });
*
*
* @memberof PIXI

@@ -559,3 +536,2 @@ */

* number of milliseconds per frame.
*
* @memberof PIXI

@@ -575,4 +551,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return - If the item is allowed to be uploaded.
* @returns - If the item is allowed to be uploaded.
*/

@@ -579,0 +554,0 @@ TimeLimiter.prototype.allowedToUpload = function () {

/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

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

/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

@@ -17,3 +17,2 @@ * @pixi/prepare is licensed under the MIT License.

* Default number of uploads per frame using prepare plugin.
*
* @static

@@ -59,3 +58,2 @@ * @memberof PIXI.settings

* number of items per frame.
*
* @memberof PIXI

@@ -77,4 +75,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return If the item is allowed to be uploaded.
* @returns If the item is allowed to be uploaded.
*/

@@ -89,7 +86,6 @@ CountLimiter.prototype.allowedToUpload = function () {

* Built-in hook to find multiple textures from objects like AnimatedSprites.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -114,7 +110,6 @@ function findMultipleBaseTextures(item, queue) {

* Built-in hook to find BaseTextures from Texture.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -133,7 +128,6 @@ function findBaseTexture(item, queue) {

* Built-in hook to find textures from objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.Texture object was found.
* @returns If a PIXI.Texture object was found.
*/

@@ -152,7 +146,6 @@ function findTexture(item, queue) {

* Built-in hook to draw PIXI.Text to its texture.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -169,7 +162,6 @@ function drawText(_helper, item) {

* Built-in hook to calculate a text style for a PIXI.Text object.
*
* @private
* @param helper - Not used by this upload handler
* @param _helper - Not used by this upload handler
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -186,7 +178,6 @@ function calculateTextStyle(_helper, item) {

* Built-in hook to find Text objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Text object was found.
* @returns if a PIXI.Text object was found.
*/

@@ -214,7 +205,6 @@ function findText(item, queue) {

* Built-in hook to find TextStyle objects.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return If a PIXI.TextStyle object was found.
* @returns If a PIXI.TextStyle object was found.
*/

@@ -236,3 +226,2 @@ function findTextStyle(item, queue) {

* to provide preparation capabilities specific to their respective renderers.
*
* @example

@@ -249,3 +238,2 @@ * // Create a sprite

* })
*
* @abstract

@@ -287,3 +275,2 @@ * @memberof PIXI

* Upload all the textures and graphics to the GPU.
*
* @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item -

@@ -320,3 +307,2 @@ * Either the container or display object to search for items to upload, the items to upload themselves,

* Handle tick update
*
* @private

@@ -330,3 +316,2 @@ */

* and we do NOT want to block the current animation frame from rendering.
*
* @private

@@ -369,6 +354,5 @@ */

* Adds hooks for finding items.
*
* @param {Function} addHook - Function call that takes two parameters: `item:*, queue:Array`
* function must return `true` if it was able to add item to the queue.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -383,6 +367,5 @@ BasePrepare.prototype.registerFindHook = function (addHook) {

* Adds hooks for uploading items.
*
* @param {Function} uploadHook - Function call that takes two parameters: `prepare:CanvasPrepare, item:*` and
* function must return `true` if it was able to handle upload of item.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -397,6 +380,5 @@ BasePrepare.prototype.registerUploadHook = function (uploadHook) {

* Manually add an item to the uploading queue.
*
* @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to
* add to the queue
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -438,7 +420,6 @@ BasePrepare.prototype.add = function (item) {

* Built-in hook to upload PIXI.Texture objects to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -459,7 +440,6 @@ function uploadBaseTextures(renderer, item) {

* Built-in hook to upload PIXI.Graphics to the GPU.
*
* @private
* @param renderer - instance of the webgl renderer
* @param item - Item to check
* @return If item was uploaded.
* @returns If item was uploaded.
*/

@@ -490,7 +470,6 @@ function uploadGraphics(renderer, item) {

* Built-in hook to find graphics.
*
* @private
* @param item - Display object to check
* @param queue - Collection of items to upload
* @return if a PIXI.Graphics object was found.
* @returns if a PIXI.Graphics object was found.
*/

@@ -530,4 +509,2 @@ function findGraphics(item, queue) {

* });
*
*
* @memberof PIXI

@@ -555,3 +532,2 @@ */

* number of milliseconds per frame.
*
* @memberof PIXI

@@ -571,4 +547,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return - If the item is allowed to be uploaded.
* @returns - If the item is allowed to be uploaded.
*/

@@ -575,0 +550,0 @@ TimeLimiter.prototype.allowedToUpload = function () {

/*!
* @pixi/prepare - v6.3.2
* Compiled Wed, 04 May 2022 17:49:13 UTC
* @pixi/prepare - v6.4.0
* Compiled Wed, 01 Jun 2022 21:14:23 UTC
*

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

@@ -15,3 +15,2 @@ import type { AbstractRenderer } from '@pixi/core';

* to provide preparation capabilities specific to their respective renderers.
*
* @example

@@ -28,3 +27,2 @@ * // Create a sprite

* })
*
* @abstract

@@ -79,3 +77,2 @@ * @memberof PIXI

* Upload all the textures and graphics to the GPU.
*
* @param {Function|PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text} item -

@@ -89,3 +86,2 @@ * Either the container or display object to search for items to upload, the items to upload themselves,

* Handle tick update
*
* @private

@@ -97,3 +93,2 @@ */

* and we do NOT want to block the current animation frame from rendering.
*
* @private

@@ -104,6 +99,5 @@ */

* Adds hooks for finding items.
*
* @param {Function} addHook - Function call that takes two parameters: `item:*, queue:Array`
* function must return `true` if it was able to add item to the queue.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -113,6 +107,5 @@ registerFindHook(addHook: IFindHook): this;

* Adds hooks for uploading items.
*
* @param {Function} uploadHook - Function call that takes two parameters: `prepare:CanvasPrepare, item:*` and
* function must return `true` if it was able to handle upload of item.
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -122,6 +115,5 @@ registerUploadHook(uploadHook: IUploadHook): this;

* Manually add an item to the uploading queue.
*
* @param {PIXI.DisplayObject|PIXI.Container|PIXI.BaseTexture|PIXI.Texture|PIXI.Graphics|PIXI.Text|*} item - Object to
* add to the queue
* @return Instance of plugin for chaining.
* @returns Instance of plugin for chaining.
*/

@@ -136,3 +128,2 @@ add(item: IDisplayObjectExtended | Container | BaseTexture | Texture): this;

* number of items per frame.
*
* @memberof PIXI

@@ -143,4 +134,3 @@ */

maxItemsPerFrame: number;
/**
* The number of items that can be prepared in the current frame. */
/** The number of items that can be prepared in the current frame. */
itemsLeft: number;

@@ -155,4 +145,3 @@ /**

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return If the item is allowed to be uploaded.
* @returns If the item is allowed to be uploaded.
*/

@@ -202,4 +191,2 @@ allowedToUpload(): boolean;

* });
*
*
* @memberof PIXI

@@ -217,3 +204,2 @@ */

* number of milliseconds per frame.
*
* @memberof PIXI

@@ -226,3 +212,2 @@ */

* The start time of the current frame.
*
* @readonly

@@ -237,4 +222,3 @@ */

* Checks to see if another item can be uploaded. This should only be called once per item.
*
* @return - If the item is allowed to be uploaded.
* @returns - If the item is allowed to be uploaded.
*/

@@ -241,0 +225,0 @@ allowedToUpload(): boolean;

{
"name": "@pixi/prepare",
"version": "6.3.2",
"version": "6.4.0",
"main": "dist/cjs/prepare.js",
"module": "dist/esm/prepare.js",
"bundle": "dist/browser/prepare.js",
"types": "index.d.ts",
"exports": {
".": {
"import": {
"default": "./dist/cjs/prepare.js",
"types": "./index.d.ts"
},
"require": {
"default": "./dist/esm/prepare.js",
"types": "./index.d.ts"
}
}
},
"description": "Plugin to allow uploading textures to the GPU",

@@ -28,10 +41,10 @@ "author": "Mat Groves",

"peerDependencies": {
"@pixi/core": "6.3.2",
"@pixi/display": "6.3.2",
"@pixi/graphics": "6.3.2",
"@pixi/settings": "6.3.2",
"@pixi/text": "6.3.2",
"@pixi/ticker": "6.3.2"
"@pixi/core": "6.4.0",
"@pixi/display": "6.4.0",
"@pixi/graphics": "6.4.0",
"@pixi/settings": "6.4.0",
"@pixi/text": "6.4.0",
"@pixi/ticker": "6.4.0"
},
"gitHead": "87031295631dcd7db3e24b99ed7ceb2c4f963a40"
"gitHead": "e7eaa713b6e0eeb335e90384aec778f5c99c60d5"
}

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