netlify-cli 8.6.16 → 8.6.19

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.
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "8.6.16",
3
+ "version": "8.6.19",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "8.6.16",
9
+ "version": "8.6.19",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "@netlify/build": "^26.1.0",
14
14
  "@netlify/config": "^17.0.3",
15
- "@netlify/framework-info": "^7.0.0",
15
+ "@netlify/framework-info": "^8.0.0",
16
16
  "@netlify/local-functions-proxy": "^1.1.1",
17
- "@netlify/plugin-edge-handlers": "^3.0.0",
17
+ "@netlify/plugin-edge-handlers": "^3.0.2",
18
18
  "@netlify/plugins-list": "^6.2.0",
19
19
  "@netlify/routing-local-proxy": "^0.34.1",
20
20
  "@netlify/zip-it-and-ship-it": "5.4.0",
@@ -30,7 +30,6 @@
30
30
  "chokidar": "^3.0.2",
31
31
  "ci-info": "^3.0.0",
32
32
  "clean-deep": "^3.0.2",
33
- "colors": "^1.4.0",
34
33
  "commander": "^8.3.0",
35
34
  "concordance": "^5.0.0",
36
35
  "configstore": "^5.0.0",
@@ -123,7 +122,7 @@
123
122
  "@babel/preset-react": "^7.12.13",
124
123
  "@commitlint/cli": "^16.0.0",
125
124
  "@commitlint/config-conventional": "^16.0.0",
126
- "@netlify/eslint-config-node": "^4.0.6",
125
+ "@netlify/eslint-config-node": "^4.1.0",
127
126
  "ava": "^3.15.0",
128
127
  "c8": "^7.11.0",
129
128
  "eslint-plugin-sort-destructure-keys": "^1.3.5",
@@ -2993,9 +2992,9 @@
2993
2992
  }
2994
2993
  },
2995
2994
  "node_modules/@netlify/eslint-config-node": {
2996
- "version": "4.0.6",
2997
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.6.tgz",
2998
- "integrity": "sha512-XjTw3l/U0DSfPH9WKc0dKMS/r6uy6lPx4FVQ9uX6CeL+DixQz6hym8778G2f4Kpxl3tEPnOGIz40WiNrnDzC5w==",
2995
+ "version": "4.1.0",
2996
+ "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.1.0.tgz",
2997
+ "integrity": "sha512-7I+5Eli0IbLj+3flcxuOX5PyrApXicGAKohWKD7KCx/wSv2buN21kC0c1+Du8Uj5ykVCbHxfpwR59MnDNsZGBw==",
2999
2998
  "dev": true,
3000
2999
  "dependencies": {
3001
3000
  "@babel/core": "^7.13.8",
@@ -3018,9 +3017,9 @@
3018
3017
  "eslint-plugin-import": "^2.25.1",
3019
3018
  "eslint-plugin-markdown": "^2.0.0",
3020
3019
  "eslint-plugin-node": "^11.1.0",
3021
- "eslint-plugin-promise": "^6.0.0",
3020
+ "eslint-plugin-promise": "^5.2.0",
3022
3021
  "eslint-plugin-react": "^7.21.5",
3023
- "eslint-plugin-unicorn": "^39.0.0",
3022
+ "eslint-plugin-unicorn": "^40.0.0",
3024
3023
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
3025
3024
  "execa": "^5.0.0",
3026
3025
  "husky": "^4.3.0",
@@ -3038,22 +3037,10 @@
3038
3037
  "node": ">=16.0.0"
3039
3038
  }
3040
3039
  },
3041
- "node_modules/@netlify/eslint-config-node/node_modules/eslint-plugin-promise": {
3042
- "version": "6.0.0",
3043
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz",
3044
- "integrity": "sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==",
3045
- "dev": true,
3046
- "engines": {
3047
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
3048
- },
3049
- "peerDependencies": {
3050
- "eslint": "^7.0.0 || ^8.0.0"
3051
- }
3052
- },
3053
3040
  "node_modules/@netlify/framework-info": {
3054
- "version": "7.0.0",
3055
- "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-7.0.0.tgz",
3056
- "integrity": "sha512-VjZ0Uwy85iM54qzCNJDBtySYJuoxBXhvWpMFhrUUZcsbONDSOpodcblo+5/jtUZnoYUfAIhS/WSdo/Pf/EEBsA==",
3041
+ "version": "8.0.0",
3042
+ "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-8.0.0.tgz",
3043
+ "integrity": "sha512-8kU0+1civXPehsOcHY9DzAAFWmovkPQFt4W+Z2J86MojER5BXk6PTXhEHNcmgPSYoTejcA7vQ0nAPFErzt5gkA==",
3057
3044
  "dependencies": {
3058
3045
  "ajv": "^8.0.0",
3059
3046
  "filter-obj": "^2.0.1",
@@ -3301,9 +3288,9 @@
3301
3288
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
3302
3289
  },
3303
3290
  "node_modules/@netlify/plugin-edge-handlers": {
3304
- "version": "3.0.0",
3305
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.0.tgz",
3306
- "integrity": "sha512-lolaK+xaY0Hud4tE89baA9FrwxebTvSTVTeQAEK3a9yj1o0jZrEzaBW9kGZ89lwANb4Mghz3PLaksOlEH179MA==",
3291
+ "version": "3.0.2",
3292
+ "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.2.tgz",
3293
+ "integrity": "sha512-MEJ2A5+5/EB5aqB1S/4vfEA30BKJnDpQ1yT439u9GvvFz6iDrMEi3IrlUdmevrnG6W9j1hYqvvCPPrBSnXLaeg==",
3307
3294
  "dependencies": {
3308
3295
  "@babel/core": "^7.11.4",
3309
3296
  "@babel/preset-env": "^7.11.5",
@@ -3315,14 +3302,12 @@
3315
3302
  "@types/node": "^16.0.0",
3316
3303
  "buffer-es6": "^4.9.3",
3317
3304
  "del": "^6.0.0",
3318
- "make-dir": "^3.1.0",
3319
3305
  "node-fetch": "^2.6.1",
3320
3306
  "path-type": "^4.0.0",
3321
3307
  "process-es6": "^0.11.6",
3322
3308
  "rollup": "^2.23.1",
3323
3309
  "rollup-plugin-node-polyfills": "^0.2.1",
3324
- "rollup-plugin-terser": "^7.0.2",
3325
- "typescript": "^4.1.5"
3310
+ "rollup-plugin-terser": "^7.0.2"
3326
3311
  },
3327
3312
  "bin": {
3328
3313
  "plugin-build-edge-handlers": "src/cli.js"
@@ -3332,9 +3317,9 @@
3332
3317
  }
3333
3318
  },
3334
3319
  "node_modules/@netlify/plugin-edge-handlers/node_modules/@types/node": {
3335
- "version": "16.11.15",
3336
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.15.tgz",
3337
- "integrity": "sha512-LMGR7iUjwZRxoYnfc9+YELxwqkaLmkJlo4/HUvOMyGvw9DaHO0gtAbH2FUdoFE6PXBTYZIT7x610r7kdo8o1fQ=="
3320
+ "version": "16.11.19",
3321
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.19.tgz",
3322
+ "integrity": "sha512-BPAcfDPoHlRQNKktbsbnpACGdypPFBuX4xQlsWDE7B8XXcfII+SpOLay3/qZmCLb39kV5S1RTYwXdkx2lwLYng=="
3338
3323
  },
3339
3324
  "node_modules/@netlify/plugins-list": {
3340
3325
  "version": "6.2.0",
@@ -4883,9 +4868,9 @@
4883
4868
  }
4884
4869
  },
4885
4870
  "node_modules/async": {
4886
- "version": "3.2.2",
4887
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.2.tgz",
4888
- "integrity": "sha512-H0E+qZaDEfx/FY4t7iLRv1W2fFI6+pyCeTw1uN20AQPiwqwM6ojPxHxdLv4z8hi2DtnW9BOckSspLucW7pIE5g=="
4871
+ "version": "3.2.3",
4872
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
4873
+ "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="
4889
4874
  },
4890
4875
  "node_modules/asynckit": {
4891
4876
  "version": "0.4.0",
@@ -8839,7 +8824,6 @@
8839
8824
  "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz",
8840
8825
  "integrity": "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==",
8841
8826
  "dev": true,
8842
- "peer": true,
8843
8827
  "engines": {
8844
8828
  "node": "^10.12.0 || >=12.0.0"
8845
8829
  },
@@ -8925,23 +8909,22 @@
8925
8909
  }
8926
8910
  },
8927
8911
  "node_modules/eslint-plugin-unicorn": {
8928
- "version": "39.0.0",
8929
- "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
8930
- "integrity": "sha512-fd5RK2FtYjGcIx3wra7csIE/wkkmBo22T1gZtRTsLr1Mb+KsFKJ+JOdSqhHXQUrI/JTs/Mon64cEYzTgSCbltw==",
8912
+ "version": "40.0.0",
8913
+ "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-40.0.0.tgz",
8914
+ "integrity": "sha512-5GRXISfBk8jMmYk1eeNDw8zSRnWTxBjWkzx2Prre6E2/yLu2twozZ3EomLWCBu9nWms/ZE361BItyMQwfnG1qA==",
8931
8915
  "dev": true,
8932
8916
  "dependencies": {
8933
- "@babel/helper-validator-identifier": "^7.14.9",
8934
- "ci-info": "^3.2.0",
8917
+ "@babel/helper-validator-identifier": "^7.15.7",
8918
+ "ci-info": "^3.3.0",
8935
8919
  "clean-regexp": "^1.0.0",
8936
- "eslint-template-visitor": "^2.3.2",
8937
8920
  "eslint-utils": "^3.0.0",
8938
8921
  "esquery": "^1.4.0",
8939
- "indent-string": "4",
8922
+ "indent-string": "^4.0.0",
8940
8923
  "is-builtin-module": "^3.1.0",
8941
8924
  "lodash": "^4.17.21",
8942
8925
  "pluralize": "^8.0.0",
8943
8926
  "read-pkg-up": "^7.0.1",
8944
- "regexp-tree": "^0.1.23",
8927
+ "regexp-tree": "^0.1.24",
8945
8928
  "safe-regex": "^2.1.1",
8946
8929
  "semver": "^7.3.5",
8947
8930
  "strip-indent": "^3.0.0"
@@ -8990,22 +8973,6 @@
8990
8973
  "node": ">=4.0"
8991
8974
  }
8992
8975
  },
8993
- "node_modules/eslint-template-visitor": {
8994
- "version": "2.3.2",
8995
- "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz",
8996
- "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==",
8997
- "dev": true,
8998
- "dependencies": {
8999
- "@babel/core": "^7.12.16",
9000
- "@babel/eslint-parser": "^7.12.16",
9001
- "eslint-visitor-keys": "^2.0.0",
9002
- "esquery": "^1.3.1",
9003
- "multimap": "^1.1.0"
9004
- },
9005
- "peerDependencies": {
9006
- "eslint": ">=7.0.0"
9007
- }
9008
- },
9009
8976
  "node_modules/eslint-utils": {
9010
8977
  "version": "3.0.0",
9011
8978
  "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
@@ -13346,11 +13313,11 @@
13346
13313
  }
13347
13314
  },
13348
13315
  "node_modules/logform": {
13349
- "version": "2.3.0",
13350
- "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.0.tgz",
13351
- "integrity": "sha512-graeoWUH2knKbGthMtuG1EfaSPMZFZBIrhuJHhkS5ZseFBrc7DupCzihOQAzsK/qIKPQaPJ/lFQFctILUY5ARQ==",
13316
+ "version": "2.3.2",
13317
+ "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.2.tgz",
13318
+ "integrity": "sha512-V6JiPThZzTsbVRspNO6TmHkR99oqYTs8fivMBYQkjZj6rxW92KxtDCPE6IkAk1DNBnYKNkjm4jYBm6JDUcyhOA==",
13352
13319
  "dependencies": {
13353
- "colors": "^1.2.1",
13320
+ "colors": "1.4.0",
13354
13321
  "fecha": "^4.2.0",
13355
13322
  "ms": "^2.1.1",
13356
13323
  "safe-stable-stringify": "^1.1.0",
@@ -13992,12 +13959,6 @@
13992
13959
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
13993
13960
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
13994
13961
  },
13995
- "node_modules/multimap": {
13996
- "version": "1.1.0",
13997
- "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz",
13998
- "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==",
13999
- "dev": true
14000
- },
14001
13962
  "node_modules/multiparty": {
14002
13963
  "version": "4.2.2",
14003
13964
  "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
@@ -16402,11 +16363,11 @@
16402
16363
  }
16403
16364
  },
16404
16365
  "node_modules/prettyjson": {
16405
- "version": "1.2.1",
16406
- "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.1.tgz",
16407
- "integrity": "sha1-/P+rQdGcq0365eV15kJGYZsS0ok=",
16366
+ "version": "1.2.5",
16367
+ "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.5.tgz",
16368
+ "integrity": "sha512-rksPWtoZb2ZpT5OVgtmy0KHVM+Dca3iVwWY9ifwhcexfjebtgjg3wmrUt9PvJ59XIYBcknQeYHD8IAnVlh9lAw==",
16408
16369
  "dependencies": {
16409
- "colors": "^1.1.2",
16370
+ "colors": "1.4.0",
16410
16371
  "minimist": "^1.2.0"
16411
16372
  },
16412
16373
  "bin": {
@@ -19904,30 +19865,30 @@
19904
19865
  }
19905
19866
  },
19906
19867
  "node_modules/winston": {
19907
- "version": "3.3.3",
19908
- "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz",
19909
- "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==",
19868
+ "version": "3.3.4",
19869
+ "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.4.tgz",
19870
+ "integrity": "sha512-zWJrfmqE+2IXtVJ125vxpA2m303TjwchLhfRbcnma7c76Qd4pv80JIp37l8uGnWbCoG4X6PMz3vAQeh+vH1CtA==",
19910
19871
  "dependencies": {
19911
19872
  "@dabh/diagnostics": "^2.0.2",
19912
- "async": "^3.1.0",
19873
+ "async": "^3.2.3",
19913
19874
  "is-stream": "^2.0.0",
19914
- "logform": "^2.2.0",
19875
+ "logform": "^2.3.2",
19915
19876
  "one-time": "^1.0.0",
19916
19877
  "readable-stream": "^3.4.0",
19917
19878
  "stack-trace": "0.0.x",
19918
19879
  "triple-beam": "^1.3.0",
19919
- "winston-transport": "^4.4.0"
19880
+ "winston-transport": "^4.4.2"
19920
19881
  },
19921
19882
  "engines": {
19922
19883
  "node": ">= 6.4.0"
19923
19884
  }
19924
19885
  },
