Comparing version 4.21.0 to 4.21.1
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
@@ -214,5 +214,3 @@ import type * as estree from 'estree'; | ||
export interface CustomPluginOptions { | ||
[plugin: string]: any; | ||
} | ||
export type CustomPluginOptions = Record<string, any>; | ||
@@ -280,5 +278,3 @@ type LoggingFunctionWithPosition = ( | ||
export interface ResolvedIdMap { | ||
[key: string]: ResolvedId; | ||
} | ||
export type ResolvedIdMap = Record<string, ResolvedId>; | ||
@@ -403,5 +399,3 @@ interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> { | ||
export interface OutputBundle { | ||
[fileName: string]: OutputAsset | OutputChunk; | ||
} | ||
export type OutputBundle = Record<string, OutputAsset | OutputChunk>; | ||
@@ -565,7 +559,7 @@ export interface FunctionPluginHooks { | ||
export type GlobalsOption = { [name: string]: string } | ((name: string) => string); | ||
export type GlobalsOption = Record<string, string> | ((name: string) => string); | ||
export type InputOption = string | string[] | { [entryAlias: string]: string }; | ||
export type InputOption = string | string[] | Record<string, string>; | ||
export type ManualChunksOption = { [chunkAlias: string]: string[] } | GetManualChunk; | ||
export type ManualChunksOption = Record<string, string[]> | GetManualChunk; | ||
@@ -608,3 +602,3 @@ export type LogHandlerWithDefault = ( | ||
maxParallelFileOps?: number; | ||
moduleContext?: ((id: string) => string | NullValue) | { [id: string]: string }; | ||
moduleContext?: ((id: string) => string | NullValue) | Record<string, string>; | ||
onLog?: LogHandlerWithDefault; | ||
@@ -632,3 +626,3 @@ onwarn?: WarningHandlerWithDefault; | ||
external: IsExternal; | ||
input: string[] | { [entryAlias: string]: string }; | ||
input: string[] | Record<string, string>; | ||
logLevel: LogLevelOption; | ||
@@ -827,5 +821,3 @@ makeAbsoluteExternalsRelative: boolean | 'ifRelativeSource'; | ||
export interface SerializedTimings { | ||
[label: string]: [number, number, number]; | ||
} | ||
export type SerializedTimings = Record<string, [number, number, number]>; | ||
@@ -867,9 +859,5 @@ export interface PreRenderedAsset { | ||
implicitlyLoadedBefore: string[]; | ||
importedBindings: { | ||
[imported: string]: string[]; | ||
}; | ||
importedBindings: Record<string, string[]>; | ||
imports: string[]; | ||
modules: { | ||
[id: string]: RenderedModule; | ||
}; | ||
modules: Record<string, RenderedModule>; | ||
referencedFiles: string[]; | ||
@@ -885,5 +873,3 @@ } | ||
export interface SerializablePluginCache { | ||
[key: string]: [number, any]; | ||
} | ||
export type SerializablePluginCache = Record<string, [number, any]>; | ||
@@ -960,7 +946,7 @@ export interface RollupCache { | ||
export type AwaitedEventListener< | ||
T extends { [event: string]: (...parameters: any) => any }, | ||
T extends Record<string, (...parameters: any) => any>, | ||
K extends keyof T | ||
> = (...parameters: Parameters<T[K]>) => void | Promise<void>; | ||
export interface AwaitingEventEmitter<T extends { [event: string]: (...parameters: any) => any }> { | ||
export interface AwaitingEventEmitter<T extends Record<string, (...parameters: any) => any>> { | ||
close(): Promise<void>; | ||
@@ -967,0 +953,0 @@ emit<K extends keyof T>(event: K, ...parameters: Parameters<T[K]>): Promise<unknown>; |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -6,0 +6,0 @@ https://github.com/rollup/rollup |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -421,3 +421,3 @@ https://github.com/rollup/rollup | ||
try { | ||
// eslint-disable-next-line unicorn/prefer-module, @typescript-eslint/no-require-imports | ||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
return require(pluginPath); | ||
@@ -424,0 +424,0 @@ } |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -14,5 +14,5 @@ https://github.com/rollup/rollup | ||
const index = require('./index.js'); | ||
const promises = require('node:fs/promises'); | ||
const process$2 = require('node:process'); | ||
const index = require('./index.js'); | ||
const cli = require('../bin/rollup'); | ||
@@ -543,12 +543,13 @@ const rollup = require('./rollup.js'); | ||
} | ||
async function close(code) { | ||
function close(code) { | ||
process$2.removeListener('uncaughtException', closeWithError); | ||
// removing a non-existent listener is a no-op | ||
process$2.stdin.removeListener('end', close); | ||
if (watcher) | ||
await watcher.close(); | ||
if (configWatcher) | ||
configWatcher.close(); | ||
if (code) | ||
process$2.exit(code); | ||
Promise.resolve(watcher?.close()).finally(() => { | ||
process$2.exit(typeof code === 'number' ? code : 0); | ||
}); | ||
// Tell signal-exit that we are handling this gracefully | ||
return true; | ||
} | ||
@@ -555,0 +556,0 @@ // return a promise that never resolves to keep the process running |
/* | ||
@license | ||
Rollup.js v4.21.0 | ||
Sun, 18 Aug 2024 05:55:06 GMT - commit c4bb050938778bcbe7b3b3ea3419f7fa70d60f5b | ||
Rollup.js v4.21.1 | ||
Mon, 26 Aug 2024 15:53:42 GMT - commit c33c6ceb7da712c3d14b67b81febf9303fbbd96c | ||
@@ -14,7 +14,7 @@ https://github.com/rollup/rollup | ||
const rollup = require('./rollup.js'); | ||
const path = require('node:path'); | ||
const process = require('node:process'); | ||
const rollup = require('./rollup.js'); | ||
const index = require('./index.js'); | ||
const node_os = require('node:os'); | ||
const index = require('./index.js'); | ||
require('./parseAst.js'); | ||
@@ -21,0 +21,0 @@ require('../native.js'); |
{ | ||
"name": "rollup", | ||
"version": "4.21.0", | ||
"version": "4.21.1", | ||
"description": "Next-generation ES module bundler", | ||
@@ -110,18 +110,18 @@ "main": "dist/rollup.js", | ||
"fsevents": "~2.3.2", | ||
"@rollup/rollup-darwin-arm64": "4.21.0", | ||
"@rollup/rollup-android-arm64": "4.21.0", | ||
"@rollup/rollup-win32-arm64-msvc": "4.21.0", | ||
"@rollup/rollup-linux-arm64-gnu": "4.21.0", | ||
"@rollup/rollup-linux-arm64-musl": "4.21.0", | ||
"@rollup/rollup-android-arm-eabi": "4.21.0", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.21.0", | ||
"@rollup/rollup-linux-arm-musleabihf": "4.21.0", | ||
"@rollup/rollup-win32-ia32-msvc": "4.21.0", | ||
"@rollup/rollup-linux-riscv64-gnu": "4.21.0", | ||
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.0", | ||
"@rollup/rollup-linux-s390x-gnu": "4.21.0", | ||
"@rollup/rollup-darwin-x64": "4.21.0", | ||
"@rollup/rollup-win32-x64-msvc": "4.21.0", | ||
"@rollup/rollup-linux-x64-gnu": "4.21.0", | ||
"@rollup/rollup-linux-x64-musl": "4.21.0" | ||
"@rollup/rollup-darwin-arm64": "4.21.1", | ||
"@rollup/rollup-android-arm64": "4.21.1", | ||
"@rollup/rollup-win32-arm64-msvc": "4.21.1", | ||
"@rollup/rollup-linux-arm64-gnu": "4.21.1", | ||
"@rollup/rollup-linux-arm64-musl": "4.21.1", | ||
"@rollup/rollup-android-arm-eabi": "4.21.1", | ||
"@rollup/rollup-linux-arm-gnueabihf": "4.21.1", | ||
"@rollup/rollup-linux-arm-musleabihf": "4.21.1", | ||
"@rollup/rollup-win32-ia32-msvc": "4.21.1", | ||
"@rollup/rollup-linux-riscv64-gnu": "4.21.1", | ||
"@rollup/rollup-linux-powerpc64le-gnu": "4.21.1", | ||
"@rollup/rollup-linux-s390x-gnu": "4.21.1", | ||
"@rollup/rollup-darwin-x64": "4.21.1", | ||
"@rollup/rollup-win32-x64-msvc": "4.21.1", | ||
"@rollup/rollup-linux-x64-gnu": "4.21.1", | ||
"@rollup/rollup-linux-x64-musl": "4.21.1" | ||
}, | ||
@@ -142,2 +142,3 @@ "dependencies": { | ||
"@codemirror/view": "^6.32.0", | ||
"@eslint/js": "^9.9.0", | ||
"@jridgewell/sourcemap-codec": "^1.5.0", | ||
@@ -155,4 +156,4 @@ "@mermaid-js/mermaid-cli": "^10.9.1", | ||
"@rollup/pluginutils": "^5.1.0", | ||
"@shikijs/vitepress-twoslash": "^1.12.1", | ||
"@types/eslint": "^8.56.11", | ||
"@shikijs/vitepress-twoslash": "^1.14.1", | ||
"@types/eslint": "^9.6.0", | ||
"@types/inquirer": "^9.0.7", | ||
@@ -163,6 +164,2 @@ "@types/mocha": "^10.0.7", | ||
"@types/yargs-parser": "^21.0.3", | ||
"@typescript-eslint/eslint-plugin": "^8.1.0", | ||
"@typescript-eslint/parser": "^8.1.0", | ||
"@vue/eslint-config-prettier": "^9.0.0", | ||
"@vue/eslint-config-typescript": "^13.0.0", | ||
"acorn": "^8.12.1", | ||
@@ -180,5 +177,4 @@ "acorn-import-assertions": "^1.9.0", | ||
"es6-shim": "^0.35.8", | ||
"eslint": "^8.57.0", | ||
"eslint": "^9.9.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
@@ -191,6 +187,7 @@ "eslint-plugin-unicorn": "^55.0.0", | ||
"github-api": "^3.4.0", | ||
"globals": "^15.9.0", | ||
"husky": "^9.1.4", | ||
"inquirer": "^10.1.8", | ||
"is-reference": "^3.0.2", | ||
"lint-staged": "^15.2.8", | ||
"lint-staged": "^15.2.9", | ||
"locate-character": "^3.0.0", | ||
@@ -202,8 +199,9 @@ "magic-string": "^0.30.11", | ||
"nyc": "^17.0.0", | ||
"pinia": "^2.2.1", | ||
"pinia": "^2.2.2", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-organize-imports": "^4.0.0", | ||
"pretty-bytes": "^6.1.1", | ||
"pretty-ms": "^9.1.0", | ||
"requirejs": "^2.3.7", | ||
"rollup": "^4.20.0", | ||
"rollup": "^4.21.0", | ||
"rollup-plugin-license": "^3.5.2", | ||
@@ -217,8 +215,9 @@ "rollup-plugin-string": "^3.0.0", | ||
"systemjs": "^6.15.1", | ||
"terser": "^5.31.5", | ||
"terser": "^5.31.6", | ||
"tslib": "^2.6.3", | ||
"typescript": "^5.5.4", | ||
"vite": "^5.4.0", | ||
"vitepress": "^1.3.2", | ||
"vue": "^3.4.37", | ||
"typescript-eslint": "^8.2.0", | ||
"vite": "^5.4.1", | ||
"vitepress": "^1.3.3", | ||
"vue": "^3.4.38", | ||
"wasm-pack": "^0.13.0", | ||
@@ -228,3 +227,3 @@ "yargs-parser": "^21.1.1" | ||
"overrides": { | ||
"axios": "^1.7.3", | ||
"axios": "^1.7.4", | ||
"semver": "^7.6.3", | ||
@@ -231,0 +230,0 @@ "ws": "^8.18.0" |
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
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
82
2268434
55752