Skip to content

Commit 549776c

Browse files
committedMar 12, 2022
Release 3.2.0
1 parent bcadb55 commit 549776c

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed
 

‎History.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11

2+
3.2.0 / 2022-03-12
3+
==================
4+
5+
**features**
6+
* [[`134ec9b`](http://github.com/koajs/cors/commit/134ec9b54b18565cf8bba8c5e6b6639d7d7e43a3)] - feat: support secure context headers (Levi Tomes <<levi@userdevice.net>>)
7+
8+
**others**
9+
* [[`bcadb55`](http://github.com/koajs/cors/commit/bcadb5599905c28934ed3c28f866f6cdb3f77aee)] - test: run test on github action (fengmk2 <<fengmk2@gmail.com>>)
10+
211
3.1.0 / 2020-05-17
312
==================
413

‎README.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22
=======
33

44
[![NPM version][npm-image]][npm-url]
5-
[![build status][travis-image]][travis-url]
5+
[![Node.js CI](https://github.com/koajs/cors/actions/workflows/nodejs.yml/badge.svg)](https://github.com/koajs/cors/actions/workflows/nodejs.yml)
66
[![Test coverage][codecov-image]][codecov-url]
7-
[![David deps][david-image]][david-url]
87
[![npm download][download-image]][download-url]
98

109
[npm-image]: https://img.shields.io/npm/v/@koa/cors.svg?style=flat-square
1110
[npm-url]: https://npmjs.org/package/@koa/cors
12-
[travis-image]: https://img.shields.io/travis/koajs/cors.svg?style=flat-square
13-
[travis-url]: https://travis-ci.org/koajs/cors
1411
[codecov-image]: https://codecov.io/github/koajs/cors/coverage.svg?branch=v2.x
1512
[codecov-url]: https://codecov.io/github/koajs/cors?branch=v2.x
16-
[david-image]: https://img.shields.io/david/koajs/cors.svg?style=flat-square
17-
[david-url]: https://david-dm.org/koajs/cors
1813
[download-image]: https://img.shields.io/npm/dm/@koa/cors.svg?style=flat-square
1914
[download-url]: https://npmjs.org/package/@koa/cors
2015

@@ -64,3 +59,16 @@ app.use(cors());
6459
## License
6560

6661
[MIT](./LICENSE)
62+
63+
<!-- GITCONTRIBUTOR_START -->
64+
65+
## Contributors
66+
67+
|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/985607?v=4" width="100px;"/><br/><sub><b>dead-horse</b></sub>](https://github.com/dead-horse)<br/>|[<img src="https://avatars.githubusercontent.com/u/1127384?v=4" width="100px;"/><br/><sub><b>omsmith</b></sub>](https://github.com/omsmith)<br/>|[<img src="https://avatars.githubusercontent.com/u/643505?v=4" width="100px;"/><br/><sub><b>jonathanong</b></sub>](https://github.com/jonathanong)<br/>|[<img src="https://avatars.githubusercontent.com/u/5622516?v=4" width="100px;"/><br/><sub><b>AlphaWong</b></sub>](https://github.com/AlphaWong)<br/>|[<img src="https://avatars.githubusercontent.com/u/178720?v=4" width="100px;"/><br/><sub><b>erikfried</b></sub>](https://github.com/erikfried)<br/>|
68+
| :---: | :---: | :---: | :---: | :---: | :---: |
69+
|[<img src="https://avatars.githubusercontent.com/u/4184677?v=4" width="100px;"/><br/><sub><b>ltomes</b></sub>](https://github.com/ltomes)<br/>|[<img src="https://avatars.githubusercontent.com/u/372420?v=4" width="100px;"/><br/><sub><b>lfreneda</b></sub>](https://github.com/lfreneda)<br/>|[<img src="https://avatars.githubusercontent.com/u/170299?v=4" width="100px;"/><br/><sub><b>matthewmueller</b></sub>](https://github.com/matthewmueller)<br/>|[<img src="https://avatars.githubusercontent.com/u/6006498?v=4" width="100px;"/><br/><sub><b>PlasmaPower</b></sub>](https://github.com/PlasmaPower)<br/>|[<img src="https://avatars.githubusercontent.com/u/8369011?v=4" width="100px;"/><br/><sub><b>xg-wang</b></sub>](https://github.com/xg-wang)<br/>|[<img src="https://avatars.githubusercontent.com/u/12003270?v=4" width="100px;"/><br/><sub><b>lishengzxc</b></sub>](https://github.com/lishengzxc)<br/>|
70+
[<img src="https://avatars.githubusercontent.com/u/514097?v=4" width="100px;"/><br/><sub><b>mcohen75</b></sub>](https://github.com/mcohen75)<br/>
71+
72+
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Mar 12 2022 23:53:42 GMT+0800`.
73+
74+
<!-- GITCONTRIBUTOR_END -->

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "@koa/cors",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"description": "Cross-Origin Resource Sharing(CORS) for koa",
55
"main": "index.js",
66
"files": [
77
"index.js"
88
],
99
"scripts": {
10+
"contributor": "git-contributor",
1011
"test": "NODE_ENV=test mocha --check-leaks -R spec -t 5000 test/*.test.js",
1112
"test-cov": "NODE_ENV=test istanbul cover _mocha -- --check-leaks -t 5000 test/*.test.js",
1213
"ci": "npm run lint && npm run test-cov",
@@ -19,6 +20,7 @@
1920
"egg-ci": "^1.19.0",
2021
"eslint": "^5.15.1",
2122
"eslint-config-egg": "^7.1.0",
23+
"git-contributor": "^1.0.10",
2224
"istanbul": "*",
2325
"koa": "^2.5.1",
2426
"mocha": "3",

0 commit comments

Comments
 (0)
Please sign in to comment.