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

@plumier/core

Package Overview
Dependencies
Maintainers
1
Versions
645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plumier/core - npm Package Compare versions

Comparing version 1.0.0-dev.11 to 1.0.0-dev.12

2

lib/types.d.ts

@@ -16,3 +16,3 @@ import Koa, { Context } from "koa";

setStatus(status: number): this;
setCookie(key: string, value: string, option?: SetOption): this;
setCookie(key: string, value?: string, option?: SetOption): this;
execute(ctx: Context): Promise<void>;

@@ -19,0 +19,0 @@ }

@@ -36,3 +36,6 @@ "use strict";

for (const cookie of this.cookies) {
ctx.cookies.set(cookie.key, cookie.value, cookie.option);
if (!cookie.value)
ctx.cookies.set(cookie.key);
else
ctx.cookies.set(cookie.key, cookie.value, cookie.option);
}

@@ -39,0 +42,0 @@ if (this.body)

{
"name": "@plumier/core",
"version": "1.0.0-dev.11+fdf6d25",
"version": "1.0.0-dev.12+6f37e07",
"description": "Delightful Node.js Rest Framework",

@@ -41,3 +41,3 @@ "main": "lib/index.js",

},
"gitHead": "fdf6d25f535d150f13a6e44960debe31e4305d9b",
"gitHead": "6f37e078872709538da5392f1da91fbc61995edd",
"devDependencies": {

@@ -44,0 +44,0 @@ "upath": "^1.2.0"

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