File tree Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 13
13
},
14
14
"license" : " MIT" ,
15
15
"dependencies" : {
16
- "@netlify/functions" : " ^0.11.0" ,
17
16
"@vercel/ncc" : " ^0.33.1" ,
18
17
"cloudinary" : " ^1.27.1" ,
19
18
"fs-extra" : " ^10.0.0" ,
Original file line number Diff line number Diff line change 1
- const { builder } = require ( '@netlify/functions' ) ;
2
-
3
1
const { getQueryParams } = require ( '../../lib/util' ) ;
4
2
const { configureCloudinary, getCloudinaryUrl } = require ( '../../lib/cloudinary' ) ;
5
3
const { PUBLIC_ASSET_PATH } = require ( '../../data/cloudinary' ) ;
6
4
7
- async function handler ( event , context ) {
5
+ exports . handler = async function ( event , context ) {
8
6
const { rawUrl, headers } = event ;
9
7
const { host } = headers ;
10
8
@@ -39,6 +37,4 @@ async function handler(event, context) {
39
37
Location : cloudinaryUrl
40
38
}
41
39
} ;
42
- } ;
43
-
44
- exports . handler = builder ( handler ) ;
40
+ } ;
Original file line number Diff line number Diff line change 487
487
" @types/yargs" " ^16.0.0"
488
488
chalk "^4.0.0"
489
489
490
- " @netlify/functions@^0.11.0 " :
491
- version "0.11.0"
492
- resolved "https://registry.yarnpkg.com/@netlify/functions/-/functions-0.11.0.tgz#224f3bba53809b364d36377ad0b2d3de594f994d"
493
- integrity sha512-+WWX081UCkLZYkfh1Ru+PH5HTujNXugeskATGhZLTyS1U3Cqh2gYLArdG1a/vU8WWopu/wjpxEOdWq8/T5Nw5Q==
494
- dependencies :
495
- is-promise "^4.0.0"
496
-
497
490
" @sinonjs/commons@^1.7.0 " :
498
491
version "1.8.3"
499
492
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d"
@@ -1399,11 +1392,6 @@ is-potential-custom-element-name@^1.0.1:
1399
1392
resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
1400
1393
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
1401
1394
1402
- is-promise@^4.0.0 :
1403
- version "4.0.0"
1404
- resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3"
1405
- integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==
1406
-
1407
1395
is-stream@^2.0.0 :
1408
1396
version "2.0.1"
1409
1397
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
You can’t perform that action at this time.
0 commit comments