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 2.0.15 to 2.0.16

dist/chunk-SMHKDLMK.mjs

3

dist/image.js

@@ -28,3 +28,3 @@ "use strict";

// ../../utilities/object-utils/src/index.ts
// ../../utilities/object-utils/src/omit.ts
function omit(object, keysToOmit = []) {

@@ -136,2 +136,3 @@ const clone = Object.assign({}, object);

...props,
crossOrigin,
ignoreFallback: shouldIgnoreFallbackImage

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

@@ -32,3 +32,3 @@ "use strict";

// ../../utilities/object-utils/src/index.ts
// ../../utilities/object-utils/src/omit.ts
function omit(object, keysToOmit = []) {

@@ -140,2 +140,3 @@ const clone = Object.assign({}, object);

...props,
crossOrigin,
ignoreFallback: shouldIgnoreFallbackImage

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

@@ -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": "2.0.15",
"version": "2.0.16",
"description": "React component for progressive image loading",

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

"react": "^18.0.0",
"clean-package": "2.1.1",
"@chakra-ui/object-utils": "2.0.8",
"@chakra-ui/system": "2.4.0"
"clean-package": "2.2.0",
"@chakra-ui/object-utils": "2.1.0",
"@chakra-ui/system": "2.5.6"
},

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

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