Comparing version 2.0.3 to 2.1.1
{ | ||
"name": "castor", | ||
"version": "2.0.3", | ||
"version": "2.1.1", | ||
"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": "^6.9.2", | ||
"nyks": "^6.10.3", | ||
"send": "^0.16.2" | ||
@@ -46,2 +46,2 @@ }, | ||
"homepage": "https://github.com/131/castor#readme" | ||
} | ||
} |
@@ -87,4 +87,4 @@ 'use strict'; | ||
// compute file_size for progress only | ||
for await(const file_path of readdir(this._storage_path)) { | ||
let {size} = fs.statSync(file_path); | ||
for(const file_path of readdir(this._storage_path)) { | ||
let {size} = await fs.statSync(file_path); | ||
files_size += size; | ||
@@ -91,0 +91,0 @@ } |
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
16991
Updatednyks@^6.10.3