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

@azure-tools/test-recorder

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure-tools/test-recorder - npm Package Compare versions

Comparing version 3.5.1 to 3.5.2

6

dist-esm/src/recorder.js

@@ -280,6 +280,6 @@ // Copyright (c) Microsoft Corporation.

// Ideally this should be handled by the test-proxy. However, it was suggested that
// there may be scenarios where it is desired to include this header.
// Thus we are ignoring Accept-Language header in recorder for browser.
// there may be scenarios where it is desired to include these headers.
// Thus we are ignoring Accept-Language and Accept-Encountered headers in recorder for browser.
const excludedHeaders = isBrowser
? ((_a = options.excludedHeaders) !== null && _a !== void 0 ? _a : []).concat("Accept-Language")
? ((_a = options.excludedHeaders) !== null && _a !== void 0 ? _a : []).concat("Accept-Language", "Accept-Encoding")
: options.excludedHeaders;

@@ -286,0 +286,0 @@ const updatedOptions = Object.assign(Object.assign({}, options), { excludedHeaders });

@@ -943,6 +943,6 @@ 'use strict';

// Ideally this should be handled by the test-proxy. However, it was suggested that
// there may be scenarios where it is desired to include this header.
// Thus we are ignoring Accept-Language header in recorder for browser.
// there may be scenarios where it is desired to include these headers.
// Thus we are ignoring Accept-Language and Accept-Encountered headers in recorder for browser.
const excludedHeaders = coreUtil.isBrowser
? ((_a = options.excludedHeaders) !== null && _a !== void 0 ? _a : []).concat("Accept-Language")
? ((_a = options.excludedHeaders) !== null && _a !== void 0 ? _a : []).concat("Accept-Language", "Accept-Encoding")
: options.excludedHeaders;

@@ -949,0 +949,0 @@ const updatedOptions = Object.assign(Object.assign({}, options), { excludedHeaders });

{
"name": "@azure-tools/test-recorder",
"version": "3.5.1",
"version": "3.5.2",
"sdk-type": "utility",

@@ -5,0 +5,0 @@ "description": "This library provides interfaces and helper methods to provide recording and playback capabilities for the tests in Azure JS/TS SDKs",

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