@mswjs/interceptors
Advanced tools
Comparing version 0.35.3 to 0.35.4
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1302255
17277