Skip to content

Commit e7c1ef8

Browse files
authored
Update deps (node-fetch#320)
1 parent 863449d commit e7c1ef8

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@
3939
"babel-preset-env": "^1.1.10",
4040
"babel-register": "^6.16.3",
4141
"chai": "^3.5.0",
42-
"chai-as-promised": "^6.0.0",
42+
"chai-as-promised": "^7.1.1",
4343
"chai-iterator": "^1.1.1",
4444
"chai-string": "^1.3.0",
45-
"codecov": "^1.0.1",
46-
"cross-env": "^3.1.4",
45+
"codecov": "^2.2.0",
46+
"cross-env": "^5.0.1",
4747
"form-data": ">=1.0.0",
4848
"mocha": "^3.1.2",
49-
"nyc": "^10.0.0",
49+
"nyc": "^11.1.0",
5050
"parted": "^0.1.1",
51-
"promise": "^7.1.1",
51+
"promise": "^8.0.1",
5252
"resumer": "0.0.0",
53-
"rollup": "^0.41.4",
53+
"rollup": "^0.45.2",
5454
"rollup-plugin-babel": "^2.6.1",
5555
"url-search-params": "^0.9.0",
56-
"whatwg-url": "^4.0.0"
56+
"whatwg-url": "^5.0.0"
5757
},
5858
"dependencies": {}
5959
}

test/test.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ import chaiPromised from 'chai-as-promised';
55
import chaiIterator from 'chai-iterator';
66
import chaiString from 'chai-string';
77
import then from 'promise';
8-
import {spawn} from 'child_process';
9-
import * as stream from 'stream';
108
import resumer from 'resumer';
119
import FormData from 'form-data';
1210
import URLSearchParams_Polyfill from 'url-search-params';
13-
import {parse as parseURL, URLSearchParams} from 'url';
14-
import {URL} from 'whatwg-url';
15-
import * as http from 'http';
16-
import * as fs from 'fs';
17-
import * as path from 'path';
11+
import { URL } from 'whatwg-url';
12+
13+
const { spawn } = require('child_process');
14+
const http = require('http');
15+
const fs = require('fs');
16+
const path = require('path');
17+
const stream = require('stream');
18+
const { parse: parseURL, URLSearchParams } = require('url');
1819

1920
let convert;
2021
try { convert = require('encoding').convert; } catch(e) { }

0 commit comments

Comments
 (0)