diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9504962 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# 6.0.0 (2024-11-14) + +- **csp-header:** Remove "'none'" value for merged directives with multiple declarations + +### ❤️ Thank You + +- Milo Cesar \ No newline at end of file diff --git a/nx.json b/nx.json index 81ca8a2..c7f3c4f 100644 --- a/nx.json +++ b/nx.json @@ -11,5 +11,10 @@ "dependsOn": ["build"] } }, + "release": { + "version": { + "preVersionCommand": "npm run clean && npx nx run-many -t build" + } + }, "defaultBase": "master" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 1a1ef8e..f884190 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8563,17 +8563,17 @@ } }, "packages/csp-header": { - "version": "5.2.1", + "version": "6.0.0", "license": "WTFPL", "engines": { - "node": ">=16" + "node": ">=18" } }, "packages/express-csp-header": { - "version": "5.2.1", + "version": "6.0.0", "license": "WTFPL", "dependencies": { - "csp-header": "^5.2.1", + "csp-header": "^6.0.0", "psl": "1.8.0" }, "devDependencies": { @@ -8581,7 +8581,7 @@ "@types/psl": "1.1.0" }, "engines": { - "node": ">=16" + "node": ">=18" } } } diff --git a/packages/csp-header/package.json b/packages/csp-header/package.json index f33fb84..bbaaed4 100644 --- a/packages/csp-header/package.json +++ b/packages/csp-header/package.json @@ -1,6 +1,6 @@ { "name": "csp-header", - "version": "5.2.1", + "version": "6.0.0", "description": "Content-Security-Policy header generator", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/express-csp-header/package.json b/packages/express-csp-header/package.json index 3cd762e..e660851 100644 --- a/packages/express-csp-header/package.json +++ b/packages/express-csp-header/package.json @@ -1,6 +1,6 @@ { "name": "express-csp-header", - "version": "5.2.1", + "version": "6.0.0", "description": "Content-Security-Policy middleware for Express", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -32,7 +32,7 @@ "@types/psl": "1.1.0" }, "dependencies": { - "csp-header": "^5.2.1", + "csp-header": "^6.0.0", "psl": "1.8.0" } }