Comparing version 4.5.2 to 4.6.0
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
@@ -60,3 +60,16 @@ const { existsSync } = require('node:fs'); | ||
const localName = `./rollup.${packageBase}.node`; | ||
const { parse, parseAsync, xxhashBase64Url } = require( | ||
const requireWithFriendlyError = id => { | ||
try { | ||
return require(id); | ||
} catch (error) { | ||
throw new Error( | ||
`Cannot find module ${id}. ` + | ||
`npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` + | ||
'Please try `npm i` again after removing both package-lock.json and node_modules directory.', | ||
{ cause: error } | ||
); | ||
} | ||
}; | ||
const { parse, parseAsync, xxhashBase64Url } = requireWithFriendlyError( | ||
existsSync(join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}` | ||
@@ -63,0 +76,0 @@ ); |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.5.2 | ||
Fri, 24 Nov 2023 06:29:16 GMT - commit 2e94641971195c1a4eb9e1a3fe6d73b9d04ffae0 | ||
Rollup.js v4.6.0 | ||
Sun, 26 Nov 2023 13:38:46 GMT - commit 020774d0c7b1371865b20878e59dd3a6a45d3b31 | ||
@@ -256,3 +256,9 @@ https://github.com/rollup/rollup | ||
this.updateWatchedFiles(result); | ||
this.skipWrite || (await Promise.all(this.outputs.map(output => result.write(output)))); | ||
if (!this.skipWrite) { | ||
await Promise.all(this.outputs.map(output => result.write(output))); | ||
if (this.closed) { | ||
return; | ||
} | ||
this.updateWatchedFiles(result); | ||
} | ||
await this.watcher.emitter.emit('event', { | ||
@@ -259,0 +265,0 @@ code: 'BUNDLE_END', |
{ | ||
"name": "rollup", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "Next-generation ES module bundler", | ||
@@ -103,14 +103,14 @@ "main": "dist/rollup.js", | ||
"fsevents": "~2.3.2", | ||
"@rollup/rollup-darwin-arm64": "4.5.2", | ||
"@rollup/rollup-android-arm64": "4.5.2", | ||
"@rollup/rollup-win32-arm64-msvc": "4.5.2", | ||
"@rollup/rollup-linux-arm64-gnu": "4.5.2", | ||
"@rollup/rollup-linux-arm64-musl": "4.5.2", | ||
"@rollup/rollup-android-arm-eabi": "4.5.2", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.5.2", | ||
"@rollup/rollup-win32-ia32-msvc": "4.5.2", | ||
"@rollup/rollup-darwin-x64": "4.5.2", | ||
"@rollup/rollup-win32-x64-msvc": "4.5.2", | ||
"@rollup/rollup-linux-x64-gnu": "4.5.2", | ||
"@rollup/rollup-linux-x64-musl": "4.5.2" | ||
"@rollup/rollup-darwin-arm64": "4.6.0", | ||
"@rollup/rollup-android-arm64": "4.6.0", | ||
"@rollup/rollup-win32-arm64-msvc": "4.6.0", | ||
"@rollup/rollup-linux-arm64-gnu": "4.6.0", | ||
"@rollup/rollup-linux-arm64-musl": "4.6.0", | ||
"@rollup/rollup-android-arm-eabi": "4.6.0", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.6.0", | ||
"@rollup/rollup-win32-ia32-msvc": "4.6.0", | ||
"@rollup/rollup-darwin-x64": "4.6.0", | ||
"@rollup/rollup-win32-x64-msvc": "4.6.0", | ||
"@rollup/rollup-linux-x64-gnu": "4.6.0", | ||
"@rollup/rollup-linux-x64-musl": "4.6.0" | ||
}, | ||
@@ -117,0 +117,0 @@ "devDependenciesComments": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
53530
2158369