yonycalsin / nextjs-cors

:tada: nextjs-cors is a node.js package to provide a Connect/Express middleware that can be used to enable CORS with various options :rocket:
MIT License
222 stars 9 forks source link

Peer dependency update for NextJs 13 #75

Closed tobiasalthoff closed 1 year ago

tobiasalthoff commented 1 year ago

Next.js 13 is out and nextjs-cors depends on nextjs 12:

Could not resolve dependency: npm ERR! peer next@"^8.1.1-canary.54 || ^9.0.0 || ^10.0.0-0 || ^11.0.0 || ^12.0.0" from nextjs-cors@2.1.1

yonycalsin commented 1 year ago

Hi @tobiasalthoff,

the version was updated in this PR, and later today I will release the new version with this change, supporting the next 13.

yonycalsin commented 1 year ago

next13 peer dependency support is now available in version 2.1.2.

https://github.com/yonycalsin/nextjs-cors/releases/tag/v2.1.2

tobiasalthoff commented 1 year ago

Hey @yonycalsin, thank you! :-)