You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

blacklight-frontend

Package Overview
Dependencies
Maintainers
3
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blacklight-frontend - npm Package Compare versions

Comparing version

to
7.25.0

4

app/assets/javascripts/blacklight/blacklight.js

@@ -444,3 +444,3 @@ "use strict";

Blacklight.modal.hide = function (el) {
if (bootstrap.Modal.VERSION >= "5") {
if (typeof bootstrap !== 'undefined' && typeof bootstrap.Modal !== 'undefined' && bootstrap.Modal.VERSION >= "5") {
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide();

@@ -453,3 +453,3 @@ } else {

Blacklight.modal.show = function (el) {
if (bootstrap.Modal.VERSION >= "5") {
if (typeof bootstrap !== 'undefined' && typeof bootstrap.Modal !== 'undefined' && bootstrap.Modal.VERSION >= "5") {
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show();

@@ -456,0 +456,0 @@ } else {

@@ -209,3 +209,3 @@ /*

Blacklight.modal.hide = function(el) {
if (bootstrap.Modal.VERSION >= "5") {
if (typeof bootstrap !== 'undefined' && typeof bootstrap.Modal !== 'undefined' && bootstrap.Modal.VERSION >= "5") {
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide();

@@ -218,3 +218,3 @@ } else {

Blacklight.modal.show = function(el) {
if (bootstrap.Modal.VERSION >= "5") {
if (typeof bootstrap !== 'undefined' && typeof bootstrap.Modal !== 'undefined' && bootstrap.Modal.VERSION >= "5") {
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show();

@@ -221,0 +221,0 @@ } else {

{
"name": "blacklight-frontend",
"version": "7.22.1",
"version": "7.25.0",
"description": "[![Build Status](https://travis-ci.com/projectblacklight/blacklight.png?branch=main)](https://travis-ci.com/projectblacklight/blacklight) [![Gem Version](https://badge.fury.io/rb/blacklight.png)](http://badge.fury.io/rb/blacklight) [![Coverage Status](https://coveralls.io/repos/github/projectblacklight/blacklight/badge.svg?branch=main)](https://coveralls.io/github/projectblacklight/blacklight?branch=main)",

@@ -5,0 +5,0 @@ "main": "app/assets/javascripts/blacklight",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet