Comparing version 0.2.0 to 0.2.1
@@ -11,3 +11,8 @@ import { randomUUID } from 'node:crypto'; | ||
set(target, property, newValue) { | ||
rawResponse.setHeader(property, newValue); | ||
if (!newValue && rawResponse.hasHeader(property)) { | ||
rawResponse.removeHeader(property); | ||
} | ||
else if (newValue) { | ||
rawResponse.setHeader(property, newValue); | ||
} | ||
target[property] = newValue; | ||
@@ -14,0 +19,0 @@ return true; |
{ | ||
"name": "fluvial", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Fluvial: A light http/2 server framework, similar to Express", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
2
1296
104586
47