From bc4452940e800ed18fa0761644e4f4ef3e4fddf6 Mon Sep 17 00:00:00 2001 From: glromeo Date: Tue, 29 Mar 2022 01:01:46 +0100 Subject: [PATCH] unbound nonce, fixes #76 --- README.md | 13 +++++++++++++ package.json | 2 +- src/plugin.ts | 6 +++--- src/utils.ts | 14 +++++++++++++- test/unit.test.ts | 20 ++++++++++++++++++++ 5 files changed, 50 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67f7e28..bbda700 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,19 @@ in presence of Content-Security-Policy [(CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src) the `nonce` option allows to specify the nonce attribute for the dynamically generated `