Socket
Socket
Sign inDemoInstall

@readme/oas-to-har

Package Overview
Dependencies
Maintainers
10
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readme/oas-to-har - npm Package Compare versions

Comparing version 23.2.6 to 23.2.7

3

dist/index.d.ts

@@ -1,5 +0,6 @@

import { DataForHAR, AuthForHAR, oasToHarOptions } from './lib/types.js';
import { AuthForHAR, oasToHarOptions } from './lib/types.js';
import { Request } from 'har-format';
import Oas from 'oas';
import { Operation } from 'oas/operation';
import { DataForHAR } from 'oas/types';

@@ -6,0 +7,0 @@ declare function oasToHar(oas: Oas, operationSchema?: Operation, values?: DataForHAR, auth?: AuthForHAR, opts?: oasToHarOptions): {

@@ -0,1 +1,3 @@

export { DataForHAR } from 'oas/types';
type AuthForHAR = Record<string, number | string | {

@@ -5,14 +7,3 @@ pass?: string;

}>;
interface DataForHAR {
body?: any;
cookie?: Record<string, any>;
formData?: Record<string, any>;
header?: Record<string, any>;
path?: Record<string, any>;
query?: Record<string, any>;
server?: {
selected: number;
variables?: Record<string, unknown>;
};
}
interface oasToHarOptions {

@@ -22,2 +13,2 @@ proxyUrl: boolean;

export type { AuthForHAR, DataForHAR, oasToHarOptions };
export type { AuthForHAR, oasToHarOptions };

@@ -0,1 +1,6 @@

// src/lib/types.ts
import { DataForHAR } from "oas/types";
export {
DataForHAR
};
//# sourceMappingURL=types.js.map
{
"name": "@readme/oas-to-har",
"description": "Utility to transform an OAS operation into a HAR representation",
"version": "23.2.6",
"version": "23.2.7",
"author": "Jon Ursenbach <jon@ursenba.ch>",

@@ -53,3 +53,3 @@ "license": "ISC",

"@readme/data-urls": "^3.0.0",
"oas": "^24.2.2",
"oas": "^24.3.0",
"qs": "^6.12.0",

@@ -71,3 +71,3 @@ "remove-undefined-objects": "^5.0.0"

"prettier": "@readme/eslint-config/prettier",
"gitHead": "0a0515233c1b2d2c53200263b8fd18395e876480"
"gitHead": "b0680d0588c1fd93d006c0c87b98b882cb057926"
}

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