Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rollup (major) #307

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 15, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rollup/plugin-typescript (source) 8.5.0 -> 11.1.5 age adoption passing confidence
rollup (source) 2.79.1 -> 4.4.0 age adoption passing confidence
rollup-plugin-dts 4.2.3 -> 6.1.0 age adoption passing confidence

Release Notes

rollup/plugins (@​rollup/plugin-typescript)

v11.1.5

Compare Source

2023-10-05

Bugfixes
  • fix: ensure rollup 4 compatibility #​1595

v11.1.4

Compare Source

2023-09-25

Bugfixes
  • fix: fix sourcemap sourcecontent referencing non-existent files #​1571

v11.1.3

Compare Source

2023-08-26

Bugfixes
  • fix: emit declaration files for type-only source files that are not explicitly included #​1555

v11.1.2

Compare Source

2023-06-28

Bugfixes
  • fix: change the value of isExternalLibraryImport to false if the resolvedModule should be compiled #​1521

v11.1.1

Compare Source

2023-05-12

Bugfixes
  • fix: Allow for using compilerOptions.moduleResolution #​1453

v11.1.0

Compare Source

2023-04-04

Features
  • feat: write declaration files in configured directory for output.file #​1378

v11.0.0

Compare Source

2023-01-06

Breaking Changes

v10.0.1

Compare Source

2022-11-28

Bugfixes

v10.0.0

Compare Source

2022-11-27

Breaking Changes
  • fix: incorrect declarations directory (a5c90d1)

v9.0.2

Compare Source

2022-10-21

Updates
  • chore: update rollup dependencies (3038271)

v9.0.1

Compare Source

2022-10-11

Bugfixes

v9.0.0

Compare Source

2022-10-10

Breaking Changes
rollup/rollup (rollup)

v4.4.0

Compare Source

2023-11-12

