netlify-cli 8.6.17 → 8.6.18

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.17",
3
+ "version": "8.6.18",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "8.6.17",
9
+ "version": "8.6.18",
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",
@@ -122,7 +122,7 @@
122
122
  "@babel/preset-react": "^7.12.13",
123
123
  "@commitlint/cli": "^16.0.0",
124
124
  "@commitlint/config-conventional": "^16.0.0",
125
- "@netlify/eslint-config-node": "^4.0.7",
125
+ "@netlify/eslint-config-node": "^4.1.0",
126
126
  "ava": "^3.15.0",
127
127
  "c8": "^7.11.0",
128
128
  "eslint-plugin-sort-destructure-keys": "^1.3.5",
@@ -2992,9 +2992,9 @@
2992
2992
  }
2993
2993
  },
2994
2994
  "node_modules/@netlify/eslint-config-node": {
2995
- "version": "4.0.7",
2996
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.7.tgz",
2997
- "integrity": "sha512-l1D58wlg2Yqz6+2eMfc8/LjYNVWyGx+KEFDtIUq4wEnROxF7K/KwOOHmD418mRKBPJjp1cx5tsaQXIbCxcj08w==",
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==",
2998
2998
  "dev": true,
2999
2999
  "dependencies": {
3000
3000
  "@babel/core": "^7.13.8",
@@ -3017,9 +3017,9 @@
3017
3017
  "eslint-plugin-import": "^2.25.1",
3018
3018
  "eslint-plugin-markdown": "^2.0.0",
3019
3019
  "eslint-plugin-node": "^11.1.0",
3020
- "eslint-plugin-promise": "^6.0.0",
3020
+ "eslint-plugin-promise": "^5.2.0",
3021
3021
  "eslint-plugin-react": "^7.21.5",
3022
- "eslint-plugin-unicorn": "^39.0.0",
3022
+ "eslint-plugin-unicorn": "^40.0.0",
3023
3023
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
3024
3024
  "execa": "^5.0.0",
3025
3025
  "husky": "^4.3.0",
@@ -3037,22 +3037,10 @@
3037
3037
  "node": ">=16.0.0"
3038
3038
  }
3039
3039
  },
3040
- "node_modules/@netlify/eslint-config-node/node_modules/eslint-plugin-promise": {
3041
- "version": "6.0.0",
3042
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz",
3043
- "integrity": "sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==",
3044
- "dev": true,
3045
- "engines": {
3046
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
3047
- },
3048
- "peerDependencies": {
3049
- "eslint": "^7.0.0 || ^8.0.0"
3050
- }
3051
- },
3052
3040
  "node_modules/@netlify/framework-info": {
3053
- "version": "7.0.0",
3054
- "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-7.0.0.tgz",
3055
- "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==",
3056
3044
  "dependencies": {
3057
3045
  "ajv": "^8.0.0",
3058
3046
  "filter-obj": "^2.0.1",
@@ -3300,9 +3288,9 @@
3300
3288
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
3301
3289
  },
3302
3290
  "node_modules/@netlify/plugin-edge-handlers": {
3303
- "version": "3.0.0",
3304
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.0.tgz",
3305
- "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==",
3306
3294
  "dependencies": {
3307
3295
  "@babel/core": "^7.11.4",
3308
3296
  "@babel/preset-env": "^7.11.5",
@@ -3314,14 +3302,12 @@
3314
3302
  "@types/node": "^16.0.0",
3315
3303
  "buffer-es6": "^4.9.3",
3316
3304
  "del": "^6.0.0",
3317
- "make-dir": "^3.1.0",
3318
3305
  "node-fetch": "^2.6.1",
3319
3306
  "path-type": "^4.0.0",
3320
3307
  "process-es6": "^0.11.6",
3321
3308
  "rollup": "^2.23.1",
3322
3309
  "rollup-plugin-node-polyfills": "^0.2.1",
3323
- "rollup-plugin-terser": "^7.0.2",
3324
- "typescript": "^4.1.5"
3310
+ "rollup-plugin-terser": "^7.0.2"
3325
3311
  },
3326
3312
  "bin": {
3327
3313
  "plugin-build-edge-handlers": "src/cli.js"
@@ -3331,9 +3317,9 @@
3331
3317
  }
3332
3318
  },
3333
3319
  "node_modules/@netlify/plugin-edge-handlers/node_modules/@types/node": {
3334
- "version": "16.11.15",
3335
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.15.tgz",
3336
- "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=="
3337
3323
  },
3338
3324
  "node_modules/@netlify/plugins-list": {
3339
3325
  "version": "6.2.0",
@@ -4882,9 +4868,9 @@
4882
4868
  }
4883
4869
  },
