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

fetch-har

Package Overview
Dependencies
Maintainers
10
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-har - npm Package Compare versions

Comparing version 8.1.3 to 8.1.4

4

dist/index.d.ts
/// <reference types="node" />
import type { Har } from 'har-format';
export declare type FetchHAROptions = {
export interface FetchHAROptions {
userAgent?: string;

@@ -8,3 +8,3 @@ files?: Record<string, Blob | Buffer>;

init?: RequestInit;
};
}
export default function fetchHAR(har: Har, opts?: FetchHAROptions): Promise<Response>;

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

exports.__esModule = true;
var data_urls_1 = require("@readme/data-urls");
var readable_stream_1 = require("readable-stream");
var data_urls_1 = require("@readme/data-urls");
if (!globalThis.Blob) {

@@ -18,0 +18,0 @@ try {

{
"name": "fetch-har",
"version": "8.1.3",
"version": "8.1.4",
"description": "Make a fetch request from a HAR definition",

@@ -43,12 +43,12 @@ "main": "dist/index.js",

"@jsdevtools/karma-config": "^3.1.7",
"@readme/eslint-config": "^9.0.0",
"@readme/eslint-config": "^10.3.2",
"@types/chai": "^4.3.1",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.1",
"@types/express": "^4.17.15",
"@types/mocha": "^10.0.0",
"@types/multer": "^1.4.7",
"@types/node": "^18.0.0",
"@types/readable-stream": "^2.3.13",
"@types/node": "^18.11.18",
"@types/readable-stream": "^2.3.15",
"chai": "^4.3.4",
"datauri": "^4.1.0",
"eslint": "^8.14.0",
"eslint": "^8.31.0",
"express": "^4.18.1",

@@ -61,3 +61,3 @@ "fetch-mock": "^9.11.0",

"isomorphic-fetch": "^3.0.0",
"mocha": "^10.0.0",
"mocha": "^10.2.0",
"multer": "^1.4.5-lts.1",

@@ -67,8 +67,8 @@ "nock": "^13.2.4",

"nyc": "^15.1.0",
"prettier": "^2.6.2",
"prettier": "^2.8.1",
"temp-dir": "^2.0.0",
"ts-loader": "^8.4.0",
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"undici": "^5.0.0",
"typescript": "^4.9.4",
"undici": "^5.14.0",
"webpack": "^4.46.0"

@@ -75,0 +75,0 @@ },

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

import type { DataURL as npmDataURL } from '@readme/data-urls';
import type { Har } from 'har-format';
import type { DataURL as npmDataURL } from '@readme/data-urls';
import { parse as parseDataUrl } from '@readme/data-urls';
import { Readable } from 'readable-stream';
import { parse as parseDataUrl } from '@readme/data-urls';

@@ -39,3 +40,3 @@ if (!globalThis.Blob) {

export type FetchHAROptions = {
export interface FetchHAROptions {
userAgent?: string;

@@ -45,3 +46,3 @@ files?: Record<string, Blob | Buffer>;

init?: RequestInit;
};
}

@@ -48,0 +49,0 @@ type DataURL = npmDataURL & {

Sorry, the diff of this file is too big to display

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