Update deps (#320)

This commit is contained in:
Timothy Gu 2017-07-28 12:12:54 +08:00 committed by GitHub
parent 863449de2e
commit e7c1ef88ed
2 changed files with 15 additions and 14 deletions

View File

@ -39,21 +39,21 @@
"babel-preset-env": "^1.1.10", "babel-preset-env": "^1.1.10",
"babel-register": "^6.16.3", "babel-register": "^6.16.3",
"chai": "^3.5.0", "chai": "^3.5.0",
"chai-as-promised": "^6.0.0", "chai-as-promised": "^7.1.1",
"chai-iterator": "^1.1.1", "chai-iterator": "^1.1.1",
"chai-string": "^1.3.0", "chai-string": "^1.3.0",
"codecov": "^1.0.1", "codecov": "^2.2.0",
"cross-env": "^3.1.4", "cross-env": "^5.0.1",
"form-data": ">=1.0.0", "form-data": ">=1.0.0",
"mocha": "^3.1.2", "mocha": "^3.1.2",
"nyc": "^10.0.0", "nyc": "^11.1.0",
"parted": "^0.1.1", "parted": "^0.1.1",
"promise": "^7.1.1", "promise": "^8.0.1",
"resumer": "0.0.0", "resumer": "0.0.0",
"rollup": "^0.41.4", "rollup": "^0.45.2",
"rollup-plugin-babel": "^2.6.1", "rollup-plugin-babel": "^2.6.1",
"url-search-params": "^0.9.0", "url-search-params": "^0.9.0",
"whatwg-url": "^4.0.0" "whatwg-url": "^5.0.0"
}, },
"dependencies": {} "dependencies": {}
} }

View File

@ -5,16 +5,17 @@ import chaiPromised from 'chai-as-promised';
import chaiIterator from 'chai-iterator'; import chaiIterator from 'chai-iterator';
import chaiString from 'chai-string'; import chaiString from 'chai-string';
import then from 'promise'; import then from 'promise';
import {spawn} from 'child_process';
import * as stream from 'stream';
import resumer from 'resumer'; import resumer from 'resumer';
import FormData from 'form-data'; import FormData from 'form-data';
import URLSearchParams_Polyfill from 'url-search-params'; import URLSearchParams_Polyfill from 'url-search-params';
import {parse as parseURL, URLSearchParams} from 'url'; import { URL } from 'whatwg-url';
import {URL} from 'whatwg-url';
import * as http from 'http'; const { spawn } = require('child_process');
import * as fs from 'fs'; const http = require('http');
import * as path from 'path'; const fs = require('fs');
const path = require('path');
const stream = require('stream');
const { parse: parseURL, URLSearchParams } = require('url');
let convert; let convert;
try { convert = require('encoding').convert; } catch(e) { } try { convert = require('encoding').convert; } catch(e) { }