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

secure-cookie

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-cookie - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

dist/index.esm.js
/*!
* secure-cookie v0.0.6
* secure-cookie v0.0.7
* (c) Ismail H. Ayaz

@@ -406,3 +406,3 @@ * Released under the MIT License.

= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options);
next();
return next();
}; };

@@ -409,0 +409,0 @@ return Cookies;

/*!
* secure-cookie v0.0.6
* secure-cookie v0.0.7
* (c) Ismail H. Ayaz

@@ -416,3 +416,3 @@ * Released under the MIT License.

= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options);
next();
return next();
}; };

@@ -419,0 +419,0 @@ return Cookies;

{
"name": "secure-cookie",
"version": "0.0.6",
"version": "0.0.7",
"description": "Cookie library/middleware with signing and encryption support",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -190,4 +190,4 @@ import http, {IncomingMessage, ServerResponse} from 'http';

= ctx.request.cookies
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options)
next()
= ctx.response.cookies = new Cookies(ctx.req, ctx.res, options);
return next()
}

@@ -194,0 +194,0 @@ }

@@ -78,5 +78,5 @@ /// <reference types="node" />

static express: (options?: CookiesOptions | undefined) => (req: any, res: any, next: any) => void;
static koa: (options?: CookiesOptions | undefined) => (ctx: any, next: any) => void;
static koa: (options?: CookiesOptions | undefined) => (ctx: any, next: any) => any;
}
export {};
//# sourceMappingURL=cookies.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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