@awsless/awsless 0.0.516 → 0.0.517
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/bin.js
CHANGED
|
@@ -6288,7 +6288,7 @@ import { $ as $23, Group as Group24 } from "@awsless/formation";
|
|
|
6288
6288
|
import { join as join13, dirname as dirname9 } from "path";
|
|
6289
6289
|
import { mebibytes as mebibytes5 } from "@awsless/size";
|
|
6290
6290
|
import { days as days7, seconds as seconds10, toSeconds as toSeconds9 } from "@awsless/duration";
|
|
6291
|
-
import { constantCase as constantCase12 } from "change-case";
|
|
6291
|
+
import { camelCase as camelCase8, constantCase as constantCase12 } from "change-case";
|
|
6292
6292
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
6293
6293
|
import { glob as glob4 } from "glob";
|
|
6294
6294
|
var __dirname3 = dirname9(fileURLToPath3(import.meta.url));
|
|
@@ -6423,6 +6423,21 @@ var iconFeature = defineFeature({
|
|
|
6423
6423
|
name,
|
|
6424
6424
|
defaultTtl: toSeconds9(days7(365))
|
|
6425
6425
|
});
|
|
6426
|
+
const originRequest = new $23.aws.cloudfront.OriginRequestPolicy(group, "request", {
|
|
6427
|
+
name,
|
|
6428
|
+
headersConfig: {
|
|
6429
|
+
headerBehavior: camelCase8("all-except"),
|
|
6430
|
+
headers: {
|
|
6431
|
+
items: ["host", "authorization"]
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
cookiesConfig: {
|
|
6435
|
+
cookieBehavior: "all"
|
|
6436
|
+
},
|
|
6437
|
+
queryStringsConfig: {
|
|
6438
|
+
queryStringBehavior: "all"
|
|
6439
|
+
}
|
|
6440
|
+
});
|
|
6426
6441
|
const responseHeaders = new $23.aws.cloudfront.ResponseHeadersPolicy(group, "response", {
|
|
6427
6442
|
name,
|
|
6428
6443
|
corsConfig: {
|
|
@@ -6492,6 +6507,7 @@ var iconFeature = defineFeature({
|
|
|
6492
6507
|
viewerProtocolPolicy: "redirect-to-https",
|
|
6493
6508
|
allowedMethods: ["GET", "HEAD"],
|
|
6494
6509
|
cachedMethods: ["GET", "HEAD"],
|
|
6510
|
+
originRequestPolicyId: originRequest.id,
|
|
6495
6511
|
responseHeadersPolicyId: responseHeaders.id
|
|
6496
6512
|
}
|
|
6497
6513
|
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.517",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@awsless/big-float": "^0.0.6",
|
|
37
|
-
"@awsless/clui": "^0.0.7",
|
|
38
37
|
"@awsless/dynamodb": "^0.1.5",
|
|
38
|
+
"@awsless/clui": "^0.0.7",
|
|
39
|
+
"@awsless/iot": "^0.0.3",
|
|
39
40
|
"@awsless/json": "^0.0.10",
|
|
40
41
|
"@awsless/lambda": "^0.0.33",
|
|
42
|
+
"@awsless/redis": "^0.0.14",
|
|
41
43
|
"@awsless/mqtt": "^0.0.2",
|
|
42
44
|
"@awsless/open-search": "^0.0.21",
|
|
43
|
-
"@awsless/s3": "^0.0.21",
|
|
44
|
-
"@awsless/redis": "^0.0.14",
|
|
45
|
-
"@awsless/ssm": "^0.0.7",
|
|
46
45
|
"@awsless/validate": "^0.0.19",
|
|
47
|
-
"@awsless/
|
|
48
|
-
"@awsless/iot": "^0.0.3",
|
|
46
|
+
"@awsless/sns": "^0.0.10",
|
|
49
47
|
"@awsless/sqs": "^0.0.8",
|
|
50
|
-
"@awsless/
|
|
48
|
+
"@awsless/ssm": "^0.0.7",
|
|
49
|
+
"@awsless/s3": "^0.0.21",
|
|
50
|
+
"@awsless/weak-cache": "^0.0.1"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@arcanyx/cidr-slicer": "^0.3.0",
|
|
@@ -131,15 +131,15 @@
|
|
|
131
131
|
"zod": "^3.24.2",
|
|
132
132
|
"zod-to-json-schema": "^3.24.3",
|
|
133
133
|
"@awsless/big-float": "^0.0.6",
|
|
134
|
+
"@awsless/clui": "^0.0.7",
|
|
134
135
|
"@awsless/code": "^0.0.10",
|
|
135
|
-
"@awsless/duration": "^0.0.3",
|
|
136
136
|
"@awsless/formation": "^0.0.77",
|
|
137
|
+
"@awsless/duration": "^0.0.3",
|
|
137
138
|
"@awsless/graphql": "^0.0.9",
|
|
138
|
-
"@awsless/size": "^0.0.2",
|
|
139
139
|
"@awsless/json": "^0.0.10",
|
|
140
140
|
"@awsless/validate": "^0.0.19",
|
|
141
|
-
"@awsless/
|
|
142
|
-
"@awsless/
|
|
141
|
+
"@awsless/size": "^0.0.2",
|
|
142
|
+
"@awsless/ts-file-cache": "^0.0.12"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
145
|
"@node-rs/bcrypt": "^1.10.5",
|