@stacksjs/cloud 0.58.48 → 0.58.49

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.
Files changed (42) hide show
  1. package/package.json +3 -2
  2. package/src/cloud/ai.ts +94 -0
  3. package/src/cloud/aws-sdk-layer/nodejs/package-lock.json +386 -0
  4. package/src/cloud/aws-sdk-layer/nodejs/package.json +15 -0
  5. package/src/cloud/cache.ts +0 -0
  6. package/src/cloud/cdn.ts +374 -0
  7. package/src/cloud/cli.ts +45 -0
  8. package/src/cloud/compute.ts +80 -0
  9. package/src/cloud/dashboard.ts +85 -0
  10. package/src/cloud/database.ts +0 -0
  11. package/src/cloud/deployment.ts +41 -0
  12. package/src/cloud/dns.ts +34 -0
  13. package/src/cloud/docs.ts +51 -0
  14. package/src/cloud/email.ts +339 -0
  15. package/src/cloud/file-system.ts +35 -0
  16. package/src/cloud/index.ts +99 -0
  17. package/src/cloud/jump-box.ts +48 -0
  18. package/src/cloud/lambda/ask/index.js +35 -0
  19. package/src/cloud/lambda/cli-setup/index.js +67 -0
  20. package/src/cloud/lambda/summarize/index.js +35 -0
  21. package/src/cloud/network.ts +52 -0
  22. package/src/cloud/package/README.md +59 -0
  23. package/src/cloud/package/package.json +63 -0
  24. package/src/cloud/permissions.ts +33 -0
  25. package/src/cloud/queue.ts +0 -0
  26. package/src/cloud/redirects.ts +45 -0
  27. package/src/cloud/router-layer/nodejs/package.json +15 -0
  28. package/src/cloud/search-engine.ts +108 -0
  29. package/src/cloud/security.ts +259 -0
  30. package/src/cloud/stacksjs-router-0.58.48.tgz +0 -0
  31. package/src/cloud/storage.ts +168 -0
  32. package/src/edge/origin-request.ts +49 -0
  33. package/src/helpers.ts +597 -0
  34. package/src/index.ts +3 -0
  35. package/src/runtime/README.md +116 -0
  36. package/src/runtime/bootstrap +3 -0
  37. package/src/runtime/example/lambda.ts +36 -0
  38. package/src/runtime/runtime.ts +830 -0
  39. package/src/runtime/scripts/build-layer.ts +104 -0
  40. package/src/runtime/scripts/publish-layer.ts +110 -0
  41. package/src/runtime/server.ts +39 -0
  42. package/src/types.ts +28 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/cloud",
3
3
  "type": "module",
4
- "version": "0.58.48",
4
+ "version": "0.58.49",
5
5
  "description": "The Stacks cloud/serverless integration & implementation.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -40,7 +40,8 @@
40
40
  ],
41
41
  "files": [
42
42
  "README.md",
43
- "dist"
43
+ "dist",
44
+ "src"
44
45
  ],
