@tinyhttp/cookie-signature
Advanced tools
Comparing version 0.1.4 to 0.1.5
# @tinyhttp/cookie-signature | ||
## 0.1.5 | ||
### Patch Changes | ||
- Add --compact flag | ||
## 0.1.4 | ||
@@ -4,0 +10,0 @@ |
@@ -1,4 +0,2 @@ | ||
import { createHmac, timingSafeEqual } from 'crypto'; | ||
/** | ||
import {createHmac,timingSafeEqual}from'crypto';/** | ||
* Sign the given `val` with `secret`. | ||
@@ -17,4 +15,2 @@ */ | ||
return timingSafeEqual(macBuffer, valBuffer) ? str : false; | ||
}; | ||
export { sign, unsign }; | ||
};export{sign,unsign}; |
{ | ||
"name": "@tinyhttp/cookie-signature", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "HTTP cookie signing and unsigning", | ||
@@ -43,4 +43,4 @@ "homepage": "https://github.com/talentlessguy/tinyhttp#readme", | ||
"scripts": { | ||
"build": "rollup -c" | ||
"build": "rollup -c --compact" | ||
} | ||
} |
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
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
5525
59