19925
19886
  "node_modules/winston-transport": {
19926
- "version": "4.4.1",
19927
- "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.1.tgz",
19928
- "integrity": "sha512-ciZRlU4CSjHqHe8RQG1iPxKMRVwv6ZJ0RC7DxStKWd0KjpAhPDy5gVYSCpIUq+5CUsP+IyNOTZy1X0tO2QZqjg==",
19887
+ "version": "4.4.2",
19888
+ "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.2.tgz",
19889
+ "integrity": "sha512-9jmhltAr5ygt5usgUTQbEiw/7RYXpyUbEAFRCSicIacpUzPkrnQsQZSPGEI12aLK9Jth4zNcYJx3Cvznwrl8pw==",
19929
19890
  "dependencies": {
19930
- "logform": "^2.2.0",
19891
+ "logform": "^2.3.2",
19931
19892
  "readable-stream": "^3.4.0",
19932
19893
  "triple-beam": "^1.2.0"
19933
19894
  },
@@ -22188,9 +22149,9 @@
22188
22149
  "integrity": "sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw=="
22189
22150
  },
22190
22151
  "@netlify/eslint-config-node": {
22191
- "version": "4.0.6",
22192
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.6.tgz",
22193
- "integrity": "sha512-XjTw3l/U0DSfPH9WKc0dKMS/r6uy6lPx4FVQ9uX6CeL+DixQz6hym8778G2f4Kpxl3tEPnOGIz40WiNrnDzC5w==",
22152
+ "version": "4.1.0",
22153
+ "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.1.0.tgz",
22154
+ "integrity": "sha512-7I+5Eli0IbLj+3flcxuOX5PyrApXicGAKohWKD7KCx/wSv2buN21kC0c1+Du8Uj5ykVCbHxfpwR59MnDNsZGBw==",
22194
22155
  "dev": true,
22195
22156
  "requires": {
22196
22157
  "@babel/core": "^7.13.8",
@@ -22213,9 +22174,9 @@
22213
22174
  "eslint-plugin-import": "^2.25.1",
22214
22175
  "eslint-plugin-markdown": "^2.0.0",
22215
22176
  "eslint-plugin-node": "^11.1.0",
22216
- "eslint-plugin-promise": "^6.0.0",
22177
+ "eslint-plugin-promise": "^5.2.0",
22217
22178
  "eslint-plugin-react": "^7.21.5",
22218
- "eslint-plugin-unicorn": "^39.0.0",
22179
+ "eslint-plugin-unicorn": "^40.0.0",
22219
22180
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
22220
22181
  "execa": "^5.0.0",
22221
22182
  "husky": "^4.3.0",
@@ -22223,21 +22184,12 @@
22223
22184
  "npm-run-all": "^4.1.5",
22224
22185
  "prettier": "^2.1.2",
22225
22186
  "statuses": "^2.0.1"
22226
- },
22227
- "dependencies": {
22228
- "eslint-plugin-promise": {
22229
- "version": "6.0.0",
22230
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz",
22231
- "integrity": "sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==",
22232
- "dev": true,
22233
- "requires": {}
22234
- }
22235
22187
  }
22236
22188
  },
