@rollup/plugin-terser
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -14,2 +14,3 @@ 'use strict'; | ||
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; | ||
const taskInfo = Symbol('taskInfo'); | ||
@@ -160,3 +161,3 @@ const freeWorker = Symbol('freeWorker'); | ||
workerPool = new WorkerPool({ | ||
filePath: url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href))), | ||
filePath: url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.js', document.baseURI).href))), | ||
maxWorkers | ||
@@ -163,0 +164,0 @@ }); |
{ | ||
"name": "@rollup/plugin-terser", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"publishConfig": { | ||
@@ -56,3 +56,3 @@ "access": "public" | ||
"peerDependencies": { | ||
"rollup": "^2.x || ^3.x" | ||
"rollup": "^2.0.0||^3.0.0||^4.0.0" | ||
}, | ||
@@ -71,3 +71,3 @@ "peerDependenciesMeta": { | ||
"@types/serialize-javascript": "^5.0.2", | ||
"rollup": "^3.0.0-7", | ||
"rollup": "^4.0.0-24", | ||
"typescript": "^4.8.3" | ||
@@ -74,0 +74,0 @@ }, |
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
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
28702
732
3