tediousjs / node-mssql

Microsoft SQL Server client for Node.js
https://tediousjs.github.io/node-mssql
MIT License
2.24k stars 471 forks source link

chore(package): explicitly declare js module type #1573

Closed Fdawgs closed 1 year ago

Fdawgs commented 1 year ago

What this does:

Node 21.1.0 added a flag to detect module types, which will probably become default in the future. Declaring the type will cause Node to skip detection on startup/compile, reducing startup time.

Declaring the package type is also considered good practice according to https://nodejs.org/api/modules.html#enabling.

Related issues:

N/A

Pre/Post merge checklist:

github-actions[bot] commented 10 months ago

:tada: This PR is included in version 10.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: