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

@pluginjs/lightbox

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pluginjs/lightbox - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

12

package.json

@@ -5,9 +5,9 @@ {

"dependencies": {
"@pluginjs/component": "^0.2.13",
"@pluginjs/dom": "^0.0.4",
"@pluginjs/pluginjs": "^0.2.13",
"@pluginjs/template": "^0.2.10",
"@pluginjs/video": "^0.2.9"
"@pluginjs/component": "^0.2.14",
"@pluginjs/dom": "^0.0.5",
"@pluginjs/pluginjs": "^0.2.15",
"@pluginjs/template": "^0.2.11",
"@pluginjs/video": "^0.2.10"
},
"version": "0.2.9",
"version": "0.2.10",
"description": "A flexible modern lightbox js plugin.",

@@ -14,0 +14,0 @@ "author": "Creation Studio Limited",

@@ -13,3 +13,4 @@ import { transitionProperty } from '@pluginjs/feature'

easing: 'ease-in-out',
opener: element => element.nodeName.toLowerCase() === 'img'
opener: element =>
element.nodeName.toLowerCase() === 'img'
? element

@@ -125,3 +126,6 @@ : query('img', element)

const offsetValue = offset(el)
const paddingTop = parseInt(getStyle('padding-top', el).replace('px', ''), 10)
const paddingTop = parseInt(
getStyle('padding-top', el).replace('px', ''),
10
)
const paddingBottom = parseInt(

@@ -160,4 +164,5 @@ getStyle('padding-bottom', el).replace('px', ''),

cssObj[transitionProperty()] =
`all ${this.options.duration / 1000}s ${this.options.easing}`
cssObj[transitionProperty()] = `all ${this.options.duration / 1000}s ${
this.options.easing
}`
const img = clone(image)

@@ -164,0 +169,0 @@ img.style = ''

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