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

lockandload

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lockandload - npm Package Compare versions

Comparing version 2.1.4 to 2.1.8

lockandload_master_debug.inc

6

lockandload_headready.js

@@ -5,5 +5,5 @@ !function(W,D,E,P)

{ k=D.createElement(e); if(p) k.onload=function(){ E(p, 1); };
if (a) k[a]=v; k[r]=u; D.head.appendChild(k); }
k[a]=v; k[r]=u; D.head.appendChild(k); }
function css(u,p){ n("link","rel","stylesheet","href",u,p); }
function js(u,a){ n("script",a,a,"src",u); }
function js(u,a){ n("script","async",a,"src",u); }
function jsa(a,p){ P[a]=p; }

@@ -78,3 +78,3 @@ /*

{ function r(d,f){ return f?E(1,d,f):R[d]; } r.undef=function(n){ R[n]=0; };
r.load=function(p){ js(P[p]||p, "async"); }; return r; });
r.load=function(p){ js(P[p]||p, 1); }; return r; });
W.onload=function(){ E("domready", ["module"], function(R)

@@ -81,0 +81,0 @@ { return function(t,i)

// License: ISC OR GPL-3.0
!function(W,D,F,X,M,L,R) // lockandload v2.1: boilerplate AMD-loader
{ "use strict"; // Copyright (c) 2018 <srb@cuci.nl>
W.dataLayer=[{"gtm.start":Date.now(),event:"gtm.js"}]; R[M]=R;
W.dataLayer=[{"gtm.start":Date.now(),event:"gtm.js"}]; R[X]=R[M]=R;
function E(n,d,f,j)
{ function c(k,i,t)
{ for (i in k)
{ if ((t=k[i])==X||t==M) R[n]=R[X], L[n]=L[n]||[Date];
j+=(!(R[t]&&!L[t])&&(L[t]||(L[t]=[])).push(c));
}
{ function c(k,i)
{ for (i in k) if (L[i=k[i]]||!R[i]) j++, (L[i]=L[i]||[]).push(c);
if (!--j)
{ R[X]=R[n]; for (t in d) d[t]=R[d[t]];
{ R[X]=R[n]; for (i in d) d[i]=R[d[i]];
R[n]=(typeof f=="function"?f.apply(0,d):f)||R[X];

@@ -24,3 +21,3 @@ d=L[n]||[]; delete L[n];

}
R[j=1]=0; R[X]={}; c(d=d||[F,X,M]);
j=1; R[n]={}; L[n]=L[n]||[]; c(d=d||[F,X,M]);
}

@@ -27,0 +24,0 @@ (W.define=E).amd={lockandload:E||"v2.1, Copyright (c) 2018 <srb@cuci.nl>"};

{
"name": "lockandload",
"version": "2.1.4",
"version": "2.1.8",
"description": "Minimalist AMD-compliant Javascript and CSS loader",

@@ -5,0 +5,0 @@ "main": "index.html",

@@ -85,5 +85,9 @@ <h1>lockandload AMD-loader</h1>

at the end of the `<head>`.
- `lockandload_master_debug.inc`: Alternate debugging version of
`lockandload_master.inc`.
- `index.php`: PHP boilerplate.
- `index_inlined.html`: High performance HTML only boilerplate.
- `lockandload_master.js`: For lazy `<script>` loading.
- `lockandload_master_debug.js`: Alternate debugging version of
`lockandload_master.js`.
- `lockandload_headready.js`: Boilerplate for lazy `<script>` loading.

@@ -90,0 +94,0 @@ - `index_extern.html`: Lazy HTML only boilerplate.

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

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