Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Update Serverless to fix security vulnerability in Axios #59

Merged
merged 1 commit into from Jan 14, 2021

Conversation

FergusMcGlynn
Copy link
Contributor

See serverless/serverless#8712 for details of the security vulnerability.

This update to Serverless has necessitated us installing "ajv" as a dev dependency. "ajv" is a peer dependency of one of Serverless' dependencies, and shouldn't normally require us to install it (because Serverless itself does), however there is a long-standing bug in npm that leads to npm being unable to resolve peer dependencies in certain circumstances, this being one of them.

More details at serverless/serverless#8727

See serverless/serverless#8712 for
details of the security vulnerability.

This update to Serverless has necessitated us installing "ajv"
as a dev dependency. "ajv" is a peer dependency of one of Serverless'
dependencies, and shouldn't normally require us to install it
(because Serverless itself does), however there is a long-standing
bug in npm that leads to npm being unable to resolve peer
dependencies in certain circumstances, this being one of them.
More details at
serverless/serverless#8727
and
npm/npm#19877
@FergusMcGlynn FergusMcGlynn requested review from a team as code owners January 13, 2021 11:04
@github-actions
Copy link

Size Change: 0 B

Total Size: 68.3 kB

ℹ️ View Unchanged
Filename Size Change
.serverless/uoy-courses-api.zip 68.3 kB 0 B

compressed-size-action

@FergusMcGlynn FergusMcGlynn merged commit b1192b8 into dev Jan 14, 2021
@FergusMcGlynn FergusMcGlynn deleted the update-serverless-for-security branch January 14, 2021 12:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants