Skip to content

Commit e30d0ef

Browse files
committed
Update vinyl to 2.x
1 parent 6ace3dd commit e30d0ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint-config-lesshint": "^1.0.3",
3838
"mocha": "^3.2.0",
3939
"sinon": "^2.0.0",
40-
"vinyl": "^1.1.1"
40+
"vinyl": "^2.1.0"
4141
},
4242
"license": "MIT",
4343
"bugs": {

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

33
const PluginError = require('plugin-error');
4+
const Readable = require('stream').Readable;
45
const lesshint = require('../');
56
const assert = require('assert');
6-
const Stream = require('stream');
77
const sinon = require('sinon');
88
const File = require('vinyl');
99

@@ -194,7 +194,7 @@ describe('gulp-lesshint', () => {
194194
stream.write(new File({
195195
base: __dirname,
196196
path: __dirname + '/fixture.less',
197-
contents: new Stream()
197+
contents: new Readable()
198198
}));
199199
}, PluginError);
200200

0 commit comments

Comments
 (0)