22237
22189
  "@netlify/framework-info": {
22238
- "version": "7.0.0",
22239
- "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-7.0.0.tgz",
22240
- "integrity": "sha512-VjZ0Uwy85iM54qzCNJDBtySYJuoxBXhvWpMFhrUUZcsbONDSOpodcblo+5/jtUZnoYUfAIhS/WSdo/Pf/EEBsA==",
22190
+ "version": "8.0.0",
22191
+ "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-8.0.0.tgz",
22192
+ "integrity": "sha512-8kU0+1civXPehsOcHY9DzAAFWmovkPQFt4W+Z2J86MojER5BXk6PTXhEHNcmgPSYoTejcA7vQ0nAPFErzt5gkA==",
22241
22193
  "requires": {
22242
22194
  "ajv": "^8.0.0",
22243
22195
  "filter-obj": "^2.0.1",
@@ -22368,9 +22320,9 @@
22368
22320
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
22369
22321
  },
22370
22322
  "@netlify/plugin-edge-handlers": {
22371
- "version": "3.0.0",
22372
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.0.tgz",
22373
- "integrity": "sha512-lolaK+xaY0Hud4tE89baA9FrwxebTvSTVTeQAEK3a9yj1o0jZrEzaBW9kGZ89lwANb4Mghz3PLaksOlEH179MA==",
22323
+ "version": "3.0.2",
22324
+ "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.2.tgz",
22325
+ "integrity": "sha512-MEJ2A5+5/EB5aqB1S/4vfEA30BKJnDpQ1yT439u9GvvFz6iDrMEi3IrlUdmevrnG6W9j1hYqvvCPPrBSnXLaeg==",
22374
22326
  "requires": {
22375
22327
  "@babel/core": "^7.11.4",
22376
22328
  "@babel/preset-env": "^7.11.5",
@@ -22382,20 +22334,18 @@
22382
22334
  "@types/node": "^16.0.0",
22383
22335
  "buffer-es6": "^4.9.3",
22384
22336
  "del": "^6.0.0",
22385
- "make-dir": "^3.1.0",
22386
22337
  "node-fetch": "^2.6.1",
22387
22338
  "path-type": "^4.0.0",
22388
22339
  "process-es6": "^0.11.6",
22389
22340
  "rollup": "^2.23.1",
22390
22341
  "rollup-plugin-node-polyfills": "^0.2.1",
22391
- "rollup-plugin-terser": "^7.0.2",
22392
- "typescript": "^4.1.5"
22342
+ "rollup-plugin-terser": "^7.0.2"
22393
22343
  },
22394
22344
  "dependencies": {
22395
22345
  "@types/node": {
22396
- "version": "16.11.15",
22397
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.15.tgz",
22398
- "integrity": "sha512-LMGR7iUjwZRxoYnfc9+YELxwqkaLmkJlo4/HUvOMyGvw9DaHO0gtAbH2FUdoFE6PXBTYZIT7x610r7kdo8o1fQ=="
22346
+ "version": "16.11.19",
22347
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.19.tgz",
22348
+ "integrity": "sha512-BPAcfDPoHlRQNKktbsbnpACGdypPFBuX4xQlsWDE7B8XXcfII+SpOLay3/qZmCLb39kV5S1RTYwXdkx2lwLYng=="
22399
22349
  }
22400
22350
  }
22401
22351
  },
@@ -23590,9 +23540,9 @@
23590
23540
  "dev": true
23591
23541
  },
23592
23542
  "async": {
23593
- "version": "3.2.2",
23594
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.2.tgz",
23595
- "integrity": "sha512-H0E+qZaDEfx/FY4t7iLRv1W2fFI6+pyCeTw1uN20AQPiwqwM6ojPxHxdLv4z8hi2DtnW9BOckSspLucW7pIE5g=="
23543
+ "version": "3.2.3",
23544
+ "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
23545
+ "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="
23596
23546
  },
23597
23547
  "asynckit": {
23598
23548
  "version": "0.4.0",
@@ -26693,7 +26643,6 @@
26693
26643
  "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz",
26694
26644
  "integrity": "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==",
26695
26645
  "dev": true,
26696
- "peer": true,
26697
26646
  "requires": {}
26698
26647
  },
26699
26648
  "eslint-plugin-react": {
@@ -26755,23 +26704,22 @@
26755
26704
  }
26756
26705
  },
26757
26706
  "eslint-plugin-unicorn": {
26758
- "version": "39.0.0",
26759
- "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
26760
- "integrity": "sha512-fd5RK2FtYjGcIx3wra7csIE/wkkmBo22T1gZtRTsLr1Mb+KsFKJ+JOdSqhHXQUrI/JTs/Mon64cEYzTgSCbltw==",
26707
+ "version": "40.0.0",
26708
+ "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-40.0.0.tgz",
26709
+ "integrity": "sha512-5GRXISfBk8jMmYk1eeNDw8zSRnWTxBjWkzx2Prre6E2/yLu2twozZ3EomLWCBu9nWms/ZE361BItyMQwfnG1qA==",
26761
26710
  "dev": true,
26762
26711
  "requires": {
26763
- "@babel/helper-validator-identifier": "^7.14.9",
26764
- "ci-info": "^3.2.0",
26712
+ "@babel/helper-validator-identifier": "^7.15.7",
26713
+ "ci-info": "^3.3.0",
26765
26714
  "clean-regexp": "^1.0.0",
26766
- "eslint-template-visitor": "^2.3.2",
26767
26715
  "eslint-utils": "^3.0.0",
26768
26716
  "esquery": "^1.4.0",
26769
- "indent-string": "4",
26717
+ "indent-string": "^4.0.0",
26770
26718
  "is-builtin-module": "^3.1.0",
26771
26719
  "lodash": "^4.17.21",
26772
26720
  "pluralize": "^8.0.0",
26773
26721
  "read-pkg-up": "^7.0.1",
26774
- "regexp-tree": "^0.1.23",
26722
+ "regexp-tree": "^0.1.24",
26775
26723
  "safe-regex": "^2.1.1",
26776
26724
  "semver": "^7.3.5",
26777
26725
  "strip-indent": "^3.0.0"
@@ -26804,19 +26752,6 @@
26804
26752
  }
26805
26753
  }
26806
26754
  },
26807
- "eslint-template-visitor": {
26808
- "version": "2.3.2",
26809
- "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz",
26810
- "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==",
26811
- "dev": true,
26812
- "requires": {
26813
- "@babel/core": "^7.12.16",
26814
- "@babel/eslint-parser": "^7.12.16",
26815
- "eslint-visitor-keys": "^2.0.0",
26816
- "esquery": "^1.3.1",
26817
- "multimap": "^1.1.0"
26818
- }
26819
- },
26820
26755
  "eslint-utils": {
26821
26756
  "version": "3.0.0",
26822
26757
  "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
@@ -29960,11 +29895,11 @@
29960
29895
  }
29961
29896
  },
29962
29897
  "logform": {
29963
- "version": "2.3.0",
29964
- "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.0.tgz",
29965
- "integrity": "sha512-graeoWUH2knKbGthMtuG1EfaSPMZFZBIrhuJHhkS5ZseFBrc7DupCzihOQAzsK/qIKPQaPJ/lFQFctILUY5ARQ==",
29898
+ "version": "2.3.2",
29899
+ "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.2.tgz",
29900
+ "integrity": "sha512-V6JiPThZzTsbVRspNO6TmHkR99oqYTs8fivMBYQkjZj6rxW92KxtDCPE6IkAk1DNBnYKNkjm4jYBm6JDUcyhOA==",
29966
29901
  "requires": {
29967
- "colors": "^1.2.1",
29902
+ "colors": "1.4.0",
29968
29903
  "fecha": "^4.2.0",
29969
29904
  "ms": "^2.1.1",
29970
29905
  "safe-stable-stringify": "^1.1.0",
@@ -30444,12 +30379,6 @@
30444
30379
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
30445
30380
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
30446
30381
  },
30447
- "multimap": {
30448
- "version": "1.1.0",
30449
- "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz",
30450
- "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==",
30451
- "dev": true
30452
- },
30453
30382
  "multiparty": {
30454
30383
  "version": "4.2.2",
30455
30384
  "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
@@ -32275,11 +32204,11 @@
32275
32204
  }
32276
32205
  },
32277
32206
  "prettyjson": {
32278
- "version": "1.2.1",
32279
- "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.1.tgz",
32280
- "integrity": "sha1-/P+rQdGcq0365eV15kJGYZsS0ok=",
32207
+ "version": "1.2.5",
32208
+ "resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.5.tgz",
32209
+ "integrity": "sha512-rksPWtoZb2ZpT5OVgtmy0KHVM+Dca3iVwWY9ifwhcexfjebtgjg3wmrUt9PvJ59XIYBcknQeYHD8IAnVlh9lAw==",
32281
32210
  "requires": {
32282
- "colors": "^1.1.2",
32211
+ "colors": "1.4.0",
32283
32212
  "minimist": "^1.2.0"
32284
32213
  }
32285
32214
  },
@@ -35005,27 +34934,27 @@
35005
34934
  }
35006
34935
  },
35007
34936
  "winston": {
35008
- "version": "3.3.3",
35009
- "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz",
35010
- "integrity": "sha512-oEXTISQnC8VlSAKf1KYSSd7J6IWuRPQqDdo8eoRNaYKLvwSb5+79Z3Yi1lrl6KDpU6/VWaxpakDAtb1oQ4n9aw==",
34937
+ "version": "3.3.4",
34938
+ "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.4.tgz",
34939
+ "integrity": "sha512-zWJrfmqE+2IXtVJ125vxpA2m303TjwchLhfRbcnma7c76Qd4pv80JIp37l8uGnWbCoG4X6PMz3vAQeh+vH1CtA==",
35011
34940
  "requires": {
35012
34941
  "@dabh/diagnostics": "^2.0.2",
35013
- "async": "^3.1.0",
34942
+ "async": "^3.2.3",
35014
34943
  "is-stream": "^2.0.0",
35015
- "logform": "^2.2.0",
34944
+ "logform": "^2.3.2",
35016
34945
  "one-time": "^1.0.0",
35017
34946
  "readable-stream": "^3.4.0",
35018
34947
  "stack-trace": "0.0.x",
35019
34948
  "triple-beam": "^1.3.0",
35020
- "winston-transport": "^4.4.0"
34949
+ "winston-transport": "^4.4.2"
35021
34950
  }
35022
34951
  },
