co-fs-extra
Advanced tools
Comparing version 1.1.0 to 1.2.0
1.0.0 / 2014-10-28 | ||
1.2.0 / 2016-02-18 | ||
================== | ||
* deps: fs-extra@0.26 | ||
1.0.0 / 2014-10-28 | ||
================== | ||
* do not modify original fs-extra | ||
* support all fs-extra methods, include sync methods |
{ | ||
"name": "co-fs-extra", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "fs-extra for 'co'", | ||
@@ -15,4 +15,4 @@ "author": { | ||
"devDependencies": { | ||
"autod": "1", | ||
"co": "~3.1.0", | ||
"autod": "2", | ||
"co": "~4.6.0", | ||
"mocha": "~1.10.0", | ||
@@ -28,5 +28,5 @@ "should": "~1.2.2" | ||
"co-from-stream": "~0.0.0", | ||
"fs-extra": "~0.22.1", | ||
"fs-extra": "~0.26.5", | ||
"thunkify-wrap": "~1.0.4" | ||
} | ||
} |
@@ -6,7 +6,7 @@ var co = require('co'); | ||
describe('co-fs methods', function () { | ||
it('should be exports', function (done) { | ||
co(function* () { | ||
it('should be exports', function () { | ||
return co(function* () { | ||
var ret = yield fs.exists('test/fixtures/msg.json'); | ||
assert(true === ret); | ||
})(done); | ||
}); | ||
}); | ||
@@ -16,8 +16,8 @@ }); | ||
describe('fs-extra methods', function () { | ||
it('should be wrapped', function (done) { | ||
co(function* () { | ||
it('should be wrapped', function () { | ||
return co(function* () { | ||
var data = yield fs.readJson('test/fixtures/msg.json'); | ||
assert('hello' === data.msg); | ||
})(done); | ||
}); | ||
}); | ||
}); |
5377
11
192
2
+ Addedfs-extra@0.26.7(transitive)
+ Addedklaw@1.3.1(transitive)
- Removedfs-extra@0.22.1(transitive)
Updatedfs-extra@~0.26.5