4884
4870
  "node_modules/async": {
4885
- "version": "3.2.2",
4886
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.2.tgz",
4887
- "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=="
4888
4874
  },
4889
4875
  "node_modules/asynckit": {
4890
4876
  "version": "0.4.0",
@@ -8838,7 +8824,6 @@
8838
8824
  "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz",
8839
8825
  "integrity": "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==",
8840
8826
  "dev": true,
8841
- "peer": true,
8842
8827
  "engines": {
8843
8828
  "node": "^10.12.0 || >=12.0.0"
8844
8829
  },
@@ -8924,23 +8909,22 @@
8924
8909
  }
8925
8910
  },
8926
8911
  "node_modules/eslint-plugin-unicorn": {
8927
- "version": "39.0.0",
8928
- "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
8929
- "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==",
8930
8915
  "dev": true,
8931
8916
  "dependencies": {
8932
- "@babel/helper-validator-identifier": "^7.14.9",
8933
- "ci-info": "^3.2.0",
8917
+ "@babel/helper-validator-identifier": "^7.15.7",
8918
+ "ci-info": "^3.3.0",
8934
8919
  "clean-regexp": "^1.0.0",
8935
- "eslint-template-visitor": "^2.3.2",
8936
8920
  "eslint-utils": "^3.0.0",
8937
8921
  "esquery": "^1.4.0",
8938
- "indent-string": "4",
8922
+ "indent-string": "^4.0.0",
8939
8923
  "is-builtin-module": "^3.1.0",
8940
8924
  "lodash": "^4.17.21",
8941
8925
  "pluralize": "^8.0.0",
8942
8926
  "read-pkg-up": "^7.0.1",
8943
- "regexp-tree": "^0.1.23",
8927
+ "regexp-tree": "^0.1.24",
8944
8928
  "safe-regex": "^2.1.1",
8945
8929
  "semver": "^7.3.5",
8946
8930
  "strip-indent": "^3.0.0"
@@ -8989,22 +8973,6 @@
8989
8973
  "node": ">=4.0"
8990
8974
  }
8991
8975
  },
8992
- "node_modules/eslint-template-visitor": {
8993
- "version": "2.3.2",
8994
- "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz",
8995
- "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==",
8996
- "dev": true,
8997
- "dependencies": {
8998
- "@babel/core": "^7.12.16",
8999
- "@babel/eslint-parser": "^7.12.16",
9000
- "eslint-visitor-keys": "^2.0.0",
9001
- "esquery": "^1.3.1",
9002
- "multimap": "^1.1.0"
9003
- },
9004
- "peerDependencies": {
9005
- "eslint": ">=7.0.0"
9006
- }
9007
- },
9008
8976
  "node_modules/eslint-utils": {
9009
8977
  "version": "3.0.0",
9010
8978
  "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
@@ -13345,11 +13313,11 @@
13345
13313
  }
13346
13314
  },
13347
13315
  "node_modules/logform": {
13348
- "version": "2.3.0",
13349
- "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.0.tgz",
13350
- "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==",
13351
13319
  "dependencies": {
13352
- "colors": "^1.2.1",
13320
+ "colors": "1.4.0",
13353
13321
  "fecha": "^4.2.0",
13354
13322
  "ms": "^2.1.1",
13355
13323
  "safe-stable-stringify": "^1.1.0",
@@ -13991,12 +13959,6 @@
13991
13959
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
13992
13960
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
13993
13961
  },
13994
- "node_modules/multimap": {
13995
- "version": "1.1.0",
13996
- "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz",
13997
- "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==",
13998
- "dev": true
13999
- },
14000
13962
  "node_modules/multiparty": {
14001
13963
  "version": "4.2.2",
14002
13964
  "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
@@ -19903,30 +19865,30 @@
19903
19865
  }
19904
19866
  },
19905
19867
  "node_modules/winston": {
19906
- "version": "3.3.3",
19907
- "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz",
19908
- "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==",
19909
19871
  "dependencies": {
19910
19872
  "@dabh/diagnostics": "^2.0.2",
19911
- "async": "^3.1.0",
19873
+ "async": "^3.2.3",
19912
19874
  "is-stream": "^2.0.0",
19913
- "logform": "^2.2.0",
19875
+ "logform": "^2.3.2",
19914
19876
  "one-time": "^1.0.0",
19915
19877
  "readable-stream": "^3.4.0",
19916
19878
  "stack-trace": "0.0.x",
19917
19879
  "triple-beam": "^1.3.0",
19918
- "winston-transport": "^4.4.0"
19880
+ "winston-transport": "^4.4.2"
19919
19881
  },
19920
19882
  "engines": {
19921
19883
  "node": ">= 6.4.0"
19922
19884
  }
19923
19885
  },
19924
19886
  "node_modules/winston-transport": {
19925
- "version": "4.4.1",
19926
- "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.1.tgz",
19927
- "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==",
19928
19890
  "dependencies": {
19929
- "logform": "^2.2.0",
19891
+ "logform": "^2.3.2",
19930
19892
  "readable-stream": "^3.4.0",
19931
19893
  "triple-beam": "^1.2.0"
19932
19894
  },
@@ -22187,9 +22149,9 @@
22187
22149
  "integrity": "sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw=="
22188
22150
  },
22189
22151
  "@netlify/eslint-config-node": {
22190
- "version": "4.0.7",
22191
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.7.tgz",
22192
- "integrity": "sha512-l1D58wlg2Yqz6+2eMfc8/LjYNVWyGx+KEFDtIUq4wEnROxF7K/KwOOHmD418mRKBPJjp1cx5tsaQXIbCxcj08w==",
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==",
22193
22155
  "dev": true,
22194
22156
  "requires": {
22195
22157
  "@babel/core": "^7.13.8",
@@ -22212,9 +22174,9 @@
22212
22174
  "eslint-plugin-import": "^2.25.1",
22213
22175
  "eslint-plugin-markdown": "^2.0.0",
22214
22176
  "eslint-plugin-node": "^11.1.0",
22215
- "eslint-plugin-promise": "^6.0.0",
22177
+ "eslint-plugin-promise": "^5.2.0",
22216
22178
  "eslint-plugin-react": "^7.21.5",
22217
- "eslint-plugin-unicorn": "^39.0.0",
22179
+ "eslint-plugin-unicorn": "^40.0.0",
22218
22180
  "eslint-plugin-you-dont-need-lodash-underscore": "^6.10.0",
22219
22181
  "execa": "^5.0.0",
22220
22182
  "husky": "^4.3.0",
@@ -22222,21 +22184,12 @@
22222
22184
  "npm-run-all": "^4.1.5",
22223
22185
  "prettier": "^2.1.2",
22224
22186
  "statuses": "^2.0.1"
22225
- },
22226
- "dependencies": {
22227
- "eslint-plugin-promise": {
22228
- "version": "6.0.0",
22229
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz",
22230
- "integrity": "sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==",
22231
- "dev": true,
22232
- "requires": {}
22233
- }
22234
22187
  }
22235
22188
  },
22236
22189
  "@netlify/framework-info": {
22237
- "version": "7.0.0",
22238
- "resolved": "https://registry.npmjs.org/@netlify/framework-info/-/framework-info-7.0.0.tgz",
22239
- "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==",
22240
22193
  "requires": {
22241
22194
  "ajv": "^8.0.0",
22242
22195
  "filter-obj": "^2.0.1",
@@ -22367,9 +22320,9 @@
22367
22320
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
22368
22321
  },
22369
22322
  "@netlify/plugin-edge-handlers": {
22370
- "version": "3.0.0",
22371
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.0.tgz",
22372
- "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==",
22373
22326
  "requires": {
22374
22327
  "@babel/core": "^7.11.4",
22375
22328
  "@babel/preset-env": "^7.11.5",
@@ -22381,20 +22334,18 @@
22381
22334
  "@types/node": "^16.0.0",
22382
22335
  "buffer-es6": "^4.9.3",
22383
22336
  "del": "^6.0.0",
22384
- "make-dir": "^3.1.0",
22385
22337
  "node-fetch": "^2.6.1",
22386
22338
  "path-type": "^4.0.0",
22387
22339
  "process-es6": "^0.11.6",
22388
22340
  "rollup": "^2.23.1",
22389
22341
  "rollup-plugin-node-polyfills": "^0.2.1",
22390
- "rollup-plugin-terser": "^7.0.2",
22391
- "typescript": "^4.1.5"
22342
+ "rollup-plugin-terser": "^7.0.2"
22392
22343
  },
22393
22344
  "dependencies": {
22394
22345
  "@types/node": {
22395
- "version": "16.11.15",
22396
- "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.15.tgz",
22397
- "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=="
22398
22349
  }
22399
22350
  }
22400
22351
  },
@@ -23589,9 +23540,9 @@
23589
23540
  "dev": true
23590
23541
  },
23591
23542
  "async": {
23592
- "version": "3.2.2",
23593
- "resolved": "https://registry.npmjs.org/async/-/async-3.2.2.tgz",
23594
- "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=="
23595
23546
  },
23596
23547
  "asynckit": {
23597
23548
  "version": "0.4.0",
@@ -26692,7 +26643,6 @@
26692
26643
  "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-5.2.0.tgz",
26693
26644
  "integrity": "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==",
26694
26645
  "dev": true,
26695
- "peer": true,
26696
26646
  "requires": {}
26697
26647
  },
26698
26648
  "eslint-plugin-react": {
@@ -26754,23 +26704,22 @@
26754
26704
  }
26755
26705
  },
26756
26706
  "eslint-plugin-unicorn": {
26757
- "version": "39.0.0",
26758
- "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
26759
- "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==",
26760
26710
  "dev": true,
26761
26711
  "requires": {
26762
- "@babel/helper-validator-identifier": "^7.14.9",
26763
- "ci-info": "^3.2.0",
26712
+ "@babel/helper-validator-identifier": "^7.15.7",
26713
+ "ci-info": "^3.3.0",
26764
26714
  "clean-regexp": "^1.0.0",
26765
- "eslint-template-visitor": "^2.3.2",
26766
26715
  "eslint-utils": "^3.0.0",
26767
26716
  "esquery": "^1.4.0",
26768
- "indent-string": "4",
26717
+ "indent-string": "^4.0.0",
26769
26718
  "is-builtin-module": "^3.1.0",
26770
26719
  "lodash": "^4.17.21",
26771
26720
  "pluralize": "^8.0.0",
26772
26721
  "read-pkg-up": "^7.0.1",
26773
- "regexp-tree": "^0.1.23",
26722
+ "regexp-tree": "^0.1.24",
26774
26723
  "safe-regex": "^2.1.1",
26775
26724
  "semver": "^7.3.5",
26776
26725
  "strip-indent": "^3.0.0"
@@ -26803,19 +26752,6 @@
26803
26752
  }
26804
26753
  }
