rollup
Advanced tools
Comparing version 4.12.1 to 4.13.0
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -153,16 +153,12 @@ https://github.com/rollup/rollup | ||
const nestedByPlugin = nest(warnings, 'plugin'); | ||
for (const { key: plugin, items } of nestedByPlugin) { | ||
for (const { items } of nestedByPlugin) { | ||
const nestedByMessage = nest(items, 'message'); | ||
let lastUrl = ''; | ||
for (const { key: message, items } of nestedByMessage) { | ||
title(`Plugin ${plugin}: ${message}`); | ||
title(message); | ||
for (const warning of items) { | ||
if (warning.url && warning.url !== lastUrl) | ||
info((lastUrl = warning.url)); | ||
const id = warning.id || warning.loc?.file; | ||
if (id) { | ||
let loc = parseAst_js.relativeId(id); | ||
if (warning.loc) { | ||
loc += `: (${warning.loc.line}:${warning.loc.column})`; | ||
} | ||
const loc = formatLocation(warning); | ||
if (loc) { | ||
rollup.stderr(rollup.bold(loc)); | ||
@@ -214,6 +210,5 @@ } | ||
} | ||
const id = log.loc?.file || log.id; | ||
if (id) { | ||
const loc = log.loc ? `${parseAst_js.relativeId(id)} (${log.loc.line}:${log.loc.column})` : parseAst_js.relativeId(id); | ||
rollup.stderr(rollup.bold(parseAst_js.relativeId(loc))); | ||
const loc = formatLocation(log); | ||
if (loc) { | ||
rollup.stderr(rollup.bold(loc)); | ||
} | ||
@@ -266,2 +261,8 @@ if (log.frame) | ||
} | ||
function formatLocation(log) { | ||
const id = log.loc?.file || log.id; | ||
if (!id) | ||
return null; | ||
return log.loc ? `${id}:${log.loc.line}:${log.loc.column}` : id; | ||
} | ||
@@ -268,0 +269,0 @@ const stdinName = '-'; |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.12.1 | ||
Wed, 06 Mar 2024 06:02:59 GMT - commit f44dac3170a671b0978afa3af43818617904f544 | ||
Rollup.js v4.13.0 | ||
Tue, 12 Mar 2024 05:27:08 GMT - commit 1c8afed74bd81cd38ad0b373ea6b6ec382975013 | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
{ | ||
"name": "rollup", | ||
"version": "4.12.1", | ||
"version": "4.13.0", | ||
"description": "Next-generation ES module bundler", | ||
@@ -104,15 +104,15 @@ "main": "dist/rollup.js", | ||
"fsevents": "~2.3.2", | ||
"@rollup/rollup-darwin-arm64": "4.12.1", | ||
"@rollup/rollup-android-arm64": "4.12.1", | ||
"@rollup/rollup-win32-arm64-msvc": "4.12.1", | ||
"@rollup/rollup-linux-arm64-gnu": "4.12.1", | ||
"@rollup/rollup-linux-arm64-musl": "4.12.1", | ||
"@rollup/rollup-android-arm-eabi": "4.12.1", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.12.1", | ||
"@rollup/rollup-win32-ia32-msvc": "4.12.1", | ||
"@rollup/rollup-linux-riscv64-gnu": "4.12.1", | ||
"@rollup/rollup-darwin-x64": "4.12.1", | ||
"@rollup/rollup-win32-x64-msvc": "4.12.1", | ||
"@rollup/rollup-linux-x64-gnu": "4.12.1", | ||
"@rollup/rollup-linux-x64-musl": "4.12.1" | ||
"@rollup/rollup-darwin-arm64": "4.13.0", | ||
"@rollup/rollup-android-arm64": "4.13.0", | ||
"@rollup/rollup-win32-arm64-msvc": "4.13.0", | ||
"@rollup/rollup-linux-arm64-gnu": "4.13.0", | ||
"@rollup/rollup-linux-arm64-musl": "4.13.0", | ||
"@rollup/rollup-android-arm-eabi": "4.13.0", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.13.0", | ||
"@rollup/rollup-win32-ia32-msvc": "4.13.0", | ||
"@rollup/rollup-linux-riscv64-gnu": "4.13.0", | ||
"@rollup/rollup-darwin-x64": "4.13.0", | ||
"@rollup/rollup-win32-x64-msvc": "4.13.0", | ||
"@rollup/rollup-linux-x64-gnu": "4.13.0", | ||
"@rollup/rollup-linux-x64-musl": "4.13.0" | ||
}, | ||
@@ -133,3 +133,3 @@ "dependencies": { | ||
"@codemirror/state": "^6.4.1", | ||
"@codemirror/view": "^6.24.1", | ||
"@codemirror/view": "^6.25.0", | ||
"@jridgewell/sourcemap-codec": "^1.4.15", | ||
@@ -147,3 +147,3 @@ "@mermaid-js/mermaid-cli": "^10.8.0", | ||
"@rollup/pluginutils": "^5.1.0", | ||
"@types/eslint": "^8.56.3", | ||
"@types/eslint": "^8.56.5", | ||
"@types/inquirer": "^9.0.7", | ||
@@ -153,4 +153,4 @@ "@types/mocha": "^10.0.6", | ||
"@types/yargs-parser": "^21.0.3", | ||
"@typescript-eslint/eslint-plugin": "^7.1.0", | ||
"@typescript-eslint/parser": "^7.1.0", | ||
"@typescript-eslint/eslint-plugin": "^7.1.1", | ||
"@typescript-eslint/parser": "^7.1.1", | ||
"@vue/eslint-config-prettier": "^9.0.0", | ||
@@ -184,3 +184,3 @@ "@vue/eslint-config-typescript": "^12.0.0", | ||
"locate-character": "^3.0.0", | ||
"magic-string": "^0.30.7", | ||
"magic-string": "^0.30.8", | ||
"mocha": "^10.3.0", | ||
@@ -205,5 +205,5 @@ "nyc": "^15.1.0", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.1.4", | ||
"vite": "^5.1.5", | ||
"vitepress": "1.0.0-rc.39", | ||
"vue": "^3.4.20", | ||
"vue": "^3.4.21", | ||
"wasm-pack": "^0.12.1", | ||
@@ -210,0 +210,0 @@ "weak-napi": "^2.0.2", |
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
2254565
55559
16
104