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

koa-zod-router

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-zod-router - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

CHANGELOG.md
# koa-zod-router
## 1.0.1
### Patch Changes
- be19b89: Date type coercion fix
## 1.0.0

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

20

dist/index.js

@@ -172,4 +172,4 @@ "use strict";

} else {
Object.keys(headers).forEach((header) => {
ctx.request.headers[header] = headers[header];
Object.keys(headers).forEach((key) => {
ctx.request.headers[key] = headers[key];
});

@@ -182,3 +182,5 @@ }

} else {
ctx.request.params = params;
Object.keys(params).forEach((key) => {
ctx.request.params[key] = params[key];
});
}

@@ -190,3 +192,5 @@ }

} else {
ctx.request.query = query;
Object.keys(query).forEach((key) => {
ctx.request.query[key] = query[key];
});
}

@@ -198,3 +202,5 @@ }

} else {
ctx.request.body = body;
Object.keys(body).forEach((key) => {
ctx.request.body[key] = body[key];
});
}

@@ -206,3 +212,5 @@ }

} else {
ctx.request.files = files;
Object.keys(files).forEach((key) => {
ctx.request.files[key] = files[key];
});
}

@@ -209,0 +217,0 @@ }

{
"name": "koa-zod-router",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

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

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