26805
26754
  },
26806
- "eslint-template-visitor": {
26807
- "version": "2.3.2",
26808
- "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.3.2.tgz",
26809
- "integrity": "sha512-3ydhqFpuV7x1M9EK52BPNj6V0Kwu0KKkcIAfpUhwHbR8ocRln/oUHgfxQupY8O1h4Qv/POHDumb/BwwNfxbtnA==",
26810
- "dev": true,
26811
- "requires": {
26812
- "@babel/core": "^7.12.16",
26813
- "@babel/eslint-parser": "^7.12.16",
26814
- "eslint-visitor-keys": "^2.0.0",
26815
- "esquery": "^1.3.1",
26816
- "multimap": "^1.1.0"
26817
- }
26818
- },
26819
26755
  "eslint-utils": {
26820
26756
  "version": "3.0.0",
26821
26757
  "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz",
@@ -29959,11 +29895,11 @@
29959
29895
  }
29960
29896
  },
29961
29897
  "logform": {
29962
- "version": "2.3.0",
29963
- "resolved": "https://registry.npmjs.org/logform/-/logform-2.3.0.tgz",
29964
- "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==",
29965
29901
  "requires": {
29966
- "colors": "^1.2.1",
29902
+ "colors": "1.4.0",
29967
29903
  "fecha": "^4.2.0",
29968
29904
  "ms": "^2.1.1",
29969
29905
  "safe-stable-stringify": "^1.1.0",
@@ -30443,12 +30379,6 @@
30443
30379
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
30444
30380
  "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
30445
30381
  },
30446
- "multimap": {
30447
- "version": "1.1.0",
30448
- "resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz",
30449
- "integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==",
30450
- "dev": true
30451
- },
30452
30382
  "multiparty": {
30453
30383
  "version": "4.2.2",
30454
30384
  "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
@@ -35004,27 +34934,27 @@
35004
34934
  }
35005
34935
  },
35006
34936
  "winston": {
35007
- "version": "3.3.3",
35008
- "resolved": "https://registry.npmjs.org/winston/-/winston-3.3.3.tgz",
35009
- "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==",
35010
34940
  "requires": {
35011
34941
  "@dabh/diagnostics": "^2.0.2",
35012
- "async": "^3.1.0",
34942
+ "async": "^3.2.3",
35013
34943
  "is-stream": "^2.0.0",
35014
- "logform": "^2.2.0",
34944
+ "logform": "^2.3.2",
35015
34945
  "one-time": "^1.0.0",
35016
34946
  "readable-stream": "^3.4.0",
35017
34947
  "stack-trace": "0.0.x",
35018
34948
  "triple-beam": "^1.3.0",
35019
- "winston-transport": "^4.4.0"
34949
+ "winston-transport": "^4.4.2"
35020
34950
  }
35021
34951
  },
35022
34952
  "winston-transport": {
35023
- "version": "4.4.1",
35024
- "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.4.1.tgz",
35025
- "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==",
35026
34956
  "requires": {
35027
- "logform": "^2.2.0",
34957
+ "logform": "^2.3.2",
35028
34958
  "readable-stream": "^3.4.0",
35029
34959
  "triple-beam": "^1.2.0"
35030
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.17",
4
+ "version": "8.6.18",
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",
@@ -186,7 +186,7 @@
186
186
  "@babel/preset-react": "^7.12.13",
187
187
  "@commitlint/cli": "^16.0.0",
188
188
  "@commitlint/config-conventional": "^16.0.0",
189
- "@netlify/eslint-config-node": "^4.0.7",
189
+ "@netlify/eslint-config-node": "^4.1.0",
190
190
  "ava": "^3.15.0",
191
191
  "c8": "^7.11.0",
192
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
  }