@cocreate/file 1.6.0 → 1.6.2
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/CHANGELOG.md +14 -0
- package/package.json +5 -5
- package/src/server.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.6.2](https://github.com/CoCreate-app/CoCreate-file/compare/v1.6.1...v1.6.2) (2023-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([97157f0](https://github.com/CoCreate-app/CoCreate-file/commit/97157f0566a3fd704737b53cb3729652b1406991))
|
|
7
|
+
|
|
8
|
+
## [1.6.1](https://github.com/CoCreate-app/CoCreate-file/compare/v1.6.0...v1.6.1) (2023-08-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* if directories or source is undefined ([daa2a3a](https://github.com/CoCreate-app/CoCreate-file/commit/daa2a3a86eaabf4838bb20e69e2d1413b04eebf4))
|
|
14
|
+
|
|
1
15
|
# [1.6.0](https://github.com/CoCreate-app/CoCreate-file/compare/v1.5.3...v1.6.0) (2023-08-21)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/file",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2",
|
|
4
4
|
"description": "A headless file uploader that uses HTML5 attributes for customization. Allows easy upload of files to server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"file",
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"webpack-log": "^3.0.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cocreate/actions": "^1.
|
|
63
|
-
"@cocreate/config": "^1.
|
|
64
|
-
"@cocreate/render": "^1.
|
|
65
|
-
"@cocreate/utils": "^1.
|
|
62
|
+
"@cocreate/actions": "^1.11.0",
|
|
63
|
+
"@cocreate/config": "^1.5.0",
|
|
64
|
+
"@cocreate/render": "^1.27.0",
|
|
65
|
+
"@cocreate/utils": "^1.24.0"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/server.js
CHANGED
|
@@ -78,7 +78,9 @@ const mimeTypes = {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
module.exports = async function file(CoCreateConfig, configPath) {
|
|
81
|
-
let
|
|
81
|
+
let directories = CoCreateConfig.directories
|
|
82
|
+
let sources = CoCreateConfig.sources
|
|
83
|
+
|
|
82
84
|
let config = await Config({
|
|
83
85
|
organization_id: {
|
|
84
86
|
prompt: 'Enter your organization_id: '
|