Socket
Socket
Sign inDemoInstall

yet-another-react-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yet-another-react-lightbox - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

dist/Lightbox.d.ts

@@ -42,3 +42,3 @@ import * as React from "react";

};
declare type ComponentProps<T> = T extends React.ComponentType<infer P> | React.Component<infer P> ? JSX.LibraryManagedAttributes<T, P> : never;
declare type LightboxComponentProps<T> = T extends React.ComponentType<infer P> | React.Component<infer P> ? JSX.LibraryManagedAttributes<T, P> : never;
declare type MakePartial<T> = T extends object ? Partial<T> : T;

@@ -49,3 +49,3 @@ declare type NestedPartial<T extends object> = {

declare type NestedOptional<T, K extends keyof T> = Omit<T, K> & NestedPartial<Pick<T, K>>;
export declare const Lightbox: (props: NestedOptional<ComponentProps<typeof LightboxComponent>, "carousel" | "animation">) => JSX.Element;
export declare const Lightbox: (props: NestedOptional<LightboxComponentProps<typeof LightboxComponent>, "carousel" | "animation">) => JSX.Element;
export {};
{
"name": "yet-another-react-lightbox",
"version": "1.2.0",
"version": "1.2.1",
"description": "Modern lightbox component for React",

@@ -67,3 +67,3 @@ "author": "Igor Danchenko",

"dependencies": {
"prop-types": "^15.8.1"
"prop-types": "^15.5.7"
},

@@ -80,3 +80,3 @@ "peerDependencies": {

"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.0",

@@ -83,0 +83,0 @@ "@types/jest": "^27.5.1",

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