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

gitbook-plugin-lightbox

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-lightbox - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

15

dist/index.js

@@ -14,14 +14,11 @@ "use strict";

var getAssets = function getAssets() {
var assets = {
// let config = this.config.get('pluginsConfig.lightbox');
// if (config.hasOwnProperty('jquery') && config['jquery'] === false) {
// assets['js'] = ['jquery.min.js'].concat(assets['js'])
// }
return {
assets: './dist/assets',
js: ['lightbox.min.js'],
js: ['jquery.min.js', 'lightbox.min.js'],
css: ['lightbox.min.css']
};
var config = this.config.get('pluginsConfig.lightbox');
if (config.hasOwnProperty('jquery') && config['jquery'] === false) {
assets['js'] = ['jquery.min.js'].concat(assets['js']);
}
return assets;
};

@@ -28,0 +25,0 @@

2

package.json
{
"name": "gitbook-plugin-lightbox",
"version": "1.0.4",
"version": "1.0.5",
"description": " A gitbook plugin to show image by lightbox.",

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

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