@middy/http-security-headers 5.0.0-alpha.1 → 5.0.0-rc.0
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/index.js +240 -268
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -1,288 +1,260 @@
|
|
|
1
|
-
import { normalizeHttpResponse } from '@middy/util'
|
|
2
|
-
|
|
1
|
+
import { normalizeHttpResponse } from '@middy/util';
|
|
3
2
|
// Code and Defaults heavily based off https://helmetjs.github.io/
|
|
4
|
-
|
|
5
3
|
const defaults = {
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
const
|
|
135
|
-
const helmetHtmlOnly = {}
|
|
136
|
-
|
|
4
|
+
contentSecurityPolicy: {
|
|
5
|
+
// Fetch directives
|
|
6
|
+
// 'child-src': '', // fallback default-src
|
|
7
|
+
// 'connect-src': '', // fallback default-src
|
|
8
|
+
'default-src': "'none'",
|
|
9
|
+
// 'font-src':'', // fallback default-src
|
|
10
|
+
// 'frame-src':'', // fallback child-src > default-src
|
|
11
|
+
// 'img-src':'', // fallback default-src
|
|
12
|
+
// 'manifest-src':'', // fallback default-src
|
|
13
|
+
// 'media-src':'', // fallback default-src
|
|
14
|
+
// 'object-src':'', // fallback default-src
|
|
15
|
+
// 'prefetch-src':'', // fallback default-src
|
|
16
|
+
// 'script-src':'', // fallback default-src
|
|
17
|
+
// 'script-src-elem':'', // fallback script-src > default-src
|
|
18
|
+
// 'script-src-attr':'', // fallback script-src > default-src
|
|
19
|
+
// 'style-src':'', // fallback default-src
|
|
20
|
+
// 'style-src-elem':'', // fallback style-src > default-src
|
|
21
|
+
// 'style-src-attr':'', // fallback style-src > default-src
|
|
22
|
+
// 'worker-src':'', // fallback child-src > script-src > default-src
|
|
23
|
+
// Document directives
|
|
24
|
+
'base-uri': "'none'",
|
|
25
|
+
sandbox: '',
|
|
26
|
+
// Navigation directives
|
|
27
|
+
'form-action': "'none'",
|
|
28
|
+
'frame-ancestors': "'none'",
|
|
29
|
+
'navigate-to': "'none'",
|
|
30
|
+
// Reporting directives
|
|
31
|
+
'report-to': 'csp',
|
|
32
|
+
// Other directives
|
|
33
|
+
'require-trusted-types-for': "'script'",
|
|
34
|
+
'trusted-types': "'none'",
|
|
35
|
+
'upgrade-insecure-requests': ''
|
|
36
|
+
},
|
|
37
|
+
contentTypeOptions: {
|
|
38
|
+
action: 'nosniff'
|
|
39
|
+
},
|
|
40
|
+
crossOriginEmbedderPolicy: {
|
|
41
|
+
policy: 'require-corp'
|
|
42
|
+
},
|
|
43
|
+
crossOriginOpenerPolicy: {
|
|
44
|
+
policy: 'same-origin'
|
|
45
|
+
},
|
|
46
|
+
crossOriginResourcePolicy: {
|
|
47
|
+
policy: 'same-origin'
|
|
48
|
+
},
|
|
49
|
+
dnsPrefetchControl: {
|
|
50
|
+
allow: false
|
|
51
|
+
},
|
|
52
|
+
downloadOptions: {
|
|
53
|
+
action: 'noopen'
|
|
54
|
+
},
|
|
55
|
+
frameOptions: {
|
|
56
|
+
action: 'deny'
|
|
57
|
+
},
|
|
58
|
+
originAgentCluster: {},
|
|
59
|
+
permissionsPolicy: {
|
|
60
|
+
// Standard
|
|
61
|
+
accelerometer: '',
|
|
62
|
+
'ambient-light-sensor': '',
|
|
63
|
+
autoplay: '',
|
|
64
|
+
battery: '',
|
|
65
|
+
camera: '',
|
|
66
|
+
'cross-origin-isolated': '',
|
|
67
|
+
'display-capture': '',
|
|
68
|
+
'document-domain': '',
|
|
69
|
+
'encrypted-media': '',
|
|
70
|
+
'execution-while-not-rendered': '',
|
|
71
|
+
'execution-while-out-of-viewport': '',
|
|
72
|
+
fullscreen: '',
|
|
73
|
+
geolocation: '',
|
|
74
|
+
gyroscope: '',
|
|
75
|
+
'keyboard-map': '',
|
|
76
|
+
magnetometer: '',
|
|
77
|
+
microphone: '',
|
|
78
|
+
midi: '',
|
|
79
|
+
'navigation-override': '',
|
|
80
|
+
payment: '',
|
|
81
|
+
'picture-in-picture': '',
|
|
82
|
+
'publickey-credentials-get': '',
|
|
83
|
+
'screen-wake-lock': '',
|
|
84
|
+
'sync-xhr': '',
|
|
85
|
+
usb: '',
|
|
86
|
+
'web-share': '',
|
|
87
|
+
'xr-spatial-tracking': '',
|
|
88
|
+
// Proposed
|
|
89
|
+
'clipboard-read': '',
|
|
90
|
+
'clipboard-write': '',
|
|
91
|
+
gamepad: '',
|
|
92
|
+
'speaker-selection': '',
|
|
93
|
+
// Experimental
|
|
94
|
+
'conversion-measurement': '',
|
|
95
|
+
'focus-without-user-activation': '',
|
|
96
|
+
hid: '',
|
|
97
|
+
'idle-detection': '',
|
|
98
|
+
'interest-cohort': '',
|
|
99
|
+
serial: '',
|
|
100
|
+
'sync-script': '',
|
|
101
|
+
'trust-token-redemption': '',
|
|
102
|
+
'window-placement': '',
|
|
103
|
+
'vertical-scroll': ''
|
|
104
|
+
},
|
|
105
|
+
permittedCrossDomainPolicies: {
|
|
106
|
+
policy: 'none' // none, master-only, by-content-type, by-ftp-filename, all
|
|
107
|
+
},
|
|
108
|
+
poweredBy: {
|
|
109
|
+
server: ''
|
|
110
|
+
},
|
|
111
|
+
referrerPolicy: {
|
|
112
|
+
policy: 'no-referrer'
|
|
113
|
+
},
|
|
114
|
+
reportTo: {
|
|
115
|
+
maxAge: 365 * 24 * 60 * 60,
|
|
116
|
+
default: '',
|
|
117
|
+
includeSubdomains: true,
|
|
118
|
+
csp: '',
|
|
119
|
+
staple: '',
|
|
120
|
+
xss: ''
|
|
121
|
+
},
|
|
122
|
+
strictTransportSecurity: {
|
|
123
|
+
maxAge: 180 * 24 * 60 * 60,
|
|
124
|
+
includeSubDomains: true,
|
|
125
|
+
preload: true
|
|
126
|
+
},
|
|
127
|
+
xssProtection: {
|
|
128
|
+
reportTo: 'xss'
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
const helmet = {};
|
|
132
|
+
const helmetHtmlOnly = {};
|
|
137
133
|
// *** https://github.com/helmetjs/helmet/tree/main/middlewares *** //
|
|
138
134
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
|
139
|
-
helmetHtmlOnly.contentSecurityPolicy = (headers, config)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
headers['Content-Security-Policy'] = header
|
|
151
|
-
}
|
|
135
|
+
helmetHtmlOnly.contentSecurityPolicy = (headers, config)=>{
|
|
136
|
+
let header = Object.keys(config).map((policy)=>config[policy] ? `${policy} ${config[policy]}` : '').filter((str)=>str).join('; ');
|
|
137
|
+
if (config.sandbox === '') {
|
|
138
|
+
header += '; sandbox';
|
|
139
|
+
}
|
|
140
|
+
if (config['upgrade-insecure-requests'] === '') {
|
|
141
|
+
header += '; upgrade-insecure-requests';
|
|
142
|
+
}
|
|
143
|
+
headers['Content-Security-Policy'] = header;
|
|
144
|
+
};
|
|
152
145
|
// crossdomain - N/A - for Adobe products
|
|
153
|
-
helmetHtmlOnly.crossOriginEmbedderPolicy = (headers, config)
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
helmetHtmlOnly.crossOriginOpenerPolicy = (headers, config)
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
helmetHtmlOnly.crossOriginResourcePolicy = (headers, config)
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
146
|
+
helmetHtmlOnly.crossOriginEmbedderPolicy = (headers, config)=>{
|
|
147
|
+
headers['Cross-Origin-Embedder-Policy'] = config.policy;
|
|
148
|
+
};
|
|
149
|
+
helmetHtmlOnly.crossOriginOpenerPolicy = (headers, config)=>{
|
|
150
|
+
headers['Cross-Origin-Opener-Policy'] = config.policy;
|
|
151
|
+
};
|
|
152
|
+
helmetHtmlOnly.crossOriginResourcePolicy = (headers, config)=>{
|
|
153
|
+
headers['Cross-Origin-Resource-Policy'] = config.policy;
|
|
154
|
+
};
|
|
163
155
|
// DEPRECATED: expectCt
|
|
164
156
|
// DEPRECATED: hpkp
|
|
165
|
-
|
|
166
157
|
// https://www.permissionspolicy.com/
|
|
167
|
-
helmetHtmlOnly.permissionsPolicy = (headers, config)
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
.join(', ')
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
helmet.originAgentCluster = (headers, config) => {
|
|
177
|
-
headers['Origin-Agent-Cluster'] = '?1'
|
|
178
|
-
}
|
|
179
|
-
|
|
158
|
+
helmetHtmlOnly.permissionsPolicy = (headers, config)=>{
|
|
159
|
+
headers['Permissions-Policy'] = Object.keys(config).map((policy)=>`${policy}=${config[policy] === '*' ? '*' : '(' + config[policy] + ')'}`).join(', ');
|
|
160
|
+
};
|
|
161
|
+
helmet.originAgentCluster = (headers, config)=>{
|
|
162
|
+
headers['Origin-Agent-Cluster'] = '?1';
|
|
163
|
+
};
|
|
180
164
|
// https://github.com/helmetjs/referrer-policy
|
|
181
|
-
helmet.referrerPolicy = (headers, config)
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
? `, "include_subdomains": ${config.includeSubdomains}`
|
|
191
|
-
: ''
|
|
192
|
-
return config[group] && group !== 'includeSubdomains'
|
|
193
|
-
? `{ "group": "default", "max_age": ${config.maxAge}, "endpoints": [ { "url": "${config[group]}" } ]${includeSubdomains} }`
|
|
194
|
-
: ''
|
|
195
|
-
})
|
|
196
|
-
.filter((str) => str)
|
|
197
|
-
.join(', ')
|
|
198
|
-
}
|
|
199
|
-
|
|
165
|
+
helmet.referrerPolicy = (headers, config)=>{
|
|
166
|
+
headers['Referrer-Policy'] = config.policy;
|
|
167
|
+
};
|
|
168
|
+
helmetHtmlOnly.reportTo = (headers, config)=>{
|
|
169
|
+
headers['Report-To'] = Object.keys(config).map((group)=>{
|
|
170
|
+
const includeSubdomains = group === 'default' ? `, "include_subdomains": ${config.includeSubdomains}` : '';
|
|
171
|
+
return config[group] && group !== 'includeSubdomains' ? `{ "group": "default", "max_age": ${config.maxAge}, "endpoints": [ { "url": "${config[group]}" } ]${includeSubdomains} }` : '';
|
|
172
|
+
}).filter((str)=>str).join(', ');
|
|
173
|
+
};
|
|
200
174
|
// https://github.com/helmetjs/hsts
|
|
201
|
-
helmet.strictTransportSecurity = (headers, config)
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
|
|
175
|
+
helmet.strictTransportSecurity = (headers, config)=>{
|
|
176
|
+
let header = 'max-age=' + Math.round(config.maxAge);
|
|
177
|
+
if (config.includeSubDomains) {
|
|
178
|
+
header += '; includeSubDomains';
|
|
179
|
+
}
|
|
180
|
+
if (config.preload) {
|
|
181
|
+
header += '; preload';
|
|
182
|
+
}
|
|
183
|
+
headers['Strict-Transport-Security'] = header;
|
|
184
|
+
};
|
|
212
185
|
// noCache - N/A - separate middleware
|
|
213
|
-
|
|
214
186
|
// X-* //
|
|
215
187
|
// https://github.com/helmetjs/dont-sniff-mimetype
|
|
216
|
-
helmet.contentTypeOptions = (headers, config)
|
|
217
|
-
|
|
218
|
-
}
|
|
219
|
-
|
|
188
|
+
helmet.contentTypeOptions = (headers, config)=>{
|
|
189
|
+
headers['X-Content-Type-Options'] = config.action;
|
|
190
|
+
};
|
|
220
191
|
// https://github.com/helmetjs/dns-Prefetch-control
|
|
221
|
-
helmet.dnsPrefetchControl = (headers, config)
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
|
|
192
|
+
helmet.dnsPrefetchControl = (headers, config)=>{
|
|
193
|
+
headers['X-DNS-Prefetch-Control'] = config.allow ? 'on' : 'off';
|
|
194
|
+
};
|
|
225
195
|
// https://github.com/helmetjs/ienoopen
|
|
226
|
-
helmet.downloadOptions = (headers, config)
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
|
|
196
|
+
helmet.downloadOptions = (headers, config)=>{
|
|
197
|
+
headers['X-Download-Options'] = config.action;
|
|
198
|
+
};
|
|
230
199
|
// https://github.com/helmetjs/frameOptions
|
|
231
|
-
helmetHtmlOnly.frameOptions = (headers, config)
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
200
|
+
helmetHtmlOnly.frameOptions = (headers, config)=>{
|
|
201
|
+
headers['X-Frame-Options'] = config.action.toUpperCase();
|
|
202
|
+
};
|
|
235
203
|
// https://github.com/helmetjs/crossdomain
|
|
236
|
-
helmet.permittedCrossDomainPolicies = (headers, config)
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
|
|
204
|
+
helmet.permittedCrossDomainPolicies = (headers, config)=>{
|
|
205
|
+
headers['X-Permitted-Cross-Domain-Policies'] = config.policy;
|
|
206
|
+
};
|
|
240
207
|
// https://github.com/helmetjs/hide-powered-by
|
|
241
|
-
helmet.poweredBy = (headers, config)
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
|
|
208
|
+
helmet.poweredBy = (headers, config)=>{
|
|
209
|
+
if (config.server) {
|
|
210
|
+
headers['X-Powered-By'] = config.server;
|
|
211
|
+
} else {
|
|
212
|
+
delete headers.Server;
|
|
213
|
+
delete headers['X-Powered-By'];
|
|
214
|
+
}
|
|
215
|
+
};
|
|
250
216
|
// https://github.com/helmetjs/x-xss-protection
|
|
251
|
-
helmetHtmlOnly.xssProtection = (headers, config)
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
headers['X-XSS-Protection'] = header
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
const httpSecurityHeadersMiddleware = (opts = {}) => {
|
|
260
|
-
const options = { ...defaults, ...opts }
|
|
261
|
-
|
|
262
|
-
const httpSecurityHeadersMiddlewareAfter = async (request) => {
|
|
263
|
-
normalizeHttpResponse(request)
|
|
264
|
-
|
|
265
|
-
Object.keys(helmet).forEach((key) => {
|
|
266
|
-
if (!options[key]) return
|
|
267
|
-
const config = { ...defaults[key], ...options[key] }
|
|
268
|
-
helmet[key](request.response.headers, config)
|
|
269
|
-
})
|
|
270
|
-
|
|
271
|
-
if (request.response.headers['Content-Type']?.includes('text/html')) {
|
|
272
|
-
Object.keys(helmetHtmlOnly).forEach((key) => {
|
|
273
|
-
if (!options[key]) return
|
|
274
|
-
const config = { ...defaults[key], ...options[key] }
|
|
275
|
-
helmetHtmlOnly[key](request.response.headers, config)
|
|
276
|
-
})
|
|
217
|
+
helmetHtmlOnly.xssProtection = (headers, config)=>{
|
|
218
|
+
let header = '1; mode=block';
|
|
219
|
+
if (config.reportTo) {
|
|
220
|
+
header += '; report=' + config.reportTo;
|
|
277
221
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
222
|
+
headers['X-XSS-Protection'] = header;
|
|
223
|
+
};
|
|
224
|
+
const httpSecurityHeadersMiddleware = (opts = {})=>{
|
|
225
|
+
const options = {
|
|
226
|
+
...defaults,
|
|
227
|
+
...opts
|
|
228
|
+
};
|
|
229
|
+
const httpSecurityHeadersMiddlewareAfter = async (request)=>{
|
|
230
|
+
normalizeHttpResponse(request);
|
|
231
|
+
Object.keys(helmet).forEach((key)=>{
|
|
232
|
+
if (!options[key]) return;
|
|
233
|
+
const config = {
|
|
234
|
+
...defaults[key],
|
|
235
|
+
...options[key]
|
|
236
|
+
};
|
|
237
|
+
helmet[key](request.response.headers, config);
|
|
238
|
+
});
|
|
239
|
+
if (request.response.headers['Content-Type']?.includes('text/html')) {
|
|
240
|
+
Object.keys(helmetHtmlOnly).forEach((key)=>{
|
|
241
|
+
if (!options[key]) return;
|
|
242
|
+
const config = {
|
|
243
|
+
...defaults[key],
|
|
244
|
+
...options[key]
|
|
245
|
+
};
|
|
246
|
+
helmetHtmlOnly[key](request.response.headers, config);
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
const httpSecurityHeadersMiddlewareOnError = async (request)=>{
|
|
251
|
+
if (request.response === undefined) return;
|
|
252
|
+
await httpSecurityHeadersMiddlewareAfter(request);
|
|
253
|
+
};
|
|
254
|
+
return {
|
|
255
|
+
after: httpSecurityHeadersMiddlewareAfter,
|
|
256
|
+
onError: httpSecurityHeadersMiddlewareOnError
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
export default httpSecurityHeadersMiddleware;
|
|
260
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middy/http-security-headers",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.0",
|
|
4
4
|
"description": "Applies best practice security headers to responses. It's a simplified port of HelmetJS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"type": "github",
|
|
63
63
|
"url": "https://github.com/sponsors/willfarrell"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "403c54ba9f05e038d1ee7541f9e4a7a6d46e9916",
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@middy/util": "5.0.0-
|
|
67
|
+
"@middy/util": "5.0.0-rc.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@middy/core": "5.0.0-
|
|
70
|
+
"@middy/core": "5.0.0-rc.0"
|
|
71
71
|
}
|
|
72
72
|
}
|