New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thisisagile/easy

Package Overview
Dependencies
Maintainers
2
Versions
1281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thisisagile/easy - npm Package Compare versions

Comparing version 1.21.3 to 1.21.4

4

dist/services/Req.d.ts
import { Id, Json, JsonValue } from '../types';
export declare type Req = {
path?: Json;
path?: any;
id?: Id;
query?: Json;
query?: any;
q?: JsonValue;

@@ -7,0 +7,0 @@ body?: Json;

{
"name": "@thisisagile/easy",
"version": "1.21.3",
"version": "1.21.4",
"description": "Straightforward library for building domain-driven microservice architectures",

@@ -5,0 +5,0 @@ "author": "Sander Hoogendoorn",

import { Id, Json, JsonValue } from '../types';
export type Req = { path?: Json; id?: Id; query?: Json; q?: JsonValue; body?: Json };
export type Req = { path?: any; id?: Id; query?: any; q?: JsonValue; body?: Json };
export const toReq = (req: { params?: { id?: unknown }; query?: { q?: unknown }; body?: unknown }): Req => ({
path: req.params as Json,
path: req.params,
id: req.params?.id as Id,
query: req.query as Json,
query: req.query,
q: req.query?.q as Json,
body: req.body as Json,
});

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