@rollup/wasm-node
Advanced tools
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
+2
-2
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
+2
-2
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -499,3 +499,6 @@ https://github.com/rollup/rollup | ||
| const inputOptions = { | ||
| external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5) === '.json', | ||
| // Do *not* specify external callback here - instead, perform the externality check it via fallback-plugin just below this comment. | ||
| // This allows config plugin to first decide whether some import is external or not, and only then trigger the check in fallback-plugin. | ||
| // Since the check is ultra-simple during this stage of transforming the config file itself, it should be fallback instead of primary check. | ||
| // That way, e.g. importing workspace packages will work as expected - the workspace package will be bundled. | ||
| input: fileName, | ||
@@ -507,2 +510,11 @@ onwarn: warnings.add, | ||
| await addPluginsFromCommandOption(configPlugin, inputOptions); | ||
| // Add plugin as *last* item after addPluginsFromCommandOption is complete. | ||
| // This plugin will trigger for imports not resolved by config plugin, and mark all non-relative imports as external. | ||
| inputOptions.plugins.push({ | ||
| name: 'external-fallback', | ||
| resolveId: source => { | ||
| const looksLikeExternal = (source[0] !== '.' && !path.isAbsolute(source)) || source.slice(-5) === '.json'; | ||
| return looksLikeExternal ? false : source; | ||
| } | ||
| }); | ||
| const bundle = await rollup.rollup(inputOptions); | ||
@@ -509,0 +521,0 @@ const { output: [{ code }] } = await bundle.generate({ |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
| /* | ||
| @license | ||
| Rollup.js v4.48.1 | ||
| Mon, 25 Aug 2025 05:42:43 GMT - commit 8b6b06b16c2198f1e61749f17cbdbc25f2d3d214 | ||
| Rollup.js v4.49.0 | ||
| Wed, 27 Aug 2025 07:24:52 GMT - commit b12c061d27d63062b91c1830a698de53fd6c2067 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
+1
-1
| { | ||
| "name": "@rollup/wasm-node", | ||
| "version": "4.48.1", | ||
| "version": "4.49.0", | ||
| "description": "Next-generation ES module bundler with Node wasm", | ||
@@ -5,0 +5,0 @@ "main": "dist/rollup.js", |
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3325319
0.03%68673
0.02%34
3.03%