Skip to content

Add @types/express-interceptor - #6513

Open
remcohaszing wants to merge 2 commits into
mainfrom
types-express-interceptor
Open

Add @types/express-interceptor#6513
remcohaszing wants to merge 2 commits into
mainfrom
types-express-interceptor

Conversation

@remcohaszing

Copy link
Copy Markdown
Member

This replaces our inline types for the express-interceptor package with the @types/express-interceptor package from DefinitelyTyped.

Additionally this adds a direct dependency on @types/express, because we import express directly.

This replaces our inline types for the `express-interceptor` package
with the `@types/express-interceptor` package from DefinitelyTyped.

Additionally this adds a direct dependency on `@types/express`, because
we import `express` directly.
@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5ccbd29

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment thread .yarnrc.yml
Comment on lines +21 to +23
npmPreapprovedPackages:
- '@types/express-interceptor'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is needed, because the package is still too new according to our npmMinimalAgeGate. We can remove it next week.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

we can also pre-approve the exact version right ?

    npmPreapprovedPackages:
      - '@types/express-interceptor@1.2.0'

https://yarnpkg.com/configuration/yarnrc#npmPreapprovedPackages

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I’m not sure, but do we want that anyway? This seems excessive to keep track of. I trust packages from DefinitelyTyped, and they’re locked in the lockfile anyway.

@socket-security

socket-security Bot commented Sep 2, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​types/​express-interceptor@​1.2.0671007886100

View full report

@qxprakash qxprakash left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good ! just one nitpick.

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.

2 participants