ember-cli-deploy-s3-index 4.0.0-0 → 4.0.1
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 +13 -0
- package/README.md +3 -1
- package/index.js +8 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
## 4.0.1 (2024-04-03)
|
|
6
|
+
|
|
7
|
+
#### :rocket: Enhancement
|
|
8
|
+
* Release changes in 4.0.0-0 prerelease.
|
|
9
|
+
* [#134](https://github.com/ember-cli-deploy/ember-cli-deploy-s3-index/pull/134) Optionally ignore ACLs ([@khornberg](https://github.com/khornberg))
|
|
10
|
+
|
|
11
|
+
#### Committers: 1
|
|
12
|
+
- Kyle Hornberg ([@khornberg](https://github.com/khornberg))
|
|
13
|
+
|
|
14
|
+
|
|
4
15
|
## 4.0.0-0 (2023-08-28)
|
|
5
16
|
|
|
17
|
+
Pre-release to verify aws sdk update
|
|
18
|
+
|
|
6
19
|
## 3.0.0 (2023-05-16)
|
|
7
20
|
|
|
8
21
|
#### :boom: Breaking Change
|
package/README.md
CHANGED
|
@@ -110,6 +110,8 @@ A file matching this pattern will be uploaded to S3. The active key in S3 will b
|
|
|
110
110
|
|
|
111
111
|
The ACL to apply to the objects.
|
|
112
112
|
|
|
113
|
+
Set to `false` to not apply any ACLs.
|
|
114
|
+
|
|
113
115
|
*Default:* `'public-read'`
|
|
114
116
|
|
|
115
117
|
### cacheControl
|
|
@@ -151,7 +153,7 @@ or Openstack Swift
|
|
|
151
153
|
|
|
152
154
|
If `endpoint` set the `region` option will be ignored.
|
|
153
155
|
|
|
154
|
-
*Default:* `[region].s3.amazonaws.com`
|
|
156
|
+
*Default:* `[region].s3.amazonaws.com`
|
|
155
157
|
|
|
156
158
|
|
|
157
159
|
### serverSideEncryption
|
package/index.js
CHANGED
|
@@ -66,7 +66,6 @@ module.exports = {
|
|
|
66
66
|
var options = {
|
|
67
67
|
bucket: bucket,
|
|
68
68
|
prefix: prefix,
|
|
69
|
-
acl: acl,
|
|
70
69
|
cacheControl: cacheControl,
|
|
71
70
|
filePattern: filePattern,
|
|
72
71
|
filePath: filePath,
|
|
@@ -77,6 +76,10 @@ module.exports = {
|
|
|
77
76
|
urlEncodeSourceObject: urlEncodeSourceObject
|
|
78
77
|
};
|
|
79
78
|
|
|
79
|
+
if (acl) {
|
|
80
|
+
options.acl = acl;
|
|
81
|
+
}
|
|
82
|
+
|
|
80
83
|
if (serverSideEncryption) {
|
|
81
84
|
options.serverSideEncryption = serverSideEncryption;
|
|
82
85
|
}
|
|
@@ -99,12 +102,15 @@ module.exports = {
|
|
|
99
102
|
var options = {
|
|
100
103
|
bucket: bucket,
|
|
101
104
|
prefix: prefix,
|
|
102
|
-
acl: acl,
|
|
103
105
|
filePattern: filePattern,
|
|
104
106
|
revisionKey: revisionKey,
|
|
105
107
|
urlEncodeSourceObject: urlEncodeSourceObject,
|
|
106
108
|
};
|
|
107
109
|
|
|
110
|
+
if (acl) {
|
|
111
|
+
options.acl = acl;
|
|
112
|
+
}
|
|
113
|
+
|
|
108
114
|
if (serverSideEncryption) {
|
|
109
115
|
options.serverSideEncryption = serverSideEncryption;
|
|
110
116
|
}
|