egg-mock
Advanced tools
Comparing version 5.0.1 to 5.0.2
import { Application, Context, EggLogger } from 'egg'; | ||
import { MockMate } from 'mm'; | ||
import { Test } from 'supertest'; | ||
import { MockAgent } from 'urllib'; | ||
import { MockAgent } from 'urllib-next'; | ||
@@ -6,0 +6,0 @@ export { MockAgent }; |
@@ -1,2 +0,2 @@ | ||
const { MockAgent, setGlobalDispatcher, getGlobalDispatcher } = require('urllib'); | ||
const { MockAgent, setGlobalDispatcher, getGlobalDispatcher } = require('urllib-next'); | ||
@@ -3,0 +3,0 @@ let _mockAgent; |
'use strict'; | ||
const httpclient = require('urllib'); | ||
const httpclient = require('urllib-next'); | ||
@@ -5,0 +5,0 @@ const { port, method, args, property, needResult } = JSON.parse(process.argv[2]); |
{ | ||
"name": "egg-mock", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"eggPlugin": { | ||
@@ -45,3 +45,3 @@ "name": "egg-mock" | ||
"supertest": "^6.2.4", | ||
"urllib": "^3.2.3" | ||
"urllib-next": "^3.2.3" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
83229
27
+ Addedurllib-next@^3.2.3
+ Addedtype-fest@4.18.3(transitive)
+ Addedurllib-next@3.22.4(transitive)
- Removedurllib@^3.2.3
- Removedtype-fest@4.18.2(transitive)
- Removedurllib@3.25.0(transitive)