Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency koa-helmet to v8 #1407

Merged
merged 3 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"@skyra/jaro-winkler": "^1.1.1",
"debug": "4.4.0",
"episode-parser": "2.0.2",
"helmet": "^8.0.0",
"koa": "2.15.3",
"koa-bodyparser": "4.4.1",
"koa-helmet": "7.0.2",
"koa-helmet": "8.0.1",
"koa-qs": "3.0.0",
"koa-router": "13.0.1",
"lodash": "4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as Koa from 'koa';
import * as bodyParser from 'koa-bodyparser';
import * as helmet from 'koa-helmet';
import helmet from "koa-helmet";
import * as mongoose from 'mongoose';
import { ParameterizedContext } from 'koa';
import * as koaQs from 'koa-qs';
Expand Down
23 changes: 12 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3152,10 +3152,10 @@ __metadata:
languageName: node
linkType: hard

"helmet@npm:^6.0.1":
version: 6.2.0
resolution: "helmet@npm:6.2.0"
checksum: 10/f112fcd0d8494e6c8ad10e9307e182f1be9c9c4917a3f9a3718c13ae120d4c4e1f251e735297d6a9266e068dcc0463ab101c8d7f2b809c0ceabcef4681f81a2a
"helmet@npm:^8.0.0":
version: 8.0.0
resolution: "helmet@npm:8.0.0"
checksum: 10/cf30579d1dbd095e301458265fb6b3446d1ee0598c99b5e946afda8a72c035a6a7ebf2176168d5ca2541e6e522a88fb58d06f0eeec4ab378646960de9aea6584
languageName: node
linkType: hard

Expand Down Expand Up @@ -4145,12 +4145,12 @@ __metadata:
languageName: node
linkType: hard

"koa-helmet@npm:7.0.2":
version: 7.0.2
resolution: "koa-helmet@npm:7.0.2"
dependencies:
helmet: "npm:^6.0.1"
checksum: 10/a2f8f72f053402fd8b70deb219ab1535cb6dbc8975ae9bd84d2a976a88a2349f47289485d5db718f21c4d493a9555e8b4bb962119f47d2b0ff95877edc232004
"koa-helmet@npm:8.0.1":
version: 8.0.1
resolution: "koa-helmet@npm:8.0.1"
peerDependencies:
helmet: ">= 6"
checksum: 10/4b3f60e6f35b00a7ae1e143e7ae72aae1ec0bfdab540b03359c010934d921513231bb3fe92ed0b08e62cb94931dab07b8617792068d424e8484fecd59b9f25d4
languageName: node
linkType: hard

Expand Down Expand Up @@ -5968,11 +5968,12 @@ __metadata:
debug: "npm:4.4.0"
episode-parser: "npm:2.0.2"
eslint: "npm:8.57.1"
helmet: "npm:^8.0.0"
inquirer: "npm:12.1.0"
jest: "npm:29.7.0"
koa: "npm:2.15.3"
koa-bodyparser: "npm:4.4.1"
koa-helmet: "npm:7.0.2"
koa-helmet: "npm:8.0.1"
koa-qs: "npm:3.0.0"
koa-router: "npm:13.0.1"
lodash: "npm:4.17.21"
Expand Down
Loading