Skip to content

Commit

Permalink
chore(deps): update dependency webpack to v5 (#341)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [webpack](https://togithub.com/webpack/webpack) | [`^4.41.2` -> `^5.0.0`](https://renovatebot.com/diffs/npm/webpack/4.44.2/5.6.0) | [![age](https://badges.renovateapi.com/packages/npm/webpack/5.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/webpack/5.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/webpack/5.6.0/compatibility-slim/4.44.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/webpack/5.6.0/confidence-slim/4.44.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>webpack/webpack</summary>

### [`v5.6.0`](https://togithub.com/webpack/webpack/releases/v5.6.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.5.1...v5.6.0)

### Bugfixes

-   emit warnings/errors for exports in commonjs modules for which we know that they don't exist

### [`v5.5.1`](https://togithub.com/webpack/webpack/releases/v5.5.1)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.5.0...v5.5.1)

### Bugfixes

-   fix crash when \_\_esModule is defined with defineProperty without value

### [`v5.5.0`](https://togithub.com/webpack/webpack/releases/v5.5.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.4.0...v5.5.0)

### Bugfixes

-   fix ASI issues that occur between concatenated modules
-   fix incorrect handling of `[id]` and etc. in SourceMap sources
-   fix side-effect-free handling of exports for concatenated modules that causes an unused export
-   make ESM-CJS interop handling consistent
    -   make `__esModule` flag consistent exposed
    -   handle non enumerable exports
    -   handle inherited exports
    -   handle exported Promises

### [`v5.4.0`](https://togithub.com/webpack/webpack/releases/v5.4.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.3.2...v5.4.0)

### Bugfixes

-   fix renaming in super class expression in nested scopes
-   fix parsing and handling of browserlist queries
-   fix a few edge cases with ESM-CJS interop and .mjs
-   fix ASI edge cases

### [`v5.3.2`](https://togithub.com/webpack/webpack/releases/v5.3.2)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.3.1...v5.3.2)

### Bugfixes

-   runtime-dependent concatenated modules can generate code for runtime-dependent execution order of concatenated modules

### [`v5.3.1`](https://togithub.com/webpack/webpack/releases/v5.3.1)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.3.0...v5.3.1)

### Bugfixes

-   fix incorrect concatenation of modules when multiple runtimes are involved
    -   fixes a "This should not happen" error
    -   fixes a `__webpack_require__(null)` problem
-   run CLI correctly after installing
-   fixes a huge performance issue when processing minimized code with SourceMap
-   Use `string[]` types instead of `[string, ...string[]]` for arrays that must not be empty
    -   this is more convinient to use

### Performance

-   avoid incorrect store of counts in the ProgressPlugin, which causes unneeded serialization of the Persistent Cache
-   upgrade terser-webpack-plugin for performance improvements
-   upgrade webpack-sources for performance improvements

### [`v5.3.0`](https://togithub.com/webpack/webpack/releases/v5.3.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.2.1...v5.3.0)

### Features and Bugfixes

-   generate runtime conditional code when modules are forcefully merged from multiple runtimes
    -   This fixes a `Cannot read property 'call' of undefined` error in webpack runtime, because modules are used that are not in the graph in one runtime
-   disabled source code analysis for side effects in non-production modes
    -   this causes unnecessary changes to parent modules in development
    -   add `optimization.sideEffects: "flag"` as option for this

### [`v5.2.1`](https://togithub.com/webpack/webpack/releases/v5.2.1)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.2.0...v5.2.1)

##### Bugfixes

-   add `watchOptions.followSymlinks` option to schema
-   fix hard crash when calling resolve with undefined value
-   fix emit problem when files have hash in query string
-   fix unneeded generation of SourceMaps when no devtool is used
    -   fixes a huge performance regression with terser-webpack-plugin

### [`v5.2.0`](https://togithub.com/webpack/webpack/releases/v5.2.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.1.3...v5.2.0)

### Features

-   add `sourceFilename` and `javascriptModule` to asset info for plugins

### Bugfixes

-   fix variable name collision when using module concatenation
-   fix arrow functions in ie 11
-   fix `this` externals with module concatenation
-   force update for enhanced-resolve for critical bugfixes (see [changelog](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.3.0))

### [`v5.1.3`](https://togithub.com/webpack/webpack/releases/v5.1.3)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.1.2...v5.1.3)

##### Bugfixes

-   omit unused modules from chunks when modules are only unused in some runtimes
    -   fixes `Self-reference dependency has unused export name` error
-   fix order of asset optimization to fix conflict between compression-plugin and real hash plugin

### [`v5.1.2`](https://togithub.com/webpack/webpack/releases/v5.1.2)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.1.1...v5.1.2)

### Bugfixes

-   revert: omit unused modules from chunk when modules are only unused in some runtimes
    -   caused issues with mini-css modules

### [`v5.1.1`](https://togithub.com/webpack/webpack/releases/v5.1.1)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.1.0...v5.1.1)

### Bugfixes

-   fix order of chunk hashing to allow to uses hashes in WebWorkers
-   update to terser-webpack-plugin 5
    -   reduces number of dependencies by dropping webpack 4 support
-   omit unused modules from chunk when modules are only unused in some runtimes
    -   fixes `Self-reference dependency has unused export name` error
-   fix hanging production builds because of infinite loop in inner graph optimization
-   `Compilation.deleteAsset` updates chunk to file mappings

### [`v5.1.0`](https://togithub.com/webpack/webpack/releases/v5.1.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v5.0.0...v5.1.0)

### Features

-   expose `webpack` property from `Compiler`
-   expose `cleverMerge`, `EntryOptionPlugin`, `DynamicEntryPlugin`

### Bugfixes

-   missing `require("..").xxx` in try-catch produces a warning instead of an error now
-   handle reexports in concatenated modules correctly when they are side-effect-free
-   fix incorrect deprecation message for ModuleTemplate.hooks.hash

### [`v5.0.0`](https://togithub.com/webpack/webpack/releases/v5.0.0)

[Compare Source](https://togithub.com/webpack/webpack/compare/v4.44.2...v5.0.0)

[Announcement and changelog](https://webpack.js.org/blog/2020-10-10-webpack-5-release/)

</details>

---

### Renovate configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-security-center).
  • Loading branch information
renovate-bot authored Nov 23, 2020
1 parent 1433613 commit e7aa3d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/google-cloud-securitycenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"sinon": "^9.0.1",
"ts-loader": "^8.0.0",
"typescript": "^3.8.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10"
Expand Down

0 comments on commit e7aa3d9

Please sign in to comment.