File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 3
3
Security plugin in egg
4
4
5
5
[ ![ NPM version] [ npm-image ]] [ npm-url ]
6
- [ ![ Node.js CI] ( https://github.com/eggjs/egg- security/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/eggjs/egg- security/actions/workflows/nodejs.yml )
6
+ [ ![ Node.js CI] ( https://github.com/eggjs/security/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/eggjs/security/actions/workflows/nodejs.yml )
7
7
[ ![ Test coverage] [ codecov-image ]] [ codecov-url ]
8
8
[ ![ Known Vulnerabilities] [ snyk-image ]] [ snyk-url ]
9
9
[ ![ npm download] [ download-image ]] [ download-url ]
10
10
11
11
[ npm-image ] : https://img.shields.io/npm/v/egg-security.svg?style=flat-square
12
12
[ npm-url ] : https://npmjs.org/package/egg-security
13
- [ codecov-image ] : https://codecov.io/gh/eggjs/egg- security/branch/master/graph/badge.svg
14
- [ codecov-url ] : https://codecov.io/gh/eggjs/egg- security
13
+ [ codecov-image ] : https://codecov.io/gh/eggjs/security/branch/master/graph/badge.svg
14
+ [ codecov-url ] : https://codecov.io/gh/eggjs/security
15
15
[ snyk-image ] : https://snyk.io/test/npm/egg-security/badge.svg?style=flat-square
16
16
[ snyk-url ] : https://snyk.io/test/npm/egg-security
17
17
[ download-image ] : https://img.shields.io/npm/dm/egg-security.svg?style=flat-square
@@ -559,10 +559,10 @@ exports.security = {
559
559
560
560
## License
561
561
562
- [ MIT] ( https://github.com/eggjs/egg-security/blob/master/ LICENSE)
562
+ [ MIT] ( LICENSE )
563
563
564
564
## Contributors
565
565
566
- [ ![ Contributors] ( https://contrib.rocks/image?repo=eggjs/egg- security )] ( https://github.com/eggjs/egg- security/graphs/contributors )
566
+ [ ![ Contributors] ( https://contrib.rocks/image?repo=eggjs/security )] ( https://github.com/eggjs/security/graphs/contributors )
567
567
568
568
Made with [ contributors-img] ( https://contrib.rocks ) .
Original file line number Diff line number Diff line change 3
3
egg 内置的安全插件
4
4
5
5
[ ![ NPM version] [ npm-image ]] [ npm-url ]
6
- [ ![ Node.js CI] ( https://github.com/eggjs/egg- security/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/eggjs/egg- security/actions/workflows/nodejs.yml )
6
+ [ ![ Node.js CI] ( https://github.com/eggjs/security/actions/workflows/nodejs.yml/badge.svg )] ( https://github.com/eggjs/security/actions/workflows/nodejs.yml )
7
7
[ ![ Test coverage] [ codecov-image ]] [ codecov-url ]
8
8
[ ![ Known Vulnerabilities] [ snyk-image ]] [ snyk-url ]
9
9
[ ![ npm download] [ download-image ]] [ download-url ]
10
10
11
11
[ npm-image ] : https://img.shields.io/npm/v/egg-security.svg?style=flat-square
12
12
[ npm-url ] : https://npmjs.org/package/egg-security
13
- [ codecov-image ] : https://codecov.io/gh/eggjs/egg- security/branch/master/graph/badge.svg
14
- [ codecov-url ] : https://codecov.io/gh/eggjs/egg- security
13
+ [ codecov-image ] : https://codecov.io/gh/eggjs/security/branch/master/graph/badge.svg
14
+ [ codecov-url ] : https://codecov.io/gh/eggjs/security
15
15
[ snyk-image ] : https://snyk.io/test/npm/egg-security/badge.svg?style=flat-square
16
16
[ snyk-url ] : https://snyk.io/test/npm/egg-security
17
17
[ download-image ] : https://img.shields.io/npm/dm/egg-security.svg?style=flat-square
@@ -429,10 +429,10 @@ console.log(cmd);
429
429
430
430
## License
431
431
432
- [ MIT] ( https://github.com/eggjs/egg-security/blob/master/ LICENSE) ¬
432
+ [ MIT] ( LICENSE )
433
433
434
434
## Contributors
435
435
436
- [ ![ Contributors] ( https://contrib.rocks/image?repo=eggjs/egg- security )] ( https://github.com/eggjs/egg- security/graphs/contributors )
436
+ [ ![ Contributors] ( https://contrib.rocks/image?repo=eggjs/security )] ( https://github.com/eggjs/security/graphs/contributors )
437
437
438
438
Made with [ contributors-img] ( https://contrib.rocks ) .
Original file line number Diff line number Diff line change 54
54
},
55
55
"repository" : {
56
56
"type" : " git" ,
57
- "url" : " git+https://github.com/eggjs/egg- security.git"
57
+ "url" : " git+https://github.com/eggjs/security.git"
58
58
},
59
59
"files" : [
60
60
" agent.js" ,
67
67
"bugs" : {
68
68
"url" : " https://github.com/eggjs/egg/issues"
69
69
},
70
- "homepage" : " https://github.com/eggjs/egg- security#readme" ,
70
+ "homepage" : " https://github.com/eggjs/security#readme" ,
71
71
"author" : " jtyjty99999" ,
72
72
"license" : " MIT"
73
73
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe('test/referrer.test.js', () => {
44
44
. expect ( 500 ) ;
45
45
} ) ;
46
46
47
- // check for fix https://github.com/eggjs/egg- security/pull/50
47
+ // check for fix https://github.com/eggjs/security/pull/50
48
48
it ( 'should throw error when Referrer-Policy is set to index of item in ALLOWED_POLICIES_ENUM' , ( ) => {
49
49
const policy = 0 ;
50
50
return app2 . httpRequest ( )
You can’t perform that action at this time.
0 commit comments