Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinyhttp/cookie-signature

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinyhttp/cookie-signature - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

6

CHANGELOG.md
# @tinyhttp/cookie-signature
## 0.1.5
### Patch Changes
- Add --compact flag
## 0.1.4

@@ -4,0 +10,0 @@

8

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc