nextjs-cors 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Nextjs Cors
2
2
 
3
- `Nextjs-Cors` is a function that allows you to enter an object, by means of points, and very easily, and is compatible with **typescript**
3
+ `Nextjs-Cors` is a node.js package to provide a middleware that can be used to enable CORS with various options in nextjs applications.
4
4
 
5
5
  [![CI](https://github.com/yonycalsin/nextjs-cors/actions/workflows/ci.yml/badge.svg)](https://github.com/yonycalsin/nextjs-cors/actions/workflows/ci.yml)
6
6
  <a href="https://github.com/yonycalsin/nextjs-cors"><img src="https://img.shields.io/spiget/stars/1000?color=brightgreen&label=Star&logo=github" /></a>
@@ -15,7 +15,7 @@
15
15
  <a href="https://twitter.com/yonycalsin" target="_blank">
16
16
  <img src="https://img.shields.io/twitter/follow/yonycalsin.svg?style=social&label=Follow"></a>
17
17
 
18
- ## 🍉 Installation
18
+ ## Installation
19
19
 
20
20
  > First we will have to install, in order to use this wonderful package.
21
21
 
@@ -27,7 +27,7 @@ npm install --save nextjs-cors@latest
27
27
  yarn add nextjs-cors@latest
28
28
  ```
29
29
 
30
- ## 🌎 Usage
30
+ ## Usage
31
31
 
32
32
  nextjs-cors uses the cors package, so we invite you to check the documentation https://github.com/expressjs/cors
33
33
 
@@ -51,19 +51,19 @@ async function handler(req, res) {
51
51
  }
52
52
  ```
53
53
 
54
- ## ⭐ Support for
54
+ ## Support for
55
55
 
56
56
  `nextjs-cors` is an open source project licensed by [MIT](LICENSE). You can grow thanks to the sponsors and the support of the amazing sponsors. If you want to join them, [contact me here](https://twitter.com/yonycalsin).
57
57
 
58
- ## 🎩 Stay in touch
58
+ ## Stay in touch
59
59
 
60
60
  - Github [@yonycalsin](https://github.com/yonycalsin)
61
61
  - Twitter [@yonycalsin](https://twitter.com/yonycalsin)
62
62
 
63
- ## 🚀 Contributors
63
+ ## Contributors
64
64
 
65
65
  Thanks to the wonderful people who collaborate with me !
66
66
 
67
- ## 📜 License
67
+ ## License
68
68
 
69
- `nextjs-cors` under [License MIT.](LICENSE)
69
+ `nextjs-cors` under [License.](LICENSE)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nextjs-cors",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "private": false,
5
- "description": "nextjs-cors is a node.js package to provide a Connect/Express middleware that can be used to enable CORS with various options.",
5
+ "description": "Nextjs-Cors is a node.js package to provide a middleware that can be used to enable CORS with various options in nextjs applications.",
6
6
  "keywords": [
7
7
  "nextjs-cors",
8
8
  "express-cors",
@@ -69,7 +69,7 @@
69
69
  "typescript": "^4.4.2"
70
70
  },
71
71
  "peerDependencies": {
72
- "next": "^8.1.1-canary.54 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0"
72
+ "next": "^8.1.1-canary.54 || ^9.0.0 || ^10.0.0-0 || ^11.0.0 || ^12.0.0"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"