New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

super-image

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

super-image - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

coverage/Chrome 63.0.3239 (Mac OS X 10.13.2)/lcov.info

2

package.json
{
"name": "super-image",
"version": "2.1.1",
"version": "2.2.0",
"description": "React component that render a image with object-fit and its fallback",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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

// Type definitions for super-image 2.0.0
// Type definitions for super-image 2.1.1
// Project: https://github.com/openfresh/super-image

@@ -7,9 +7,5 @@

declare namespace SuperImage {
export interface Props {
export interface Props extends React.ImgHTMLAttributes<HTMLImageElement> {
src: string;
sources?: React.SourceHTMLAttributes<HTMLSourceElement>[];
width?: number | string;
height?: number | string;
alt?: string;
className?: string;
fit?: 'contain' | 'cover';

@@ -16,0 +12,0 @@ fitFallback?: boolean;

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