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

react-spring-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-spring-lightbox - npm Package Compare versions

Comparing version 1.5.0-beta.4 to 1.5.0-beta.98999b8

1

dist/index.d.ts

@@ -48,5 +48,4 @@ import React from 'react';

* @see https://github.com/react-spring/react-spring
* @see https://github.com/styled-components/styled-components
*/
declare const Lightbox: ({ isOpen, onClose, images, currentIndex, onPrev, onNext, renderHeader, renderFooter, renderPrevButton, renderNextButton, renderImageOverlay, className, singleClickToZoom, style, pageTransitionConfig, }: ILightboxProps) => JSX.Element;
export default Lightbox;
/// <reference types="react" />
export declare type ImagesListItem = Omit<React.HTMLProps<HTMLImageElement>, 'draggable' | 'onClick' | 'onDragStart' | 'ref'> & {
alt: string;
loading?: 'auto' | 'eager' | 'lazy';
src: string;
};
export declare type ImagesList = ImagesListItem[];

15

package.json
{
"name": "react-spring-lightbox",
"version": "1.5.0-beta.4",
"version": "1.5.0-beta.98999b8",
"description": "A flexible image gallery lightbox with native-feeling touch gestures and buttery smooth animations, built with react-spring.",

@@ -26,3 +26,2 @@ "author": "Tim Ellenberger <timellenberger@gmail.com>",

"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"engines": {

@@ -76,4 +75,4 @@ "node": ">=8",

"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-typescript": "^8.2.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-typescript": "^8.1.1",
"@testing-library/jest-dom": "^5.5.0",

@@ -85,4 +84,4 @@ "@testing-library/react": "^11.2.5",

"@types/styled-components": "^5.1.7",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"babel-eslint": "10.1.0",

@@ -94,3 +93,3 @@ "babel-plugin-styled-components": "1.12.0",

"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.20.2",

@@ -122,4 +121,4 @@ "eslint-plugin-jsx-a11y": "^6.2.3",

"@react-spring/web": "npm:@tim-soft/react-spring-web@9.0.0-beta.36",
"react-use-gesture": "9.0.4"
"react-use-gesture": "9.0.2"
}
}

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