@tinyhttp/etag
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -27,3 +27,3 @@ import { createHash } from 'crypto'; | ||
} | ||
const weak = options?.weak || entity instanceof Stats; | ||
const weak = (options === null || options === void 0 ? void 0 : options.weak) || entity instanceof Stats; | ||
// generate entity tag | ||
@@ -30,0 +30,0 @@ const tag = entity instanceof Stats ? statTag(entity) : entityTag(entity); |
{ | ||
"name": "@tinyhttp/etag", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "entity tag module", |
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
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
4277