Sorry, the diff of this file is too big to display
| import type { MergedRollupOptions, RollupWarning } from './rollup'; | ||
| export interface BatchWarnings { | ||
| add: (warning: RollupWarning) => void; | ||
| readonly count: number; | ||
| flush: () => void; | ||
| readonly warningOccurred: boolean; | ||
| } | ||
| export type LoadConfigFile = typeof loadConfigFile; | ||
| export function loadConfigFile( | ||
| fileName: string, | ||
| commandOptions: any | ||
| ): Promise<{ | ||
| options: MergedRollupOptions[]; | ||
| warnings: BatchWarnings; | ||
| }>; |
| /* | ||
| @license | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
| https://github.com/rollup/rollup | ||
| Released under the MIT License. | ||
| */ | ||
| 'use strict'; | ||
| let fsEvents; | ||
| let fsEventsImportError; | ||
| async function loadFsEvents() { | ||
| try { | ||
| ({ default: fsEvents } = await import('fsevents')); | ||
| } | ||
| catch (error) { | ||
| fsEventsImportError = error; | ||
| } | ||
| } | ||
| // A call to this function will be injected into the chokidar code | ||
| function getFsEvents() { | ||
| if (fsEventsImportError) | ||
| throw fsEventsImportError; | ||
| return fsEvents; | ||
| } | ||
| const fseventsImporter = /*#__PURE__*/Object.defineProperty({ | ||
| __proto__: null, | ||
| getFsEvents, | ||
| loadFsEvents | ||
| }, Symbol.toStringTag, { value: 'Module' }); | ||
| exports.fseventsImporter = fseventsImporter; | ||
| exports.loadFsEvents = loadFsEvents; | ||
| //# sourceMappingURL=fsevents-importer.js.map |
| /* | ||
| @license | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
| https://github.com/rollup/rollup | ||
| Released under the MIT License. | ||
| */ | ||
| 'use strict'; | ||
| const rollup = require('./rollup.js'); | ||
| const fseventsImporter = require('./fsevents-importer.js'); | ||
| class WatchEmitter { | ||
| constructor() { | ||
| this.currentHandlers = Object.create(null); | ||
| this.persistentHandlers = Object.create(null); | ||
| } | ||
| // Will be overwritten by Rollup | ||
| async close() { } | ||
| emit(event, ...parameters) { | ||
| return Promise.all([...this.getCurrentHandlers(event), ...this.getPersistentHandlers(event)].map(handler => handler(...parameters))); | ||
| } | ||
| off(event, listener) { | ||
| const listeners = this.persistentHandlers[event]; | ||
| if (listeners) { | ||
| // A hack stolen from "mitt": ">>> 0" does not change numbers >= 0, but -1 | ||
| // (which would remove the last array element if used unchanged) is turned | ||
| // into max_int, which is outside the array and does not change anything. | ||
| listeners.splice(listeners.indexOf(listener) >>> 0, 1); | ||
| } | ||
| return this; | ||
| } | ||
| on(event, listener) { | ||
| this.getPersistentHandlers(event).push(listener); | ||
| return this; | ||
| } | ||
| onCurrentRun(event, listener) { | ||
| this.getCurrentHandlers(event).push(listener); | ||
| return this; | ||
| } | ||
| once(event, listener) { | ||
| const selfRemovingListener = (...parameters) => { | ||
| this.off(event, selfRemovingListener); | ||
| return listener(...parameters); | ||
| }; | ||
| this.on(event, selfRemovingListener); | ||
| return this; | ||
| } | ||
| removeAllListeners() { | ||
| this.removeListenersForCurrentRun(); | ||
| this.persistentHandlers = Object.create(null); | ||
| return this; | ||
| } | ||
| removeListenersForCurrentRun() { | ||
| this.currentHandlers = Object.create(null); | ||
| return this; | ||
| } | ||
| getCurrentHandlers(event) { | ||
| return this.currentHandlers[event] || (this.currentHandlers[event] = []); | ||
| } | ||
| getPersistentHandlers(event) { | ||
| return this.persistentHandlers[event] || (this.persistentHandlers[event] = []); | ||
| } | ||
| } | ||
| function watch(configs) { | ||
| const emitter = new WatchEmitter(); | ||
| watchInternal(configs, emitter).catch(error => { | ||
| rollup.handleError(error); | ||
| }); | ||
| return emitter; | ||
| } | ||
| async function watchInternal(configs, emitter) { | ||
| const optionsList = await Promise.all(rollup.ensureArray(configs).map(config => rollup.mergeOptions(config))); | ||
| const watchOptionsList = optionsList.filter(config => config.watch !== false); | ||
| if (watchOptionsList.length === 0) { | ||
| return rollup.error(rollup.errorInvalidOption('watch', rollup.URL_WATCH, 'there must be at least one config where "watch" is not set to "false"')); | ||
| } | ||
| await fseventsImporter.loadFsEvents(); | ||
| const { Watcher } = await Promise.resolve().then(() => require('./watch.js')); | ||
| new Watcher(watchOptionsList, emitter); | ||
| } | ||
| exports.watch = watch; | ||
| //# sourceMappingURL=watch-proxy.js.map |
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -10,3 +10,3 @@ https://github.com/rollup/rollup | ||
| */ | ||
| export { version as VERSION, defineConfig, rollup, watch } from './shared/rollup.js'; | ||
| export { version as VERSION, defineConfig, rollup, watch } from './shared/node-entry.js'; | ||
| import 'node:path'; | ||
@@ -13,0 +13,0 @@ import 'path'; |
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -20,2 +20,3 @@ https://github.com/rollup/rollup | ||
| const loadConfigFile_js = require('./shared/loadConfigFile.js'); | ||
| require('tty'); | ||
| require('path'); | ||
@@ -25,3 +26,2 @@ require('node:perf_hooks'); | ||
| require('node:events'); | ||
| require('tty'); | ||
@@ -28,0 +28,0 @@ |
+25
-5
@@ -55,4 +55,5 @@ export const VERSION: string; | ||
| sources: string[]; | ||
| sourcesContent?: string[]; | ||
| sourcesContent?: (string | null)[]; | ||
| version: number; | ||
| x_google_ignoreList?: number[]; | ||
| } | ||
@@ -66,4 +67,5 @@ | ||
| sources: string[]; | ||
| sourcesContent?: string[]; | ||
| sourcesContent?: (string | null)[]; | ||
| version: number; | ||
| x_google_ignoreList?: number[]; | ||
| } | ||
@@ -84,3 +86,3 @@ | ||
| sources: string[]; | ||
| sourcesContent: string[]; | ||
| sourcesContent: (string | null)[]; | ||
| version: number; | ||
@@ -139,2 +141,3 @@ toString(): string; | ||
| name?: string; | ||
| needsCodeReference?: boolean; | ||
| source?: string | Uint8Array; | ||
@@ -223,2 +226,3 @@ type: 'asset'; | ||
| id: string; | ||
| resolvedBy: string; | ||
| } | ||
@@ -233,2 +237,3 @@ | ||
| id: string; | ||
| resolvedBy?: string; | ||
| } | ||
@@ -238,2 +243,4 @@ | ||
| export type ResolveIdResultWithoutNullValue = string | false | PartialResolvedId; | ||
| export type ResolveIdHook = ( | ||
@@ -257,3 +264,3 @@ this: PluginContext, | ||
| } | ||
| ) => boolean; | ||
| ) => boolean | NullValue; | ||
@@ -514,2 +521,6 @@ export type IsExternal = ( | ||
| ) => string; | ||
| export type SourcemapIgnoreListOption = ( | ||
| relativeSourcePath: string, | ||
| sourcemapPath: string | ||
| ) => boolean; | ||
@@ -521,5 +532,6 @@ export type InputPluginOption = MaybePromise<Plugin | NullValue | false | InputPluginOption[]>; | ||
| acornInjectPlugins?: (() => unknown)[] | (() => unknown); | ||
| cache?: false | RollupCache; | ||
| cache?: boolean | RollupCache; | ||
| context?: string; | ||
| experimentalCacheExpiry?: number; | ||
| experimentalLogSideEffects?: boolean; | ||
| external?: ExternalOption; | ||
@@ -559,2 +571,3 @@ /** @deprecated Use the "inlineDynamicImports" output option instead. */ | ||
| experimentalCacheExpiry: number; | ||
| experimentalLogSideEffects: boolean; | ||
| external: IsExternal; | ||
@@ -657,2 +670,4 @@ /** @deprecated Use the "inlineDynamicImports" output option instead. */ | ||
| esModule?: boolean | 'if-default-prop'; | ||
| /** @deprecated This option is no longer needed and ignored. */ | ||
| experimentalDeepDynamicChunkOptimization?: boolean; | ||
| experimentalMinChunkSize?: number; | ||
@@ -693,2 +708,3 @@ exports?: 'default' | 'named' | 'none' | 'auto'; | ||
| sourcemapFile?: string; | ||
| sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption; | ||
| sourcemapPathTransform?: SourcemapPathTransformOption; | ||
@@ -712,2 +728,4 @@ strict?: boolean; | ||
| esModule: boolean | 'if-default-prop'; | ||
| /** @deprecated This option is no longer needed and ignored. */ | ||
| experimentalDeepDynamicChunkOptimization: boolean; | ||
| experimentalMinChunkSize: number; | ||
@@ -747,2 +765,3 @@ exports: 'default' | 'named' | 'none' | 'auto'; | ||
| sourcemapFile: string | undefined; | ||
| sourcemapIgnoreList: SourcemapIgnoreListOption; | ||
| sourcemapPathTransform: SourcemapPathTransformOption | undefined; | ||
@@ -772,2 +791,3 @@ strict: boolean; | ||
| fileName: string; | ||
| needsCodeReference: boolean; | ||
| } | ||
@@ -774,0 +794,0 @@ |
+7
-5
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -15,5 +15,7 @@ https://github.com/rollup/rollup | ||
| const rollup = require('./shared/rollup.js'); | ||
| const watchProxy = require('./shared/watch-proxy.js'); | ||
| require('node:process'); | ||
| require('tty'); | ||
| require('node:path'); | ||
| require('path'); | ||
| require('node:process'); | ||
| require('node:perf_hooks'); | ||
@@ -23,3 +25,3 @@ require('node:crypto'); | ||
| require('node:events'); | ||
| require('tty'); | ||
| require('./shared/fsevents-importer.js'); | ||
@@ -31,3 +33,3 @@ | ||
| exports.rollup = rollup.rollup; | ||
| exports.watch = rollup.watch; | ||
| exports.watch = watchProxy.watch; | ||
| //# sourceMappingURL=rollup.js.map |
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -92,3 +92,3 @@ https://github.com/rollup/rollup | ||
| title('Use of eval is strongly discouraged'); | ||
| info('https://rollupjs.org/guide/en/#avoiding-eval'); | ||
| info(rollup.getRollupUrl(rollup.URL_AVOIDING_EVAL)); | ||
| showTruncatedWarnings(warnings); | ||
@@ -98,3 +98,3 @@ }, | ||
| title('Missing exports'); | ||
| info('https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module'); | ||
| info(rollup.getRollupUrl(rollup.URL_NAME_IS_NOT_EXPORTED)); | ||
| for (const warning of warnings) { | ||
@@ -108,3 +108,3 @@ rollup.stderr(rollup.bold(rollup.relativeId(warning.id))); | ||
| title(`Missing global variable ${warnings.length > 1 ? 'names' : 'name'}`); | ||
| info('https://rollupjs.org/guide/en/#outputglobals'); | ||
| info(rollup.getRollupUrl(rollup.URL_OUTPUT_GLOBALS)); | ||
| rollup.stderr(`Use "output.globals" to specify browser global variable names corresponding to external modules:`); | ||
@@ -117,3 +117,3 @@ for (const warning of warnings) { | ||
| title('Mixing named and default exports'); | ||
| info(`https://rollupjs.org/guide/en/#outputexports`); | ||
| info(rollup.getRollupUrl(rollup.URL_OUTPUT_EXPORTS)); | ||
| rollup.stderr(rollup.bold('The following entry modules are using named and default exports together:')); | ||
@@ -162,3 +162,3 @@ warnings.sort((a, b) => (a.id < b.id ? -1 : 1)); | ||
| title(`Broken sourcemap`); | ||
| info('https://rollupjs.org/guide/en/#warning-sourcemap-is-likely-to-be-incorrect'); | ||
| info(rollup.getRollupUrl(rollup.URL_SOURCEMAP_IS_LIKELY_TO_BE_INCORRECT)); | ||
| const plugins = [...new Set(warnings.map(({ plugin }) => plugin).filter(Boolean))]; | ||
@@ -169,3 +169,3 @@ rollup.stderr(`Plugins that transform code (such as ${rollup.printQuotedStringList(plugins)}) should generate accompanying sourcemaps.`); | ||
| title('"this" has been rewritten to "undefined"'); | ||
| info('https://rollupjs.org/guide/en/#error-this-is-undefined'); | ||
| info(rollup.getRollupUrl(rollup.URL_THIS_IS_UNDEFINED)); | ||
| showTruncatedWarnings(warnings); | ||
@@ -175,3 +175,3 @@ }, | ||
| title('Unresolved dependencies'); | ||
| info('https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency'); | ||
| info(rollup.getRollupUrl(rollup.URL_TREATING_MODULE_AS_EXTERNAL_DEPENDENCY)); | ||
| const dependencies = new Map(); | ||
@@ -397,3 +397,3 @@ for (const warning of warnings) { | ||
| async function loadConfigFile(fileName, commandOptions = {}) { | ||
| const loadConfigFile = async (fileName, commandOptions = {}) => { | ||
| const configs = await getConfigList(getDefaultFromCjs(await getConfigFileExport(fileName, commandOptions)), commandOptions); | ||
@@ -414,3 +414,3 @@ const warnings = batchWarnings(); | ||
| } | ||
| } | ||
| }; | ||
| async function getConfigFileExport(fileName, commandOptions) { | ||
@@ -417,0 +417,0 @@ if (commandOptions.configPlugin || commandOptions.bundleConfigAsCjs) { |
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -23,2 +23,3 @@ https://github.com/rollup/rollup | ||
| const node_child_process = require('node:child_process'); | ||
| const watchProxy = require('./watch-proxy.js'); | ||
| require('fs'); | ||
@@ -29,7 +30,8 @@ require('util'); | ||
| require('os'); | ||
| require('./fsevents-importer.js'); | ||
| require('node:path'); | ||
| require('tty'); | ||
| require('node:perf_hooks'); | ||
| require('node:crypto'); | ||
| require('node:events'); | ||
| require('tty'); | ||
| require('node:url'); | ||
@@ -454,3 +456,3 @@ | ||
| async function start(configs, warnings) { | ||
| watcher = rollup.watch(configs); | ||
| watcher = watchProxy.watch(configs); | ||
| watcher.on('event', event => { | ||
@@ -457,0 +459,0 @@ switch (event.code) { |
| /* | ||
| @license | ||
| Rollup.js v3.9.1 | ||
| Mon, 02 Jan 2023 13:46:34 GMT - commit c6c884433e748cde70f3f4299dd48b81af97ec14 | ||
| Rollup.js v3.20.5 | ||
| Tue, 18 Apr 2023 05:00:18 GMT - commit 8411bd07421c8b02b53722fb943cb96700a6e058 | ||
@@ -19,2 +19,3 @@ https://github.com/rollup/rollup | ||
| const index = require('./index.js'); | ||
| require('tty'); | ||
| require('path'); | ||
@@ -25,3 +26,2 @@ require('node:perf_hooks'); | ||
| require('node:events'); | ||
| require('tty'); | ||
| require('fs'); | ||
@@ -31,2 +31,3 @@ require('util'); | ||
| require('os'); | ||
| require('./fsevents-importer.js'); | ||
| require('events'); | ||
@@ -33,0 +34,0 @@ |
+0
-29
@@ -631,31 +631,2 @@ # Rollup core license | ||
| ## sourcemap-codec | ||
| License: MIT | ||
| By: Rich Harris | ||
| Repository: https://github.com/Rich-Harris/sourcemap-codec | ||
| > The MIT License | ||
| > | ||
| > Copyright (c) 2015 Rich Harris | ||
| > | ||
| > Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| > of this software and associated documentation files (the "Software"), to deal | ||
| > in the Software without restriction, including without limitation the rights | ||
| > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| > copies of the Software, and to permit persons to whom the Software is | ||
| > furnished to do so, subject to the following conditions: | ||
| > | ||
| > The above copyright notice and this permission notice shall be included in | ||
| > all copies or substantial portions of the Software. | ||
| > | ||
| > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| > THE SOFTWARE. | ||
| --------------------------------------- | ||
| ## time-zone | ||
@@ -662,0 +633,0 @@ License: MIT |
+53
-27
| { | ||
| "name": "rollup", | ||
| "version": "3.9.1", | ||
| "version": "3.20.5", | ||
| "description": "Next-generation ES module bundler", | ||
@@ -13,4 +13,7 @@ "main": "dist/rollup.js", | ||
| "build": "rollup --config rollup.config.ts --configPlugin typescript", | ||
| "dev": "vitepress dev docs", | ||
| "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest", | ||
| "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript", | ||
| "build:docs": "vitepress build docs", | ||
| "preview:docs": "vitepress preview docs", | ||
| "ci:lint": "concurrently 'npm:lint:js:nofix' 'npm:lint:markdown:nofix'", | ||
@@ -30,3 +33,5 @@ "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all", | ||
| "release": "node scripts/release.js", | ||
| "release:docs": "git fetch --update-head-ok origin master:master && git branch --force documentation-published master && git push origin documentation-published", | ||
| "test": "npm run build && npm run test:all", | ||
| "test:update-snapshots": "node scripts/update-snapshots.js", | ||
| "test:cjs": "npm run build:cjs && npm run test:only", | ||
@@ -63,10 +68,19 @@ "test:quick": "mocha -b test/test.js", | ||
| "devDependencies": { | ||
| "@rollup/plugin-alias": "^4.0.2", | ||
| "@rollup/plugin-buble": "^1.0.1", | ||
| "@rollup/plugin-commonjs": "^24.0.0", | ||
| "@codemirror/commands": "^6.2.1", | ||
| "@codemirror/lang-javascript": "^6.1.4", | ||
| "@codemirror/language": "^6.6.0", | ||
| "@codemirror/search": "^6.2.3", | ||
| "@codemirror/state": "^6.2.0", | ||
| "@codemirror/view": "^6.9.2", | ||
| "@jridgewell/sourcemap-codec": "^1.4.14", | ||
| "@mermaid-js/mermaid-cli": "^10.0.2", | ||
| "@rollup/plugin-alias": "^4.0.3", | ||
| "@rollup/plugin-buble": "^1.0.2", | ||
| "@rollup/plugin-commonjs": "^24.0.1", | ||
| "@rollup/plugin-json": "^6.0.0", | ||
| "@rollup/plugin-node-resolve": "^15.0.1", | ||
| "@rollup/plugin-replace": "^5.0.2", | ||
| "@rollup/plugin-typescript": "^10.0.1", | ||
| "@rollup/pluginutils": "^5.0.0", | ||
| "@rollup/plugin-terser": "^0.4.0", | ||
| "@rollup/plugin-typescript": "^11.0.0", | ||
| "@rollup/pluginutils": "^5.0.2", | ||
| "@types/estree": "1.0.0", | ||
@@ -76,5 +90,7 @@ "@types/node": "^14.18.36", | ||
| "@types/yargs-parser": "^21.0.0", | ||
| "@typescript-eslint/eslint-plugin": "^5.47.1", | ||
| "@typescript-eslint/parser": "^5.47.1", | ||
| "acorn": "^8.8.1", | ||
| "@typescript-eslint/eslint-plugin": "^5.54.1", | ||
| "@typescript-eslint/parser": "^5.54.1", | ||
| "@vue/eslint-config-prettier": "^7.1.0", | ||
| "@vue/eslint-config-typescript": "^11.0.2", | ||
| "acorn": "^8.8.2", | ||
| "acorn-import-assertions": "^1.8.0", | ||
@@ -88,10 +104,12 @@ "acorn-jsx": "^5.3.2", | ||
| "concurrently": "^7.6.0", | ||
| "core-js": "^3.27.1", | ||
| "core-js": "^3.29.0", | ||
| "date-time": "^4.0.0", | ||
| "es5-shim": "^4.6.7", | ||
| "es6-shim": "^0.35.7", | ||
| "eslint": "^8.31.0", | ||
| "eslint-config-prettier": "^8.5.0", | ||
| "eslint": "^8.35.0", | ||
| "eslint-config-prettier": "^8.7.0", | ||
| "eslint-plugin-import": "^2.27.5", | ||
| "eslint-plugin-prettier": "^4.2.1", | ||
| "eslint-plugin-unicorn": "^45.0.2", | ||
| "eslint-plugin-unicorn": "^46.0.0", | ||
| "eslint-plugin-vue": "^9.9.0", | ||
| "fixturify": "^3.0.0", | ||
@@ -102,18 +120,18 @@ "flru": "^1.0.2", | ||
| "hash.js": "^1.1.7", | ||
| "husky": "^8.0.2", | ||
| "husky": "^8.0.3", | ||
| "inquirer": "^9.1.4", | ||
| "is-reference": "^3.0.0", | ||
| "lint-staged": "^13.1.0", | ||
| "is-reference": "^3.0.1", | ||
| "lint-staged": "^13.1.2", | ||
| "locate-character": "^2.0.5", | ||
| "magic-string": "^0.27.0", | ||
| "magic-string": "^0.30.0", | ||
| "mocha": "^10.2.0", | ||
| "nyc": "^15.1.0", | ||
| "prettier": "^2.8.1", | ||
| "pretty-bytes": "^6.0.0", | ||
| "pinia": "^2.0.33", | ||
| "prettier": "^2.8.4", | ||
| "pretty-bytes": "^6.1.0", | ||
| "pretty-ms": "^8.0.0", | ||
| "requirejs": "^2.3.6", | ||
| "rollup": "^2.79.1", | ||
| "rollup": "^3.18.0", | ||
| "rollup-plugin-license": "^3.0.1", | ||
| "rollup-plugin-string": "^3.0.0", | ||
| "rollup-plugin-terser": "^7.0.2", | ||
| "rollup-plugin-thatworks": "^1.0.4", | ||
@@ -125,10 +143,14 @@ "semver": "^7.3.8", | ||
| "source-map-support": "^0.5.21", | ||
| "sourcemap-codec": "^1.4.8", | ||
| "systemjs": "^6.13.0", | ||
| "terser": "^5.16.1", | ||
| "tslib": "^2.4.1", | ||
| "typescript": "^4.9.4", | ||
| "systemjs": "^6.14.0", | ||
| "terser": "^5.16.5", | ||
| "tslib": "^2.5.0", | ||
| "typescript": "^4.9.5", | ||
| "vitepress": "^1.0.0-alpha.50", | ||
| "vue": "^3.2.47", | ||
| "weak-napi": "^2.0.2", | ||
| "yargs-parser": "^21.1.1" | ||
| }, | ||
| "overrides": { | ||
| "d3": "7.8.0" | ||
| }, | ||
| "files": [ | ||
@@ -150,5 +172,9 @@ "dist/**/*.js", | ||
| }, | ||
| "./loadConfigFile": "./dist/loadConfigFile.js", | ||
| "./loadConfigFile": { | ||
| "types": "./dist/loadConfigFile.d.ts", | ||
| "require": "./dist/loadConfigFile.js", | ||
| "default": "./dist/loadConfigFile.js" | ||
| }, | ||
| "./dist/*": "./dist/*" | ||
| } | ||
| } |
+2
-2
| <p align="center"> | ||
| <a href="https://rollupjs.org/"><img src="https://rollupjs.org/logo.svg" width="150" /></a> | ||
| <a href="https://rollupjs.org/"><img src="https://rollupjs.org/rollup-logo.svg" width="150" /></a> | ||
| </p> | ||
@@ -38,3 +38,3 @@ | ||
| Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](https://rollupjs.org/#command-line-reference) with an optional configuration file or else through its [JavaScript API](https://rollupjs.org/guide/en/#javascript-api). Run `rollup --help` to see the available options and parameters. The starter project templates, [rollup-starter-lib](https://github.com/rollup/rollup-starter-lib) and [rollup-starter-app](https://github.com/rollup/rollup-starter-app), demonstrate common configuration options, and more detailed instructions are available throughout the [user guide](https://rollupjs.org/). | ||
| Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](https://rollupjs.org/command-line-interface/) with an optional configuration file or else through its [JavaScript API](https://rollupjs.org/javascript-api/). Run `rollup --help` to see the available options and parameters. The starter project templates, [rollup-starter-lib](https://github.com/rollup/rollup-starter-lib) and [rollup-starter-app](https://github.com/rollup/rollup-starter-app), demonstrate common configuration options, and more detailed instructions are available throughout the [user guide](https://rollupjs.org/introduction/). | ||
@@ -41,0 +41,0 @@ ### Commands |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
2428885
3.19%19
18.75%59737
2.68%79
21.54%455
17.27%