html-webpack-injector
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -32,3 +32,3 @@ const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||
if(typeof asyncNames === "object" && asyncNames?.length){ | ||
if(asyncNames && typeof asyncNames === "object" && asyncNames.length){ | ||
tags.forEach(tag => { | ||
@@ -44,3 +44,3 @@ // add async only on script tags. | ||
if(typeof deferNames === "object" && deferNames?.length){ | ||
if(deferNames && typeof deferNames === "object" && deferNames.length){ | ||
tags.forEach(tag => { | ||
@@ -47,0 +47,0 @@ // add defer only on script tags. |
{ | ||
"name": "html-webpack-injector", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Helps to inject chunks to head and body via HtmlWebpackPlugin with additional options to add async/defer to chunks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5809
0