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

feat: Moving types into the repo #6382

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

RobinTail
Copy link
Contributor

@RobinTail RobinTail commented Mar 9, 2025

Address expressjs/discussions#192 , labeled as "top priority".

Copy link

socket-security bot commented Mar 9, 2025

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/eslint@8.47.08.57.1 Transitive: eval, shell, unsafe +94 10.8 MB eslintbot

View full report↗︎

Comment on lines +8 to +9
/// <reference types="./core" />
/// <reference types="serve-static" />
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 lines are for old versions of TypeScript, presumably v1.x
I believe we can get rid of them, as well as the installed @types/* dev dependencies on the next step.

"after": "0.8.2",
"connect-redis": "^8.0.1",
"cookie-parser": "1.4.7",
"cookie-session": "2.0.0",
"ejs": "^3.1.10",
"eslint": "8.47.0",
"eslint": "8.57.1",
Copy link
Contributor Author

@RobinTail RobinTail Mar 9, 2025

Choose a reason for hiding this comment

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

this was required to install typescript-eslint.
But in general, I suggest upgrading to v9 (latest) in the future and migrating to flat config.

Copy link
Member

Choose a reason for hiding this comment

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

We have an active discussion about changing it, see expressjs/discussions#327.

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