45
46
  "scripts": {
46
47
  "bootstrap": "bunx cdk bootstrap",
@@ -0,0 +1,94 @@
1
+ /* eslint-disable no-new */
2
+ import { Duration, CfnOutput as Output, aws_iam as iam, aws_lambda as lambda } from 'aws-cdk-lib'
3
+ import type { Construct } from 'constructs'
4
+ import { config } from '@stacksjs/config'
5
+ import type { NestedCloudProps } from '../types'
6
+
7
+ export interface AiStackProps extends NestedCloudProps {
8
+ }
9
+
10
+ export class AiStack {
11
+ askAiUrl: lambda.FunctionUrl
12
+ summarizeAiUrl: lambda.FunctionUrl
13
+
14
+ constructor(scope: Construct, props: AiStackProps) {
15
+ // Define the Lambda Layer for aws-sdk
16
+ const awsSdkLayer = new lambda.LayerVersion(scope, 'AwsSdkLayer', {
17
+ code: lambda.Code.fromAsset('src/cloud/aws-sdk-layer'),
18
+ compatibleRuntimes: [lambda.Runtime.NODEJS_20_X],
19
+ description: 'Layer with aws-sdk',
20
+ })
21
+
22
+ const bedrockAccessPolicy = new iam.PolicyStatement({
23
+ effect: iam.Effect.ALLOW,
24
+ actions: [
25
+ 'bedrock:InvokeModel',
26
+ 'bedrock:InvokeModelWithResponseStream',
27
+ ],
28
+ resources: config.ai.models?.map(model => `arn:aws:bedrock:us-east-1::foundation-model/${model}`),
29
+ })
30
+
31
+ const bedrockAccessRole = new iam.Role(scope, 'BedrockAccessRole', {
32
+ assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),
33
+ managedPolicies: [
34
+ iam.ManagedPolicy.fromAwsManagedPolicyName('service-role/AWSLambdaBasicExecutionRole'),
35
+ ],
36
+ })
37
+
38
+ bedrockAccessRole.addToPolicy(bedrockAccessPolicy)
39
+
40
+ const askAi = new lambda.Function(scope, 'AskAiFunction', {
41
+ functionName: `${props.slug}-${props.appEnv}-ai-ask`,
42
+ description: 'Lambda function to invoke the AI model',
43
+ runtime: lambda.Runtime.NODEJS_20_X,
44
+ handler: 'index.handler',
45
+ code: lambda.Code.fromAsset('src/cloud/lambda/ask'), // path relative to the cloud root package dir
46
+ layers: [awsSdkLayer],
47
+ role: bedrockAccessRole,
48
+ timeout: Duration.seconds(30),
49
+ })
50
+
51
+ this.askAiUrl = new lambda.FunctionUrl(scope, 'AskAiFunctionUrl', {
52
+ function: askAi,
53
+ authType: lambda.FunctionUrlAuthType.NONE,
54
+ cors: {
55
+ allowedOrigins: ['*'],
56
+ },
57
+ })
58
+
59
+ const summarizeAi = new lambda.Function(scope, 'SummarizeAiFunction', {
60
+ functionName: `${props.slug}-${props.appEnv}-ai-summarize`,
61
+ description: 'Lambda function to summarize any given text',
62
+ runtime: lambda.Runtime.NODEJS_20_X,
63
+ handler: 'index.handler',
64
+ code: lambda.Code.fromAsset('src/cloud/lambda/summarize'),
65
+ layers: [awsSdkLayer],
66
+ role: bedrockAccessRole,
67
+ timeout: Duration.seconds(30),
68
+ })
69
+
70
+ this.summarizeAiUrl = new lambda.FunctionUrl(scope, 'SummarizeAiFunctionUrl', {
71
+ function: summarizeAi,
72
+ authType: lambda.FunctionUrlAuthType.NONE,
73
+ cors: {
74
+ allowedOrigins: ['*'],
75
+ },
76
+ })
77
+
78
+ new Output(scope, 'AiVanityAskApiUrl', {
79
+ value: this.askAiUrl.url,
80
+ })
81
+
82
+ new Output(scope, 'AiVanitySummarizeApiUrl', {
83
+ value: this.summarizeAiUrl.url,
84
+ })
85
+
86
+ new Output(scope, 'AiAskApiUrl', {
87
+ value: `https://${props.domain}/ai/ask`,
88
+ })
89
+
90
+ new Output(scope, 'AiSummarizeApiUrl', {
91
+ value: `https://${props.domain}/ai/summary`,
92
+ })
93
+ }
94
+ }
@@ -0,0 +1,386 @@
1
+ {
2
+ "name": "aws-sdk-layer",
3
+ "version": "0.58.44",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "aws-sdk-layer",
9
+ "version": "0.58.44",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "aws-sdk": "^2.1547.0"
13
+ }
14
+ },
15
+ "node_modules/available-typed-arrays": {
16
+ "version": "1.0.5",
17
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
18
+ "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
19
+ "engines": {
20
+ "node": ">= 0.4"
21
+ },
22
+ "funding": {
23
+ "url": "https://github.com/sponsors/ljharb"
24
+ }
25
+ },
26
+ "node_modules/aws-sdk": {
27
+ "version": "2.1547.0",
28
+ "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1547.0.tgz",
29
+ "integrity": "sha512-jk7u3KtDZ5F20k2X6D2FhndpLGkt3ZuNfRU5crp+fI6B/GFj/S91GJDoZh/Yw3rW+CemY1sFmdFT8ReA2G8WkA==",
30
+ "dependencies": {
31
+ "buffer": "4.9.2",
32
+ "events": "1.1.1",
33
+ "ieee754": "1.1.13",
34
+ "jmespath": "0.16.0",
35
+ "querystring": "0.2.0",
36
+ "sax": "1.2.1",
37
+ "url": "0.10.3",
38
+ "util": "^0.12.4",
39
+ "uuid": "8.0.0",
40
+ "xml2js": "0.6.2"
41
+ },
42
+ "engines": {
43
+ "node": ">= 10.0.0"
44
+ }
45
+ },
46
+ "node_modules/base64-js": {
47
+ "version": "1.5.1",
48
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
49
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
50
+ "funding": [
51
+ {
52
+ "type": "github",
53
+ "url": "https://github.com/sponsors/feross"
54
+ },
55
+ {
56
+ "type": "patreon",
57
+ "url": "https://www.patreon.com/feross"
58
+ },
59
+ {
60
+ "type": "consulting",
61
+ "url": "https://feross.org/support"
62
+ }
63
+ ]
64
+ },
65
+ "node_modules/buffer": {
66
+ "version": "4.9.2",
67
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",
68
+ "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",
69
+ "dependencies": {
70
+ "base64-js": "^1.0.2",
71
+ "ieee754": "^1.1.4",
72
+ "isarray": "^1.0.0"
73
+ }
74
+ },
75
+ "node_modules/call-bind": {
76
+ "version": "1.0.5",
77
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
78
+ "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
79
+ "dependencies": {
80
+ "function-bind": "^1.1.2",
81
+ "get-intrinsic": "^1.2.1",
82
+ "set-function-length": "^1.1.1"
83
+ },
84
+ "funding": {
85
+ "url": "https://github.com/sponsors/ljharb"
86
+ }
87
+ },
88
+ "node_modules/define-data-property": {
89
+ "version": "1.1.1",
90
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
91
+ "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
92
+ "dependencies": {
93
+ "get-intrinsic": "^1.2.1",
94
+ "gopd": "^1.0.1",
95
+ "has-property-descriptors": "^1.0.0"
96
+ },
97
+ "engines": {
98
+ "node": ">= 0.4"
99
+ }
100
+ },
101
+ "node_modules/events": {
102
+ "version": "1.1.1",
103
+ "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz",
104
+ "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==",
105
+ "engines": {
106
+ "node": ">=0.4.x"
107
+ }
108
+ },
109
+ "node_modules/for-each": {
110
+ "version": "0.3.3",
111
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
112
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
113
+ "dependencies": {
114
+ "is-callable": "^1.1.3"
115
+ }
116
+ },
117
+ "node_modules/function-bind": {
118
+ "version": "1.1.2",
119
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
120
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
121
+ "funding": {
122
+ "url": "https://github.com/sponsors/ljharb"
123
+ }
124
+ },
125
+ "node_modules/get-intrinsic": {
126
+ "version": "1.2.2",
127
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
128
+ "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
129
+ "dependencies": {
130
+ "function-bind": "^1.1.2",
131
+ "has-proto": "^1.0.1",
132
+ "has-symbols": "^1.0.3",
133
+ "hasown": "^2.0.0"
134
+ },
135
+ "funding": {
136
+ "url": "https://github.com/sponsors/ljharb"
137
+ }
138
+ },
139
+ "node_modules/gopd": {
140
+ "version": "1.0.1",
141
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
142
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
143
+ "dependencies": {
144
+ "get-intrinsic": "^1.1.3"
145
+ },
146
+ "funding": {
147
+ "url": "https://github.com/sponsors/ljharb"
148
+ }
149
+ },
150
+ "node_modules/has-property-descriptors": {
151
+ "version": "1.0.1",
152
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
153
+ "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
154
+ "dependencies": {
155
+ "get-intrinsic": "^1.2.2"
156
+ },
157
+ "funding": {
158
+ "url": "https://github.com/sponsors/ljharb"
159
+ }
160
+ },
161
+ "node_modules/has-proto": {
162
+ "version": "1.0.1",
163
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
164
+ "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
165
+ "engines": {
166
+ "node": ">= 0.4"
167
+ },
168
+ "funding": {
169
+ "url": "https://github.com/sponsors/ljharb"
170
+ }
171
+ },
172
+ "node_modules/has-symbols": {
173
+ "version": "1.0.3",
174
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
175
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
176
+ "engines": {
177
+ "node": ">= 0.4"
178
+ },
179
+ "funding": {
180
+ "url": "https://github.com/sponsors/ljharb"
181
+ }
182
+ },
183
+ "node_modules/has-tostringtag": {
184
+ "version": "1.0.0",
185
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
186
+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
187
+ "dependencies": {
188
+ "has-symbols": "^1.0.2"
189
+ },
190
+ "engines": {
191
+ "node": ">= 0.4"
192
+ },
193
+ "funding": {
194
+ "url": "https://github.com/sponsors/ljharb"
195
+ }
196
+ },
197
+ "node_modules/hasown": {
198
+ "version": "2.0.0",
199
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
200
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
201
+ "dependencies": {
202
+ "function-bind": "^1.1.2"
203
+ },
204
+ "engines": {
205
+ "node": ">= 0.4"
206
+ }
207
+ },
208
+ "node_modules/ieee754": {
209
+ "version": "1.1.13",
210
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
211
+ "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
212
+ },
213
+ "node_modules/inherits": {
214
+ "version": "2.0.4",
215
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
216
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
217
+ },
218
+ "node_modules/is-arguments": {
219
+ "version": "1.1.1",
220
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
221
+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
222
+ "dependencies": {
223
+ "call-bind": "^1.0.2",
224
+ "has-tostringtag": "^1.0.0"
225
+ },
226
+ "engines": {
227
+ "node": ">= 0.4"
228
+ },
229
+ "funding": {
230
+ "url": "https://github.com/sponsors/ljharb"
231
+ }
232
+ },
233
+ "node_modules/is-callable": {
234
+ "version": "1.2.7",
235
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
236
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
237
+ "engines": {
238
+ "node": ">= 0.4"
239
+ },
240
+ "funding": {
241
+ "url": "https://github.com/sponsors/ljharb"
242
+ }
243
+ },
244
+ "node_modules/is-generator-function": {
245
+ "version": "1.0.10",
246
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
247
+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
248
+ "dependencies": {
249
+ "has-tostringtag": "^1.0.0"
250
+ },
251
+ "engines": {
252
+ "node": ">= 0.4"
253
+ },
254
+ "funding": {
255
+ "url": "https://github.com/sponsors/ljharb"
256
+ }
257
+ },
258
+ "node_modules/is-typed-array": {
259
+ "version": "1.1.12",
260
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz",
261
+ "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==",
262
+ "dependencies": {
263
+ "which-typed-array": "^1.1.11"
264
+ },
265
+ "engines": {
266
+ "node": ">= 0.4"
267
+ },
268
+ "funding": {
269
+ "url": "https://github.com/sponsors/ljharb"
270
+ }
271
+ },
272
+ "node_modules/isarray": {
273
+ "version": "1.0.0",
274
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
275
+ "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="
276
+ },
277
+ "node_modules/jmespath": {
278
+ "version": "0.16.0",
279
+ "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz",
280
+ "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==",
281
+ "engines": {
282
+ "node": ">= 0.6.0"
283
+ }
284
+ },
285
+ "node_modules/punycode": {
286
+ "version": "1.3.2",
287
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",
288
+ "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw=="
289
+ },
290
+ "node_modules/querystring": {
291
+ "version": "0.2.0",
292
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",
293
+ "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==",
294
+ "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.",
295
+ "engines": {
296
+ "node": ">=0.4.x"
297
+ }
298
+ },
299
+ "node_modules/sax": {
300
+ "version": "1.2.1",
301
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz",
302
+ "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA=="
303
+ },
304
+ "node_modules/set-function-length": {
305
+ "version": "1.1.1",
306
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
307
+ "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
308
+ "dependencies": {
309
+ "define-data-property": "^1.1.1",
310
+ "get-intrinsic": "^1.2.1",
311
+ "gopd": "^1.0.1",
312
+ "has-property-descriptors": "^1.0.0"
313
+ },
314
+ "engines": {
315
+ "node": ">= 0.4"
316
+ }
317
+ },
318
+ "node_modules/url": {
319
+ "version": "0.10.3",
320
+ "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz",
321
+ "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==",
322
+ "dependencies": {
323
+ "punycode": "1.3.2",
324
+ "querystring": "0.2.0"
325
+ }
326
+ },
327
+ "node_modules/util": {
328
+ "version": "0.12.5",
329
+ "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz",
330
+ "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==",
331
+ "dependencies": {
332
+ "inherits": "^2.0.3",
333
+ "is-arguments": "^1.0.4",
334
+ "is-generator-function": "^1.0.7",
335
+ "is-typed-array": "^1.1.3",
336
+ "which-typed-array": "^1.1.2"
337
+ }
338
+ },
339
+ "node_modules/uuid": {
340
+ "version": "8.0.0",
341
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz",
342
+ "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==",
343
+ "bin": {
344
+ "uuid": "dist/bin/uuid"
345
+ }
346
+ },
347
+ "node_modules/which-typed-array": {
348
+ "version": "1.1.13",
349
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz",
350
+ "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==",
351
+ "dependencies": {
352
+ "available-typed-arrays": "^1.0.5",
353
+ "call-bind": "^1.0.4",
354
+ "for-each": "^0.3.3",
355
+ "gopd": "^1.0.1",
356
+ "has-tostringtag": "^1.0.0"
357
+ },
358
+ "engines": {
359
+ "node": ">= 0.4"
360
+ },
361
+ "funding": {
362
+ "url": "https://github.com/sponsors/ljharb"
363
+ }
364
+ },
365
+ "node_modules/xml2js": {
366
+ "version": "0.6.2",
367
+ "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz",
368
+ "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==",
369
+ "dependencies": {
370
+ "sax": ">=0.6.0",
371
+ "xmlbuilder": "~11.0.0"
372
+ },
373
+ "engines": {
374
+ "node": ">=4.0.0"
375
+ }
376
+ },
377
+ "node_modules/xmlbuilder": {
378
+ "version": "11.0.1",
379
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
380
+ "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
381
+ "engines": {
382
+ "node": ">=4.0"
383
+ }
384
+ }
385
+ }
386
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "aws-sdk-layer",
3
+ "version": "0.58.49",
4
+ "description": "",
5
+ "author": "",
6
+ "license": "ISC",
7
+ "keywords": [],
8
+ "main": "index.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1"
11
+ },
12
+ "dependencies": {
13
+ "aws-sdk": "^2.1547.0"
14
+ }
15
+ }
File without changes