From db89602b41fbfe4bca748df86acbb4200f2eed06 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 28 Feb 2017 20:07:13 +0100 Subject: [PATCH] Update Vinyl --- package.json | 4 ++-- test/test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d575d2c..78557b6 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ ], "dependencies": { "vfile": "^2.0.0", - "vinyl": "^1.1.0" + "vinyl": "^2.0.0" }, "devDependencies": { "babel-core": "^6.0.12", @@ -34,7 +34,7 @@ "eslint-config-dustinspecker": "^1.1.0", "eslint-plugin-new-with-error": "^1.1.0", "eslint-plugin-no-use-extend-native": "^0.3.1", - "eslint-plugin-xo": "^0.5.1", + "eslint-plugin-xo": "^1.0.0", "gulp": "^3.9.0", "gulp-babel": "^6.0.0", "gulp-eslint": "^3.0.1", diff --git a/test/test.js b/test/test.js index 8a704df..469a5fb 100644 --- a/test/test.js +++ b/test/test.js @@ -24,7 +24,7 @@ describe('convert-vinyl-to-vfile', () => { it('should throw error if vinyl is a stream', () => { const file = new Vinyl({ - contents: new Stream(), + contents: new Stream.Readable(), path: 'awesome.project.md' }) const test = () => convertVinylToVfile(file)