skinview-utils
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -13,3 +13,4 @@ import { loadImage } from "./load-image.js"; | ||
export function isTextureSource(value) { | ||
return value instanceof EventTarget || value instanceof ImageBitmap; | ||
return value instanceof EventTarget || | ||
(typeof ImageBitmap !== "undefined" && value instanceof ImageBitmap); | ||
} | ||
@@ -16,0 +17,0 @@ export class SkinContainer { |
{ | ||
"name": "skinview-utils", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "Utilities for working with Minecraft skins", | ||
@@ -14,21 +14,21 @@ "type": "module", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^13.0.0", | ||
"@rollup/plugin-commonjs": "^15.0.0", | ||
"@rollup/plugin-image": "^2.0.5", | ||
"@rollup/plugin-node-resolve": "^8.0.1", | ||
"@rollup/plugin-typescript": "^4.1.2", | ||
"@types/chai": "^4.2.11", | ||
"@types/mocha": "^7.0.2", | ||
"@typescript-eslint/eslint-plugin": "^3.2.0", | ||
"@typescript-eslint/parser": "^3.2.0", | ||
"@rollup/plugin-node-resolve": "^9.0.0", | ||
"@rollup/plugin-typescript": "^5.0.2", | ||
"@types/chai": "^4.2.12", | ||
"@types/mocha": "^8.0.3", | ||
"@typescript-eslint/eslint-plugin": "^3.9.1", | ||
"@typescript-eslint/parser": "^3.9.1", | ||
"chai": "^4.2.0", | ||
"eslint": "^7.2.0", | ||
"karma": "^5.1.0", | ||
"eslint": "^7.7.0", | ||
"karma": "^5.1.1", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha": "^2.0.1", | ||
"karma-rollup-preprocessor": "^7.0.5", | ||
"mocha": "^8.0.1", | ||
"puppeteer": "^3.3.0", | ||
"mocha": "^8.1.1", | ||
"puppeteer": "^5.2.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.16.1", | ||
"typescript": "^3.9.5" | ||
"rollup": "^2.26.3", | ||
"typescript": "^3.9.7" | ||
}, | ||
@@ -35,0 +35,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
25688
277