Features
  • Replace SWC linting with faster internal linting to error on duplicate declarations etc. (#​5207)
Bug Fixes
  • Show proper error when an entry exports non-existing bindings (#​5207)
Pull Requests

v4.3.1

Compare Source

2023-11-11

Bug Fixes
  • Fix rename error when handling errors in watch mode (#​5240)
  • Prevent warning when using --forceExit (#​5245)
Pull Requests

v4.3.0

Compare Source

2023-11-03

Features
  • Add forceExit CLI flag for situations where the CLI does not exit gracefully (#​5195)
Bug Fixes
  • Properly catch errors when removing a temporary config file fails (#​5198)
Pull Requests

v4.2.0

Compare Source

2023-10-31

Features
  • Run parsing in multiple threads and introduce parseAstAsync helper function (#​5202)
Pull Requests

v4.1.6

Compare Source

2023-10-31

Bug Fixes
  • Fix a bug where emtpy block comments in certain positions could freeze Rollup (#​5231)
Pull Requests

v4.1.5

Compare Source

2023-10-28

Bug Fixes
  • Fix an issue where actual entries that were also implicit entries could remain implicit (#​5220)
Pull Requests

v4.1.4

Compare Source

2023-10-16

Bug Fixes
Pull Requests

v4.1.3

Compare Source

2023-10-15

Bug Fixes
  • Fix WASM build as hash function was not exported (#​5203)
Pull Requests

v4.1.1

Compare Source

2023-10-15

Bug Fixes
  • Improve Node parsing performance (#​5201)
Pull Requests

v4.1.0

Compare Source

2023-10-14

Features
  • Reduce memory usage of Rollup builds (#​5133)
Pull Requests

v4.0.2

Compare Source

2023-10-06

Bug Fixes
  • Fix annotation detection logic to not fail when a non-ASCII character precedes a double underscore (#​5178)
Pull Requests

v4.0.1

Compare Source

2023-10-06

Bug Fixes
  • Do not panic on trailing semicolons after class methods (#​5173)
  • Add artifact for arm64 linux musl target (#​5176)
Pull Requests

v4.0.0

Compare Source

2023-10-05

BREAKING CHANGES
General Changes
  • The minimal required Node version is now 18.0.0 (#​5142)
  • The browser build now relies on a WASM artifact that needs to be provided as well (#​5073)
  • The NodeJS build now relies on an optional native binary; for unsupported platforms, users can use the @rollup/wasm-node package that has the same interface as Rollup but relies on WASM artifacts (#​5073)
  • The INVALID_IMPORT_ASSERTION error code has been replaced with INVALID_IMPORT_ATTRIBUTE (#​5073)
  • Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#​5165)
  • If an entry module starts with a shebang comment #!..., this comment will be prepended to the output for es and cjs formats (#​5163)
  • File hashes will now use url-safe base64 encoded hashes (#​5155)
  • The maximum hash length has been reduced to 22 characters (#​5155)
  • The RollupWarning type has been removed in favor of the RollupLog type (#​5147)
Changes to Rollup Options
  • Acorn plugins are no longer supported, the acornInjectPlugins option has been removed (#​5073)
  • The acorn option has been removed (#​5073)
  • output.externalImportAssertions has been deprecated in favor of output.externalImportAttributes (#​5073)
  • inlineDynamicImports, manualChunks and preserveModules have been removed on input option level: Please use the corresponding output options of the same names (#​5143)
  • Removed output options (#​5143):
    • output.experimentalDeepDynamicChunkOptimization: This option is no longer needed as Rollup now always runs the full chunking algorithm
    • output.dynamicImportFunction: Use the renderDynamicImport plugin hook instead
    • output.namespaceToStringTag: Use output.generatedCode.symbols instead
    • output.preferConst: Use output.generatedCode.constBindings instead
Plugin API Changes
  • For this.resolve, the default of the skipSelf option is now true (#​5142)
  • this.parse now only supports the allowReturnOutsideFunction option for now (#​5073)
  • Import assertions now use the new import attribute AST structure (#​5073)
  • "assertions" have been replaced with "attributes" in various places of the plugin interface (#​5073)
  • If the import of a module id is handled by the load hook of a plugin, rollup.watch no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling this.addWatchFile for any dependency files (#​5150)
  • The normalized input options provided by buildStart and other hooks no longer contain an onwarn handler; plugins should use onLog instead (#​5147)
  • this.moduleIds has been removed from the plugin context: Use this.getModuleIds() instead (#​5143)
  • The hasModuleSideEffects flag has been removed from the ModuleInfo returned by this.getModuleInfo(): Use moduleSideEffects on the ModuleInfo instead (#​5143)
Features
  • Improve parsing speed by switching to a native SWC-based parser (#​5073)
  • Rollup will now warn for @__PURE__ and @__NO_SIDE_EFFECTS__ annotations in invalid locations (#​5165)
  • The parser is now exposed as a separate export parseAst (#​5169)
Bug Fixes
  • Rollup no longer tries to watch virtual files if their name corresponds to an actual file name; instead, plugins handle watching via this.addWatchFile() (#​5150)
Pull Requests

v3.29.4

Compare Source

2023-09-28

Bug Fixes
  • Fix static analysis when an exported function uses callbacks (#​5158)
Pull Requests

v3.29.3

Compare Source

2023-09-24

Bug Fixes
  • Fix a bug where code was wrongly tree-shaken after mutating function parameters (#​5153)
Pull Requests

v3.29.2

Compare Source

2023-09-15

Bug Fixes
  • Export TreeshakingPreset type (#​5131)
Pull Requests

v3.29.1

Compare Source

2023-09-10

Bug Fixes
  • Fix time measurement of plugin hooks in watch mode (#​5114)
  • Ensure accessing document.currentScript in import.meta.url returns correct results (#​5118)
Pull Requests

v3.29.0

Compare Source

2023-09-06

Features
  • Add output.sourcemapFileNames option (#​5105)
  • Add generic type parameter for api to Plugin type (#​5112)
Bug Fixes
  • Ensure mutations of CustomEvent details are tracked (#​5123)
Pull Requests

v3.28.1

Compare Source

2023-08-22

Bug Fixes
  • Ensure external files with relative import paths outside the target are rendered correctly (#​5099)
Pull Requests

v3.28.0

Compare Source

2023-08-09

Features
  • Add a new property preliminaryFileName to generated chunks containing the file name placeholder (#​5086)
  • Improve performance of sourcemap generation by lazily decoding mappings (#​5087)
Bug Fixes
  • Make the code property of rendered modules in the output readonly (#​5091)
Pull Requests

v3.27.2

Compare Source

2023-08-04

Bug Fixes
  • Revert sourcemap performance improvement for now as it causes issues with Vite (#​5075)
Pull Requests

v3.27.1

Compare Source

2023-08-03

Bug Fixes
  • Improve performance when generating sourcemaps (#​5075)
Pull Requests

v3.27.0

Compare Source

2023-07-28

Features
  • Mark Object.values and Object.entries as pure if their argument does not contain getters (#​5072)
Pull Requests

v3.26.3

Compare Source

2023-07-17

Bug Fixes
  • Do not pass external modules to manualChunks to avoid breaking existing configs (#​5068)
Pull Requests

v3.26.2

Compare Source

2023-07-06

Bug Fixes
  • Improve error handling when manual chunks would contain external modules (#​5050)
Pull Requests
  • #​5050: fix: improve error for manualChunks' modules that are resolved as an external module (@​TrickyPi)

v3.26.1

Compare Source

2023-07-05

Bug Fixes
  • Support hasOwnProperty as exported name in CommonJS (#​5010)
  • Properly reference browser types in package file (#​5051)
Pull Requests

v3.26.0

Compare Source

2023-06-30

Features
  • Add --filterLogs CLI flag and ROLLUP_FILTER_LOGS environment variable for log filtering (#​5035)
Pull Requests

v3.25.3

Compare Source

2023-06-26

Bug Fixes
  • Fix error when inlining dynamic imports that contain unused reexported variables (#​5047)
Pull Requests

v3.25.2

Compare Source

2023-06-24

Bug Fixes
  • Handle plugin errors where code is not a string (#​5042)
  • Use current transformed source when generating code frames with positions in transform hooks (#​5045)
Pull Requests

v3.25.1

Compare Source

2023-06-12

Bug Fixes
  • Respect __NO_SIDE_EFFECTS__ for async functions (#​5031)
Pull Requests

v3.25.0

Compare Source

2023-06-11

Features
  • Add this.info and this.debug plugin context logging functions (#​5026)
  • Add onLog option to read, map and filter logs (#​5026)
  • Add logLevel option to fully suppress logs by level (#​5026)
  • Support function logs in this.warn, this.info and this.debug to avoid heavy computations based on log level (#​5026)
  • Add onLog plugin hook to read, filter and map logs from plugins (#​5026)
Pull Requests

v3.24.1

Compare Source

2023-06-10

Bug Fixes
  • Fix an issue where bundles with @rollup/plugin-commonjs were missing internal dependencies when code-splitting (#​5029)
  • Do not use process.exit(0) in watch mode to avoid issues in embedded scenarios (#​5027)
Pull Requests

v3.24.0

Compare Source

2023-06-07

Features
  • Add new annotation /* #__NO_SIDE_EFFECTS__ */ to mark function declarations as side effect free (#​5024)
Pull Requests
  • #​5024: feat: support #__NO_SIDE_EFFECTS__ annotation for function declaration (@​antfu)

v3.23.1

Compare Source

2023-06-04

Bug Fixes
  • Ensure the last segment of sourcemapBaseUrl is never omitted (#​5022)
Pull Requests

v3.23.0

Compare Source

2023-05-22

Features
  • Support emitting "prebuilt chunks" from plugins (#​4990)
Bug Fixes
  • Mark Sets and Maps as pure when they receive an array literal as argument (#​5005)
Pull Requests

v3.22.1

Compare Source

2023-05-21

Bug Fixes
  • Remove force quit again as it caused some issues (#​5004)
Pull Requests

v3.22.0

Compare Source

2023-05-17

Features
  • Prevent empty non-facade chunks by merging them into other suitable chunks (#​4989)
  • Avoid facade chunks in some situations involving reexports (#​4989)
  • Improve algorithm for best merge target when using experimentalMinChunkSize to take tree-shaking into account (#​4989)
Bug Fixes
  • Take side effects of external dependencies into account when merging chunks for experimentalMinChunkSize (#​4989)
Pull Requests

v3.21.8

Compare Source

2023-05-16

Bug Fixes
  • Allow a namespace to properly contain itself as a named export (#​4991)
Pull Requests

v3.21.7

Compare Source

2023-05-13

Bug Fixes
  • Show correct error on uncaught exceptions in watch mode (#​4987)
Pull Requests

v3.21.6

Compare Source

2023-05-09

Bug Fixes
  • Ensure Rollup CLI prints everything to stdout before exiting (#​4980)
Pull Requests

v3.21.5

Compare Source

2023-05-05

Bug Fixes
  • Keep all consecutive lines at the top of each module that start with a comment (#​4975)
  • Ensure that declarations inside switch cases do not use the same scope as the discriminator (#​4979)
Pull Requests

v3.21.4

Compare Source

2023-05-03

Bug Fixes
  • Resolve crash when shimming a missing export in an otherwise non-included module when preserving modules (#​4971)
Pull Requests

v3.21.3

Compare Source

2023-05-02

Bug Fixes
  • Run process.exit() when Rollup CLI finishes successfully to solve issues on some systems (#​4969)
Pull Requests

v3.21.2

Compare Source

2023-04-30

Bug Fixes
  • Mark global functions that trigger iterators as impure for now (#​4955)
Pull Requests

v3.21.1

Compare Source

2023-04-29

Bug Fixes
  • Make sure call arguments are properly deoptimized when a function uses the arguments variable (#​4965)
Pull Requests

v3.21.0

Compare Source

2023-04-23

Features
  • Support tree-shaking of named exports in dynamic imports when using destructuring and similar patterns (#​4952)
Pull Requests

v3.20.7

Compare Source

2023-04-21

Bug Fixes
  • Properly track array element mutations when iterating with a for-of loop (#​4949)
  • Handle default exporting an anonymous class that extends another class (#​4950)
Pull Requests

v3.20.6

Compare Source

2023-04-18

Bug Fixes
  • Revert handling of non-JS import and export names due to regressions (#​4914)
Pull Requests

v3.20.5

Compare Source

2023-04-18

Bug Fixes
  • Handle import and export names that are not valid JavaScript identifiers (#​4939)
Pull Requests

v3.20.4

Compare Source

2023-04-17

Bug Fixes
  • Do not remove breaks statements after switch statements with conditional breaks (#​4937)
Pull Requests

v3.20.3

Compare Source

2023-04-16

Bu

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the enhancement New feature or request label Oct 15, 2022
@github-actions
Copy link

github-actions bot commented Oct 15, 2022

Fails
🚫

Danger failed to run dangerfile.js.

Error SyntaxError

Cannot use import statement outside a module
/home/runner/work/draftjs-filters/draftjs-filters/node_modules/semantic-release/index.js:1
import { createRequire } from "node:module";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1178:20)
    at Module._compile (node:internal/modules/cjs/loader:1220:27)
    at Object.customModuleHandler (/home/runner/work/draftjs-filters/draftjs-filters/node_modules/danger/distribution/runner/runners/inline.js:129:28)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at _module2.default._load (/home/runner/work/draftjs-filters/draftjs-filters/node_modules/override-require/dist/overrideRequire.js:43:25)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (dangerfile.js:2:25)

Dangerfile

68|   const packageDiff = await danger.git.JSONDiffForFile("package.json")
69| 
70|   if (packageDiff.dependencies) {
71|     const added = packageDiff.dependencies.added
72|     const removed = packageDiff.dependencies.removed
--------------------^
73| 
74|     if (added.length) {
75|       const deps = danger.utils.sentence(added.map((d) => linkDep(d)))
76|       message(`Adding new dependencies: ${deps}`)

Generated by 🚫 dangerJS against 9738969

@renovate renovate bot force-pushed the renovate/major-rollup branch 7 times, most recently from 5177b2c to e1e293c Compare October 21, 2022 21:36
@renovate renovate bot force-pushed the renovate/major-rollup branch 5 times, most recently from 7757991 to 527cb64 Compare November 5, 2022 10:41
@renovate renovate bot force-pushed the renovate/major-rollup branch 3 times, most recently from f9c9371 to c3158f9 Compare November 19, 2022 06:58
@renovate renovate bot force-pushed the renovate/major-rollup branch 6 times, most recently from 41c8f1c to 0880338 Compare November 28, 2022 17:10
@renovate renovate bot force-pushed the renovate/major-rollup branch 3 times, most recently from df81e0b to 613dec9 Compare December 5, 2022 12:00
@renovate renovate bot force-pushed the renovate/major-rollup branch 3 times, most recently from 764bce5 to 4a2e0a9 Compare December 10, 2022 03:34
@renovate renovate bot force-pushed the renovate/major-rollup branch 2 times, most recently from 790425f to 834eb60 Compare September 30, 2023 04:46
@renovate renovate bot force-pushed the renovate/major-rollup branch 5 times, most recently from 9738969 to c56454b Compare October 7, 2023 09:27
@renovate renovate bot force-pushed the renovate/major-rollup branch 6 times, most recently from d04fd69 to d8ae9cd Compare October 21, 2023 04:37
@renovate renovate bot force-pushed the renovate/major-rollup branch 4 times, most recently from a036088 to 2c418ff Compare October 28, 2023 05:10
@renovate renovate bot force-pushed the renovate/major-rollup branch 5 times, most recently from 857472e to b56c986 Compare November 4, 2023 03:08
@renovate renovate bot force-pushed the renovate/major-rollup branch 4 times, most recently from ccc418f to d849c6e Compare November 12, 2023 06:47
| datasource | package                   | from   | to     |
| ---------- | ------------------------- | ------ | ------ |
| npm        | @rollup/plugin-typescript | 8.5.0  | 11.1.5 |
| npm        | rollup                    | 2.79.1 | 4.4.0  |
| npm        | rollup-plugin-dts         | 4.2.3  | 6.1.0  |
@thibaudcolas thibaudcolas deleted the renovate/major-rollup branch August 13, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant