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

@applitools/req

Package Overview
Dependencies
Maintainers
34
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/req - npm Package Compare versions

Comparing version 1.1.28 to 1.1.29

2

dist/req.js

@@ -129,3 +129,3 @@ "use strict";

},
body: utils.types.isPlainObject(options === null || options === void 0 ? void 0 : options.body) || utils.types.isArray(options === null || options === void 0 ? void 0 : options.body)
body: utils.types.isPlainObject(options === null || options === void 0 ? void 0 : options.body) || utils.types.isArray(options === null || options === void 0 ? void 0 : options.body) || (options === null || options === void 0 ? void 0 : options.body) === null
? JSON.stringify(options === null || options === void 0 ? void 0 : options.body)

@@ -132,0 +132,0 @@ : (_f = options === null || options === void 0 ? void 0 : options.body) !== null && _f !== void 0 ? _f : input.body,

{
"name": "@applitools/req",
"version": "1.1.28",
"version": "1.1.29",
"description": "Applitools fetch-based request library",

@@ -46,4 +46,4 @@ "keywords": [

"scripts": {
"lint": "eslint '**/*.ts'",
"build": "tsc --project ./tsconfig.build.json",
"lint": "npx eslint '**/*.ts'",
"build": "npx tsc --project ./tsconfig.build.json",
"test": "mocha --no-timeouts -r ts-node/register ./test/**/*.spec.ts",

@@ -56,9 +56,4 @@ "test:sanity": "yarn test",

},
"husky": {
"hooks": {
"pre-push": "yarn bongo lint"
}
},
"dependencies": {
"@applitools/utils": "1.3.28",
"@applitools/utils": "1.3.29",
"@types/node-fetch": "2.6.2",

@@ -71,18 +66,6 @@ "abort-controller": "3.0.0",

"@applitools/bongo": "^2.2.2",
"@applitools/scripts": "^1.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "12",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^4.3.8",
"mocha": "10.0.0",
"nock": "^13.2.9",
"prettier": "^2.8.2",
"ts-node": "^10.8.0",
"typescript": "^4.9.4"
"nock": "^13.2.9"
},

@@ -89,0 +72,0 @@ "engines": {

/// <reference types="node" />
/// <reference types="node" />
import { type AbortSignal } from 'abort-controller';

@@ -35,3 +34,3 @@ import globalFetch, { Request, Response } from 'node-fetch';

*/
body?: NodeJS.ReadableStream | ArrayBufferView | string | Record<string, any> | any[];
body?: NodeJS.ReadableStream | ArrayBufferView | string | Record<string, any> | any[] | null;
/**

@@ -41,3 +40,3 @@ * Proxy settings for the request. Auth credentials specified in the object will override ones specified in url

*/
proxy?: Proxy | ((url: URL) => Proxy);
proxy?: Proxy | ((url: URL) => Proxy | undefined);
/**

@@ -44,0 +43,0 @@ * Connection timeout in ms

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