You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove lodash dependency to save 5 MB, Fixes#200 (#201)
* Remove lodash usage #200
* No longer a dep
* no longer required
* chore: fix lint issue in build to get pr passing
Co-authored-by: Scott Willeke <[email protected]>
// serverless-offline doesn't provide the `isBase64Encoded` prop, but does add the isOffline. Fixes issue #10: https://github.com/activescott/serverless-aws-static-file-handler/issues/10
@@ -272,7 +308,7 @@ class StaticFileHandler {
272
308
"requestContext.http.method",
273
309
]
274
310
constaddendum=logProps
275
-
.map((propName)=>`event.${propName} was '${_.get(event,propName)}'`)
311
+
.map((propName)=>`event.${propName} was '${__get(event,propName)}'`)
276
312
.join(" ")
277
313
thrownewError(
278
314
"API Gateway method does not appear to be setup for Lambda Proxy Integration. Please confirm that `integration` property of the http event is not specified or set to `integration: proxy`."+
0 commit comments