Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): upgrade path-to-regexp to address a security vulnerability #2251

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

filmaj
Copy link
Contributor

@filmaj filmaj commented Sep 11, 2024

partially fixes #2242

@filmaj filmaj added security semver:patch dependencies Pull requests that update a dependency file labels Sep 11, 2024
@filmaj filmaj self-assigned this Sep 11, 2024
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.78%. Comparing base (dc97976) to head (9823aee).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2251   +/-   ##
=======================================
  Coverage   87.78%   87.78%           
=======================================
  Files          19       19           
  Lines        1646     1646           
  Branches      464      464           
=======================================
  Hits         1445     1445           
  Misses        194      194           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

},
"scripts": {
"prepare": "npm run build",
"build": "tsc",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure we clean out the dist/ directory of transpiled files to be published first before building.

@@ -21,12 +21,12 @@
"dist/**/*"
],
"engines": {
"node": ">=12.13.0",
"npm": ">=6.12.0"
"node": ">=14.21.3",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These values are based on the node JS release schedule, and the latest patch version of node 14 that is available (but also EOL) as well as the npm version bundled with it.

@@ -1,68 +1,28 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
/* Basic Options */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaning this file up so that JSON LSPs can deal with them - comments are not valid JSON.

@filmaj filmaj requested a review from seratch September 11, 2024 22:12
@seratch seratch added this to the 3.21.4 milestone Sep 11, 2024
Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good to me

@filmaj filmaj merged commit 4e3a4fb into main Sep 11, 2024
17 checks passed
@filmaj filmaj deleted the path-to-regexp branch September 11, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security semver:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

package vulnerabilities with dependency "path-to-regexp" and "send"
2 participants