Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

skinview-utils

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skinview-utils - npm Package Compare versions

Comparing version 0.5.9 to 0.6.0

1

build/index.d.ts
export * from "./types.js";
export * from "./process.js";
export * from "./load-image.js";
export * from "./viewer-mixins.js";
export * from "./types.js";
export * from "./process.js";
export * from "./load-image.js";
export * from "./viewer-mixins.js";
//# sourceMappingURL=index.js.map

1

build/types.d.ts
export declare type TextureCanvas = HTMLCanvasElement | OffscreenCanvas;
export declare type TextureSource = HTMLImageElement | HTMLVideoElement | ImageBitmap | TextureCanvas;
export declare type ModelType = "default" | "slim";
export declare function isTextureSource(value: unknown): value is TextureSource;

@@ -1,2 +0,8 @@

export {};
export function isTextureSource(value) {
return value instanceof HTMLImageElement ||
value instanceof HTMLVideoElement ||
value instanceof HTMLCanvasElement ||
(typeof ImageBitmap !== "undefined" && value instanceof ImageBitmap) ||
(typeof OffscreenCanvas !== "undefined" && value instanceof OffscreenCanvas);
}
//# sourceMappingURL=types.js.map
{
"name": "skinview-utils",
"version": "0.5.9",
"version": "0.6.0",
"description": "Utilities for working with Minecraft skins",

@@ -14,12 +14,12 @@ "type": "module",

"devDependencies": {
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-image": "^2.0.5",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^6.0.0",
"@types/chai": "^4.2.12",
"@types/mocha": "^8.0.3",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-image": "^2.0.6",
"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-typescript": "^8.1.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"chai": "^4.2.0",
"eslint": "^7.10.0",
"eslint": "^7.16.0",
"karma": "^5.2.3",

@@ -29,7 +29,7 @@ "karma-chrome-launcher": "^3.1.0",

"karma-rollup-preprocessor": "^7.0.5",
"mocha": "^8.1.3",
"puppeteer": "^5.3.1",
"mocha": "^8.2.1",
"puppeteer": "^5.5.0",
"rimraf": "^3.0.2",
"rollup": "^2.28.2",
"typescript": "^4.0.3"
"rollup": "^2.35.1",
"typescript": "^4.1.3"
},

@@ -36,0 +36,0 @@ "files": [

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