@sprucelabs/spruce-file-utils 6.0.130 → 6.0.140
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/build/esm/index-module.d.ts +1 -1
- package/build/esm/index-module.js +1 -2
- package/build/esm/uploading/FileUploader.d.ts +1 -1
- package/build/esm/uploading/FileUploader.js +1 -1
- package/build/index-module.d.ts +1 -1
- package/build/index-module.js +4 -2
- package/build/uploading/FileUploader.d.ts +1 -1
- package/build/uploading/FileUploader.js +1 -2
- package/package.json +39 -43
- package/build/esm/types-module.d.ts +0 -0
- package/build/esm/types-module.js +0 -1
- package/build/types-module.d.ts +0 -0
- package/build/types-module.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
export { FileUploader, FileUploaderImpl } from './uploading/FileUploader';
|
1
|
+
export { FileUploader, default as FileUploaderImpl, } from './uploading/FileUploader';
|
@@ -1,2 +1 @@
|
|
1
|
-
export { FileUploaderImpl } from './uploading/FileUploader.js';
|
2
|
-
// export * from './types-module.js'
|
1
|
+
export { default as FileUploaderImpl, } from './uploading/FileUploader.js';
|
@@ -12,7 +12,7 @@ import AWS from 'aws-sdk';
|
|
12
12
|
import FileType from 'file-type';
|
13
13
|
import MimeTypes from 'mime-types';
|
14
14
|
import * as uuid from 'uuid';
|
15
|
-
export class FileUploaderImpl {
|
15
|
+
export default class FileUploaderImpl {
|
16
16
|
constructor() { }
|
17
17
|
static Uploader() {
|
18
18
|
var _a;
|
package/build/index-module.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { FileUploader, FileUploaderImpl } from './uploading/FileUploader';
|
1
|
+
export { FileUploader, default as FileUploaderImpl, } from './uploading/FileUploader';
|
package/build/index-module.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
6
|
exports.FileUploaderImpl = void 0;
|
4
7
|
var FileUploader_1 = require("./uploading/FileUploader");
|
5
|
-
Object.defineProperty(exports, "FileUploaderImpl", { enumerable: true, get: function () { return FileUploader_1.
|
6
|
-
// export * from './types-module'
|
8
|
+
Object.defineProperty(exports, "FileUploaderImpl", { enumerable: true, get: function () { return __importDefault(FileUploader_1).default; } });
|
@@ -26,7 +26,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.FileUploaderImpl = void 0;
|
30
29
|
const schema_1 = require("@sprucelabs/schema");
|
31
30
|
const aws_sdk_1 = __importDefault(require("aws-sdk"));
|
32
31
|
const file_type_1 = __importDefault(require("file-type"));
|
@@ -91,4 +90,4 @@ class FileUploaderImpl {
|
|
91
90
|
}
|
92
91
|
}
|
93
92
|
}
|
94
|
-
exports.
|
93
|
+
exports.default = FileUploaderImpl;
|
package/package.json
CHANGED
@@ -1,44 +1,40 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
"engines": {
|
42
|
-
"yarn": "1.x"
|
43
|
-
}
|
44
|
-
}
|
2
|
+
"name": "@sprucelabs/spruce-file-utils",
|
3
|
+
"description": "Utils for working with files and Sprucebot.",
|
4
|
+
"version": "6.0.140",
|
5
|
+
"skill": {
|
6
|
+
"namespace": "files"
|
7
|
+
},
|
8
|
+
"homepage": "https://github.com/sprucelabsai/spruce-files-skill",
|
9
|
+
"bugs": {
|
10
|
+
"url": "https://github.com/sprucelabsai/spruce-files-skill/issues"
|
11
|
+
},
|
12
|
+
"main": "./build/index-module.js",
|
13
|
+
"types": "./build/index-module.d.ts",
|
14
|
+
"module": "./build/esm/index-module.js",
|
15
|
+
"sideEffects": false,
|
16
|
+
"files": [
|
17
|
+
"build/index-module.js",
|
18
|
+
"build/index-module.d.ts",
|
19
|
+
"build/uploading/FileUploader.d.ts",
|
20
|
+
"build/uploading/FileUploader.js",
|
21
|
+
"build/esm/index-module.js",
|
22
|
+
"build/esm/index-module.d.ts",
|
23
|
+
"build/esm/uploading/FileUploader.d.ts",
|
24
|
+
"build/esm/uploading/FileUploader.js"
|
25
|
+
],
|
26
|
+
"keywords": [],
|
27
|
+
"scripts": {
|
28
|
+
"release": "npm publish"
|
29
|
+
},
|
30
|
+
"dependencies": {
|
31
|
+
"@sprucelabs/schema": "latest",
|
32
|
+
"aws-sdk": "^2.1558.0",
|
33
|
+
"file-type": "16.5.3",
|
34
|
+
"mime-types": "^2.1.35",
|
35
|
+
"uuid": "^9.0.1"
|
36
|
+
},
|
37
|
+
"engines": {
|
38
|
+
"yarn": "1.x"
|
39
|
+
}
|
40
|
+
}
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|
package/build/types-module.d.ts
DELETED
File without changes
|
package/build/types-module.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";
|