Socket
Socket
Sign inDemoInstall

egg-mock

Package Overview
Dependencies
369
Maintainers
12
Versions
125
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.0.2

2

index.d.ts
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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc