You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@plotly/webpack-dash-dynamic-import

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plotly/webpack-dash-dynamic-import - npm Package Compare versions

Comparing version

to
1.1.5

2

package.json
{
"name": "@plotly/webpack-dash-dynamic-import",
"version": "1.1.4",
"version": "1.1.5",
"description": "Webpack Plugin for Dynamic Import in Dash",

@@ -5,0 +5,0 @@ "repository": {

@@ -23,3 +23,11 @@ const fs = require('fs');

/* Do not take into account async scripts and inline scripts */
var scripts = Array.from(document.getElementsByTagName('script')).filter(function(s) { return !s.async && !s.text && !s.textContent; });
var doc_scripts = document.getElementsByTagName('script');
var scripts = [];
for (var i = 0; i < doc_scripts.length; i++) {
scripts.push(doc_scripts[i]);
}
scripts = scripts.filter(function(s) { return !s.async && !s.text && !s.textContent; });
script = scripts.slice(-1)[0];

@@ -26,0 +34,0 @@ }