Skip to content

Commit

Permalink
chore(package): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Aug 27, 2020
1 parent e5aea18 commit 5e850b8
Show file tree
Hide file tree
Showing 6 changed files with 855 additions and 1,298 deletions.
4 changes: 2 additions & 2 deletions adonis-typings/shield.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

declare module '@ioc:Adonis/Addons/Shield' {
import { CookieOptions } from '@ioc:Adonis/Core/Response'
import { CspOptions as HelmetCspOptions } from 'helmet-csp/dist/lib/types'
import { ContentSecurityPolicyOptions } from 'helmet-csp'

/**
* Config for `X-Frame-Options` header
Expand Down Expand Up @@ -70,7 +70,7 @@ declare module '@ioc:Adonis/Addons/Shield' {
/**
* Config for working with CSP
*/
export type CspOptions = { enabled: boolean } & HelmetCspOptions
export type CspOptions = { enabled: boolean } & ContentSecurityPolicyOptions

/**
* Config for working with CSRF options
Expand Down
4 changes: 2 additions & 2 deletions npm-audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ <h5 class="card-title">
<div class="card">
<div class="card-body">
<h5 class="card-title">
20
17
</h5>
<p class="card-text">Dependencies</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
July 27th 2020, 7:43:15 pm
August 27th 2020, 6:27:24 pm
</h5>
<p class="card-text">Last updated</p>
</div>
Expand Down

0 comments on commit 5e850b8

Please sign in to comment.