1.4.2 (2024-03-16)
- Removed
tsconfig.json
from.npmignore
.
1.4.1 (2024-03-16)
- Added
dist-text
to.npmignore
.
1.4.0 (2024-03-16)
- Migration to ESM.
- Requires node >= v18.14.0.
1.3.0 (2022-10-06)
- CORS must have
Origin
header. - Preflight CORS request must have at least
Access-Control-Request-Method
orAccess-Control-Request-Headers
. - Renamed
corsOptions.methods
tocorsOptions.allowedMethods
. - Renamed
corsOptions.credentials
tocorsOptions.allowCredentials
.
See docs for more info.
1.2.0 (2022-10-04)
- Restored
preflightContinue
options.
1.1.0 (2022-10-03)
- Fixed
cors
function in case it's called during theOPTIONS
method.
- Removed
corsAsync
.
1.0.5 (2022-10-03)
- Expanded types of HTTP requests. Added NodeRequest and NodeResponse types.
1.0.4 (2022-10-03)
- Fixed passing options.
1.0.3 (2022-10-03)
- Fixed tsconfig.
1.0.2 (2022-10-03)
- Fixed only README.
1.0.1 (2022-10-03)
- Fixed only README and reference to github repo inside package.json.