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

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 3.10.1 to 3.10.2

2

dist/plugins/video/index.d.ts

@@ -13,2 +13,4 @@ import { PluginProps } from '../../types.js';

interface SlideVideo extends GenericSlide {
/** video slide type */
type: "video";
/** video placeholder image */

@@ -15,0 +17,0 @@ poster?: string;

3

dist/plugins/video/index.js

@@ -97,4 +97,5 @@ import * as React from 'react';

slide: ({ slide, offset, rect }) => {
var _a;
if (isVideoSlide(slide)) {
return (React.createElement(VideoSlide, { key: `${slide.sources.map((source) => source.src).join(" ")}`, slide: slide, offset: offset }));
return (React.createElement(VideoSlide, { key: `${(_a = slide.sources) === null || _a === void 0 ? void 0 : _a.map((source) => source.src).join(" ")}`, slide: slide, offset: offset }));
}

@@ -101,0 +102,0 @@ return renderSlide === null || renderSlide === void 0 ? void 0 : renderSlide({ slide, offset, rect });

@@ -105,2 +105,4 @@ import * as React from 'react';

interface SlideImage extends GenericSlide {
/** image slide type */
type?: "image";
/** image URL */

@@ -107,0 +109,0 @@ src: string;

{
"name": "yet-another-react-lightbox",
"version": "3.10.1",
"version": "3.10.2",
"description": "Modern React lightbox component",

@@ -5,0 +5,0 @@ "author": "Igor Danchenko",

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