Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "castor", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "An ES7 [CAS designed](https://en.wikipedia.org/wiki/Content-addressable_storage) file storage for nodejs with a simple API and robust implementation.", | ||
@@ -19,3 +19,3 @@ "main": "store.js", | ||
"mout": "^1.1.0", | ||
"nyks": "^5.12.0", | ||
"nyks": "^5.12.1", | ||
"send": "^0.16.2" | ||
@@ -22,0 +22,0 @@ }, |
@@ -18,2 +18,3 @@ 'use strict'; | ||
const createWriteStream = require('nyks/fs/createWriteStream'); | ||
const rename = require('nyks/fs/rename'); | ||
const pipe = require('nyks/stream/pipe'); | ||
@@ -156,3 +157,3 @@ const fetch = require('nyks/http/fetch'); | ||
fs.renameSync(tmp_path, file_path); | ||
await rename(tmp_path, file_path); | ||
return true; | ||
@@ -159,0 +160,0 @@ } catch(err) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12619
213
Updatednyks@^5.12.1