35023
34952
  "winston-transport": {
35024
- "version": "4.4.1",
35025
- "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.1.tgz",
35026
- "integrity": "sha512-ciZRlU4CSjHqHe8RQG1iPxKMRVwv6ZJ0RC7DxStKWd0KjpAhPDy5gVYSCpIUq+5CUsP+IyNOTZy1X0tO2QZqjg==",
34953
+ "version": "4.4.2",
34954
+ "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.2.tgz",
34955
+ "integrity": "sha512-9jmhltAr5ygt5usgUTQbEiw/7RYXpyUbEAFRCSicIacpUzPkrnQsQZSPGEI12aLK9Jth4zNcYJx3Cvznwrl8pw==",
35027
34956
  "requires": {
35028
- "logform": "^2.2.0",
34957
+ "logform": "^2.3.2",
35029
34958
  "readable-stream": "^3.4.0",
35030
34959
  "triple-beam": "^1.2.0"
35031
34960
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "8.6.16",
4
+ "version": "8.6.19",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
@@ -80,9 +80,9 @@
80
80
  "dependencies": {
81
81
  "@netlify/build": "^26.1.0",
82
82
  "@netlify/config": "^17.0.3",
83
- "@netlify/framework-info": "^7.0.0",
83
+ "@netlify/framework-info": "^8.0.0",
84
84
  "@netlify/local-functions-proxy": "^1.1.1",
85
- "@netlify/plugin-edge-handlers": "^3.0.0",
85
+ "@netlify/plugin-edge-handlers": "^3.0.2",
86
86
  "@netlify/plugins-list": "^6.2.0",
87
87
  "@netlify/routing-local-proxy": "^0.34.1",
88
88
  "@netlify/zip-it-and-ship-it": "5.4.0",
@@ -98,7 +98,6 @@
98
98
  "chokidar": "^3.0.2",
99
99
  "ci-info": "^3.0.0",
100
100
  "clean-deep": "^3.0.2",
101
- "colors": "^1.4.0",
102
101
  "commander": "^8.3.0",
103
102
  "concordance": "^5.0.0",
104
103
  "configstore": "^5.0.0",
@@ -187,7 +186,7 @@
187
186
  "@babel/preset-react": "^7.12.13",
188
187
  "@commitlint/cli": "^16.0.0",
189
188
  "@commitlint/config-conventional": "^16.0.0",
190
- "@netlify/eslint-config-node": "^4.0.6",
189
+ "@netlify/eslint-config-node": "^4.1.0",
191
190
  "ava": "^3.15.0",
192
191
  "c8": "^7.11.0",
193
192
  "eslint-plugin-sort-destructure-keys": "^1.3.5",
@@ -164,7 +164,7 @@ const pickTemplate = async function ({ language: languageFromFlag }) {
164
164
 
165
165
  try {
166
166
  templatesForLanguage = formatRegistryArrayForInquirer(language)
167
- } catch (_) {
167
+ } catch {
168
168
  throw error(`Invalid language: ${language}`)
169
169
  }
170
170
 
@@ -20,7 +20,7 @@ const unlink = async (options, command) => {
20
20
  try {
21
21
  // @ts-ignore types from API are wrong they cannot recognize `getSite` of API
22
22
  siteData = await command.netlify.api.getSite({ siteId })
23
- } catch (error) {
23
+ } catch {
24
24
  // ignore errors if we can't get the site
25
25
  }
26
26
 
@@ -20,7 +20,7 @@ const handler = async (event) => {
20
20
  let request
21
21
  try {
22
22
  request = JSON.parse(event.body)
23
- } catch (error) {
23
+ } catch {
24
24
  return { statusCode: 400, body: 'c annot parse hasura event' }
25
25
  }
26
26
 
@@ -1,7 +1,7 @@
1
1
  const cookie = require('cookie')
2
2
 
3
3
  // 14 days
4
- const COOKIE_MAX_AGE = 12096e5
4
+ const COOKIE_MAX_AGE = 12_096e5
5
5
 
6
6
  const handler = async () => {
7
7
  const myCookie = cookie.serialize('my_cookie', 'lolHi', {
@@ -62,7 +62,7 @@ const invokeFunction = async ({ context, event, func, timeout }) => {
62
62
  headers,
63
63
  statusCode,
64
64
  }
65
- } catch (error) {
65
+ } catch {
66
66
  return {
67
67
  statusCode: 500,
68
68
  }
@@ -72,7 +72,7 @@ const getTargetDirectory = async ({ errorExit }) => {
72
72
 
73
73
  try {
74
74
  await mkdir(targetDirectory, { recursive: true })
75
- } catch (error) {
75
+ } catch {
76
76
  errorExit(`${NETLIFYDEVERR} Could not create directory: ${targetDirectory}`)
77
77
  }
78
78
 
@@ -61,7 +61,7 @@ const invokeFunction = async ({ context, event, func, timeout }) => {
61
61
  headers,
62
62
  statusCode,
63
63
  }
64
- } catch (error) {
64
+ } catch {
65
65
  return {
66
66
  statusCode: 500,
67
67
  }
@@ -42,7 +42,7 @@ const getFunctionZips = async ({
42
42
  })
43
43
 
44
44
  return functions
45
- } catch (error) {
45
+ } catch {
46
46
  statusCb({
47
47
  type: 'functions-manifest',
48
48
  msg: 'Ignored invalid or expired functions cache',
@@ -95,9 +95,7 @@ const waitForDeploy = async (api, deployId, siteId, timeout) => {
95
95
  // Transform the fileShaMap and fnShaMap into a generic shaMap that file-uploader.js can use
96
96
  const getUploadList = (required, shaMap) => {
97
97
  if (!required || !shaMap) return []
98
- // TODO: use `Array.flatMap()` instead once we remove support for Node <11.0.0
99
- // eslint-disable-next-line unicorn/prefer-spread
100
- return [].concat(...required.map((sha) => shaMap[sha]))
98
+ return required.flatMap((sha) => shaMap[sha])
101
99
  }
102
100
 
103
101
  module.exports = {
@@ -346,9 +346,7 @@ const formatSettingsArrForInquirer = function (frameworks) {
346
346
  short: `${framework.name}-${command}`,
347
347
  })),
348
348
  )
349
- // Replace by .flatMap() when Node.js support >= 11.0.0
350
- // eslint-disable-next-line unicorn/prefer-spread
351
- return [].concat(...formattedArr)
349
+ return formattedArr.flat()
352
350
  }
353
351
 
354
352
  module.exports = {
@@ -18,7 +18,7 @@ const validateEdgeHandlerFolder = async ({ site }) => {
18
18
  error(`Edge Handlers folder ${EDGE_HANDLERS_FOLDER} must be a path to a directory`)
19
19
  }
20
20
  return resolvedFolder
21
- } catch (error_) {
21
+ } catch {
22
22
  // ignore errors at the moment
23
23
  // TODO: report error if 'edge_handlers' config exists after
24
24
  // https://github.com/netlify/build/pull/1829 is published
@@ -29,7 +29,7 @@ const ensureNetlifyIgnore = async function (dir) {
29
29
  try {
30
30
  gitIgnoreContents = await readFile(gitIgnorePath, 'utf8')
31
31
  ignorePatterns = parseIgnore.parse(gitIgnoreContents)
32
- } catch (error) {
32
+ } catch {
33
33
  // ignore
34
34
  }
35
35
  /* Not ignoring .netlify folder. Add to .gitignore */
@@ -7,7 +7,7 @@ const checkLFSFilters = async function () {
7
7
  try {
8
8
  const { stdout } = await execa('git', ['config', '--get-regexp', 'filter.lfs'])
9
9
  return stdout.length !== 0
10
- } catch (error) {
10
+ } catch {
11
11
  return false
12
12
  }
13
13
  }
@@ -16,7 +16,7 @@ const getHelperVersion = async function () {
16
16
  try {
17
17
  const { stdout } = await execa('git-credential-netlify', ['version'])
18
18
  return stdout
19
- } catch (error) {
19
+ } catch {
20
20
  throw new Error(`Check that Netlify's Git Credential helper is installed and updated to the latest version`)
21
21
  }
22
22
  }
@@ -36,7 +36,7 @@ const checkGitVersion = async function () {
36
36
  try {
37
37
  const { stdout } = await execa('git', ['--version'])
38
38
  return stdout.split(' ').pop()
39
- } catch (error) {
39
+ } catch {
40
40
  throw new Error('Check that Git is installed in your system')
41
41
  }
42
42
  }
@@ -45,7 +45,7 @@ const getLFSVersion = async function () {
45
45
  try {
46
46
  const { stdout } = await execa('git-lfs', ['version'])
47
47
  return stdout
48
- } catch (error) {
48
+ } catch {
49
49
  throw new Error('Check that Git LFS is installed in your system')
50
50
  }
51
51
  }
@@ -38,10 +38,10 @@ const aggressiveJSONParse = function (value) {
38
38
  let parsed
39
39
  try {
40
40
  parsed = JSON.parse(value)
41
- } catch (error) {
41
+ } catch {
42
42
  try {
43
43
  parsed = JSON.parse(`"${value}"`)
44
- } catch (error_) {
44
+ } catch {
45
45
  parsed = value
46
46
  }
47
47
  }
@@ -29,7 +29,7 @@ class StateConfig {
29
29
 
30
30
  get all() {
31
31
  try {
32
- return JSON.parse(fs.readFileSync(this.path, 'utf8'))
32
+ return JSON.parse(fs.readFileSync(this.path))
33
33
  } catch (error) {
34
34
  // Don't create if it doesn't exist
35
35
  if (error.code === 'ENOENT' || error.code === 'ENOTDIR') {
@@ -28,7 +28,7 @@ const makeRequest = async function () {
28
28
  body: JSON.stringify(options.data),
29
29
  })
30
30
  process.exit()
31
- } catch (error) {
31
+ } catch {
32
32
  process.exit(1)
33
33
  }
34
34
  }