-
Notifications
You must be signed in to change notification settings - Fork 406
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
Support CJS again #797
Support CJS again #797
Conversation
@@ -18,6 +17,6 @@ | |||
"@types/express": "^4.17.17", | |||
"@types/node": "^20.6.3", | |||
"rimraf": "^5.0.1", | |||
"typescript": "^5.2.2" | |||
"typescript": "^5.4.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typescript version < 5.3 can't compile this project now. Let me investigate it ...
403e115
to
5a813e3
Compare
94043db
to
3ddcc78
Compare
conflict is resolved by rebasing. Diff: https://github.com/line/line-bot-sdk-nodejs/compare/94043db3a5bdca380c7f2e3a8d497f9c8f399fad..3ddcc78801093138058379d767f8b072604c769d |
We will also support CJS to make it a dual package. It seems that for Typescript, it needs to be version 5.3 or higher.
Additionally, I have introduced two validators for the dual package.