@suspensive/react-image
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -77,3 +77,3 @@ "use client" | ||
src, | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = `${src}: load error`) | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = "".concat(src, ": load error")) | ||
}; | ||
@@ -80,0 +80,0 @@ this.loadCache.set(src, newLoadState); |
@@ -77,3 +77,3 @@ "use client" | ||
src, | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = `${src}: load error`) | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = "".concat(src, ": load error")) | ||
}; | ||
@@ -80,0 +80,0 @@ this.loadCache.set(src, newLoadState); |
@@ -62,3 +62,3 @@ "use client" | ||
src, | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = `${src}: load error`) | ||
promise: load(src).then((image) => newLoadState.src = image.src).catch(() => newLoadState.error = "".concat(src, ": load error")) | ||
}; | ||
@@ -65,0 +65,0 @@ this.loadCache.set(src, newLoadState); |
{ | ||
"name": "@suspensive/react-image", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Useful image interfaces for React Suspense", | ||
@@ -51,3 +51,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/react": "^18.2.42", | ||
"@types/react": "^18.2.43", | ||
"@types/react-dom": "^18.2.15", | ||
@@ -57,3 +57,5 @@ "@types/use-sync-external-store": "^0.0.6", | ||
"react-dom": "^18.2.0", | ||
"@suspensive/package-json-name": "0.0.0" | ||
"@suspensive/package-json-name": "0.0.0", | ||
"@suspensive/test-utils": "0.0.0", | ||
"@suspensive/tsup": "0.0.0" | ||
}, | ||
@@ -60,0 +62,0 @@ "peerDependencies": { |
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
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
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
63823
8