bare-fs 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/binding.c +4 -4
  2. package/package.json +1 -1
package/binding.c CHANGED
@@ -1005,7 +1005,7 @@ bare_fs_rename_sync (js_env_t *env, js_callback_info_t *info) {
1005
1005
  js_get_env_loop(env, &loop);
1006
1006
 
1007
1007
  uv_fs_t req;
1008
- uv_fs_rename(loop, &req, (char *) src, (char *) dest, on_fs_response);
1008
+ uv_fs_rename(loop, &req, (char *) src, (char *) dest, NULL);
1009
1009
 
1010
1010
  if (req.result < 0) {
1011
1011
  js_throw_error(env, uv_err_name(req.result), uv_strerror(req.result));
@@ -1072,7 +1072,7 @@ bare_fs_mkdir_sync (js_env_t *env, js_callback_info_t *info) {
1072
1072
  js_get_env_loop(env, &loop);
1073
1073
 
1074
1074
  uv_fs_t req;
1075
- uv_fs_mkdir(loop, &req, (char *) path, mode, on_fs_response);
1075
+ uv_fs_mkdir(loop, &req, (char *) path, mode, NULL);
1076
1076
 
1077
1077
  if (req.result < 0) {
1078
1078
  js_throw_error(env, uv_err_name(req.result), uv_strerror(req.result));
@@ -1131,7 +1131,7 @@ bare_fs_rmdir_sync (js_env_t *env, js_callback_info_t *info) {
1131
1131
  js_get_env_loop(env, &loop);
1132
1132
 
1133
1133
  uv_fs_t req;
1134
- uv_fs_rmdir(loop, &req, (char *) path, on_fs_response);
1134
+ uv_fs_rmdir(loop, &req, (char *) path, NULL);
1135
1135
 
1136
1136
  if (req.result < 0) {
1137
1137
  js_throw_error(env, uv_err_name(req.result), uv_strerror(req.result));
@@ -1511,7 +1511,7 @@ bare_fs_unlink_sync (js_env_t *env, js_callback_info_t *info) {
1511
1511
  js_get_env_loop(env, &loop);
1512
1512
 
1513
1513
  uv_fs_t req;
1514
- uv_fs_unlink(loop, &req, (char *) path, on_fs_response);
1514
+ uv_fs_unlink(loop, &req, (char *) path, NULL);
1515
1515
 
1516
1516
  if (req.result < 0) {
1517
1517
  js_throw_error(env, uv_err_name(req.result), uv_strerror(req.result));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-fs",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Native file system for Javascript",
5
5
  "main": "index.js",
6
6
  "files": [