mobiletto 1.1.6 → 1.1.7

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -584,7 +584,7 @@ async function mobiletto (driverPath, key, secret, opts, encryption = null) {
584
584
  throw new MobilettoError('write: error writing dirent file')
585
585
  }
586
586
  p = dirname(p)
587
- if (p === '.' || p === '') {
587
+ if (p === '.' || p === '' || p === '/') {
588
588
  break
589
589
  }
590
590
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "A storage layer that presents a uniform interface to Amazon S3, Backblaze B2, and local storage",
5
5
  "main": "index.js",
6
6
  "keywords": [