react-gh-like-diff
react-gh-like-diff copied to clipboard
chore(deps): update dependency rollup to v2.79.2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| rollup (source) | 2.7.6 -> 2.79.2 |
Release Notes
rollup/rollup (rollup)
v2.79.2
v2.79.1
2022-09-22
Bug Fixes
- Avoid massive performance degradation when creating thousands of chunks (#4643)
Pull Requests
- #4639: fix: typo docs and contributors link in CONTRIBUTING.md (@takurinton)
- #4641: Update type definition of resolveId (@ivanjonas)
- #4643: Improve performance of chunk naming collision check (@lukastaegert)
v2.79.0
2022-08-31
Features
- Add
amd.forceJsExtensionForImportsto enforce using.jsextensions for relative AMD imports (#4607)
Pull Requests
v2.78.1
2022-08-19
Bug Fixes
- Avoid inferring "arguments" as name for a default export placeholder variable (#4613)
Pull Requests
- #4613: Prevent using arguments for generated variable names (@lukastaegert)
v2.78.0
2022-08-14
Features
- Support writing plugin hooks as objects with a "handler" property (#4600)
- Allow changing execution order per plugin hook (#4600)
- Add flag to execute plugins in async parallel hooks sequentially (#4600)
Pull Requests
- #4600: Allow using objects as hooks to change execution order (@lukastaegert)
v2.77.3
2022-08-11
Bug Fixes
- Correctly resolve preserveModulesRoot in Vite (#4591)
Pull Requests
- #4591: resolve currentPath (@cleverpp)
v2.77.2
2022-07-27
Bug Fixes
- Avoid a rendering failure when mixing outputs with inlined and non-inlined dynamic imports (#4589)
Pull Requests
- #4589: Handle generating non-inlined imports after inlined ones (@lukastaegert)
v2.77.1
2022-07-26
Bug Fixes
- Ensure IIFE output generates a global variable when generating ES5 (#4588)
Pull Requests
- #4577: broken link removed (@Jawad-H)
- #4580: Update dependencies (@lukastaegert)
- #4584: Documentation clarity and syntax improvements (@berniegp)
- #4588: Use var for IIFE (@lukastaegert)
v2.77.0
2022-07-15
Features
- Introduce
maxParallelFileOpsto limit both read and write operations, default to 20 and replacesmaxParallelFileRead(#4570)
Bug Fixes
- Avoid including variables referenced from return statements that are never reached (#4573)
Pull Requests
- #4570: Introduce maxParallelFileOps to limit parallel writes (@lukastaegert)
- #4572: Document more ways to read package.json in ESM (@berniegp)
- #4573: Do not include unused return expressions (@lukastaegert)
v2.76.0
2022-07-08
Features
- Allow setting a
sourcmapBaseUrlfor absolute paths in sourcemaps (#4527)
Bug Fixes
- Support absolute CLI plugin paths on Windows (#4533)
Pull Requests
- #4527: Add sourcemapBaseUrl option (@nickgarlis)
- #4533: Add support for absolute plugin paths (@ygoe)
- #4538: chore: Included githubactions in the dependabot config (@naveensrinivasan)
- #4546: Adapt Node versions on CI to prepare for v3 (@lukastaegert)
- #4556: Improve error message for invalid patterns (@DysphoricUnicorn)
- #4559: Update dependencies (@lukastaegert)
- #4560: Bump peter-evans/create-or-update-comment from 1 to 2 (@dependabot)
- #4561: Bump peter-evans/find-comment from 1 to 2 (@dependabot)
- #4562: Bump codecov/codecov-action from 1 to 3 (@dependabot)
v2.75.7
2022-06-20
Bug Fixes
- Mark Array.prototype.group/groupToMap as side effect free. (#4531)
Pull Requests
- #4523: chore: remove source map workaround, bump deps (@dnalborczyk)
- #4525: Add regression tests for instanceof (@lukastaegert)
- #4528: chore: Set permissions for GitHub actions (@naveensrinivasan)
- #4531: fix: rename Array.prototype.group/groupToMap (@dnalborczyk)
- #4535: chore: bump resolve from 1.22.0 to 1.22.1 (@pos777)
v2.75.6
2022-06-07
Bug Fixes
- Properly deoptimize "this" when using member expressions with getters/setters in for loops and update expressions (#4522)
Pull Requests
- #4522: Refactor side effect handling for property interactions (@lukastaegert)
v2.75.5
2022-06-01
Bug Fixes
- Avoid crashes when using logical expressions for unused constructor arguments (#4519)
- Fix missing parameter defaults for calls from try statements and functions returned by functions (#4520)
Pull Requests
- #4519: Try to make logical expression deoptimization more robust (@lukastaegert)
- #4520: Roll back parameter default tree shaking (@lukastaegert)
v2.75.4
2022-05-31
Bug Fixes
- Ensure parameter defaults are retained when a function is used as an object property (#4516)
Pull Requests
- #4516: Deoptimize parameter defaults when referenced from object/array/class literals (@lukastaegert)
v2.75.3
2022-05-29
Bug Fixes
- Retain parameter defaults for functions that are defaults themselves (#4515)
- Track mutations for objects as default values (#4515)
Pull Requests
- #4515: Ensure parameter defaults are deoptimized (@lukastaegert)
v2.75.2
v2.75.1
2022-05-28
Pull Requests
- #4513: Update link to node polyfill repo (@lukastaegert)
v2.75.0
2022-05-27
Features
- Re-implement default parameter tree-shaking for top-level functions (#4510)
- Do not consider calling string methods like
.trim()on template literals a side effect (#4511)
Pull Requests
- #4510: Tree-shake parameter defaults (replaces #4498) (@lukastaegert)
- #4511: Tree-shake side-effect-free string methods on template literals (@lukastaegert)
v2.74.1
2022-05-19
Bug Fixes
- Revert #4498 until some issues are understood and resolved
v2.74.0
2022-05-19
Features
- Remove unneeded default values for function parameters (#4498)
Bug Fixes
- Use a consistent mechanism to resolve the config file to avoid issues on Windows (#4501)
- Avoid an inaccurate warning about an event emitter leak for complicated builds (#4502)
- Ensure that reexporting values from other chunks via dynamic imports does not reference non-imported variables (#4499)
Pull Requests
- #4498: Tree shake parameter defaults (@lukastaegert)
- #4499: Ensure reexports are available for namespaces (@lukastaegert)
- #4501: fix: config path problem on windows (@pos777)
- #4502: Avoid maximum listeners exceeded warning (@lukastaegert)
v2.73.0
2022-05-13
Features
- Do not treat Object.defineProperty/ies as side effect when called on an unused object (#4493)
- Do not assume that assigning a property can create a getter with side effects (#4493)
- Do not treat string.prototype.replace(All) as side effect when used with two literals (#4493)
Bug Fixes
- Detect side effects when manually declaring getters on functions (#4493)
Pull Requests
- #4493: Handle getters on functions and improve property deoptimization (@lukastaegert)
- #4494: Do not treat string.replace as side effect when used with a literal (@lukastaegert)
- #4495: Update docs for --configPlugin using typescript (@Jimmydalecleveland)
v2.72.1
2022-05-07
Bug Fixes
- Improve tree-shaking of classes with super classes in certain scenarios (#4489)
Pull Requests
- #4489: Do not deoptimize entire super class when adding a property (@lukastaegert)
v2.72.0
2022-05-05
Features
- Add CLI hooks to run external commands at certain points in watch mode (#4457)
Bug Fixes
- Fix an issue that could accidentally treat relevant assignments as side effect free (#4486)
Pull Requests
- #4457: feat: CLI event hook flags (@Harris-Miller)
- #4486: Fix reassignment tracking (@lukastaegert)
v2.71.1
2022-04-30
Bug Fixes
- Allow importing loadConfigFile without extension (#4483)
Pull Requests
- #4483: Add exports exception for loadConfigFile (@lukastaegert)
v2.71.0
2022-04-30
v2.70.2
2022-04-15
Bug Fixes
- Do not enforce undefined return values in TypeScript types (#4463)
Pull Requests
- #4463: use void for options hook instead of undefined (@ycmjason)
v2.70.1
v2.70.0
v2.69.2
v2.69.1
v2.69.0
v2.68.0
v2.67.3
v2.67.2
v2.67.1
v2.67.0
v2.66.1
v2.66.0
v2.65.0
v2.64.0
v2.63.0
v2.62.0
v2.61.1
v2.61.0
v2.60.2
v2.60.1
v2.60.0
v2.59.0
v2.58.3
v2.58.2
v2.58.1
v2.58.0
v2.57.0
v2.56.3
2021-08-23
Bug Fixes
- Make sure moduleInfo contains complete information about imported ids in the moduleParsed hook (#4208)
Pull Requests
- #4208:
ModuleInfo.importedIdswill return null ifresolvedIds[source]is undefined (@FoxDaxian and @lukastaegert)
v2.56.2
2021-08-10
Bug Fixes
- Check if after simplification, an object pattern would become an expression statement or arrow function return value (#4204)
Pull Requests
- #4204: Do not create invalid code when simplifying object pattern assignments (@lukastaegert)
v2.56.1
2021-08-08
Bug Fixes
- Fix rendering of SystemJS export declarations initialized with a simplifiable expression (#4202)
Pull Requests
- #4202: Fix incorrect rendering of export declarations in SystemJS (@lukastaegert)
v2.56.0
2021-08-05
Features
- Create more efficient code for SystemJS exports (#4199)
- Extend
maxParallelFileReadsoption to also throttle plugin load hooks (#4200)
Bug Fixes
- Return correct value for postfix update expressions of exported variables (#4194)
Pull Requests
- #4199: Refine SystemJS export rendering (@lukastaegert)
- #4200: Restrict parallel execution of load hook (@schummar)
v2.55.1
2021-07-29
Bug Fixes
- Improve CLI warning message for unused external imports (#4194)
Pull Requests
- #4194: Align batch warning for UNUSED_EXTERNAL_IMPORT to individual warning (@benmccann)
v2.55.0
2021-07-28
Features
- Support default export live-bindings when generating ESM output (#4182)
Bug Fixes
- Always write
["default"]as computed property when used as named export (#4182) - Do not mask default export TDZ errors (#4182)
Pull Requests
- #4182: Use mutable bindings for default exports (@lukastaegert)
v2.54.0
2021-07-25
Features
- Extend UMD import.meta.url polyfill to support web workers (#4186)
Bug Fixes
- Resolve an issue where certain uses of classes could lead to an infinite recursion (#4189)
Pull Requests
- #4186: Fix UMD import.meta.url inside web workers (@ceifa)
- #4188: Fix typo in renderHelpers.ts (@eltociear)
- #4189: Move long path recursion prevention to MemberExpression (@lukastaegert)
- #4190: Stop recommending node-builtins (@curran)
v2.53.3
2021-07-21
Bug Fixes
- Solve an issue that could lead to severe memory issues and crashes when there are a lot of hoisted variables (#4183)
Pull Requests
- #4183: Avoid memory issues with hoisted variables (@lukastaegert)
v2.53.2
2021-07-15
Bug Fixes
- Identify additional TDZ situations in functions that are run more than once (#4177)
- Fix a scoping issue when a variable inside a catch scope matches the scope parameter's name (#4178)
Pull Requests
- #4177: Fix additional let/var init bugs (@kzc)
- #4178: Correctly create outside variable when shadowed by catch parameter (@lukastaegert)
v2.53.1
2021-07-11
Bug Fixes
- Do not omit namespace reexports when
treeshakeisfalse(#4175)
Pull Requests
- #4175: Generate namespace objects when not tree-shaking (@lukastaegert)
v2.53.0
2021-07-09
Features
- Add
maxParallelFileReadsoption to limit read operations with a default of 20 (#4170)
Pull Requests
- #4170: Limit parallel file reads to prevent "EMFILE: too many open files" error (@schummar)
v2.52.8
2021-07-07
Bug Fixes
- Automatically handle many use
varbefore declaration and TDZ access scenarios correctly without the need fortreeshake.correctVarValueBeforeDeclaration(#4148)
Pull Requests
- #4148: Fix var/const/let variable use before declaration (@kzc and @lukastaegert)
v2.52.7
2021-07-02
Bug Fixes
- Fix an issue where reassignments where not tracked through async function returns (#4163)
Pull Requests
- #4163: Deoptimize return values of async functions (@lukastaegert)
v2.52.6
2021-07-01
Bug Fixes
- Fix an issue where reassignments where not tracked through an await expression (#4162)
Pull Requests
- #4162: doptimize awaited expressions (@lukastaegert)
v2.52.5
2021-07-01
Bug Fixes
- Properly display parser errors not tied to a code location (#4160)
Pull Requests
v2.52.4
2021-06-30
Bug Fixes
- Fix an error when external namespaces are reexported across several files (#4159)
Pull Requests
- #4159: Properly handle double reexports from external namespaces (@lukastaegert)
v2.52.3
2021-06-25
Bug Fixes
- Fix an issue where code was wrongly removed when using vars in nested scopes (#4149)
Pull Requests
- #4149: Make sure the initializer of hoisted variables is deoptimized (@lukastaegert)
v2.52.2
2021-06-21
Bug Fixes
- Support falsy plugins in types (#4144)
- Do not require return value in renderChunkHook type (#4144)
Pull Requests
- #4144: Use TypeScript config and improve some types (@lukastaegert)
v2.52.1
2021-06-17
Bug Fixes
- Fix a memory leak in watch mode (#4142)
Pull Requests
- #4142: Make array and object prototype singletons immutable for now (@lukastaegert)
v2.52.0
2021-06-16
Features
- Add
--configPluginCLI option to apply plugins to the config file for e.g. TypeScript configs (#3835) - Add "safest" and "smallest" presets to tree-shaking options for easier configuration (#4131)
- Add
treeshake.correctVarValueBeforeDeclarationoption to deoptimizevardeclarations (#4139)
Pull Requests
- #3835: Add typescript config support (@TheRealSyler)
- #4131: Add presets to the tree-shaking options (@lukastaegert)
- #4139: Add option to deoptimize var declarations for tree-shaking (@lukastaegert)
- #4141: Update dependencies (@lukastaegert)
v2.51.2
2021-06-11
Bug Fixes
- Include modules imported from no-treeshake modules even if they would be empty (#4138)
Pull Requests
- #4138: Include all dependencies from modules with no-treeshake (@lukastaegert)
v2.51.1
2021-06-08
Bug Fixes
- Fix error when using
defineConfig(#4134)
Pull Requests
v2.51.0
2021-06-06
Features
- Add a helper for IntelliSense support in config files (#4127)
Bug Fixes
- Improve performance when generating source maps (#4122)
Pull Requests
- #4122: User Map to optimize performance (@izevo)
- #4127: Export defineConfig defines the auxiliary function of the configuration (@rxliuli)
v2.50.6
2021-06-03
Bug Fixes
- Do not consider the object spread operator as side effect when
propertyReadSideEffectsare false (#4119) - Detect side effects when returning thenables from async arrow functions (#4120)
Pull Requests
- #4119: Respect propertyReadSideEffects in spread elements (@lukastaegert)
- #4120: Detect async arrow thenable side effects (@lukastaegert)
v2.50.5
2021-05-30
Bug Fixes
- Detect side effects when accessing thenables (#4115)
Pull Requests
- #4114: use
coloretteinstead ofturbocolor(@ryuever) - #4115: Tracks side effects of thenables (@lukastaegert)
v2.50.4
2021-05-29
Bug Fixes
- Fix a situation where tree-shaking would stop including nodes prematurely (#4111)
- Track mutations and accessor side effects when using
__proto__in an object literal (#4112) - Check for getter effects when spreading an object (#4113)
Pull Requests
- #4111: Always request a new tree-shaking pass when deoptimizations of a node are first included (@lukastaegert)
- #4112: Actually set the prototype when using a proto property (@lukastaegert)
- #4113: Track access side effects when using object spread operator (@lukastaegert)
v2.50.3
2021-05-28
Bug Fixes
- Wrap parentheses around leading elements in simplified sequence expressions if this would otherwise lead to invalid code (#4110)
- Do not associate block soped variables in catch clauses with the clause parameter (#4108)
- Do not associate hoisted variables in catch clauses with outside variables if they match the parameter (#4108)
- Use correct "this" context for tagged template literal member expressions in simplified sequences (#4110)
Pull Requests
- #4108: Correctly handle catch declarations (@lukastaegert)
- #4110: Invalid sequence expression simplification (@lukastaegert)
v2.50.2
2021-05-27
Bug Fixes
- Avoid unnecessary side effects when using methods like
.filterand.map(#4103) - Avoid crash when a module with moduleSideEffects no-treeshake imports a tree-shaken module (#4104)
Pull Requests
- #4103: Do not track side-effect-free array methods as side effects (@lukastaegert)
- #4104: Fix crash when using inlineDynamicImports with no-treeshake (@lukastaegert)
v2.50.1
2021-05-26
Bug Fixes
- Do not associate pure annotations in simplified expressions with wrong elements (#4095)
- Prevent invalid code when simplified conditionals start with an IIFE function expression (#4099)
Pull Requests
- #4095: Correctly associate pure annotations and remove invalid ones (@lukastaegert)
- #4099: Wrap leading function expression iifes in conditionals (@lukastaegert)
v2.50.0
2021-05-25
Features
- Only include last elements of comma expressions if they are used or have side effects (#4087)
Bug Fixes
- Prevent a crash that could occur when calling object methods (#4091)
Pull Requests
- #4085: Switch to ESLint (@lukastaegert)
- #4087: Drop unused last sequence element (@lukastaegert)
- #4091: Prevent crash for recursive "this" deoptimization (@lukastaegert)
v2.49.0
2021-05-23
Features
- Detect side-effect-free static class methods and properties (#4018)
- Detect side-effect-free array elements (#4018)
- Do not apply deoptimizations from dead code (#4018)
Bug Fixes
- Handle side effect detection for getters and setters added in untracked code (#4018)
- Track "this" mutations for methods, getters and setters (#4018)
Pull Requests
- #4018: Class method effects (@marijnh and @lukastaegert)
v2.48.0
2021-05-15
Features
- Add replacement to conditionally insert asset extensions in
entryFileNameswhen preserving modules (#4077)
Bug Fixes
- Fix crash when dynamically assigning to namespace members (#4070)
- Do not associate pure annotations in front of a semi-colon or comma with succeeding code (#4068)
Pull Requests
- #4068: ignore invalid trailing pure annotations (@kzc)
- #4070: undefined
deoptimizePathwhen the first element is empty string (@si3nloong) - #4071: add node.js v16 support (@dnalborczyk)
- #4077: Add assetExtname replacement in entryFileNames (@BPScott)
- #4080: Added Rollup logo in README.md (@priyanshurav)
- #4081: fix comment regarding invalid annotation handling (@kzc)
v2.47.0
2021-05-04
Features
- Warn about ambiguous imports from combined external namespace reexports (#4064)
- In case of combined namespace reexports, always prefer local exports over external namespaces (#4064)
- Treat conflicting names in local namespace reexports as undefined (#4064)
Pull Requests
- #4064: Prefer locally defined exports and reexports over external namespaces (@lukastaegert)
v2.46.0
2021-04-29
Features
- Add option to disable file name sanitation (#4058)
- Add information about importers to unused external import warning (#4054)
Pull Requests
- #4042: Use Github actions only (@lukastaegert)
- #4045: Fix REPL artefact branch reference (@lukastaegert)
- #4046: Use codecov action for coverage (@lukastaegert)
- #4054: Add to
UNUSED_EXTERNAL_IMPORTwarning information about the origin of the problem (@cawa-93) - #4058: Add sanitizeFileName option (@guybedford)
v2.45.2
2021-04-13
Bug Fixes
- Do not user a dynamic entry file name for naming a manual chunk (#4040)
Pull Requests
- #4040: Prioritize manual chunk name over dynamic entry id (@lukastaegert)
v2.45.1
2021-04-10
Bug Fixes
- Handle falsy return values from async plugin options hooks (#4039)
Pull Requests
- #4039: Do not fail when returning null or undefined from an async options hook (@lukastaegert)
v2.45.0
2021-04-09
Features
- Support private class instance methods and accessors (#4034)
Pull Requests
- #4034: feat: add support for private class methods (@dnalborczyk)
v2.44.0
2021-03-29
Features
- Add a new option
makeAbsoluteExternalsRelativeto opt out of renormalizing absolute external ids to relative ids (#4021) - Extend the
resolveIdplugin hook to allow forcing or preventing renormalization of absolute external ids (#4021) - Make the rendered code of individual modules available in the generated bundle (#4028)
Bug Fixes
- Handle objects with
__proto__properties correctly (#4019)
Pull Requests
- #4019: Deoptimize ObjectExpression when a
__proto__property is present (@marijnh) - #4021: Improve absolute path handling (@lukastaegert)
- #4026: chore: fix vscode launch config (change tdd to bdd) (@jameslahm)
- #4027: Post comment for PRs from forks (@lukastaegert)
- #4028: Expose rendered module code to generateBundle hook (@btd)
v2.43.1
2021-03-28
Bug Fixes
- Prevent infinite recursions in certain scenarios when calling object properties (#4025)
Pull Requests
- #4025: Handle recursive this mutation detection (@lukastaegert)
v2.43.0
2021-03-27
Features
- Track side effects of function properties in objects for better tree-shaking (#4011)
Pull Requests
- #4011: Disable pessimistic object deoptimization for calls when the called function doesn't ref this ([@marij
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Codecov Report
Merging #282 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #282 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 17 17
=========================================
Hits 17 17
Codecov Report
Merging #282 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #282 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 17 17
=========================================
Hits 17 17
Codecov Report
Merging #282 (db3400d) into master (cd48bc0) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #282 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 17 17
=========================================
Hits 17 17