triangle-utils 1.4.38 → 1.4.39
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.
- package/dist/src/UtilsS3.d.ts +1 -1
- package/dist/src/UtilsS3.js +1 -1
- package/package.json +1 -1
- package/src/UtilsS3.ts +1 -1
package/dist/src/UtilsS3.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare class UtilsS3 {
|
|
|
5
5
|
file_exists(s3_filename: string): Promise<boolean | undefined>;
|
|
6
6
|
get_s3_filenames(s3_filename_prefix: string, options?: {
|
|
7
7
|
compile?: boolean;
|
|
8
|
-
}): Promise<string[]
|
|
8
|
+
}): Promise<string[]>;
|
|
9
9
|
get_file(s3_filename: string, encoding?: string): Promise<string | undefined>;
|
|
10
10
|
get_file_buffer(s3_filename: string): Promise<Buffer | undefined>;
|
|
11
11
|
get_file_stream(s3_filename: string): Promise<Readable | undefined>;
|
package/dist/src/UtilsS3.js
CHANGED
|
@@ -32,7 +32,7 @@ export class UtilsS3 {
|
|
|
32
32
|
const compile = options.compile !== undefined ? options.compile : false;
|
|
33
33
|
const s3_key = parse_s3_filename(s3_filename_prefix);
|
|
34
34
|
if (s3_key === undefined) {
|
|
35
|
-
return
|
|
35
|
+
return [];
|
|
36
36
|
}
|
|
37
37
|
const s3_filenames = [];
|
|
38
38
|
let last_token = undefined;
|
package/package.json
CHANGED
package/src/UtilsS3.ts
CHANGED
|
@@ -42,7 +42,7 @@ export class UtilsS3 {
|
|
|
42
42
|
const compile = options.compile !== undefined ? options.compile : false
|
|
43
43
|
const s3_key = parse_s3_filename(s3_filename_prefix)
|
|
44
44
|
if (s3_key === undefined) {
|
|
45
|
-
return
|
|
45
|
+
return []
|
|
46
46
|
}
|
|
47
47
|
const s3_filenames = []
|
|
48
48
|
let last_token : string | undefined = undefined
|