This repository was archived by the owner on Jan 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 48
48
"@sls-next/next-aws-cloudfront" : " link:./packages/compat-layers/lambda-at-edge-compat" ,
49
49
"@types/fs-extra" : " ^9.0.1" ,
50
50
"@types/jest" : " ^26.0.23" ,
51
+ "@types/lodash" : " ^4.14.170" ,
51
52
"@types/node" : " ^15.12.5" ,
52
53
"@types/node-fetch" : " ^2.5.10" ,
53
54
"@types/react" : " ^17.0.9" ,
121
122
},
122
123
"dependencies" : {
123
124
"opencollective-postinstall" : " ^2.0.3" ,
125
+ "lodash" : " ^4.17.21" ,
124
126
"node-fetch" : " ^2.6.1"
125
127
},
126
128
"collective" : {
137
139
},
138
140
"resolutions" : {
139
141
"which" : " ^2.0.1" ,
140
- "lodash" : " ^4.17.19 "
142
+ "lodash" : " ^4.17.21 "
141
143
}
142
144
}
Original file line number Diff line number Diff line change 3
3
import fetch from "node-fetch" ;
4
4
import { calculateHandlerSizes } from "./handler-size-utils" ;
5
5
import { Octokit } from "@octokit/rest" ;
6
+ import * as _ from "lodash" ;
6
7
7
8
/**
8
9
* Get sizes that were calculated from existing commit SHA
@@ -91,6 +92,11 @@ const main = async (): Promise<void> => {
91
92
const newSizes : Record < string , any > = calculateHandlerSizes ( ) ;
92
93
93
94
let output = "# Handler Size Report\n" ;
95
+
96
+ if ( _ . isEqual ( baseSizes , newSizes ) ) {
97
+ output += "No changes to handler sizes.\n" ;
98
+ }
99
+
94
100
output += `### Base Handler Sizes (kB) (commit ${ GITHUB_BASE_SHA } )\n` ;
95
101
output += "```ts\n" ;
96
102
output += JSON . stringify ( baseSizes , null , 4 ) + "\n" ;
Original file line number Diff line number Diff line change 3489
3489
dependencies:
3490
3490
"@types/node" "*"
3491
3491
3492
- "@types/lodash@^4.14.123":
3492
+ "@types/lodash@^4.14.123", "@types/lodash@^4.14.170" :
3493
3493
version "4.14.170"
3494
3494
resolved "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.170.tgz#0d67711d4bf7f4ca5147e9091b847479b87925d6"
3495
3495
integrity sha512-bpcvu/MKHHeYX+qeEN8GE7DIravODWdACVA1ctevD8CN24RhPZIKMn9ntfAsrvLfSX3cR5RrBKAbYm9bGs0A+Q==
You can’t perform that action at this time.
0 commit comments