skinview-utils
Advanced tools
Comparing version 0.5.4 to 0.5.5
export declare type RemoteImage = string | { | ||
src: string; | ||
/** @defaultvalue "anonymous" */ | ||
crossOrigin?: string | null; | ||
@@ -4,0 +5,0 @@ referrerPolicy?: string; |
@@ -10,5 +10,3 @@ export async function loadImage(source) { | ||
else { | ||
if (source.crossOrigin !== undefined) { | ||
image.crossOrigin = source.crossOrigin; | ||
} | ||
image.crossOrigin = source.crossOrigin === undefined ? "anonymous" : source.crossOrigin; | ||
if (source.referrerPolicy !== undefined) { | ||
@@ -15,0 +13,0 @@ image.referrerPolicy = source.referrerPolicy; |
{ | ||
"name": "skinview-utils", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Utilities for working with Minecraft skins", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25519
273