Skip to content

Commit

Permalink
chore: switch to forked interceptors package
Browse files Browse the repository at this point in the history
  • Loading branch information
kurpav committed Nov 22, 2023
1 parent 7c414e0 commit 6c064ae
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"author": "Alex Klarfeld",
"license": "ISC",
"dependencies": {
"@mswjs/interceptors": "0.17.6",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"node-cache": "^5.1.2",
"signal-exit": "^3.0.7"
"signal-exit": "^3.0.7",
"supergood-interceptors": "0.17.7-rc.0"
},
"devDependencies": {
"@types/jest": "^29.5.8",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsomorphicRequest } from '@mswjs/interceptors';
import { IsomorphicRequest } from 'supergood-interceptors';
import NodeCache from 'node-cache';
import {
getHeaderOptions,
Expand All @@ -10,7 +10,7 @@ import {
} from './utils';
import { postEvents } from './api';

import { ClientRequestInterceptor } from '@mswjs/interceptors/lib/interceptors/ClientRequest';
import { ClientRequestInterceptor } from 'supergood-interceptors/lib/interceptors/ClientRequest';
import {
HeaderOptionType,
EventRequestType,
Expand Down
27 changes: 14 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -605,19 +605,6 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"

"@mswjs/interceptors@file:../mswjs-interceptors/mswjs-interceptors-v0.17.7-beta.0.tgz":
version "0.17.7-beta.0"
resolved "file:../mswjs-interceptors/mswjs-interceptors-v0.17.7-beta.0.tgz#645eb72eb167c284364f2d76b4e1eabb0e1c3c1c"
dependencies:
"@open-draft/until" "^1.0.3"
"@types/debug" "^4.1.7"
"@xmldom/xmldom" "^0.8.3"
debug "^4.3.3"
headers-polyfill "^3.1.0"
outvariant "^1.2.1"
strict-event-emitter "^0.2.4"
web-encoding "^1.1.5"

"@nodelib/[email protected]":
version "2.1.5"
resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz"
Expand Down Expand Up @@ -4131,6 +4118,20 @@ superagent@^8.0.9:
qs "^6.11.0"
semver "^7.3.8"

[email protected]:
version "0.17.7-rc.0"
resolved "https://registry.npmjs.org/supergood-interceptors/-/supergood-interceptors-0.17.7-rc.0.tgz#18f73cce20ec47fbe57a97bd9321cefde60f473f"
integrity sha512-2OpQCRNZ586b+86fA0iWVSX4RIlKbvaC8Wq+mrZH5bp0kN5CH7xoD9zNQb3Y2NURSL5VS74pFPJBjA6drdd7RQ==
dependencies:
"@open-draft/until" "^1.0.3"
"@types/debug" "^4.1.7"
"@xmldom/xmldom" "^0.8.3"
debug "^4.3.3"
headers-polyfill "^3.1.0"
outvariant "^1.2.1"
strict-event-emitter "^0.2.4"
web-encoding "^1.1.5"

supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
Expand Down

0 comments on commit 6c064ae

Please sign in to comment.