@tinyhttp/etag
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -24,5 +24,4 @@ import { createHash } from 'crypto'; | ||
const eTag = (entity, options) => { | ||
if (entity == null) { | ||
if (entity == null) | ||
throw new TypeError('argument entity is required'); | ||
} | ||
const weak = (options === null || options === void 0 ? void 0 : options.weak) || entity instanceof Stats; | ||
@@ -29,0 +28,0 @@ // generate entity tag |
{ | ||
"name": "@tinyhttp/etag", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"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
4269
35