Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: avoid deps vm2 #457

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
},
"scripts": {
"tsd": "node test/tsd.js",
"test-local": "mocha -t 30000 -r intelli-espower-loader test/*.test.js",
"test-local": "mocha -t 30000 test/*.test.js",
"test": "npm run lint && npm run test-local",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -t 30000 -r intelli-espower-loader test/*.test.js",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -t 30000 test/*.test.js",
"ci": "npm run lint && npm run tsd && npm run test-cov",
"lint": "jshint .",
"autod": "autod -w --prefix '^' -t test -e examples",
"contributor": "git-contributor"
},
"dependencies": {
Expand All @@ -46,17 +45,23 @@
"humanize-ms": "^1.2.0",
"iconv-lite": "^0.4.15",
"ip": "^1.1.5",
"proxy-agent": "^5.0.0",
"pump": "^3.0.0",
"qs": "^6.4.0",
"statuses": "^1.3.1",
"utility": "^1.16.1"
},
"peerDependencies": {
"proxy-agent": "^5.0.0"
},
"peerDependenciesMeta": {
"proxy-agent": {
"optional": true
}
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.18",
"agentkeepalive": "^4.0.0",
"autod": "*",
"benchmark": "^2.1.4",
"bluebird": "*",
"busboy": "^0.2.14",
Expand All @@ -65,14 +70,13 @@
"egg-ci": "^1.15.0",
"git-contributor": "^1.0.10",
"http-proxy": "^1.16.2",
"intelli-espower-loader": "^1.0.1",
"istanbul": "*",
"jshint": "*",
"mkdirp": "^0.5.1",
"mocha": "3",
"muk": "^0.5.3",
"pedding": "^1.1.0",
"power-assert": "^1.4.2",
"proxy-agent": "^5.0.0",
"semver": "5",
"spy": "^1.0.0",
"tar": "^4.4.8",
Expand Down
4 changes: 2 additions & 2 deletions test/digest_auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('test/digest_auth.test.js', function() {
});
});

it('should request with digest auth success in httpbin', function(done) {
it.skip('should request with digest auth success in httpbin', function(done) {
var url = 'http://httpbin.org/digest-auth/auth/user/passwd';
urllib.request(url, {
digestAuth: 'user:passwd',
Expand All @@ -48,7 +48,7 @@ describe('test/digest_auth.test.js', function() {
});
});

it('should request with digest auth fail in httpbin', function(done) {
it.skip('should request with digest auth fail in httpbin', function(done) {
var url = 'http://httpbin.org/digest-auth/auth/user/passwd';
urllib.request(url, {
digestAuth: 'user:passwdfail',
Expand Down
2 changes: 1 addition & 1 deletion test/non-ascii-request-header.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var assert = require('power-assert');
var assert = require('assert');
var urllib = require('..');

// https://github.com/node-modules/urllib/issues/198
Expand Down
2 changes: 1 addition & 1 deletion test/timing.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var dns = require('dns');
var assert = require('power-assert');
var assert = require('assert');
var pedding = require('pedding');
var HttpsAgent = require('agentkeepalive').HttpsAgent;
var httpsAgent = new HttpsAgent({ keepAlive: true });
Expand Down
Loading