Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jan 4, 2023

Making npm audit happy

Manually patching package-lock for using json5 1.0.2 in the following dependency tree:

json5 <1.0.2 || >=2.0.0 <2.2.2
Severity: high
Prototype Pollution in JSON5 via Parse Method - GHSA-9c47-m6qq-7p4h
Prototype Pollution in JSON5 via Parse Method - GHSA-9c47-m6qq-7p4h
fix available via npm audit fix --force
Will install [email protected], which is a breaking change
node_modules/find-babel-config/node_modules/json5
node_modules/json5
node_modules/loader-utils/node_modules/json5
node_modules/tsconfig-paths/node_modules/json5
find-babel-config *
Depends on vulnerable versions of json5
node_modules/find-babel-config
vue-jest 1.0.0 - 3.0.7
Depends on vulnerable versions of find-babel-config
node_modules/vue-jest

The suggested fix did break the tests but the manual bump seems to work fine even with the breaking json5 version from 0.x to 1.x

@juliusknorr juliusknorr changed the base branch from master to stable23 January 4, 2023 13:51
Signed-off-by: Julius Härtl <[email protected]>
@juliusknorr juliusknorr force-pushed the deps/npm-audit/stable23 branch from a07dd07 to 5a49157 Compare January 4, 2023 14:01
@juliusknorr juliusknorr requested review from a team, marcelklehr and max-nextcloud and removed request for a team January 5, 2023 06:40
@max-nextcloud max-nextcloud merged commit 8c08235 into stable23 Jan 5, 2023
@delete-merged-branch delete-merged-branch bot deleted the deps/npm-audit/stable23 branch January 5, 2023 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants