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

fets

Package Overview
Dependencies
Maintainers
1
Versions
707
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fets - npm Package Compare versions

Comparing version 0.8.1-alpha-20240611074215-28acd96dbf49a60797737665dfd218cf2e9834dc to 0.8.1-alpha-20240611081545-285d13e9d358a9063993a24bc907fc2cc1d62328

2

package.json
{
"name": "fets",
"version": "0.8.1-alpha-20240611074215-28acd96dbf49a60797737665dfd218cf2e9834dc",
"version": "0.8.1-alpha-20240611081545-285d13e9d358a9063993a24bc907fc2cc1d62328",
"description": "TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -121,3 +121,3 @@ import type { B, Call, Fn, Objects, Pipe, Strings, Tuples } from 'hotscript';

} ? FromSchema<TOAS['definitions'][TName]> : never;
export type FixJSONSchema<T> = FixAdditionalPropertiesForAllOf<FixMissingAdditionalProperties<FixMissingTypeObject<FixExtraRequiredFields<T>>>>;
export type FixJSONSchema<T> = RemoveExclusiveMinimumAndMaximum<FixAdditionalPropertiesForAllOf<FixMissingAdditionalProperties<FixMissingTypeObject<FixExtraRequiredFields<T>>>>>;
type FixAdditionalPropertiesForAllOf<T> = T extends {

@@ -145,2 +145,6 @@ allOf: any[];

} : T;
type RemoveExclusiveMinimumAndMaximum<T> = T extends {
exclusiveMinimum?: boolean;
exclusiveMaximum?: boolean;
} ? Omit<T, 'exclusiveMinimum' | 'exclusiveMaximum'> : T;
export type OASRequestParams<TOAS extends OpenAPIDocument, TPath extends keyof OASPathMap<TOAS>, TMethod extends keyof OASMethodMap<TOAS, TPath>, TAuthParamsRequired extends boolean = true> = (OASMethodMap<TOAS, TPath>[TMethod] extends {

@@ -147,0 +151,0 @@ requestBody: {

@@ -5,4 +5,4 @@ /// <reference types="urlpattern-polyfill" />

import type { ErrorHandler, FetchAPI, ServerAdapter, ServerAdapterOptions, ServerAdapterPlugin, ServerAdapterRequestHandler } from '@whatwg-node/server';
import type { ClientTypedResponsePromise } from './client/clientResponse.js';
import type { ClientRequestInit } from './client/types.js';
import { ClientTypedResponsePromise } from './client/clientResponse.js';
import { ClientRequestInit } from './client/types.js';
import type { SwaggerUIOpts } from './plugins/openapi.js';

@@ -169,18 +169,9 @@ import type { HTTPMethod, StatusCode, TypedRequest, TypedResponse, TypedResponseWithJSONStatusMap } from './typed-fetch.js';

};
type ObjectSchemaWithPrimitiveProperties = JSONSchema & {
type: 'object';
properties: Record<string, {
type: 'string' | 'number' | 'integer' | 'boolean' | 'null';
}>;
};
type ObjectSchema = JSONSchema & {
type: 'object';
};
export type RouteSchemas = {
request?: {
headers?: ObjectSchemaWithPrimitiveProperties;
params?: ObjectSchemaWithPrimitiveProperties;
query?: ObjectSchema;
headers?: JSONSchema;
params?: JSONSchema;
query?: JSONSchema;
json?: JSONSchema;
formData?: ObjectSchema;
formData?: JSONSchema;
};

@@ -187,0 +178,0 @@ responses?: StatusCodeMap<JSONSchema>;

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