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

@suspensive/react-image

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@suspensive/react-image - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

6

dist/Load.d.ts

@@ -10,3 +10,3 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

*/
declare const load: (src: HTMLImageElement['src']) => Promise<HTMLImageElement>;
declare const load: (src: HTMLImageElement["src"]) => Promise<HTMLImageElement>;
type LoadSrc = Parameters<typeof load>[0];

@@ -21,3 +21,3 @@ type LoadState<TLoadSrc extends LoadSrc> = {

};
declare const useLoad: <TLoadSrc extends string>(options: UseLoadOptions<TLoadSrc>) => LoadState<TLoadSrc>;
declare const useLoad: <TLoadSrc extends LoadSrc>(options: UseLoadOptions<TLoadSrc>) => LoadState<TLoadSrc>;
type LoadProps<TLoadSrc extends LoadSrc> = {

@@ -27,4 +27,4 @@ src: TLoadSrc;

};
declare const Load: <TLoadSrc extends string>({ src, children: Children }: LoadProps<TLoadSrc>) => react_jsx_runtime.JSX.Element;
declare const Load: <TLoadSrc extends LoadSrc>({ src, children: Children }: LoadProps<TLoadSrc>) => react_jsx_runtime.JSX.Element;
export { Load, load, useLoad };
{
"name": "@suspensive/react-image",
"version": "0.0.21",
"version": "0.0.22",
"description": "Useful image interfaces for React Suspense",

@@ -41,3 +41,3 @@ "keywords": [

"dependencies": {
"@suspensive/utils": "2.9.4"
"@suspensive/utils": "2.10.0"
},

@@ -44,0 +44,0 @@ "devDependencies": {

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