Update packages to resolve dependency conflicts after vulnerabilities.#1
Open
hermann77 wants to merge 15 commits intovaadin-learning-center:masterfrom
Open
Update packages to resolve dependency conflicts after vulnerabilities.#1hermann77 wants to merge 15 commits intovaadin-learning-center:masterfrom
hermann77 wants to merge 15 commits intovaadin-learning-center:masterfrom
Conversation
added 15 commits
February 17, 2023 14:43
- add tasks - mark task as completed - filter task list: all, active, completed
This reverts commit 505d333.
This reverts commit 711fda9.
…bilities fixes." This reverts commit c79b57f.
This reverts commit 5e6dc32.
This reverts commit 844a041.
This reverts commit b3f40d4.
This reverts commit 51ff96b.
… fixes. (cherry picked from commit c79b57f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After I ran
npm audit fixI got package dependency conflicts.So I installed all the packages in terminal:
npm install @babel/core @babel/plugin-syntax-dynamic-import @babel/preset-env babel-loader babel-preset-minify webpack webpack-cli webpack-dev-server webpack-merge workbox-webpack-plugin clean-webpack-plugin copy-webpack-plugin css-loader html-webpack-plugin mini-css-extract-plugin style-loader --legacy-peer-deps --save-devnpm install --save lit-elementand
npm install --save @vaadin/vaadin-text-field @vaadin/vaadin-button @vaadin/vaadin-checkbox @vaadin/vaadin-radio-buttonThe webpack configs had to be updated regarding new APIs (webpack-merge, copy-webpack-plugin).
Please check especially 'from' 'to' options on
CopyWebpackPlugin(withoutflattenoption). I'm very new in frontend/JS/webpack etc. :-).P.S. in package.json I didn't change
--env.mode productionto--env mode=productionyet.