@capacitor/filesystem
Advanced tools
Comparing version 7.0.0-dev-2288-20241220T172526.0 to 7.0.0-dev-2288-20250113T115138.0
@@ -153,3 +153,3 @@ 'use strict'; | ||
blob = await response.blob(); | ||
else if (!(response === null || response === void 0 ? void 0 : response.body)) | ||
else if (!(response === null || response === undefined ? undefined : response.body)) | ||
blob = new Blob(); | ||
@@ -167,3 +167,3 @@ else { | ||
chunks.push(value); | ||
bytes += (value === null || value === void 0 ? void 0 : value.length) || 0; | ||
bytes += (value === null || value === undefined ? undefined : value.length) || 0; | ||
const status = { | ||
@@ -188,4 +188,4 @@ url: options.url, | ||
path: options.path, | ||
directory: (_a = options.directory) !== null && _a !== void 0 ? _a : undefined, | ||
recursive: (_b = options.recursive) !== null && _b !== void 0 ? _b : false, | ||
directory: (_a = options.directory) !== null && _a !== undefined ? _a : undefined, | ||
recursive: (_b = options.recursive) !== null && _b !== undefined ? _b : false, | ||
data: blob, | ||
@@ -502,3 +502,3 @@ }); | ||
return { | ||
uri: (entry === null || entry === void 0 ? void 0 : entry.path) || path, | ||
uri: (entry === null || entry === undefined ? undefined : entry.path) || path, | ||
}; | ||
@@ -505,0 +505,0 @@ } |
@@ -152,3 +152,3 @@ var capacitorFilesystem = (function (exports, core) { | ||
blob = await response.blob(); | ||
else if (!(response === null || response === void 0 ? void 0 : response.body)) | ||
else if (!(response === null || response === undefined ? undefined : response.body)) | ||
blob = new Blob(); | ||
@@ -166,3 +166,3 @@ else { | ||
chunks.push(value); | ||
bytes += (value === null || value === void 0 ? void 0 : value.length) || 0; | ||
bytes += (value === null || value === undefined ? undefined : value.length) || 0; | ||
const status = { | ||
@@ -187,4 +187,4 @@ url: options.url, | ||
path: options.path, | ||
directory: (_a = options.directory) !== null && _a !== void 0 ? _a : undefined, | ||
recursive: (_b = options.recursive) !== null && _b !== void 0 ? _b : false, | ||
directory: (_a = options.directory) !== null && _a !== undefined ? _a : undefined, | ||
recursive: (_b = options.recursive) !== null && _b !== undefined ? _b : false, | ||
data: blob, | ||
@@ -501,3 +501,3 @@ }); | ||
return { | ||
uri: (entry === null || entry === void 0 ? void 0 : entry.path) || path, | ||
uri: (entry === null || entry === undefined ? undefined : entry.path) || path, | ||
}; | ||
@@ -504,0 +504,0 @@ } |
{ | ||
"name": "@capacitor/filesystem", | ||
"version": "7.0.0-dev-2288-20241220T172526.0", | ||
"version": "7.0.0-dev-2288-20250113T115138.0", | ||
"description": "The Filesystem API provides a NodeJS-like API for working with files on the device.", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
403227
5194