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

chore/1.0.0-rc.4 #283

Merged
merged 28 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8bdd0ef
add hashStyles option to Interface
vejja Oct 31, 2023
24873d1
docs
vejja Nov 4, 2023
baa4310
advanced csp
vejja Nov 6, 2023
01924b3
docs: add faq about paypal
Baroshem Nov 7, 2023
05c3cbe
initial sri code
vejja Oct 19, 2023
702d14e
add hashStyles default value to docs
vejja Nov 7, 2023
61d91bf
add tests and doc
vejja Nov 7, 2023
1bbb24b
change plugin order: sri before ssg
vejja Nov 8, 2023
5a91a21
fix(headers): allow csp value to be `false`
dargmuesli Nov 8, 2023
62ad0ba
docs(csp): add `false` as possible value
dargmuesli Nov 8, 2023
25c9bbb
fix ci tests failing
vejja Nov 8, 2023
40f755d
add manual trigger for Github CI
vejja Nov 8, 2023
45ad6ed
Merge branch 'sri' into csp-ssg-sri
vejja Nov 8, 2023
30d9dd8
ssg: use sri to build csp whitelist
vejja Nov 8, 2023
34f81ac
Merge pull request #282 from vejja/csp-docs
Baroshem Nov 9, 2023
75b3999
Merge branch 'chore/1.0.0-rc.4' into extend-ssg-csp
Baroshem Nov 9, 2023
5e843b7
Merge pull request #278 from vejja/extend-ssg-csp
Baroshem Nov 9, 2023
4194598
Merge branch 'chore/1.0.0-rc.4' into sri
Baroshem Nov 9, 2023
64a2aa4
Merge pull request #285 from vejja/sri
Baroshem Nov 9, 2023
6c5ec9e
Merge branch 'chore/1.0.0-rc.4' into csp-ssg-sri
vejja Nov 9, 2023
f75159d
Merge pull request #287 from vejja/csp-ssg-sri
Baroshem Nov 10, 2023
f9d20b4
Merge remote-tracking branch 'Baroshem/chore/1.0.0-rc.4' into patch-1
dargmuesli Nov 14, 2023
da4b90c
Merge pull request #286 from dargmuesli/patch-1
Baroshem Nov 14, 2023
b2415a7
update csp default config
vejja Nov 14, 2023
9cc923e
Merge branch 'chore/1.0.0-rc.4' into csp-defaults
vejja Nov 14, 2023
13a0bf1
Merge pull request #289 from vejja/csp-defaults
Baroshem Nov 15, 2023
35418ff
docs: elipsis in strict-csp
Baroshem Nov 15, 2023
2973c31
stackblitz: bump to 1.0.0-rc.4
Baroshem Nov 15, 2023
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '**-rc.**'
- 'renovate/**'
pull_request:
workflow_dispatch:

jobs:
ci:
Expand Down
2 changes: 1 addition & 1 deletion .stackblitz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"nuxt": "3.7.3"
},
"dependencies": {
"nuxt-security": "^1.0.0-rc.3"
"nuxt-security": "^1.0.0-rc.4"
}
}
8 changes: 4 additions & 4 deletions .stackblitz/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3113,10 +3113,10 @@ nuxt-csurf@^1.3.1:
defu "^6.1.1"
uncsrf "^1.1.1"

nuxt-security@^1.0.0-rc.3:
version "1.0.0-rc.3"
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0-rc.3.tgz#7af5229e608acf67e1793963bd9164e43727e452"
integrity sha512-3up3u5H7GY3PE+s7B4+Kkj44r3WoOAKbPhpu7wRZn0oRN/bRmhcsK0QAzKGhxOpB3dgR9Zb5XtwKa2uzhLLp5Q==
nuxt-security@^1.0.0-rc.4:
version "1.0.0-rc.4"
resolved "https://registry.yarnpkg.com/nuxt-security/-/nuxt-security-1.0.0-rc.4.tgz#b3e2ba1a6d3d54d239e2bc8091c6ebd3bcbfc8c6"
integrity sha512-xYj0+kXpgePq59UPTZ73eGN74LT2ByFMbobV5eZkePVLWwa8MNl1j0XhM2IjdBhowFnCMasApU2P/dnP27J96g==
dependencies:
"@nuxt/kit" "^3.8.0"
basic-auth "^2.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ interface ModuleOptions {
nonce: boolean;
removeLoggers?: RemoveOptions | false;
ssg?: Ssg;
sri: boolean;
}
```

Expand All @@ -43,14 +44,15 @@ security: {
crossOriginOpenerPolicy: 'same-origin',
crossOriginEmbedderPolicy: 'require-corp',
contentSecurityPolicy: {
'base-uri': ["'self'"],
'base-uri': ["'none'"],
'font-src': ["'self'", 'https:', 'data:'],
'form-action': ["'self'"],
'frame-ancestors': ["'self'"],
'img-src': ["'self'", 'data:'],
'object-src': ["'none'"],
'script-src-attr': ["'none'"],
'style-src': ["'self'", 'https:', "'unsafe-inline'"],
'script-src': ["'self'", 'https:', "'unsafe-inline'", "'strict-dynamic'", "'nonce-{{nonce}}'"],
'upgrade-insecure-requests': true
},
originAgentCluster: '?1',
Expand Down Expand Up @@ -106,16 +108,18 @@ security: {
basicAuth: false,
enabled: true,
csrf: false,
nonce: false,
nonce: true,
removeLoggers: {
external: [],
consoleType: ['log', 'debug'],
include: [/\.[jt]sx?$/, /\.vue\??/],
exclude: [/node_modules/, /\.git/]
},
ssg: {
hashScripts: true
}
hashScripts: true,
hashStyles: false
},
sri: true
}
```

Expand Down
Loading
Loading