Socket
Socket
Sign inDemoInstall

script-ext-html-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

script-ext-html-webpack-plugin - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

30

package.json
{
"name": "script-ext-html-webpack-plugin",
"version": "2.1.3",
"version": "2.1.4",
"description": "Enhances html-webpack-plugin functionality with async and defer attributes for script elements",

@@ -12,10 +12,8 @@ "main": "index.js",

"pretest": "semistandard & install-module-versions dynavers.json",
"test": "npm run test:hwp",
"test:hwp": "npm run test:hwp3 && npm run test:hwp4",
"test:hwp3": "cross-env VERSION=webpack1 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack2 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack3 HWP_VERSION=hwp3 jasmine && cross-env VERSION=webpack4 HWP_VERSION=hwp3 jasmine",
"test:hwp4": "cross-env VERSION=webpack4 HWP_VERSION=hwp4 jasmine",
"test:webpack1": "cross-env VERSION=webpack1 jasmine",
"test:webpack2": "cross-env VERSION=webpack2 jasmine",
"test:webpack3": "cross-env VERSION=webpack3 jasmine",
"test:webpack4": "cross-env VERSION=webpack4 jasmine",
"test": "npm run test:webpack1 && npm run test:webpack2 && npm run test:webpack3 && npm run test:webpack4 && npm run test:webpack4htmlPlugin4",
"test:webpack1": "cross-env VERSION=webpack1 HWP_VERSION=hwp3 jasmine",
"test:webpack2": "cross-env VERSION=webpack2 HWP_VERSION=hwp3 jasmine",
"test:webpack3": "cross-env VERSION=webpack3 HWP_VERSION=hwp3 jasmine",
"test:webpack4": "cross-env VERSION=webpack4 HWP_VERSION=hwp3 jasmine",
"test:webpack4htmlPlugin4": "cross-env VERSION=webpack4 HWP_VERSION=hwp4 jasmine",
"debug": "cross-env DEBUG=ScriptExt VERSION=webpack4 HWP_VERSION=hwp4 jasmine",

@@ -45,2 +43,3 @@ "node-debug": "cross-env DEBUG=ScriptExt VERSION=webpack4 HWP_VERSION=hwp4 node-debug jasmine"

"license": "MIT",
"css-loader": "^1.0.1",
"bugs": {

@@ -51,16 +50,15 @@ "url": "https://github.com/numical/script-ext-html-webpack-plugin/issues"

"dependencies": {
"debug": "^4.1.0"
"debug": "^4.1.1"
},
"devDependencies": {
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"dynavers": "^0.3.1",
"handlebars": "^4.0.12",
"handlebars-loader": "1.7.0",
"jasmine": "^3.3.0",
"handlebars": "^4.1.2",
"handlebars-loader": "1.7.1",
"jasmine": "^3.4.0",
"jasmine-spec-reporter": "^4.2.1",
"jasmine2-custom-message": "^0.9.3",
"rimraf": "^2.6.2",
"rimraf": "^2.6.3",
"semistandard": "^13.0.1",
"uglifyjs-webpack-plugin": "^2.0.1",
"uglifyjs-webpack-plugin": "^2.1.3",
"webpack-config": "7.5.0"

@@ -67,0 +65,0 @@ },

@@ -183,5 +183,5 @@ Script Extension for HTML Webpack Plugin

new ScriptExtHtmlWebpackPlugin({
custom {
custom: {
test: /\.js$/,
attribute: 'crossorigin'
attribute: 'crossorigin',
value: 'anonymous'

@@ -316,2 +316,3 @@ }

v2.1.x
* support for changes in html-webpack-plugin 4.x since alpha and beta
* custom attributes now added to resource hints too (see [pull request 53](https://github.com/numical/script-ext-html-webpack-plugin/pull/53) for discussion)

@@ -326,3 +327,3 @@ * update dependencies

* remove Appveyor config
* temororary remove Handlebars test until loader supports webpack 4.x
* temporary remove Handlebars test until loader supports webpack 4.x

@@ -329,0 +330,0 @@ v1.8.x

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