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

@mswjs/interceptors

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mswjs/interceptors - npm Package Compare versions

Comparing version 0.35.3 to 0.35.4

lib/node/chunk-MYOYMNM2.js

4

lib/node/interceptors/ClientRequest/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkBMRE2LOXjs = require('../../chunk-BMRE2LOX.js');
var _chunkMYOYMNM2js = require('../../chunk-MYOYMNM2.js');
require('../../chunk-VCUEA4PL.js');

@@ -8,3 +8,3 @@ require('../../chunk-AABH3XLQ.js');

exports.ClientRequestInterceptor = _chunkBMRE2LOXjs.ClientRequestInterceptor;
exports.ClientRequestInterceptor = _chunkMYOYMNM2js.ClientRequestInterceptor;
//# sourceMappingURL=index.js.map
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkBMRE2LOXjs = require('../chunk-BMRE2LOX.js');
var _chunkMYOYMNM2js = require('../chunk-MYOYMNM2.js');

@@ -17,3 +17,3 @@

var node_default = [
new (0, _chunkBMRE2LOXjs.ClientRequestInterceptor)(),
new (0, _chunkMYOYMNM2js.ClientRequestInterceptor)(),
new (0, _chunkDRXVDC32js.XMLHttpRequestInterceptor)(),

@@ -20,0 +20,0 @@ new (0, _chunkBCUXF7NZjs.FetchInterceptor)()

@@ -6,3 +6,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkBMRE2LOXjs = require('./chunk-BMRE2LOX.js');
var _chunkMYOYMNM2js = require('./chunk-MYOYMNM2.js');

@@ -27,3 +27,3 @@

interceptors: [
new (0, _chunkBMRE2LOXjs.ClientRequestInterceptor)(),
new (0, _chunkMYOYMNM2js.ClientRequestInterceptor)(),
new (0, _chunkDRXVDC32js.XMLHttpRequestInterceptor)()

@@ -30,0 +30,0 @@ ]

{
"name": "@mswjs/interceptors",
"description": "Low-level HTTP/HTTPS/XHR/fetch request interception library.",
"version": "0.35.3",
"version": "0.35.4",
"main": "./lib/node/index.js",

@@ -6,0 +6,0 @@ "module": "./lib/node/index.mjs",

@@ -42,3 +42,7 @@ import net from 'node:net'

connectionOptions: options,
createConnection: createConnection.bind(this, options, callback),
createConnection: createConnection.bind(
this.customAgent || this,
options,
callback
),
onRequest: this.onRequest.bind(this),

@@ -72,3 +76,7 @@ onResponse: this.onResponse.bind(this),

connectionOptions: options,
createConnection: createConnection.bind(this, options, callback),
createConnection: createConnection.bind(
this.customAgent || this,
options,
callback
),
onRequest: this.onRequest.bind(this),

@@ -75,0 +83,0 @@ onResponse: this.onResponse.bind(this),

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