File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ const conditional = require('koa-conditional-get');
1717const cors = require ( 'kcors' ) ;
1818const errorHandler = require ( 'koa-better-error-handler' ) ;
1919const etag = require ( 'koa-etag' ) ;
20- const expectCt = require ( 'koa-expect-ct' ) ;
2120const helmet = require ( 'koa-helmet' ) ;
2221const json = require ( 'koa-json' ) ;
2322const koa404Handler = require ( 'koa-404-handler' ) ;
@@ -128,9 +127,6 @@ class API {
128127 // security
129128 if ( this . config . helmet ) app . use ( helmet ( this . config . helmet ) ) ;
130129
131- // add Expect-CT header for cert transparency
132- if ( this . config . expectCT ) app . use ( expectCt ( this . config . expectCT ) ) ;
133-
134130 // remove trailing slashes
135131 app . use ( removeTrailingSlashes ( ) ) ;
136132
Original file line number Diff line number Diff line change 2323 "@koa/router" : " ^8.0.5" ,
2424 "@ladjs/i18n" : " ^3.0.4" ,
2525 "@ladjs/redis" : " ^1.0.3" ,
26- "@ladjs/shared-config" : " ^1.0.3 " ,
26+ "@ladjs/shared-config" : " ^1.0.4 " ,
2727 "@ladjs/store-ip-address" : " ^0.0.7" ,
2828 "boolean" : " 3.0.1" ,
2929 "cabin" : " ^6.1.0" ,
3939 "koa-conditional-get" : " ^2.0.0" ,
4040 "koa-connect" : " ^2.0.1" ,
4141 "koa-etag" : " ^3.0.0" ,
42- "koa-expect-ct" : " ^0.0.1" ,
4342 "koa-helmet" : " ^5.2.0" ,
4443 "koa-json" : " ^2.0.2" ,
4544 "koa-no-trailing-slash" : " ^2.1.0" ,
Original file line number Diff line number Diff line change 531531 dependencies :
532532 ioredis "^4.14.0"
533533
534- " @ladjs/shared-config@^1.0.3 " :
535- version "1.0.3 "
536- resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-1.0.3 .tgz#930382c6e2e61abb0aec32fbace2adce3c64906c "
537- integrity sha512-ZXemjUxYBZXZuRgrwpilwJTqTIulZr4+vFbM4U2/febUClVL9sZPR9/o1HuigZZ93jMJj8S/rihYQj9cbE3YNQ ==
534+ " @ladjs/shared-config@^1.0.4 " :
535+ version "1.0.4 "
536+ resolved "https://registry.yarnpkg.com/@ladjs/shared-config/-/shared-config-1.0.4 .tgz#0221f70afddde6501026ed734a3ce1a778a37f48 "
537+ integrity sha512-EMrgoLUY1EGqIaAR75wHBjMzrfG3fGdAakzUJ8SUrAWPrk3sbgtAfP2Abz7+6udiyVTQdnk4KNKSR3fXIjXeng ==
538538 dependencies :
539539 boolean "^3.0.1"
540540 is-string-and-not-blank "^0.0.2"
@@ -2498,9 +2498,9 @@ eslint-plugin-node@^10.0.0:
24982498 semver "^6.1.0"
24992499
25002500eslint-plugin-prettier@^3.1.1 :
2501- version "3.1.2 "
2502- resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.2 .tgz#432e5a667666ab84ce72f945c72f77d996a5c9ba "
2503- integrity sha512-GlolCC9y3XZfv3RQfwGew7NnuFDKsfI4lbvRK+PIIo23SFH+LemGs4cKwzAaRa+Mdb+lQO/STaIayno8T5sJJA ==
2501+ version "3.1.3 "
2502+ resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3 .tgz#ae116a0fc0e598fdae48743a4430903de5b4e6ca "
2503+ integrity sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ ==
25042504 dependencies :
25052505 prettier-linter-helpers "^1.0.0"
25062506
@@ -4406,11 +4406,6 @@ koa-etag@^3.0.0:
44064406 etag "^1.3.0"
44074407 mz "^2.1.0"
44084408
4409- koa-expect-ct@^0.0.1 :
4410- version "0.0.1"
4411- resolved "https://registry.yarnpkg.com/koa-expect-ct/-/koa-expect-ct-0.0.1.tgz#fc1830625aaca56444d0dfded16c8264702b65d9"
4412- integrity sha512-aeihB0sxvmyRIP/Mm4b25ZIu68YlLXp8/4F0GfDteZpFbweAJNsmTegpvS4Ae9swdz5IvTHF1dKxhuKIobMs2g==
4413-
44144409koa-helmet@^5.2.0 :
44154410 version "5.2.0"
44164411 resolved "https://registry.yarnpkg.com/koa-helmet/-/koa-helmet-5.2.0.tgz#6529f64dd4539261a9bb0a56e201e4976f0200f0"
You can’t perform that action at this time.
0 commit comments