Socket
Socket
Sign inDemoInstall

@types/har-format

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/har-format - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

46

har-format/index.d.ts
// Type definitions for non-npm package HAR 1.2
// Project: https://w3c.github.io/web-performance/specs/HAR/Overview.html
// Definitions by: Michael Mrowetz <https://github.com/micmro>
// Marcell Toth <https://github.com/marcelltoth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -13,3 +14,3 @@

/** This object represents the root of exported data. */
"log": Log;
log: Log;
}

@@ -236,3 +237,3 @@ /**

/** _non-standard_ */
"_score_keep-alive"?: number | null;
'_score_keep-alive'?: number | null;
/** _non-standard_ */

@@ -470,3 +471,3 @@ _score_minify?: number | null;

/** _non-standard_ */
"_score_keep-alive"?: number | string | null;
'_score_keep-alive'?: number | string | null;
/** _non-standard_ */

@@ -640,20 +641,44 @@ _score_minify?: number | string | null;

*/
export interface PostData {
export type PostData = PostDataCommon & (PostDataParams | PostDataText);
/**
* The common properties of PostData
*/
export interface PostDataCommon {
/** Mime type of posted data. */
mimeType: string;
/** A comment provided by the user or the application */
comment?: string;
}
/**
* Post data with `params` specified.
*/
export interface PostDataParams {
/**
* List of posted parameters (in case of URL encoded parameters).
*
* _`text` and `params` fields are mutually exclusive._
*/
params: Param[];
/**
* _`params` and `text` fields are mutually exclusive._
*/
text?: never;
}
/**
* Post data with `text` specified.
*/
export interface PostDataText {
/**
* Plain text posted data
*
*/
text: string;
/**
* _`params` and `text` fields are mutually exclusive._
*/
text: string;
/** A comment provided by the user or the application */
comment?: string;
params?: never;
}
/**

@@ -676,2 +701,3 @@ * List of posted parameters, if any (embedded in `postData` object).

}
/**

@@ -678,0 +704,0 @@ * This object describes details about response content

{
"name": "@types/har-format",
"version": "1.2.4",
"description": "TypeScript definitions for non-npm package HAR",
"version": "1.2.5",
"description": "TypeScript definitions for HAR",
"license": "MIT",

@@ -11,14 +11,20 @@ "contributors": [

"githubUsername": "micmro"
},
{
"name": "Marcell Toth",
"url": "https://github.com/marcelltoth",
"githubUsername": "marcelltoth"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/har-format"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "8d74f4c9811286e7adf3fa05324862ce36cce3adec6c18b362bad263fce9329a",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "0040e850354c3b3749e78afad90614f154bd670f2ce31330cd50560832e1cd30",
"typeScriptVersion": "3.2"
}

@@ -5,9 +5,9 @@ # Installation

# Summary
This package contains type definitions for non-npm package HAR ( https://w3c.github.io/web-performance/specs/HAR/Overview.html ).
This package contains type definitions for HAR (https://w3c.github.io/web-performance/specs/HAR/Overview.html).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/har-format
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/har-format.
Additional Details
* Last updated: Thu, 14 Feb 2019 16:52:05 GMT
### Additional Details
* Last updated: Fri, 30 Oct 2020 09:03:33 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Michael Mrowetz <https://github.com/micmro>.
These definitions were written by [Michael Mrowetz](https://github.com/micmro), and [Marcell Toth](https://github.com/marcelltoth).

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