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

blacklight-frontend

Package Overview
Dependencies
Maintainers
3
Versions
47
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 8.0.0-pre.1 to 8.0.0-pre.2

16

app/assets/javascripts/blacklight/blacklight.js

@@ -8,3 +8,3 @@ (function (global, factory) {

const Blacklight = function() {
var buffer = new Array;
const buffer = new Array;
return {

@@ -16,3 +16,3 @@ onLoad: function(func) {

activate: function() {
for(var i = 0; i < buffer.length; i++) {
for(let i = 0; i < buffer.length; i++) {
buffer[i].call();

@@ -23,3 +23,3 @@ }

listeners: function () {
var listeners = [];
const listeners = [];
if (typeof Turbo !== 'undefined') {

@@ -352,5 +352,5 @@ listeners.push('turbo:load');

modal.hide = function (el) {
var dom = document.querySelector(Blacklight.modal.modalSelector);
const dom = document.querySelector(Blacklight.modal.modalSelector);
if (!dom.open) return;
if (!dom.open) return
dom.close();

@@ -360,5 +360,5 @@ };

modal.show = function(el) {
var dom = document.querySelector(Blacklight.modal.modalSelector);
const dom = document.querySelector(Blacklight.modal.modalSelector);
if (dom.open) return;
if (dom.open) return
dom.showModal();

@@ -390,3 +390,3 @@ };

Blacklight.handleSearchContextMethod = function(event) {
var link = this;
const link = this;

@@ -393,0 +393,0 @@ // instead of using the normal href, we need to use the context href instead

{
"name": "blacklight-frontend",
"version": "8.0.0-pre.1",
"version": "8.0.0-pre.2",
"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

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