🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

webpack-userscript

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-userscript - npm Package Compare versions

Comparing version

to
2.5.8

@@ -227,3 +227,3 @@ const fs = require('fs')

: []
hotDevHeaderString = userscriptMeta.stringify({
const devHeaderObj = {
...headerObj,

@@ -234,3 +234,9 @@ require: [

]
}, this.options.pretty)
}
for (const metakey of ['downloadURL', 'updateURL', 'installURL']) {
if (devHeaderObj[metakey]) {
delete devHeaderObj[metakey]
}
}
hotDevHeaderString = userscriptMeta.stringify(devHeaderObj, this.options.pretty)
compilation.assets[hotDevFilename] = new RawSource(hotDevHeaderString)

@@ -237,0 +243,0 @@ }

{
"name": "webpack-userscript",
"version": "2.5.7",
"version": "2.5.8",
"description": "A Webpack4+ plugin for userscript projects.",

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