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

@chakra-ui/image

Package Overview
Dependencies
Maintainers
3
Versions
422
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/image - npm Package Compare versions

Comparing version 0.0.0-dev-20230116124502 to 0.0.0-dev-20230417150059

dist/chunk-5OJWFA2V.mjs

1

dist/image.js

@@ -135,2 +135,3 @@ "use strict";

...props,
crossOrigin,
ignoreFallback: shouldIgnoreFallbackImage

@@ -137,0 +138,0 @@ });

@@ -139,2 +139,3 @@ "use strict";

...props,
crossOrigin,
ignoreFallback: shouldIgnoreFallbackImage

@@ -141,0 +142,0 @@ });

2

dist/native-image.d.ts

@@ -16,4 +16,4 @@ import * as _chakra_ui_system from '@chakra-ui/system';

}
declare const NativeImage: _chakra_ui_system.ComponentWithAs<_chakra_ui_system.As<any>, NativeImageProps>;
declare const NativeImage: _chakra_ui_system.ComponentWithAs<_chakra_ui_system.As, NativeImageProps>;
export { NativeImage, NativeImageOptions };

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

declare type NativeImageProps = React.ImgHTMLAttributes<HTMLImageElement>;
type NativeImageProps = React.ImgHTMLAttributes<HTMLImageElement>;
interface UseImageProps {

@@ -36,4 +36,4 @@ /**

}
declare type Status = "loading" | "failed" | "pending" | "loaded";
declare type FallbackStrategy = "onError" | "beforeLoadOrError";
type Status = "loading" | "failed" | "pending" | "loaded";
type FallbackStrategy = "onError" | "beforeLoadOrError";
/**

@@ -57,4 +57,4 @@ * React hook that loads an image in the browser,

declare const shouldShowFallbackImage: (status: Status, fallbackStrategy: FallbackStrategy) => boolean;
declare type UseImageReturn = ReturnType<typeof useImage>;
type UseImageReturn = ReturnType<typeof useImage>;
export { FallbackStrategy, UseImageProps, UseImageReturn, shouldShowFallbackImage, useImage };
{
"name": "@chakra-ui/image",
"version": "0.0.0-dev-20230116124502",
"version": "0.0.0-dev-20230417150059",
"description": "React component for progressive image loading",

@@ -39,8 +39,8 @@ "keywords": [

"react": "^18.0.0",
"clean-package": "2.1.1",
"clean-package": "2.2.0",
"@chakra-ui/object-utils": "2.0.8",
"@chakra-ui/system": "2.4.0"
"@chakra-ui/system": "0.0.0-dev-20230417150059"
},
"peerDependencies": {
"@chakra-ui/system": ">=2.0.0",
"@chakra-ui/system": "0.0.0-dev-20230417150059",
"react": ">=18"

@@ -47,0 +47,0 @@ },

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