2021-06-19 16:13:27 +01:00
|
|
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
|
|
# yarn lockfile v1
|
|
|
|
|
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
"@aashutoshrathi/word-wrap@^1.2.3":
|
|
|
|
version "1.2.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"
|
|
|
|
integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
"@ampproject/remapping@^2.2.0":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "2.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630"
|
|
|
|
integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-05-20 15:47:20 +01:00
|
|
|
"@jridgewell/gen-mapping" "^0.3.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@jridgewell/trace-mapping" "^0.3.9"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.13":
|
|
|
|
version "7.22.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e"
|
|
|
|
integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/highlight" "^7.22.13"
|
|
|
|
chalk "^2.4.2"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/compat-data@^7.22.9":
|
|
|
|
version "7.22.20"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.20.tgz#8df6e96661209623f1975d66c35ffca66f3306d0"
|
|
|
|
integrity sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@babel/core@^7.11.6", "@babel/core@^7.12.3":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.0.tgz#f8259ae0e52a123eb40f552551e647b506a94d83"
|
|
|
|
integrity sha512-97z/ju/Jy1rZmDxybphrBuI+jtJjFVoz7Mr9yUQVVVi+DNZE333uFQeMOqcCIy1x3WYBIbWftUSLmbNXNT7qFQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@ampproject/remapping" "^2.2.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/code-frame" "^7.22.13"
|
|
|
|
"@babel/generator" "^7.23.0"
|
|
|
|
"@babel/helper-compilation-targets" "^7.22.15"
|
|
|
|
"@babel/helper-module-transforms" "^7.23.0"
|
|
|
|
"@babel/helpers" "^7.23.0"
|
|
|
|
"@babel/parser" "^7.23.0"
|
|
|
|
"@babel/template" "^7.22.15"
|
|
|
|
"@babel/traverse" "^7.23.0"
|
|
|
|
"@babel/types" "^7.23.0"
|
|
|
|
convert-source-map "^2.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
debug "^4.1.0"
|
|
|
|
gensync "^1.0.0-beta.2"
|
2023-10-16 19:15:47 +01:00
|
|
|
json5 "^2.2.3"
|
|
|
|
semver "^6.3.1"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/generator@^7.23.0", "@babel/generator@^7.7.2":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420"
|
|
|
|
integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/types" "^7.23.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@jridgewell/gen-mapping" "^0.3.2"
|
|
|
|
"@jridgewell/trace-mapping" "^0.3.17"
|
|
|
|
jsesc "^2.5.1"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/helper-compilation-targets@^7.22.15":
|
|
|
|
version "7.22.15"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52"
|
|
|
|
integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/compat-data" "^7.22.9"
|
|
|
|
"@babel/helper-validator-option" "^7.22.15"
|
|
|
|
browserslist "^4.21.9"
|
2023-04-22 13:20:30 +01:00
|
|
|
lru-cache "^5.1.1"
|
2023-10-16 19:15:47 +01:00
|
|
|
semver "^6.3.1"
|
|
|
|
|
|
|
|
"@babel/helper-environment-visitor@^7.22.20":
|
|
|
|
version "7.22.20"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167"
|
|
|
|
integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==
|
|
|
|
|
|
|
|
"@babel/helper-function-name@^7.23.0":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759"
|
|
|
|
integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/template" "^7.22.15"
|
|
|
|
"@babel/types" "^7.23.0"
|
|
|
|
|
|
|
|
"@babel/helper-hoist-variables@^7.22.5":
|
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb"
|
|
|
|
integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/types" "^7.22.5"
|
|
|
|
|
|
|
|
"@babel/helper-module-imports@^7.22.15":
|
|
|
|
version "7.22.15"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0"
|
|
|
|
integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==
|
|
|
|
dependencies:
|
|
|
|
"@babel/types" "^7.22.15"
|
|
|
|
|
|
|
|
"@babel/helper-module-transforms@^7.23.0":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz#3ec246457f6c842c0aee62a01f60739906f7047e"
|
|
|
|
integrity sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-environment-visitor" "^7.22.20"
|
|
|
|
"@babel/helper-module-imports" "^7.22.15"
|
|
|
|
"@babel/helper-simple-access" "^7.22.5"
|
|
|
|
"@babel/helper-split-export-declaration" "^7.22.6"
|
|
|
|
"@babel/helper-validator-identifier" "^7.22.20"
|
|
|
|
|
|
|
|
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0":
|
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295"
|
|
|
|
integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==
|
|
|
|
|
|
|
|
"@babel/helper-simple-access@^7.22.5":
|
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de"
|
|
|
|
integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==
|
|
|
|
dependencies:
|
|
|
|
"@babel/types" "^7.22.5"
|
|
|
|
|
|
|
|
"@babel/helper-split-export-declaration@^7.22.6":
|
|
|
|
version "7.22.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c"
|
|
|
|
integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==
|
|
|
|
dependencies:
|
|
|
|
"@babel/types" "^7.22.5"
|
|
|
|
|
|
|
|
"@babel/helper-string-parser@^7.22.5":
|
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f"
|
|
|
|
integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==
|
|
|
|
|
|
|
|
"@babel/helper-validator-identifier@^7.22.20":
|
|
|
|
version "7.22.20"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0"
|
|
|
|
integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==
|
|
|
|
|
|
|
|
"@babel/helper-validator-option@^7.22.15":
|
|
|
|
version "7.22.15"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040"
|
|
|
|
integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==
|
|
|
|
|
|
|
|
"@babel/helpers@^7.23.0":
|
|
|
|
version "7.23.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.1.tgz#44e981e8ce2b9e99f8f0b703f3326a4636c16d15"
|
|
|
|
integrity sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==
|
|
|
|
dependencies:
|
|
|
|
"@babel/template" "^7.22.15"
|
|
|
|
"@babel/traverse" "^7.23.0"
|
|
|
|
"@babel/types" "^7.23.0"
|
|
|
|
|
|
|
|
"@babel/highlight@^7.22.13":
|
|
|
|
version "7.22.20"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54"
|
|
|
|
integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-validator-identifier" "^7.22.20"
|
|
|
|
chalk "^2.4.2"
|
2023-04-22 13:20:30 +01:00
|
|
|
js-tokens "^4.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.0":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719"
|
|
|
|
integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@babel/plugin-syntax-async-generators@^7.8.4":
|
|
|
|
version "7.8.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d"
|
|
|
|
integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-bigint@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea"
|
|
|
|
integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-class-properties@^7.8.3":
|
|
|
|
version "7.12.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10"
|
|
|
|
integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.12.13"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-import-meta@^7.8.3":
|
|
|
|
version "7.10.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51"
|
|
|
|
integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.10.4"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-json-strings@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a"
|
|
|
|
integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-jsx@^7.7.2":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918"
|
|
|
|
integrity sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/helper-plugin-utils" "^7.22.5"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@babel/plugin-syntax-logical-assignment-operators@^7.8.3":
|
|
|
|
version "7.10.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699"
|
|
|
|
integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.10.4"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9"
|
|
|
|
integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-numeric-separator@^7.8.3":
|
|
|
|
version "7.10.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97"
|
|
|
|
integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.10.4"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-object-rest-spread@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871"
|
|
|
|
integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-optional-catch-binding@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1"
|
|
|
|
integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-optional-chaining@^7.8.3":
|
|
|
|
version "7.8.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a"
|
|
|
|
integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.8.0"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-top-level-await@^7.8.3":
|
|
|
|
version "7.14.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c"
|
|
|
|
integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.14.5"
|
|
|
|
|
|
|
|
"@babel/plugin-syntax-typescript@^7.7.2":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.22.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272"
|
|
|
|
integrity sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.22.5"
|
|
|
|
|
|
|
|
"@babel/template@^7.22.15", "@babel/template@^7.3.3":
|
|
|
|
version "7.22.15"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38"
|
|
|
|
integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==
|
|
|
|
dependencies:
|
|
|
|
"@babel/code-frame" "^7.22.13"
|
|
|
|
"@babel/parser" "^7.22.15"
|
|
|
|
"@babel/types" "^7.22.15"
|
|
|
|
|
|
|
|
"@babel/traverse@^7.23.0":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.0.tgz#18196ddfbcf4ccea324b7f6d3ada00d8c5a99c53"
|
|
|
|
integrity sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/code-frame" "^7.22.13"
|
|
|
|
"@babel/generator" "^7.23.0"
|
|
|
|
"@babel/helper-environment-visitor" "^7.22.20"
|
|
|
|
"@babel/helper-function-name" "^7.23.0"
|
|
|
|
"@babel/helper-hoist-variables" "^7.22.5"
|
|
|
|
"@babel/helper-split-export-declaration" "^7.22.6"
|
|
|
|
"@babel/parser" "^7.23.0"
|
|
|
|
"@babel/types" "^7.23.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
debug "^4.1.0"
|
|
|
|
globals "^11.1.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.3.3":
|
|
|
|
version "7.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb"
|
|
|
|
integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/helper-string-parser" "^7.22.5"
|
|
|
|
"@babel/helper-validator-identifier" "^7.22.20"
|
2023-04-22 13:20:30 +01:00
|
|
|
to-fast-properties "^2.0.0"
|
|
|
|
|
|
|
|
"@bcoe/v8-coverage@^0.2.3":
|
|
|
|
version "0.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
|
|
|
|
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@bconnorwhite/module@^2.0.2":
|
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@bconnorwhite/module/-/module-2.0.2.tgz#557846110bb89412e9689ac778358bc2b1af0c4a"
|
|
|
|
integrity sha512-ck1me5WMgZKp06gnJrVKEkytpehTTQbvsAMbF1nGPeHri/AZNhj87++PSE2LOxmZqM0EtGMaqeLdx7Lw7SUnTA==
|
|
|
|
dependencies:
|
|
|
|
find-up "^5.0.0"
|
|
|
|
read-json-safe "^1.0.5"
|
|
|
|
types-pkg-json "^1.1.0"
|
|
|
|
|
2023-02-27 18:33:32 +00:00
|
|
|
"@cspotcode/source-map-support@^0.8.0":
|
|
|
|
version "0.8.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1"
|
|
|
|
integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==
|
2021-12-01 20:32:20 +00:00
|
|
|
dependencies:
|
2023-02-27 18:33:32 +00:00
|
|
|
"@jridgewell/trace-mapping" "0.3.9"
|
2021-12-01 20:32:20 +00:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "4.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
|
|
|
|
integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
|
|
|
|
dependencies:
|
|
|
|
eslint-visitor-keys "^3.3.0"
|
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1":
|
2023-10-16 19:13:29 +01:00
|
|
|
version "4.9.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.1.tgz#449dfa81a57a1d755b09aa58d826c1262e4283b4"
|
|
|
|
integrity sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA==
|
2023-09-13 11:50:44 +01:00
|
|
|
|
|
|
|
"@eslint/eslintrc@^2.1.2":
|
|
|
|
version "2.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396"
|
|
|
|
integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
ajv "^6.12.4"
|
2023-03-06 00:01:43 +00:00
|
|
|
debug "^4.3.2"
|
2023-09-13 11:50:44 +01:00
|
|
|
espree "^9.6.0"
|
2023-03-06 00:01:43 +00:00
|
|
|
globals "^13.19.0"
|
|
|
|
ignore "^5.2.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
import-fresh "^3.2.1"
|
2023-03-06 00:01:43 +00:00
|
|
|
js-yaml "^4.1.0"
|
|
|
|
minimatch "^3.1.2"
|
2021-06-19 16:13:27 +01:00
|
|
|
strip-json-comments "^3.1.1"
|
|
|
|
|
2023-10-16 19:13:29 +01:00
|
|
|
"@eslint/js@8.51.0":
|
|
|
|
version "8.51.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa"
|
|
|
|
integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==
|
2023-03-06 00:01:43 +00:00
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
"@humanwhocodes/config-array@^0.11.11":
|
|
|
|
version "0.11.11"
|
|
|
|
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844"
|
|
|
|
integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==
|
2023-03-06 00:01:43 +00:00
|
|
|
dependencies:
|
|
|
|
"@humanwhocodes/object-schema" "^1.2.1"
|
|
|
|
debug "^4.1.1"
|
|
|
|
minimatch "^3.0.5"
|
|
|
|
|
|
|
|
"@humanwhocodes/module-importer@^1.0.1":
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
|
|
|
|
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
|
|
|
|
|
|
|
|
"@humanwhocodes/object-schema@^1.2.1":
|
|
|
|
version "1.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
|
|
|
|
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
"@istanbuljs/load-nyc-config@^1.0.0":
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced"
|
|
|
|
integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==
|
|
|
|
dependencies:
|
|
|
|
camelcase "^5.3.1"
|
|
|
|
find-up "^4.1.0"
|
|
|
|
get-package-type "^0.1.0"
|
|
|
|
js-yaml "^3.13.1"
|
|
|
|
resolve-from "^5.0.0"
|
|
|
|
|
|
|
|
"@istanbuljs/schema@^0.1.2":
|
|
|
|
version "0.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98"
|
|
|
|
integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/console@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc"
|
|
|
|
integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/core@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f"
|
|
|
|
integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==
|
2023-05-20 15:47:20 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/console" "^29.7.0"
|
|
|
|
"@jest/reporters" "^29.7.0"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/transform" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
ansi-escapes "^4.2.1"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
ci-info "^3.2.0"
|
|
|
|
exit "^0.1.2"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-changed-files "^29.7.0"
|
|
|
|
jest-config "^29.7.0"
|
|
|
|
jest-haste-map "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-resolve "^29.7.0"
|
|
|
|
jest-resolve-dependencies "^29.7.0"
|
|
|
|
jest-runner "^29.7.0"
|
|
|
|
jest-runtime "^29.7.0"
|
|
|
|
jest-snapshot "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-validate "^29.7.0"
|
|
|
|
jest-watcher "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
micromatch "^4.0.4"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/environment@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7"
|
|
|
|
integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/fake-timers" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-mock "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/expect-utils@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6"
|
|
|
|
integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-get-type "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/expect@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2"
|
|
|
|
integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
expect "^29.7.0"
|
|
|
|
jest-snapshot "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/fake-timers@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565"
|
|
|
|
integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@sinonjs/fake-timers" "^10.0.2"
|
|
|
|
"@types/node" "*"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-mock "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/globals@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d"
|
|
|
|
integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/environment" "^29.7.0"
|
|
|
|
"@jest/expect" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
jest-mock "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/reporters@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7"
|
|
|
|
integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@bcoe/v8-coverage" "^0.2.3"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/console" "^29.7.0"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/transform" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
"@jridgewell/trace-mapping" "^0.3.18"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
collect-v8-coverage "^1.0.0"
|
|
|
|
exit "^0.1.2"
|
|
|
|
glob "^7.1.3"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
istanbul-lib-coverage "^3.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
istanbul-lib-instrument "^6.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
istanbul-lib-report "^3.0.0"
|
|
|
|
istanbul-lib-source-maps "^4.0.0"
|
|
|
|
istanbul-reports "^3.1.3"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-worker "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
string-length "^4.0.1"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
v8-to-istanbul "^9.0.1"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/schemas@^29.6.3":
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03"
|
|
|
|
integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@sinclair/typebox" "^0.27.8"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/source-map@^29.6.3":
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4"
|
|
|
|
integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jridgewell/trace-mapping" "^0.3.18"
|
2023-04-22 13:20:30 +01:00
|
|
|
callsites "^3.0.0"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/test-result@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c"
|
|
|
|
integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/console" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/istanbul-lib-coverage" "^2.0.0"
|
|
|
|
collect-v8-coverage "^1.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/test-sequencer@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce"
|
|
|
|
integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/test-result" "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-haste-map "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/transform@^29.7.0":
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c"
|
|
|
|
integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/core" "^7.11.6"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
"@jridgewell/trace-mapping" "^0.3.18"
|
2023-04-22 13:20:30 +01:00
|
|
|
babel-plugin-istanbul "^6.1.1"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
convert-source-map "^2.0.0"
|
|
|
|
fast-json-stable-stringify "^2.1.0"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-haste-map "^29.7.0"
|
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
micromatch "^4.0.4"
|
|
|
|
pirates "^4.0.4"
|
|
|
|
slash "^3.0.0"
|
|
|
|
write-file-atomic "^4.0.2"
|
|
|
|
|
2023-10-23 13:26:21 +01:00
|
|
|
"@jest/types@^29.6.3":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59"
|
|
|
|
integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/schemas" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/istanbul-lib-coverage" "^2.0.0"
|
|
|
|
"@types/istanbul-reports" "^3.0.0"
|
|
|
|
"@types/node" "*"
|
|
|
|
"@types/yargs" "^17.0.8"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2":
|
|
|
|
version "0.3.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098"
|
|
|
|
integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@jridgewell/set-array" "^1.0.1"
|
|
|
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
|
|
"@jridgewell/trace-mapping" "^0.3.9"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721"
|
|
|
|
integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==
|
|
|
|
|
|
|
|
"@jridgewell/set-array@^1.0.1":
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72"
|
|
|
|
integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.4.15"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32"
|
|
|
|
integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==
|
|
|
|
|
2023-02-27 18:33:32 +00:00
|
|
|
"@jridgewell/trace-mapping@0.3.9":
|
|
|
|
version "0.3.9"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9"
|
|
|
|
integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==
|
|
|
|
dependencies:
|
|
|
|
"@jridgewell/resolve-uri" "^3.0.3"
|
|
|
|
"@jridgewell/sourcemap-codec" "^1.4.10"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.9":
|
|
|
|
version "0.3.19"
|
|
|
|
resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz#f8a3249862f91be48d3127c3cfe992f79b4b8811"
|
|
|
|
integrity sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jridgewell/resolve-uri" "^3.1.0"
|
|
|
|
"@jridgewell/sourcemap-codec" "^1.4.14"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@ljharb/through@^2.3.9":
|
|
|
|
version "2.3.9"
|
|
|
|
resolved "https://registry.yarnpkg.com/@ljharb/through/-/through-2.3.9.tgz#85f221eb82f9d555e180e87d6e50fb154af85408"
|
|
|
|
integrity sha512-yN599ZBuMPPK4tdoToLlvgJB4CLK8fGl7ntfy0Wn7U6ttNvHYurd81bfUiK/6sMkiIwm65R6ck4L6+Y3DfVbNQ==
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
"@nodelib/fs.scandir@2.1.5":
|
|
|
|
version "2.1.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
|
|
|
|
integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==
|
|
|
|
dependencies:
|
|
|
|
"@nodelib/fs.stat" "2.0.5"
|
|
|
|
run-parallel "^1.1.9"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2":
|
2023-03-06 00:01:43 +00:00
|
|
|
version "2.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"
|
|
|
|
integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8":
|
2023-03-06 00:01:43 +00:00
|
|
|
version "1.2.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"
|
|
|
|
integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==
|
|
|
|
dependencies:
|
|
|
|
"@nodelib/fs.scandir" "2.1.5"
|
|
|
|
fastq "^1.6.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@pnpm/config.env-replace@^1.1.0":
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c"
|
|
|
|
integrity sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==
|
|
|
|
|
|
|
|
"@pnpm/network.ca-file@^1.0.1":
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz#2ab05e09c1af0cdf2fcf5035bea1484e222f7983"
|
|
|
|
integrity sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==
|
|
|
|
dependencies:
|
|
|
|
graceful-fs "4.2.10"
|
|
|
|
|
|
|
|
"@pnpm/npm-conf@^2.1.0":
|
|
|
|
version "2.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz#0058baf1c26cbb63a828f0193795401684ac86f0"
|
|
|
|
integrity sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==
|
|
|
|
dependencies:
|
|
|
|
"@pnpm/config.env-replace" "^1.1.0"
|
|
|
|
"@pnpm/network.ca-file" "^1.0.1"
|
|
|
|
config-chain "^1.1.11"
|
|
|
|
|
|
|
|
"@samverschueren/stream-to-observable@^0.3.0":
|
2023-04-28 17:32:17 +01:00
|
|
|
version "0.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301"
|
|
|
|
integrity sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ==
|
|
|
|
dependencies:
|
|
|
|
any-observable "^0.3.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
"@sinclair/typebox@^0.27.8":
|
|
|
|
version "0.27.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e"
|
|
|
|
integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@sindresorhus/is@4.6.0":
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.6.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f"
|
|
|
|
integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@sindresorhus/is@^5.2.0":
|
|
|
|
version "5.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.4.1.tgz#c4383ce702fb90531c3d310506bab89e70427c53"
|
|
|
|
integrity sha512-axlrvsHlHlFmKKMEg4VyvMzFr93JWJj4eIfXY1STVuO2fsImCa7ncaiG5gC8HKOX590AW5RtRsC41/B+OfrSqw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@sindresorhus/is@^5.3.0":
|
|
|
|
version "5.6.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668"
|
|
|
|
integrity sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
"@sinonjs/commons@^3.0.0":
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.0.tgz#beb434fe875d965265e04722ccfc21df7f755d72"
|
|
|
|
integrity sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==
|
2021-12-01 20:39:02 +00:00
|
|
|
dependencies:
|
2023-04-22 13:20:30 +01:00
|
|
|
type-detect "4.0.8"
|
|
|
|
|
|
|
|
"@sinonjs/fake-timers@^10.0.2":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "10.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66"
|
|
|
|
integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-05-20 15:47:20 +01:00
|
|
|
"@sinonjs/commons" "^3.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@szmarczak/http-timer@4.0.6":
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.0.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807"
|
|
|
|
integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==
|
|
|
|
dependencies:
|
|
|
|
defer-to-connect "^2.0.0"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@szmarczak/http-timer@^5.0.1":
|
|
|
|
version "5.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a"
|
|
|
|
integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==
|
|
|
|
dependencies:
|
|
|
|
defer-to-connect "^2.0.1"
|
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
"@tsconfig/node10@^1.0.7":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.0.9"
|
|
|
|
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2"
|
|
|
|
integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==
|
2021-12-01 20:32:20 +00:00
|
|
|
|
|
|
|
"@tsconfig/node12@^1.0.7":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.0.11"
|
|
|
|
resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d"
|
|
|
|
integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==
|
2021-12-01 20:32:20 +00:00
|
|
|
|
|
|
|
"@tsconfig/node14@^1.0.0":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1"
|
|
|
|
integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==
|
2021-12-01 20:32:20 +00:00
|
|
|
|
|
|
|
"@tsconfig/node16@^1.0.2":
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9"
|
|
|
|
integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==
|
2021-12-01 20:32:20 +00:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/babel__core@^7.1.14":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.20.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.2.tgz#215db4f4a35d710256579784a548907237728756"
|
|
|
|
integrity sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/parser" "^7.20.7"
|
|
|
|
"@babel/types" "^7.20.7"
|
|
|
|
"@types/babel__generator" "*"
|
|
|
|
"@types/babel__template" "*"
|
|
|
|
"@types/babel__traverse" "*"
|
|
|
|
|
|
|
|
"@types/babel__generator@*":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.6.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.5.tgz#281f4764bcbbbc51fdded0f25aa587b4ce14da95"
|
|
|
|
integrity sha512-h9yIuWbJKdOPLJTbmSpPzkF67e659PbQDba7ifWm5BJ8xTv+sDmS7rFmywkWOvXedGTivCdeGSIIX8WLcRTz8w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/types" "^7.0.0"
|
|
|
|
|
|
|
|
"@types/babel__template@*":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.4.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.2.tgz#843e9f1f47c957553b0c374481dc4772921d6a6b"
|
|
|
|
integrity sha512-/AVzPICMhMOMYoSx9MoKpGDKdBRsIXMNByh1PXSZoa+v6ZoLa8xxtsT/uLQ/NJm0XVAWl/BvId4MlDeXJaeIZQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/parser" "^7.1.0"
|
|
|
|
"@babel/types" "^7.0.0"
|
|
|
|
|
|
|
|
"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "7.20.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.2.tgz#4ddf99d95cfdd946ff35d2b65c978d9c9bf2645d"
|
|
|
|
integrity sha512-ojlGK1Hsfce93J0+kn3H5R73elidKUaZonirN33GSmgTUMpzI/MIFfSpF3haANe3G1bEBS9/9/QEqwTzwqFsKw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@babel/types" "^7.20.7"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@types/eslint@^8.21.1":
|
2023-10-16 19:13:29 +01:00
|
|
|
version "8.44.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.4.tgz#28eaff82e1ca0a96554ec5bb0188f10ae1a74c2f"
|
|
|
|
integrity sha512-lOzjyfY/D9QR4hY9oblZ76B90MYTB3RrQ4z2vBIJKj9ROCRqdkYl2gSUx1x1a4IWPjKJZLL4Aw1Zfay7eMnmnA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/estree" "*"
|
|
|
|
"@types/json-schema" "*"
|
|
|
|
|
|
|
|
"@types/estree@*":
|
2023-10-16 19:13:29 +01:00
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.2.tgz#ff02bc3dc8317cd668dfec247b750ba1f1d62453"
|
|
|
|
integrity sha512-VeiPZ9MMwXjO32/Xu7+OwflfmeoRwkE/qzndw42gGtgJwZopBnzy2gD//NN1+go1mADzkDcqf/KnFRSjTJ8xJA==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@types/graceful-fs@^4.1.3":
|
2023-10-16 19:15:47 +01:00
|
|
|
version "4.1.7"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.7.tgz#30443a2e64fd51113bc3e2ba0914d47109695e2a"
|
|
|
|
integrity sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/node" "*"
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@types/http-cache-semantics@^4.0.1":
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812"
|
|
|
|
integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==
|
|
|
|
|
2023-10-23 13:26:21 +01:00
|
|
|
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0":
|
|
|
|
version "2.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#fdfdd69fa16d530047d9963635bd77c71a08c068"
|
|
|
|
integrity sha512-zONci81DZYCZjiLe0r6equvZut0b+dBRPBN5kBDjsONnutYNtJMoWQ9uR2RkL1gLG9NMTzvf+29e5RFfPbeKhQ==
|
|
|
|
|
|
|
|
"@types/istanbul-lib-coverage@^2.0.1":
|
2023-04-22 13:20:30 +01:00
|
|
|
version "2.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44"
|
|
|
|
integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==
|
|
|
|
|
|
|
|
"@types/istanbul-lib-report@*":
|
2023-10-23 13:26:21 +01:00
|
|
|
version "3.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.2.tgz#394798d5f727402eb5ec99eb9618ffcd2b7645a1"
|
|
|
|
integrity sha512-8toY6FgdltSdONav1XtUHl4LN1yTmLza+EuDazb/fEmRNCwjyqNVIQWs2IfC74IqjHkREs/nQ2FWq5kZU9IC0w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/istanbul-lib-coverage" "*"
|
|
|
|
|
|
|
|
"@types/istanbul-reports@^3.0.0":
|
2023-10-23 13:26:21 +01:00
|
|
|
version "3.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.3.tgz#0313e2608e6d6955d195f55361ddeebd4b74c6e7"
|
|
|
|
integrity sha512-1nESsePMBlf0RPRffLZi5ujYh7IH1BWL4y9pr+Bn3cJBdxz+RTP8bUFljLz9HvzhhOSWKdyBZ4DIivdL6rvgZg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/istanbul-lib-report" "*"
|
|
|
|
|
|
|
|
"@types/jest@^29.4.0":
|
2023-10-23 13:27:16 +01:00
|
|
|
version "29.5.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.6.tgz#f4cf7ef1b5b0bfc1aa744e41b24d9cc52533130b"
|
|
|
|
integrity sha512-/t9NnzkOpXb4Nfvg17ieHE6EeSjDS2SGSpNYfoLbUAeL/EOueU/RSdOWFpfQTXBEM7BguYW1XQ0EbM+6RlIh6w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
expect "^29.0.0"
|
|
|
|
pretty-format "^29.0.0"
|
|
|
|
|
2023-10-16 19:13:29 +01:00
|
|
|
"@types/json-schema@*":
|
|
|
|
version "7.0.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85"
|
|
|
|
integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==
|
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@types/json-schema@^7.0.12":
|
|
|
|
version "7.0.14"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.14.tgz#74a97a5573980802f32c8e47b663530ab3b6b7d1"
|
|
|
|
integrity sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-27 15:53:12 +01:00
|
|
|
"@types/node@*", "@types/node@^20.0.0":
|
2023-11-06 09:43:09 +00:00
|
|
|
version "20.8.10"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.10.tgz#a5448b895c753ae929c26ce85cab557c6d4a365e"
|
|
|
|
integrity sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==
|
2023-10-16 19:12:27 +01:00
|
|
|
dependencies:
|
2023-11-06 09:43:09 +00:00
|
|
|
undici-types "~5.26.4"
|
2022-12-28 18:51:48 +00:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
"@types/normalize-package-data@^2.4.1":
|
2023-10-16 19:12:27 +01:00
|
|
|
version "2.4.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz#9b0e3e8533fe5024ad32d6637eb9589988b6fdca"
|
|
|
|
integrity sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@types/responselike@1.0.0":
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29"
|
|
|
|
integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==
|
|
|
|
dependencies:
|
|
|
|
"@types/node" "*"
|
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@types/semver@^7.5.0":
|
|
|
|
version "7.5.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.4.tgz#0a41252ad431c473158b22f9bfb9a63df7541cff"
|
|
|
|
integrity sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@types/stack-utils@^2.0.0":
|
2023-10-23 13:27:16 +01:00
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.2.tgz#01284dde9ef4e6d8cef6422798d9a3ad18a66f8b"
|
|
|
|
integrity sha512-g7CK9nHdwjK2n0ymT2CW698FuWJRIx+RP6embAzZ2Qi8/ilIrA1Imt2LVSeHUzKvpoi7BhmmQcXz95eS0f2JXw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@types/yargs-parser@*":
|
2023-10-23 13:26:21 +01:00
|
|
|
version "21.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.2.tgz#7bd04c5da378496ef1695a1008bf8f71847a8b8b"
|
|
|
|
integrity sha512-5qcvofLPbfjmBfKaLfj/+f+Sbd6pN4zl7w7VSVI5uz7m9QZTuB2aZAa2uo1wHFBNN2x6g/SoTkXmd8mQnQF2Cw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
"@types/yargs@^17.0.8":
|
2023-10-23 13:26:21 +01:00
|
|
|
version "17.0.29"
|
|
|
|
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.29.tgz#06aabc72497b798c643c812a8b561537fea760cf"
|
|
|
|
integrity sha512-nacjqA3ee9zRF/++a3FUY1suHTFKZeHba2n8WeDw9cCVdmzmHpIxyzOJBcpHvvEmS8E9KqWlSnWHUkOrkhWcvA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/yargs-parser" "*"
|
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/eslint-plugin@^6.0.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.8.0.tgz#06abe4265e7c82f20ade2dcc0e3403c32d4f148b"
|
|
|
|
integrity sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw==
|
2023-05-20 15:47:20 +01:00
|
|
|
dependencies:
|
2023-10-23 13:25:22 +01:00
|
|
|
"@eslint-community/regexpp" "^4.5.1"
|
|
|
|
"@typescript-eslint/scope-manager" "6.8.0"
|
|
|
|
"@typescript-eslint/type-utils" "6.8.0"
|
|
|
|
"@typescript-eslint/utils" "6.8.0"
|
|
|
|
"@typescript-eslint/visitor-keys" "6.8.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
debug "^4.3.4"
|
2023-10-23 13:25:22 +01:00
|
|
|
graphemer "^1.4.0"
|
|
|
|
ignore "^5.2.4"
|
|
|
|
natural-compare "^1.4.0"
|
|
|
|
semver "^7.5.4"
|
|
|
|
ts-api-utils "^1.0.1"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/parser@^5.54.0":
|
|
|
|
version "5.62.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7"
|
|
|
|
integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==
|
|
|
|
dependencies:
|
|
|
|
"@typescript-eslint/scope-manager" "5.62.0"
|
|
|
|
"@typescript-eslint/types" "5.62.0"
|
|
|
|
"@typescript-eslint/typescript-estree" "5.62.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
debug "^4.3.4"
|
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/scope-manager@5.62.0":
|
|
|
|
version "5.62.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c"
|
|
|
|
integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==
|
2023-09-04 20:42:57 +01:00
|
|
|
dependencies:
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/types" "5.62.0"
|
|
|
|
"@typescript-eslint/visitor-keys" "5.62.0"
|
2023-09-04 20:42:57 +01:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/scope-manager@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.8.0.tgz#5cac7977385cde068ab30686889dd59879811efd"
|
|
|
|
integrity sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/types" "6.8.0"
|
|
|
|
"@typescript-eslint/visitor-keys" "6.8.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/type-utils@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.8.0.tgz#50365e44918ca0fd159844b5d6ea96789731e11f"
|
|
|
|
integrity sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g==
|
|
|
|
dependencies:
|
|
|
|
"@typescript-eslint/typescript-estree" "6.8.0"
|
|
|
|
"@typescript-eslint/utils" "6.8.0"
|
|
|
|
debug "^4.3.4"
|
|
|
|
ts-api-utils "^1.0.1"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/types@5.62.0":
|
|
|
|
version "5.62.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f"
|
|
|
|
integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==
|
2023-09-04 20:42:57 +01:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/types@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.8.0.tgz#1ab5d4fe1d613e3f65f6684026ade6b94f7e3ded"
|
|
|
|
integrity sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/typescript-estree@5.62.0":
|
|
|
|
version "5.62.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b"
|
|
|
|
integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==
|
2023-09-04 20:42:57 +01:00
|
|
|
dependencies:
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/types" "5.62.0"
|
|
|
|
"@typescript-eslint/visitor-keys" "5.62.0"
|
2023-09-04 20:42:57 +01:00
|
|
|
debug "^4.3.4"
|
|
|
|
globby "^11.1.0"
|
|
|
|
is-glob "^4.0.3"
|
2023-09-13 13:20:54 +01:00
|
|
|
semver "^7.3.7"
|
|
|
|
tsutils "^3.21.0"
|
2023-09-04 20:42:57 +01:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/typescript-estree@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.8.0.tgz#9565f15e0cd12f55cf5aa0dfb130a6cb0d436ba1"
|
|
|
|
integrity sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/types" "6.8.0"
|
|
|
|
"@typescript-eslint/visitor-keys" "6.8.0"
|
|
|
|
debug "^4.3.4"
|
|
|
|
globby "^11.1.0"
|
|
|
|
is-glob "^4.0.3"
|
|
|
|
semver "^7.5.4"
|
|
|
|
ts-api-utils "^1.0.1"
|
|
|
|
|
|
|
|
"@typescript-eslint/utils@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.8.0.tgz#d42939c2074c6b59844d0982ce26a51d136c4029"
|
|
|
|
integrity sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q==
|
|
|
|
dependencies:
|
|
|
|
"@eslint-community/eslint-utils" "^4.4.0"
|
|
|
|
"@types/json-schema" "^7.0.12"
|
|
|
|
"@types/semver" "^7.5.0"
|
|
|
|
"@typescript-eslint/scope-manager" "6.8.0"
|
|
|
|
"@typescript-eslint/types" "6.8.0"
|
|
|
|
"@typescript-eslint/typescript-estree" "6.8.0"
|
|
|
|
semver "^7.5.4"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/visitor-keys@5.62.0":
|
|
|
|
version "5.62.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e"
|
|
|
|
integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==
|
2023-09-04 20:42:57 +01:00
|
|
|
dependencies:
|
2023-09-13 13:20:54 +01:00
|
|
|
"@typescript-eslint/types" "5.62.0"
|
|
|
|
eslint-visitor-keys "^3.3.0"
|
2023-09-04 20:42:57 +01:00
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
"@typescript-eslint/visitor-keys@6.8.0":
|
|
|
|
version "6.8.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.8.0.tgz#cffebed56ae99c45eba901c378a6447b06be58b8"
|
|
|
|
integrity sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg==
|
|
|
|
dependencies:
|
|
|
|
"@typescript-eslint/types" "6.8.0"
|
|
|
|
eslint-visitor-keys "^3.4.1"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
acorn-jsx@^5.3.2:
|
|
|
|
version "5.3.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
|
|
|
|
integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
acorn-walk@^8.1.1:
|
|
|
|
version "8.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
|
|
|
|
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
|
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
acorn@^8.4.1:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "8.8.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
|
|
|
|
integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==
|
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
acorn@^8.9.0:
|
|
|
|
version "8.10.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
|
|
|
|
integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==
|
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
aggregate-error@^4.0.0:
|
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-4.0.1.tgz#25091fe1573b9e0be892aeda15c7c66a545f758e"
|
|
|
|
integrity sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
clean-stack "^4.0.0"
|
|
|
|
indent-string "^5.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
ajv@^6.12.4:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "6.12.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
|
|
|
|
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
|
|
|
|
dependencies:
|
|
|
|
fast-deep-equal "^3.1.1"
|
|
|
|
fast-json-stable-stringify "^2.0.0"
|
|
|
|
json-schema-traverse "^0.4.1"
|
|
|
|
uri-js "^4.2.2"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
all-package-names@^2.0.2:
|
|
|
|
version "2.0.734"
|
|
|
|
resolved "https://registry.yarnpkg.com/all-package-names/-/all-package-names-2.0.734.tgz#d5f39ed131ede640a60e1cb9f14ed62dfc7f4893"
|
|
|
|
integrity sha512-5d9e/dyuEu1dy29lk3VvwKyd1NVe7QwX88XdliG75HqFEzPZr2lOTe8f/H0VU5a/r209SlOmk9e7wcjEDTrIvA==
|
|
|
|
dependencies:
|
|
|
|
commander-version "^1.1.0"
|
|
|
|
p-lock "^2.0.0"
|
|
|
|
parse-json-object "^2.0.1"
|
|
|
|
progress "^2.0.3"
|
|
|
|
types-json "^1.2.2"
|
|
|
|
|
|
|
|
ansi-align@^3.0.1:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"
|
|
|
|
integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==
|
|
|
|
dependencies:
|
|
|
|
string-width "^4.1.0"
|
|
|
|
|
|
|
|
ansi-escapes@^3.0.0, ansi-escapes@^3.2.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
|
|
|
|
integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ansi-escapes@^4.2.1, ansi-escapes@^4.3.2:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.3.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e"
|
|
|
|
integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==
|
|
|
|
dependencies:
|
|
|
|
type-fest "^0.21.3"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ansi-escapes@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-5.0.0.tgz#b6a0caf0eef0c41af190e9a749e0c00ec04bb2a6"
|
|
|
|
integrity sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==
|
|
|
|
dependencies:
|
|
|
|
type-fest "^1.0.2"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
ansi-regex@^2.0.0:
|
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
|
|
|
|
integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==
|
|
|
|
|
|
|
|
ansi-regex@^3.0.0:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1"
|
|
|
|
integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==
|
|
|
|
|
|
|
|
ansi-regex@^4.1.0:
|
|
|
|
version "4.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed"
|
|
|
|
integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
ansi-regex@^5.0.1:
|
2021-12-02 10:37:47 +00:00
|
|
|
version "5.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
|
|
|
|
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ansi-regex@^6.0.1:
|
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a"
|
|
|
|
integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
ansi-styles@^2.2.1:
|
|
|
|
version "2.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
|
|
|
|
integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
ansi-styles@^3.2.1:
|
|
|
|
version "3.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
|
|
|
|
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
|
|
|
|
dependencies:
|
|
|
|
color-convert "^1.9.0"
|
|
|
|
|
|
|
|
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "4.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
|
|
|
|
integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
|
|
|
|
dependencies:
|
|
|
|
color-convert "^2.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
ansi-styles@^5.0.0:
|
|
|
|
version "5.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b"
|
|
|
|
integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ansi-styles@^6.1.0:
|
|
|
|
version "6.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5"
|
|
|
|
integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
any-observable@^0.3.0:
|
|
|
|
version "0.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b"
|
|
|
|
integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
anymatch@^3.0.3:
|
|
|
|
version "3.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e"
|
|
|
|
integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==
|
|
|
|
dependencies:
|
|
|
|
normalize-path "^3.0.0"
|
|
|
|
picomatch "^2.0.4"
|
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
arg@^4.1.0:
|
|
|
|
version "4.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
|
|
|
|
integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
argparse@^1.0.7:
|
|
|
|
version "1.0.10"
|
|
|
|
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
|
|
|
|
integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==
|
|
|
|
dependencies:
|
|
|
|
sprintf-js "~1.0.2"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
argparse@^2.0.1:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
|
|
|
|
integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
array-union@^2.1.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
|
|
|
|
integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
babel-jest@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5"
|
|
|
|
integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/transform" "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/babel__core" "^7.1.14"
|
|
|
|
babel-plugin-istanbul "^6.1.1"
|
2023-10-16 19:15:47 +01:00
|
|
|
babel-preset-jest "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
chalk "^4.0.0"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
slash "^3.0.0"
|
|
|
|
|
|
|
|
babel-plugin-istanbul@^6.1.1:
|
|
|
|
version "6.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73"
|
|
|
|
integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==
|
|
|
|
dependencies:
|
|
|
|
"@babel/helper-plugin-utils" "^7.0.0"
|
|
|
|
"@istanbuljs/load-nyc-config" "^1.0.0"
|
|
|
|
"@istanbuljs/schema" "^0.1.2"
|
|
|
|
istanbul-lib-instrument "^5.0.4"
|
|
|
|
test-exclude "^6.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
babel-plugin-jest-hoist@^29.6.3:
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626"
|
|
|
|
integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/template" "^7.3.3"
|
|
|
|
"@babel/types" "^7.3.3"
|
|
|
|
"@types/babel__core" "^7.1.14"
|
|
|
|
"@types/babel__traverse" "^7.0.6"
|
|
|
|
|
|
|
|
babel-preset-current-node-syntax@^1.0.0:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b"
|
|
|
|
integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==
|
|
|
|
dependencies:
|
|
|
|
"@babel/plugin-syntax-async-generators" "^7.8.4"
|
|
|
|
"@babel/plugin-syntax-bigint" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-class-properties" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-import-meta" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-json-strings" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-logical-assignment-operators" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-numeric-separator" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-object-rest-spread" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-optional-catch-binding" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-optional-chaining" "^7.8.3"
|
|
|
|
"@babel/plugin-syntax-top-level-await" "^7.8.3"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
babel-preset-jest@^29.6.3:
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c"
|
|
|
|
integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
babel-plugin-jest-hoist "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
babel-preset-current-node-syntax "^1.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
balanced-match@^1.0.0:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
|
|
|
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
base64-js@^1.3.1:
|
|
|
|
version "1.5.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
|
|
|
|
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
|
|
|
|
|
|
|
|
big-integer@^1.6.44:
|
|
|
|
version "1.6.51"
|
|
|
|
resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686"
|
|
|
|
integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==
|
|
|
|
|
|
|
|
bl@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
|
|
|
|
integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
|
|
|
|
dependencies:
|
|
|
|
buffer "^5.5.0"
|
|
|
|
inherits "^2.0.4"
|
|
|
|
readable-stream "^3.4.0"
|
|
|
|
|
|
|
|
boxen@^7.0.0:
|
|
|
|
version "7.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/boxen/-/boxen-7.1.1.tgz#f9ba525413c2fec9cdb88987d835c4f7cad9c8f4"
|
|
|
|
integrity sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog==
|
|
|
|
dependencies:
|
|
|
|
ansi-align "^3.0.1"
|
|
|
|
camelcase "^7.0.1"
|
|
|
|
chalk "^5.2.0"
|
|
|
|
cli-boxes "^3.0.0"
|
|
|
|
string-width "^5.1.2"
|
|
|
|
type-fest "^2.13.0"
|
|
|
|
widest-line "^4.0.1"
|
|
|
|
wrap-ansi "^8.1.0"
|
|
|
|
|
|
|
|
bplist-parser@^0.2.0:
|
|
|
|
version "0.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e"
|
|
|
|
integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
big-integer "^1.6.44"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
brace-expansion@^1.1.7:
|
|
|
|
version "1.1.11"
|
|
|
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
|
|
|
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
|
|
|
dependencies:
|
|
|
|
balanced-match "^1.0.0"
|
|
|
|
concat-map "0.0.1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
brace-expansion@^2.0.1:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae"
|
|
|
|
integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==
|
|
|
|
dependencies:
|
|
|
|
balanced-match "^1.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
braces@^3.0.2:
|
|
|
|
version "3.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
|
|
|
|
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
|
|
|
|
dependencies:
|
|
|
|
fill-range "^7.0.1"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
browserslist@^4.21.9:
|
|
|
|
version "4.22.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.1.tgz#ba91958d1a59b87dab6fed8dfbcb3da5e2e9c619"
|
|
|
|
integrity sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==
|
2021-12-01 20:39:02 +00:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
caniuse-lite "^1.0.30001541"
|
|
|
|
electron-to-chromium "^1.4.535"
|
|
|
|
node-releases "^2.0.13"
|
|
|
|
update-browserslist-db "^1.0.13"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
bs-logger@0.x:
|
|
|
|
version "0.2.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"
|
|
|
|
integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==
|
|
|
|
dependencies:
|
|
|
|
fast-json-stable-stringify "2.x"
|
|
|
|
|
|
|
|
bser@2.1.1:
|
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05"
|
|
|
|
integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==
|
|
|
|
dependencies:
|
|
|
|
node-int64 "^0.4.0"
|
|
|
|
|
|
|
|
buffer-from@^1.0.0:
|
|
|
|
version "1.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
|
|
|
|
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
buffer@^5.5.0:
|
|
|
|
version "5.7.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
|
|
|
|
integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
|
|
|
|
dependencies:
|
|
|
|
base64-js "^1.3.1"
|
|
|
|
ieee754 "^1.1.13"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
builtins@^1.0.3:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
|
|
|
|
integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
bundle-name@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a"
|
|
|
|
integrity sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==
|
|
|
|
dependencies:
|
|
|
|
run-applescript "^5.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
cacheable-lookup@6.1.0:
|
|
|
|
version "6.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz#0330a543471c61faa4e9035db583aad753b36385"
|
|
|
|
integrity sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
cacheable-lookup@^7.0.0:
|
|
|
|
version "7.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27"
|
|
|
|
integrity sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
cacheable-request@7.0.2:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "7.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27"
|
|
|
|
integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew==
|
|
|
|
dependencies:
|
|
|
|
clone-response "^1.0.2"
|
|
|
|
get-stream "^5.1.0"
|
|
|
|
http-cache-semantics "^4.0.0"
|
|
|
|
keyv "^4.0.0"
|
|
|
|
lowercase-keys "^2.0.0"
|
|
|
|
normalize-url "^6.0.1"
|
|
|
|
responselike "^2.0.0"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
cacheable-request@^10.2.8:
|
|
|
|
version "10.2.12"
|
|
|
|
resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-10.2.12.tgz#05b97a3199d1ee65c360eb45c5af6191faa3ab6b"
|
|
|
|
integrity sha512-qtWGB5kn2OLjx47pYUkWicyOpK1vy9XZhq8yRTXOy+KAmjjESSRLx6SiExnnaGGUP1NM6/vmygMu0fGylNh9tw==
|
|
|
|
dependencies:
|
|
|
|
"@types/http-cache-semantics" "^4.0.1"
|
|
|
|
get-stream "^6.0.1"
|
|
|
|
http-cache-semantics "^4.1.1"
|
|
|
|
keyv "^4.5.2"
|
|
|
|
mimic-response "^4.0.0"
|
|
|
|
normalize-url "^8.0.0"
|
|
|
|
responselike "^3.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
callsites@^3.0.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
|
|
|
|
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
callsites@^4.0.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/callsites/-/callsites-4.1.0.tgz#de72b98612eed4e1e2564c952498677faa9d86c2"
|
|
|
|
integrity sha512-aBMbD1Xxay75ViYezwT40aQONfr+pSXTHwNKvIXhXD6+LY3F1dLIcceoC5OZKBVHbXcysz1hL9D2w0JJIMXpUw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
camelcase@^5.3.1:
|
|
|
|
version "5.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
|
|
|
|
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
|
|
|
|
|
|
|
|
camelcase@^6.2.0:
|
|
|
|
version "6.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
|
|
|
|
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
camelcase@^7.0.1:
|
|
|
|
version "7.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048"
|
|
|
|
integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
caniuse-lite@^1.0.30001541:
|
|
|
|
version "1.0.30001542"
|
|
|
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001542.tgz#823ddb5aed0a70d5e2bfb49126478e84e9514b85"
|
|
|
|
integrity sha512-UrtAXVcj1mvPBFQ4sKd38daP8dEcXXr5sQe6QNNinaPd0iA/cxg9/l3VrSdL73jgw5sKyuQ6jNgiKO12W3SsVA==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
chalk@^1.0.0, chalk@^1.1.3:
|
|
|
|
version "1.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
|
|
|
|
integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^2.2.1"
|
|
|
|
escape-string-regexp "^1.0.2"
|
|
|
|
has-ansi "^2.0.0"
|
|
|
|
strip-ansi "^3.0.0"
|
|
|
|
supports-color "^2.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
chalk@^2.4.1, chalk@^2.4.2:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "2.4.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
|
|
|
|
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^3.2.1"
|
|
|
|
escape-string-regexp "^1.0.5"
|
|
|
|
supports-color "^5.3.0"
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
chalk@^4.0.0, chalk@^4.1.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
|
|
|
|
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^4.1.0"
|
|
|
|
supports-color "^7.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
chalk@^5.0.0, chalk@^5.0.1, chalk@^5.2.0, chalk@^5.3.0:
|
|
|
|
version "5.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385"
|
|
|
|
integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
char-regex@^1.0.2:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
|
|
|
|
integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
chardet@^0.7.0:
|
|
|
|
version "0.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
|
|
|
|
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
ci-info@^3.2.0:
|
2023-10-23 13:26:21 +01:00
|
|
|
version "3.9.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4"
|
|
|
|
integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
cjs-module-lexer@^1.0.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "1.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107"
|
|
|
|
integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
clean-stack@^4.0.0:
|
|
|
|
version "4.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-4.2.0.tgz#c464e4cde4ac789f4e0735c5d75beb49d7b30b31"
|
|
|
|
integrity sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "5.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
cli-boxes@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-3.0.0.tgz#71a10c716feeba005e4504f36329ef0b17cf3145"
|
|
|
|
integrity sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
cli-cursor@^2.0.0, cli-cursor@^2.1.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
|
|
|
|
integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==
|
|
|
|
dependencies:
|
|
|
|
restore-cursor "^2.0.0"
|
|
|
|
|
|
|
|
cli-cursor@^3.1.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307"
|
|
|
|
integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==
|
|
|
|
dependencies:
|
|
|
|
restore-cursor "^3.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
cli-spinners@^2.5.0:
|
|
|
|
version "2.9.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.0.tgz#5881d0ad96381e117bbe07ad91f2008fe6ffd8db"
|
|
|
|
integrity sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
cli-truncate@^0.2.1:
|
|
|
|
version "0.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574"
|
|
|
|
integrity sha512-f4r4yJnbT++qUPI9NR4XLDLq41gQ+uqnPItWG0F5ZkehuNiTTa3EY0S4AqTSUOeJ7/zU41oWPQSNkW5BqPL9bg==
|
|
|
|
dependencies:
|
|
|
|
slice-ansi "0.0.4"
|
|
|
|
string-width "^1.0.1"
|
|
|
|
|
|
|
|
cli-width@^2.0.0:
|
|
|
|
version "2.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48"
|
|
|
|
integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==
|
|
|
|
|
|
|
|
cli-width@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6"
|
|
|
|
integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
cli-width@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-4.1.0.tgz#42daac41d3c254ef38ad8ac037672130173691c5"
|
|
|
|
integrity sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
cliui@^8.0.1:
|
|
|
|
version "8.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa"
|
|
|
|
integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==
|
|
|
|
dependencies:
|
|
|
|
string-width "^4.2.0"
|
|
|
|
strip-ansi "^6.0.1"
|
|
|
|
wrap-ansi "^7.0.0"
|
|
|
|
|
|
|
|
clone-response@^1.0.2:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3"
|
|
|
|
integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==
|
|
|
|
dependencies:
|
|
|
|
mimic-response "^1.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
clone@^1.0.2:
|
|
|
|
version "1.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
|
|
|
|
integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
co@^4.6.0:
|
|
|
|
version "4.6.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
|
|
|
integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
code-point-at@^1.0.0:
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
|
|
|
|
integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
collect-v8-coverage@^1.0.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9"
|
|
|
|
integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
color-convert@^1.9.0:
|
|
|
|
version "1.9.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
|
|
|
|
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
|
|
|
|
dependencies:
|
|
|
|
color-name "1.1.3"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
color-convert@^2.0.1:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
|
|
|
|
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
|
|
|
|
dependencies:
|
|
|
|
color-name "~1.1.4"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
color-name@1.1.3:
|
|
|
|
version "1.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
|
|
|
integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
color-name@~1.1.4:
|
|
|
|
version "1.1.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
|
|
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
commander-version@^1.1.0:
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/commander-version/-/commander-version-1.1.0.tgz#fbfaea4632921a42f8f855f96bcaa3d9920a6296"
|
|
|
|
integrity sha512-9aNW4N6q6EPDUszLRH6k9IwO6OoGYh3HRgUF/fA7Zs+Mz1v1x5akSqT7QGB8JsGY7AG7qMA7oRRB/4yyn33FYA==
|
|
|
|
dependencies:
|
|
|
|
"@bconnorwhite/module" "^2.0.2"
|
|
|
|
commander "^6.1.0"
|
|
|
|
|
2023-10-27 15:53:12 +01:00
|
|
|
commander@^11.1.0:
|
|
|
|
version "11.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906"
|
|
|
|
integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
commander@^6.1.0:
|
|
|
|
version "6.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
|
|
|
|
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
concat-map@0.0.1:
|
|
|
|
version "0.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
2022-12-18 15:27:03 +00:00
|
|
|
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
config-chain@^1.1.11:
|
|
|
|
version "1.1.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4"
|
|
|
|
integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
ini "^1.3.4"
|
|
|
|
proto-list "~1.2.1"
|
|
|
|
|
|
|
|
configstore@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/configstore/-/configstore-6.0.0.tgz#49eca2ebc80983f77e09394a1a56e0aca8235566"
|
|
|
|
integrity sha512-cD31W1v3GqUlQvbBCGcXmd2Nj9SvLDOP1oQ0YFuLETufzSPaKp11rYBsSOm7rCsW3OnIRAFM3OxRhceaXNYHkA==
|
|
|
|
dependencies:
|
|
|
|
dot-prop "^6.0.1"
|
|
|
|
graceful-fs "^4.2.6"
|
|
|
|
unique-string "^3.0.0"
|
|
|
|
write-file-atomic "^3.0.3"
|
|
|
|
xdg-basedir "^5.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
convert-source-map@^1.6.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.9.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f"
|
|
|
|
integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==
|
|
|
|
|
|
|
|
convert-source-map@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
|
|
|
|
integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
cosmiconfig@^8.1.3:
|
|
|
|
version "8.3.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.3.5.tgz#3b3897ddd042d022d5a207d4c8832e54f5301977"
|
|
|
|
integrity sha512-A5Xry3xfS96wy2qbiLkQLAg4JUrR2wvfybxj6yqLmrUfMAvhS3MZxIP2oQn0grgYIvJqzpeTEWu4vK0t+12NNw==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
import-fresh "^3.3.0"
|
|
|
|
js-yaml "^4.1.0"
|
|
|
|
parse-json "^5.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
path-type "^4.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
create-jest@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320"
|
|
|
|
integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==
|
|
|
|
dependencies:
|
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
exit "^0.1.2"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
jest-config "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
prompts "^2.0.1"
|
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
create-require@^1.1.0:
|
|
|
|
version "1.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
|
|
|
|
integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "7.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
|
|
|
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
|
|
|
|
dependencies:
|
|
|
|
path-key "^3.1.0"
|
|
|
|
shebang-command "^2.0.0"
|
|
|
|
which "^2.0.1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
crypto-random-string@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-4.0.0.tgz#5a3cc53d7dd86183df5da0312816ceeeb5bb1fc2"
|
|
|
|
integrity sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==
|
|
|
|
dependencies:
|
|
|
|
type-fest "^1.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
date-fns@^1.27.2:
|
|
|
|
version "1.30.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
|
|
|
|
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.3.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
|
|
|
|
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
|
|
|
|
dependencies:
|
|
|
|
ms "2.1.2"
|
|
|
|
|
2021-12-01 20:39:02 +00:00
|
|
|
decompress-response@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc"
|
|
|
|
integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==
|
|
|
|
dependencies:
|
|
|
|
mimic-response "^3.1.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
dedent@^1.0.0:
|
|
|
|
version "1.5.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.1.tgz#4f3fc94c8b711e9bb2800d185cd6ad20f2a90aff"
|
|
|
|
integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
deep-extend@^0.6.0:
|
|
|
|
version "0.6.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
|
|
|
|
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
deep-is@^0.1.3:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "0.1.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
|
|
|
|
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
deepmerge@^4.2.2:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "4.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a"
|
|
|
|
integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
default-browser-id@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c"
|
|
|
|
integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==
|
|
|
|
dependencies:
|
|
|
|
bplist-parser "^0.2.0"
|
|
|
|
untildify "^4.0.0"
|
|
|
|
|
|
|
|
default-browser@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-4.0.0.tgz#53c9894f8810bf86696de117a6ce9085a3cbc7da"
|
|
|
|
integrity sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==
|
|
|
|
dependencies:
|
|
|
|
bundle-name "^3.0.0"
|
|
|
|
default-browser-id "^3.0.0"
|
|
|
|
execa "^7.1.1"
|
|
|
|
titleize "^3.0.0"
|
|
|
|
|
|
|
|
defaults@^1.0.3:
|
|
|
|
version "1.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a"
|
|
|
|
integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==
|
|
|
|
dependencies:
|
|
|
|
clone "^1.0.2"
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
defer-to-connect@^2.0.0, defer-to-connect@^2.0.1:
|
2021-12-01 20:39:02 +00:00
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587"
|
|
|
|
integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
define-lazy-prop@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f"
|
|
|
|
integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==
|
|
|
|
|
|
|
|
del@^7.0.0:
|
|
|
|
version "7.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/del/-/del-7.1.0.tgz#0de0044d556b649ff05387f1fa7c885e155fd1b6"
|
|
|
|
integrity sha512-v2KyNk7efxhlyHpjEvfyxaAihKKK0nWCuf6ZtqZcFFpQRG0bJ12Qsr0RpvsICMjAAZ8DOVCxrlqpxISlMHC4Kg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
globby "^13.1.2"
|
|
|
|
graceful-fs "^4.2.10"
|
|
|
|
is-glob "^4.0.3"
|
|
|
|
is-path-cwd "^3.0.0"
|
|
|
|
is-path-inside "^4.0.0"
|
|
|
|
p-map "^5.5.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
rimraf "^3.0.2"
|
2023-09-11 20:31:50 +01:00
|
|
|
slash "^4.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
detect-newline@^3.0.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
|
|
|
|
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
diff-sequences@^29.6.3:
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921"
|
|
|
|
integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
diff@^4.0.1:
|
|
|
|
version "4.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
|
|
|
|
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
dir-glob@^3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"
|
|
|
|
integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==
|
|
|
|
dependencies:
|
|
|
|
path-type "^4.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
doctrine@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"
|
|
|
|
integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==
|
|
|
|
dependencies:
|
|
|
|
esutils "^2.0.2"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
dot-prop@^6.0.1:
|
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083"
|
|
|
|
integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==
|
|
|
|
dependencies:
|
|
|
|
is-obj "^2.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
dot-prop@^7.2.0:
|
|
|
|
version "7.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-7.2.0.tgz#468172a3529779814d21a779c1ba2f6d76609809"
|
|
|
|
integrity sha512-Ol/IPXUARn9CSbkrdV4VJo7uCy1I3VuSiWCaFSg+8BdUOzF9n3jefIpcgAydvUZbTdEBZs2vEiTiS9m61ssiDA==
|
|
|
|
dependencies:
|
|
|
|
type-fest "^2.11.2"
|
|
|
|
|
|
|
|
eastasianwidth@^0.2.0:
|
|
|
|
version "0.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
|
|
|
|
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
electron-to-chromium@^1.4.535:
|
|
|
|
version "1.4.537"
|
|
|
|
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.537.tgz#aac4101db53066be1e49baedd000a26bc754adc9"
|
|
|
|
integrity sha512-W1+g9qs9hviII0HAwOdehGYkr+zt7KKdmCcJcjH0mYg6oL8+ioT3Skjmt7BLoAQqXhjf40AXd+HlR4oAWMlXjA==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
elegant-spinner@^1.0.1:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e"
|
|
|
|
integrity sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
emittery@^0.13.1:
|
|
|
|
version "0.13.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad"
|
|
|
|
integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==
|
|
|
|
|
|
|
|
emoji-regex@^8.0.0:
|
|
|
|
version "8.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
|
|
|
|
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
emoji-regex@^9.2.2:
|
|
|
|
version "9.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72"
|
|
|
|
integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
end-of-stream@^1.1.0:
|
|
|
|
version "1.4.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
|
|
|
|
integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
|
|
|
|
dependencies:
|
|
|
|
once "^1.4.0"
|
|
|
|
|
|
|
|
error-ex@^1.3.1:
|
|
|
|
version "1.3.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
|
|
|
|
integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==
|
|
|
|
dependencies:
|
|
|
|
is-arrayish "^0.2.1"
|
|
|
|
|
|
|
|
escalade@^3.1.1:
|
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
|
|
|
|
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
escape-goat@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-4.0.0.tgz#9424820331b510b0666b98f7873fe11ac4aa8081"
|
|
|
|
integrity sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
escape-string-regexp@5.0.0, escape-string-regexp@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8"
|
|
|
|
integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
escape-string-regexp@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
|
|
|
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
escape-string-regexp@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
|
|
|
|
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
|
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
eslint-scope@^7.2.2:
|
|
|
|
version "7.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f"
|
|
|
|
integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
esrecurse "^4.3.0"
|
2023-03-06 00:01:43 +00:00
|
|
|
estraverse "^5.2.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-10-16 19:13:29 +01:00
|
|
|
eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3:
|
2023-09-13 11:50:44 +01:00
|
|
|
version "3.4.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
|
|
|
|
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
|
|
|
|
|
|
|
|
eslint@^8.49.0:
|
2023-10-16 19:13:29 +01:00
|
|
|
version "8.51.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3"
|
|
|
|
integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==
|
2023-05-20 15:47:20 +01:00
|
|
|
dependencies:
|
|
|
|
"@eslint-community/eslint-utils" "^4.2.0"
|
2023-09-13 11:50:44 +01:00
|
|
|
"@eslint-community/regexpp" "^4.6.1"
|
|
|
|
"@eslint/eslintrc" "^2.1.2"
|
2023-10-16 19:13:29 +01:00
|
|
|
"@eslint/js" "8.51.0"
|
2023-09-13 11:50:44 +01:00
|
|
|
"@humanwhocodes/config-array" "^0.11.11"
|
2023-03-06 00:01:43 +00:00
|
|
|
"@humanwhocodes/module-importer" "^1.0.1"
|
|
|
|
"@nodelib/fs.walk" "^1.2.8"
|
2023-09-13 11:50:44 +01:00
|
|
|
ajv "^6.12.4"
|
2021-06-19 16:13:27 +01:00
|
|
|
chalk "^4.0.0"
|
|
|
|
cross-spawn "^7.0.2"
|
2023-03-06 00:01:43 +00:00
|
|
|
debug "^4.3.2"
|
2021-06-19 16:13:27 +01:00
|
|
|
doctrine "^3.0.0"
|
|
|
|
escape-string-regexp "^4.0.0"
|
2023-09-13 11:50:44 +01:00
|
|
|
eslint-scope "^7.2.2"
|
|
|
|
eslint-visitor-keys "^3.4.3"
|
|
|
|
espree "^9.6.1"
|
2023-03-06 00:01:43 +00:00
|
|
|
esquery "^1.4.2"
|
2021-06-19 16:13:27 +01:00
|
|
|
esutils "^2.0.2"
|
|
|
|
fast-deep-equal "^3.1.3"
|
|
|
|
file-entry-cache "^6.0.1"
|
2023-03-06 00:01:43 +00:00
|
|
|
find-up "^5.0.0"
|
|
|
|
glob-parent "^6.0.2"
|
|
|
|
globals "^13.19.0"
|
2023-05-20 15:47:20 +01:00
|
|
|
graphemer "^1.4.0"
|
2023-03-06 00:01:43 +00:00
|
|
|
ignore "^5.2.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
imurmurhash "^0.1.4"
|
|
|
|
is-glob "^4.0.0"
|
2023-03-06 00:01:43 +00:00
|
|
|
is-path-inside "^3.0.3"
|
|
|
|
js-yaml "^4.1.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
json-stable-stringify-without-jsonify "^1.0.1"
|
|
|
|
levn "^0.4.1"
|
|
|
|
lodash.merge "^4.6.2"
|
2023-03-06 00:01:43 +00:00
|
|
|
minimatch "^3.1.2"
|
2021-06-19 16:13:27 +01:00
|
|
|
natural-compare "^1.4.0"
|
2023-09-13 11:50:44 +01:00
|
|
|
optionator "^0.9.3"
|
2023-03-06 00:01:43 +00:00
|
|
|
strip-ansi "^6.0.1"
|
2021-06-19 16:13:27 +01:00
|
|
|
text-table "^0.2.0"
|
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
espree@^9.6.0, espree@^9.6.1:
|
|
|
|
version "9.6.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f"
|
|
|
|
integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-09-13 11:50:44 +01:00
|
|
|
acorn "^8.9.0"
|
2023-03-06 00:01:43 +00:00
|
|
|
acorn-jsx "^5.3.2"
|
2023-05-20 15:47:20 +01:00
|
|
|
eslint-visitor-keys "^3.4.1"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
esprima@^4.0.0:
|
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
|
|
|
|
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
esquery@^1.4.2:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b"
|
|
|
|
integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
estraverse "^5.1.0"
|
|
|
|
|
|
|
|
esrecurse@^4.3.0:
|
|
|
|
version "4.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
|
|
|
|
integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
|
|
|
|
dependencies:
|
|
|
|
estraverse "^5.2.0"
|
|
|
|
|
|
|
|
estraverse@^5.1.0, estraverse@^5.2.0:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "5.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
|
|
|
|
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
|
|
|
esutils@^2.0.2:
|
|
|
|
version "2.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
|
|
|
|
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
execa@^5.0.0:
|
|
|
|
version "5.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
|
|
|
|
integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==
|
|
|
|
dependencies:
|
|
|
|
cross-spawn "^7.0.3"
|
|
|
|
get-stream "^6.0.0"
|
|
|
|
human-signals "^2.1.0"
|
|
|
|
is-stream "^2.0.0"
|
|
|
|
merge-stream "^2.0.0"
|
|
|
|
npm-run-path "^4.0.1"
|
|
|
|
onetime "^5.1.2"
|
|
|
|
signal-exit "^3.0.3"
|
|
|
|
strip-final-newline "^2.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
execa@^7.1.1:
|
|
|
|
version "7.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/execa/-/execa-7.2.0.tgz#657e75ba984f42a70f38928cedc87d6f2d4fe4e9"
|
|
|
|
integrity sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==
|
|
|
|
dependencies:
|
|
|
|
cross-spawn "^7.0.3"
|
|
|
|
get-stream "^6.0.1"
|
|
|
|
human-signals "^4.3.0"
|
|
|
|
is-stream "^3.0.0"
|
|
|
|
merge-stream "^2.0.0"
|
|
|
|
npm-run-path "^5.1.0"
|
|
|
|
onetime "^6.0.0"
|
|
|
|
signal-exit "^3.0.7"
|
|
|
|
strip-final-newline "^3.0.0"
|
|
|
|
|
|
|
|
exit-hook@^3.2.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-3.2.0.tgz#7d86bc361a4d79278001b72a0509318a6f468f20"
|
|
|
|
integrity sha512-aIQN7Q04HGAV/I5BszisuHTZHXNoC23WtLkxdCLuYZMdWviRD0TMIt2bnUBi9MrHaF/hH8b3gwG9iaAUHKnJGA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
exit@^0.1.2:
|
|
|
|
version "0.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
|
|
|
|
integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
expect@^29.0.0, expect@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc"
|
|
|
|
integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/expect-utils" "^29.7.0"
|
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
jest-matcher-utils "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
external-editor@^3.0.3, external-editor@^3.1.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"
|
|
|
|
integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==
|
|
|
|
dependencies:
|
|
|
|
chardet "^0.7.0"
|
|
|
|
iconv-lite "^0.4.24"
|
|
|
|
tmp "^0.0.33"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
|
|
|
version "3.1.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
|
|
|
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
fast-glob@^3.2.9:
|
|
|
|
version "3.2.12"
|
|
|
|
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
|
|
|
|
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
|
|
|
|
dependencies:
|
|
|
|
"@nodelib/fs.stat" "^2.0.2"
|
|
|
|
"@nodelib/fs.walk" "^1.2.3"
|
|
|
|
glob-parent "^5.1.2"
|
|
|
|
merge2 "^1.3.0"
|
|
|
|
micromatch "^4.0.4"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
fast-glob@^3.3.0:
|
|
|
|
version "3.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4"
|
|
|
|
integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==
|
|
|
|
dependencies:
|
|
|
|
"@nodelib/fs.stat" "^2.0.2"
|
|
|
|
"@nodelib/fs.walk" "^1.2.3"
|
|
|
|
glob-parent "^5.1.2"
|
|
|
|
merge2 "^1.3.0"
|
|
|
|
micromatch "^4.0.4"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
|
|
|
|
integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
|
|
|
|
|
|
|
|
fast-levenshtein@^2.0.6:
|
|
|
|
version "2.0.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
fastq@^1.6.0:
|
|
|
|
version "1.15.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"
|
|
|
|
integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==
|
|
|
|
dependencies:
|
|
|
|
reusify "^1.0.4"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
fb-watchman@^2.0.0:
|
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c"
|
|
|
|
integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==
|
|
|
|
dependencies:
|
|
|
|
bser "2.1.1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
figures@^1.7.0:
|
|
|
|
version "1.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
|
|
|
|
integrity sha512-UxKlfCRuCBxSXU4C6t9scbDyWZ4VlaFFdojKtzJuSkuOBQ5CNFum+zZXFwHjo+CxBC1t6zlYPgHIgFjL8ggoEQ==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "^1.0.5"
|
|
|
|
object-assign "^4.1.0"
|
|
|
|
|
|
|
|
figures@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
|
|
|
|
integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "^1.0.5"
|
|
|
|
|
|
|
|
figures@^3.0.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
|
|
|
|
integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "^1.0.5"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
figures@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/figures/-/figures-5.0.0.tgz#126cd055052dea699f8a54e8c9450e6ecfc44d5f"
|
|
|
|
integrity sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "^5.0.0"
|
|
|
|
is-unicode-supported "^1.2.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
file-entry-cache@^6.0.1:
|
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
|
|
|
|
integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==
|
|
|
|
dependencies:
|
|
|
|
flat-cache "^3.0.4"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
fill-range@^7.0.1:
|
|
|
|
version "7.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
|
|
|
|
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
|
|
|
|
dependencies:
|
|
|
|
to-regex-range "^5.0.1"
|
|
|
|
|
|
|
|
find-up@^4.0.0, find-up@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
|
|
|
|
integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
|
|
|
|
dependencies:
|
|
|
|
locate-path "^5.0.0"
|
|
|
|
path-exists "^4.0.0"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
find-up@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc"
|
|
|
|
integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==
|
|
|
|
dependencies:
|
|
|
|
locate-path "^6.0.0"
|
|
|
|
path-exists "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
find-up@^6.3.0:
|
|
|
|
version "6.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790"
|
|
|
|
integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==
|
|
|
|
dependencies:
|
|
|
|
locate-path "^7.1.0"
|
|
|
|
path-exists "^5.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
flat-cache@^3.0.4:
|
2023-10-16 19:13:29 +01:00
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b"
|
|
|
|
integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-10-16 19:13:29 +01:00
|
|
|
flatted "^3.2.9"
|
|
|
|
keyv "^4.5.3"
|
2021-06-19 16:13:27 +01:00
|
|
|
rimraf "^3.0.2"
|
|
|
|
|
2023-10-16 19:13:29 +01:00
|
|
|
flatted@^3.2.9:
|
|
|
|
version "3.2.9"
|
|
|
|
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf"
|
|
|
|
integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
form-data-encoder@1.7.2:
|
|
|
|
version "1.7.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.2.tgz#1f1ae3dccf58ed4690b86d87e4f57c654fbab040"
|
|
|
|
integrity sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==
|
2023-02-27 00:01:42 +00:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
form-data-encoder@^2.1.2:
|
|
|
|
version "2.1.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5"
|
|
|
|
integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
fs.realpath@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
fsevents@^2.3.2:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "2.3.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
|
|
|
|
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
function-bind@^1.1.1:
|
|
|
|
version "1.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
|
|
|
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
|
|
|
|
|
|
|
|
gensync@^1.0.0-beta.2:
|
|
|
|
version "1.0.0-beta.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
|
|
|
|
integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==
|
|
|
|
|
|
|
|
get-caller-file@^2.0.5:
|
|
|
|
version "2.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
|
|
|
|
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
|
|
|
|
|
|
|
|
get-package-type@^0.1.0:
|
|
|
|
version "0.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
|
|
|
|
integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
get-stream@^5.1.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "5.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
|
|
|
|
integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
|
|
|
|
dependencies:
|
|
|
|
pump "^3.0.0"
|
|
|
|
|
|
|
|
get-stream@^6.0.0, get-stream@^6.0.1:
|
2023-02-27 00:01:42 +00:00
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
|
|
|
|
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
github-url-from-git@^1.5.0:
|
|
|
|
version "1.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/github-url-from-git/-/github-url-from-git-1.5.0.tgz#f985fedcc0a9aa579dc88d7aff068d55cc6251a0"
|
|
|
|
integrity sha512-WWOec4aRI7YAykQ9+BHmzjyNlkfJFG8QLXnDTsLz/kZefq7qkzdfo4p6fkYYMIq1aj+gZcQs/1HQhQh3DPPxlQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
glob-parent@^5.1.2:
|
|
|
|
version "5.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
|
|
|
|
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
|
|
|
|
dependencies:
|
|
|
|
is-glob "^4.0.1"
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
glob-parent@^6.0.0, glob-parent@^6.0.2:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "6.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
|
|
|
|
integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
|
|
|
|
dependencies:
|
|
|
|
is-glob "^4.0.3"
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
glob@^7.1.3, glob@^7.1.4:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "7.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
|
|
|
|
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
|
|
|
|
dependencies:
|
|
|
|
fs.realpath "^1.0.0"
|
|
|
|
inflight "^1.0.4"
|
|
|
|
inherits "2"
|
|
|
|
minimatch "^3.1.1"
|
2021-06-19 16:13:27 +01:00
|
|
|
once "^1.3.0"
|
|
|
|
path-is-absolute "^1.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
global-dirs@^3.0.0:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485"
|
|
|
|
integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==
|
|
|
|
dependencies:
|
|
|
|
ini "2.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
globals@^11.1.0:
|
|
|
|
version "11.12.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
|
|
|
|
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
globals@^13.19.0:
|
2023-10-16 19:13:29 +01:00
|
|
|
version "13.23.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02"
|
|
|
|
integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
type-fest "^0.20.2"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
globby@^11.1.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "11.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
|
|
|
|
integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
|
|
|
|
dependencies:
|
|
|
|
array-union "^2.1.0"
|
|
|
|
dir-glob "^3.0.1"
|
|
|
|
fast-glob "^3.2.9"
|
|
|
|
ignore "^5.2.0"
|
|
|
|
merge2 "^1.4.1"
|
|
|
|
slash "^3.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
globby@^13.1.2:
|
|
|
|
version "13.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592"
|
|
|
|
integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==
|
|
|
|
dependencies:
|
|
|
|
dir-glob "^3.0.1"
|
|
|
|
fast-glob "^3.3.0"
|
|
|
|
ignore "^5.2.4"
|
|
|
|
merge2 "^1.4.1"
|
|
|
|
slash "^4.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
got-cjs@^12.5.4:
|
|
|
|
version "12.5.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/got-cjs/-/got-cjs-12.5.4.tgz#b46419c0e8e5fb5503b926941807408049ae2e11"
|
|
|
|
integrity sha512-Uas6lAsP8bRCt5WXGMhjFf/qEHTrm4v4qxGR02rLG2kdG9qedctvlkdwXVcDJ7Cs84X+r4dPU7vdwGjCaspXug==
|
2023-02-27 00:01:42 +00:00
|
|
|
dependencies:
|
2023-04-22 13:20:30 +01:00
|
|
|
"@sindresorhus/is" "4.6.0"
|
|
|
|
"@szmarczak/http-timer" "4.0.6"
|
|
|
|
"@types/responselike" "1.0.0"
|
|
|
|
cacheable-lookup "6.1.0"
|
|
|
|
cacheable-request "7.0.2"
|
2021-12-01 20:39:02 +00:00
|
|
|
decompress-response "^6.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
form-data-encoder "1.7.2"
|
2023-02-27 00:01:42 +00:00
|
|
|
get-stream "^6.0.1"
|
|
|
|
http2-wrapper "^2.1.10"
|
2023-04-22 13:20:30 +01:00
|
|
|
lowercase-keys "2.0.0"
|
|
|
|
p-cancelable "2.1.1"
|
|
|
|
responselike "2.0.1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
got@^11.8.5, got@^12.1.0, got@^13.0.0:
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
version "13.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/got/-/got-13.0.0.tgz#a2402862cef27a5d0d1b07c0fb25d12b58175422"
|
|
|
|
integrity sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
"@sindresorhus/is" "^5.2.0"
|
|
|
|
"@szmarczak/http-timer" "^5.0.1"
|
|
|
|
cacheable-lookup "^7.0.0"
|
|
|
|
cacheable-request "^10.2.8"
|
2023-05-20 15:47:20 +01:00
|
|
|
decompress-response "^6.0.0"
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
form-data-encoder "^2.1.2"
|
|
|
|
get-stream "^6.0.1"
|
|
|
|
http2-wrapper "^2.1.10"
|
|
|
|
lowercase-keys "^3.0.0"
|
|
|
|
p-cancelable "^3.0.0"
|
|
|
|
responselike "^3.0.0"
|
2023-05-20 15:47:20 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
graceful-fs@4.2.10:
|
|
|
|
version "4.2.10"
|
|
|
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
|
|
|
|
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
|
|
|
|
|
|
|
|
graceful-fs@^4.2.10, graceful-fs@^4.2.6, graceful-fs@^4.2.9:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.2.11"
|
|
|
|
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
|
|
|
|
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
graphemer@^1.4.0:
|
|
|
|
version "1.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
|
|
|
|
integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
has-ansi@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
|
|
|
|
integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==
|
|
|
|
dependencies:
|
|
|
|
ansi-regex "^2.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
has-flag@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
|
|
|
|
integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
has-flag@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
|
|
|
|
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
has-yarn@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-3.0.0.tgz#c3c21e559730d1d3b57e28af1f30d06fac38147d"
|
|
|
|
integrity sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
has@^1.0.3:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
|
|
|
|
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
|
|
|
|
dependencies:
|
|
|
|
function-bind "^1.1.1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
hosted-git-info@^4.0.1:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224"
|
|
|
|
integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==
|
|
|
|
dependencies:
|
|
|
|
lru-cache "^6.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
hosted-git-info@^6.1.1:
|
|
|
|
version "6.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-6.1.1.tgz#629442c7889a69c05de604d52996b74fe6f26d58"
|
|
|
|
integrity sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==
|
|
|
|
dependencies:
|
|
|
|
lru-cache "^7.5.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
html-escaper@^2.0.0:
|
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
|
|
|
|
integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.1:
|
2023-02-27 00:01:42 +00:00
|
|
|
version "4.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a"
|
|
|
|
integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-02-27 00:01:42 +00:00
|
|
|
http2-wrapper@^2.1.10:
|
|
|
|
version "2.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-2.2.0.tgz#b80ad199d216b7d3680195077bd7b9060fa9d7f3"
|
|
|
|
integrity sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==
|
2021-12-01 20:39:02 +00:00
|
|
|
dependencies:
|
|
|
|
quick-lru "^5.1.1"
|
2023-02-27 00:01:42 +00:00
|
|
|
resolve-alpn "^1.2.0"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
human-signals@^2.1.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
|
|
|
|
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
human-signals@^4.3.0:
|
|
|
|
version "4.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2"
|
|
|
|
integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
iconv-lite@^0.4.24:
|
|
|
|
version "0.4.24"
|
|
|
|
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
|
|
|
|
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
|
|
|
|
dependencies:
|
|
|
|
safer-buffer ">= 2.1.2 < 3"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ieee754@^1.1.13:
|
|
|
|
version "1.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
|
|
|
|
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
|
|
|
|
|
|
|
|
ignore-walk@^6.0.3:
|
|
|
|
version "6.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-6.0.3.tgz#0fcdb6decaccda35e308a7b0948645dd9523b7bb"
|
|
|
|
integrity sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
minimatch "^9.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ignore@^5.2.0, ignore@^5.2.4:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "5.2.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
|
|
|
|
integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-13 13:20:54 +01:00
|
|
|
import-fresh@^3.2.1, import-fresh@^3.3.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "3.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
|
|
|
|
integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==
|
|
|
|
dependencies:
|
|
|
|
parent-module "^1.0.0"
|
|
|
|
resolve-from "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
import-lazy@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153"
|
|
|
|
integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
import-local@^3.0.2, import-local@^3.1.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4"
|
|
|
|
integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==
|
|
|
|
dependencies:
|
|
|
|
pkg-dir "^4.2.0"
|
|
|
|
resolve-cwd "^3.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
imurmurhash@^0.1.4:
|
|
|
|
version "0.1.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
indent-string@^3.0.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
|
|
|
|
integrity sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
indent-string@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-5.0.0.tgz#4fd2980fccaf8622d14c64d694f4cf33c81951a5"
|
|
|
|
integrity sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
inflight@^1.0.4:
|
|
|
|
version "1.0.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
once "^1.3.0"
|
|
|
|
wrappy "1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
inherits@2, inherits@^2.0.3, inherits@^2.0.4:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "2.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
|
|
|
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
ini@2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
|
|
|
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ini@^1.3.4, ini@~1.3.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "1.3.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
|
|
|
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
|
|
|
|
|
|
|
inquirer-autosubmit-prompt@^0.2.0:
|
|
|
|
version "0.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/inquirer-autosubmit-prompt/-/inquirer-autosubmit-prompt-0.2.0.tgz#a10f952af4f7bac9c43010e3e9e0891d7e8d15a1"
|
|
|
|
integrity sha512-mzNrusCk5L6kSzlN0Ioddn8yzrhYNLli+Sn2ZxMuLechMYAzakiFCIULxsxlQb5YKzthLGfrFACcWoAvM7p04Q==
|
|
|
|
dependencies:
|
|
|
|
chalk "^2.4.1"
|
|
|
|
inquirer "^6.2.1"
|
|
|
|
rxjs "^6.3.3"
|
|
|
|
|
|
|
|
inquirer@^6.2.1:
|
|
|
|
version "6.5.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
|
|
|
|
integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==
|
|
|
|
dependencies:
|
|
|
|
ansi-escapes "^3.2.0"
|
|
|
|
chalk "^2.4.2"
|
|
|
|
cli-cursor "^2.1.0"
|
|
|
|
cli-width "^2.0.0"
|
|
|
|
external-editor "^3.0.3"
|
|
|
|
figures "^2.0.0"
|
|
|
|
lodash "^4.17.12"
|
|
|
|
mute-stream "0.0.7"
|
|
|
|
run-async "^2.2.0"
|
|
|
|
rxjs "^6.4.0"
|
|
|
|
string-width "^2.1.0"
|
|
|
|
strip-ansi "^5.1.0"
|
|
|
|
through "^2.3.6"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
inquirer@^7.0.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "7.3.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003"
|
|
|
|
integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==
|
|
|
|
dependencies:
|
|
|
|
ansi-escapes "^4.2.1"
|
|
|
|
chalk "^4.1.0"
|
|
|
|
cli-cursor "^3.1.0"
|
|
|
|
cli-width "^3.0.0"
|
|
|
|
external-editor "^3.0.3"
|
|
|
|
figures "^3.0.0"
|
|
|
|
lodash "^4.17.19"
|
|
|
|
mute-stream "0.0.8"
|
|
|
|
run-async "^2.4.0"
|
|
|
|
rxjs "^6.6.0"
|
|
|
|
string-width "^4.1.0"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
through "^2.3.6"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
inquirer@^9.2.6:
|
|
|
|
version "9.2.10"
|
|
|
|
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-9.2.10.tgz#495a846fd6722ffadba896bd9d93e1e5a7add5c7"
|
|
|
|
integrity sha512-tVVNFIXU8qNHoULiazz612GFl+yqNfjMTbLuViNJE/d860Qxrd3NMrse8dm40VUQLOQeULvaQF8lpAhvysjeyA==
|
|
|
|
dependencies:
|
|
|
|
"@ljharb/through" "^2.3.9"
|
|
|
|
ansi-escapes "^4.3.2"
|
|
|
|
chalk "^5.3.0"
|
|
|
|
cli-cursor "^3.1.0"
|
|
|
|
cli-width "^4.1.0"
|
|
|
|
external-editor "^3.1.0"
|
|
|
|
figures "^5.0.0"
|
|
|
|
lodash "^4.17.21"
|
|
|
|
mute-stream "1.0.0"
|
|
|
|
ora "^5.4.1"
|
|
|
|
run-async "^3.0.0"
|
|
|
|
rxjs "^7.8.1"
|
|
|
|
string-width "^4.2.3"
|
|
|
|
strip-ansi "^6.0.1"
|
|
|
|
wrap-ansi "^6.2.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
is-arrayish@^0.2.1:
|
|
|
|
version "0.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
|
|
|
integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-ci@^3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867"
|
|
|
|
integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
ci-info "^3.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
is-core-module@^2.13.0:
|
|
|
|
version "2.13.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.0.tgz#bb52aa6e2cbd49a30c2ba68c42bf3435ba6072db"
|
|
|
|
integrity sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==
|
|
|
|
dependencies:
|
|
|
|
has "^1.0.3"
|
|
|
|
|
|
|
|
is-core-module@^2.5.0:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "2.12.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd"
|
|
|
|
integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
has "^1.0.3"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
is-docker@^2.0.0:
|
|
|
|
version "2.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
|
|
|
|
integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-docker@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200"
|
|
|
|
integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
is-extglob@^2.1.1:
|
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
is-fullwidth-code-point@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
|
|
|
|
integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==
|
|
|
|
dependencies:
|
|
|
|
number-is-nan "^1.0.0"
|
|
|
|
|
|
|
|
is-fullwidth-code-point@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
|
|
|
|
integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
is-fullwidth-code-point@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
|
|
|
|
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
|
|
|
|
|
|
|
|
is-generator-fn@^2.0.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
|
|
|
|
integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "4.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
|
|
|
|
integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
|
|
|
|
dependencies:
|
|
|
|
is-extglob "^2.1.1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-inside-container@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4"
|
|
|
|
integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
is-docker "^3.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
is-installed-globally@^0.4.0:
|
|
|
|
version "0.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520"
|
|
|
|
integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==
|
|
|
|
dependencies:
|
|
|
|
global-dirs "^3.0.0"
|
|
|
|
is-path-inside "^3.0.2"
|
|
|
|
|
|
|
|
is-interactive@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e"
|
|
|
|
integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-interactive@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-2.0.0.tgz#40c57614593826da1100ade6059778d597f16e90"
|
|
|
|
integrity sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==
|
|
|
|
|
|
|
|
is-name-taken@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-name-taken/-/is-name-taken-2.0.0.tgz#c36e6515e07621dc48cd026b6b015a504942fae1"
|
|
|
|
integrity sha512-W+FUWF5g7ONVJTx3rldZeVizmPzrMMUdscpSQ96vyYerx+4b2NcqaujLJJDWruGzE0FjzGZO9RFIipOGxx/WIw==
|
|
|
|
dependencies:
|
|
|
|
all-package-names "^2.0.2"
|
|
|
|
package-name-conflict "^1.0.3"
|
|
|
|
validate-npm-package-name "^3.0.0"
|
|
|
|
|
|
|
|
is-npm@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-6.0.0.tgz#b59e75e8915543ca5d881ecff864077cba095261"
|
|
|
|
integrity sha512-JEjxbSmtPSt1c8XTkVrlujcXdKV1/tvuQ7GwKcAlyiVLeYFQ2VHat8xfrDJsIkhCdF/tZ7CiIR3sy141c6+gPQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
is-number@^7.0.0:
|
|
|
|
version "7.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
|
|
|
|
integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
is-obj@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
|
|
|
|
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==
|
|
|
|
|
|
|
|
is-observable@^1.1.0:
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e"
|
|
|
|
integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==
|
|
|
|
dependencies:
|
|
|
|
symbol-observable "^1.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-path-cwd@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-3.0.0.tgz#889b41e55c8588b1eb2a96a61d05740a674521c7"
|
|
|
|
integrity sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-path-inside@^3.0.2, is-path-inside@^3.0.3:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "3.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
|
|
|
|
integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-path-inside@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-4.0.0.tgz#805aeb62c47c1b12fc3fd13bfb3ed1e7430071db"
|
|
|
|
integrity sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
is-promise@^2.1.0:
|
|
|
|
version "2.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1"
|
|
|
|
integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-scoped@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-scoped/-/is-scoped-3.0.0.tgz#2f9fc6e37c17d432d8e38d3c749aab8c76d1bdd8"
|
|
|
|
integrity sha512-ezxLUq30kiTvP0w/5n9tj4qTOKlrA07Oty1hwTQ+lcqw11x6uc8sp7VRb2OVGRzKfCHZ2A22T5Zsau/Q2Akb0g==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
scoped-regex "^3.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
is-stream@^1.1.0:
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
|
|
|
|
integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
is-stream@^2.0.0:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077"
|
|
|
|
integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-stream@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac"
|
|
|
|
integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
is-typedarray@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
|
|
|
|
integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==
|
|
|
|
|
|
|
|
is-unicode-supported@^0.1.0:
|
|
|
|
version "0.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
|
|
|
|
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-unicode-supported@^1.1.0, is-unicode-supported@^1.2.0:
|
|
|
|
version "1.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714"
|
|
|
|
integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==
|
|
|
|
|
|
|
|
is-url-superb@^6.1.0:
|
|
|
|
version "6.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-url-superb/-/is-url-superb-6.1.0.tgz#182f0d92b482412afeadfba8e6ea2c76680e3631"
|
|
|
|
integrity sha512-LXdhGlYqUPdvEyIhWPEEwYYK3yrUiPcBjmFGlZNv1u5GtIL5qQRf7ddDyPNAvsMFqdzS923FROpTQU97tLe3JQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-wsl@^2.2.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "2.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
|
|
|
|
integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
|
|
|
|
dependencies:
|
|
|
|
is-docker "^2.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
is-yarn-global@^0.4.0:
|
|
|
|
version "0.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.4.1.tgz#b312d902b313f81e4eaf98b6361ba2b45cd694bb"
|
|
|
|
integrity sha512-/kppl+R+LO5VmhYSEWARUFjodS25D68gvj8W7z0I7OWhUla5xWu8KL6CtB2V0R6yqhnRgbcaREMr4EEM6htLPQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
isexe@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
issue-regex@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/issue-regex/-/issue-regex-4.1.0.tgz#e2039123748a48e6711eed7a9eb392f2c17c9341"
|
|
|
|
integrity sha512-X3HBmm7+Th+l4/kMtqwcHHgELD0Lfl0Ina6S3+grr+mKmTxsrM84NAO1UuRPIxIbGLIl3TCEu45S1kdu21HYbQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3"
|
|
|
|
integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
istanbul-lib-instrument@^5.0.4:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "5.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d"
|
|
|
|
integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==
|
|
|
|
dependencies:
|
|
|
|
"@babel/core" "^7.12.3"
|
|
|
|
"@babel/parser" "^7.14.7"
|
|
|
|
"@istanbuljs/schema" "^0.1.2"
|
|
|
|
istanbul-lib-coverage "^3.2.0"
|
|
|
|
semver "^6.3.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
istanbul-lib-instrument@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.0.tgz#7a8af094cbfff1d5bb280f62ce043695ae8dd5b8"
|
|
|
|
integrity sha512-x58orMzEVfzPUKqlbLd1hXCnySCxKdDKa6Rjg97CwuLLRI4g3FHTdnExu1OqffVFay6zeMW+T6/DowFLndWnIw==
|
|
|
|
dependencies:
|
|
|
|
"@babel/core" "^7.12.3"
|
|
|
|
"@babel/parser" "^7.14.7"
|
|
|
|
"@istanbuljs/schema" "^0.1.2"
|
|
|
|
istanbul-lib-coverage "^3.2.0"
|
|
|
|
semver "^7.5.4"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
istanbul-lib-report@^3.0.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d"
|
|
|
|
integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
istanbul-lib-coverage "^3.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
make-dir "^4.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
supports-color "^7.1.0"
|
|
|
|
|
|
|
|
istanbul-lib-source-maps@^4.0.0:
|
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551"
|
|
|
|
integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==
|
|
|
|
dependencies:
|
|
|
|
debug "^4.1.1"
|
|
|
|
istanbul-lib-coverage "^3.0.0"
|
|
|
|
source-map "^0.6.1"
|
|
|
|
|
|
|
|
istanbul-reports@^3.1.3:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "3.1.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a"
|
|
|
|
integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
html-escaper "^2.0.0"
|
|
|
|
istanbul-lib-report "^3.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-changed-files@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a"
|
|
|
|
integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
execa "^5.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
p-limit "^3.1.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-circus@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a"
|
|
|
|
integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/environment" "^29.7.0"
|
|
|
|
"@jest/expect" "^29.7.0"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
co "^4.6.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
dedent "^1.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
is-generator-fn "^2.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-each "^29.7.0"
|
|
|
|
jest-matcher-utils "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-runtime "^29.7.0"
|
|
|
|
jest-snapshot "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
p-limit "^3.1.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
2023-05-20 15:47:20 +01:00
|
|
|
pure-rand "^6.0.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
stack-utils "^2.0.3"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-cli@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995"
|
|
|
|
integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/core" "^29.7.0"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
create-jest "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
exit "^0.1.2"
|
|
|
|
import-local "^3.0.2"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-config "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-validate "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
yargs "^17.3.1"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-config@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f"
|
|
|
|
integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/core" "^7.11.6"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/test-sequencer" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
babel-jest "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
chalk "^4.0.0"
|
|
|
|
ci-info "^3.2.0"
|
|
|
|
deepmerge "^4.2.2"
|
|
|
|
glob "^7.1.3"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-circus "^29.7.0"
|
|
|
|
jest-environment-node "^29.7.0"
|
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-resolve "^29.7.0"
|
|
|
|
jest-runner "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-validate "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
micromatch "^4.0.4"
|
|
|
|
parse-json "^5.2.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
strip-json-comments "^3.1.1"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-diff@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a"
|
|
|
|
integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
diff-sequences "^29.6.3"
|
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-docblock@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a"
|
|
|
|
integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
detect-newline "^3.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-each@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1"
|
|
|
|
integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
pretty-format "^29.7.0"
|
|
|
|
|
|
|
|
jest-environment-node@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376"
|
|
|
|
integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==
|
|
|
|
dependencies:
|
|
|
|
"@jest/environment" "^29.7.0"
|
|
|
|
"@jest/fake-timers" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-mock "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-get-type@^29.6.3:
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1"
|
|
|
|
integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-haste-map@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104"
|
|
|
|
integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/graceful-fs" "^4.1.3"
|
|
|
|
"@types/node" "*"
|
|
|
|
anymatch "^3.0.3"
|
|
|
|
fb-watchman "^2.0.0"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-worker "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
micromatch "^4.0.4"
|
|
|
|
walker "^1.0.8"
|
|
|
|
optionalDependencies:
|
|
|
|
fsevents "^2.3.2"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-leak-detector@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728"
|
|
|
|
integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-matcher-utils@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12"
|
|
|
|
integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-diff "^29.7.0"
|
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-message-util@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3"
|
|
|
|
integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/code-frame" "^7.12.13"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/stack-utils" "^2.0.0"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
micromatch "^4.0.4"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
stack-utils "^2.0.3"
|
|
|
|
|
|
|
|
jest-mock-extended@^3.0.3:
|
2023-09-11 20:32:54 +01:00
|
|
|
version "3.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-mock-extended/-/jest-mock-extended-3.0.5.tgz#ebf208e363f4f1db603b81fb005c4055b7c1c8b7"
|
|
|
|
integrity sha512-/eHdaNPUAXe7f65gHH5urc8SbRVWjYxBqmCgax2uqOBJy8UUcCBMN1upj1eZ8y/i+IqpyEm4Kq0VKss/GCCTdw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
ts-essentials "^7.0.3"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-mock@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347"
|
|
|
|
integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
jest-pnp-resolver@^1.2.2:
|
|
|
|
version "1.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e"
|
|
|
|
integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-regex-util@^29.6.3:
|
|
|
|
version "29.6.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52"
|
|
|
|
integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-resolve-dependencies@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428"
|
|
|
|
integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-snapshot "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-resolve@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30"
|
|
|
|
integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
chalk "^4.0.0"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-haste-map "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
jest-pnp-resolver "^1.2.2"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-validate "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
resolve "^1.20.0"
|
|
|
|
resolve.exports "^2.0.0"
|
|
|
|
slash "^3.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-runner@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e"
|
|
|
|
integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==
|
2023-05-20 15:47:20 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/console" "^29.7.0"
|
|
|
|
"@jest/environment" "^29.7.0"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/transform" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
emittery "^0.13.1"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-docblock "^29.7.0"
|
|
|
|
jest-environment-node "^29.7.0"
|
|
|
|
jest-haste-map "^29.7.0"
|
|
|
|
jest-leak-detector "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-resolve "^29.7.0"
|
|
|
|
jest-runtime "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
|
|
|
jest-watcher "^29.7.0"
|
|
|
|
jest-worker "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
p-limit "^3.1.0"
|
|
|
|
source-map-support "0.5.13"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-runtime@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817"
|
|
|
|
integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==
|
|
|
|
dependencies:
|
|
|
|
"@jest/environment" "^29.7.0"
|
|
|
|
"@jest/fake-timers" "^29.7.0"
|
|
|
|
"@jest/globals" "^29.7.0"
|
|
|
|
"@jest/source-map" "^29.6.3"
|
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/transform" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
cjs-module-lexer "^1.0.0"
|
|
|
|
collect-v8-coverage "^1.0.0"
|
|
|
|
glob "^7.1.3"
|
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-haste-map "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-mock "^29.7.0"
|
|
|
|
jest-regex-util "^29.6.3"
|
|
|
|
jest-resolve "^29.7.0"
|
|
|
|
jest-snapshot "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
slash "^3.0.0"
|
|
|
|
strip-bom "^4.0.0"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-snapshot@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5"
|
|
|
|
integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@babel/core" "^7.11.6"
|
|
|
|
"@babel/generator" "^7.7.2"
|
|
|
|
"@babel/plugin-syntax-jsx" "^7.7.2"
|
|
|
|
"@babel/plugin-syntax-typescript" "^7.7.2"
|
|
|
|
"@babel/types" "^7.3.3"
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/expect-utils" "^29.7.0"
|
|
|
|
"@jest/transform" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
babel-preset-current-node-syntax "^1.0.0"
|
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
expect "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
graceful-fs "^4.2.9"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-diff "^29.7.0"
|
|
|
|
jest-get-type "^29.6.3"
|
|
|
|
jest-matcher-utils "^29.7.0"
|
|
|
|
jest-message-util "^29.7.0"
|
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
natural-compare "^1.4.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
|
|
|
semver "^7.5.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-23 13:26:21 +01:00
|
|
|
jest-util@^29.0.0, jest-util@^29.7.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc"
|
|
|
|
integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/types" "^29.6.3"
|
|
|
|
"@types/node" "*"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
ci-info "^3.2.0"
|
|
|
|
graceful-fs "^4.2.9"
|
|
|
|
picomatch "^2.2.3"
|
|
|
|
|
|
|
|
jest-validate@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c"
|
|
|
|
integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==
|
|
|
|
dependencies:
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
camelcase "^6.2.0"
|
|
|
|
chalk "^4.0.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-get-type "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
leven "^3.1.0"
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-watcher@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2"
|
|
|
|
integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/test-result" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
"@types/node" "*"
|
|
|
|
ansi-escapes "^4.2.1"
|
|
|
|
chalk "^4.0.0"
|
|
|
|
emittery "^0.13.1"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
string-length "^4.0.1"
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-worker@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a"
|
|
|
|
integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
"@types/node" "*"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-util "^29.7.0"
|
2023-04-22 13:20:30 +01:00
|
|
|
merge-stream "^2.0.0"
|
|
|
|
supports-color "^8.0.0"
|
|
|
|
|
|
|
|
jest@^29.4.3:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613"
|
|
|
|
integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/core" "^29.7.0"
|
|
|
|
"@jest/types" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
import-local "^3.0.2"
|
2023-10-16 19:15:47 +01:00
|
|
|
jest-cli "^29.7.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
js-tokens@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
|
|
|
|
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
|
|
|
|
|
|
|
|
js-yaml@^3.13.1:
|
|
|
|
version "3.14.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
|
|
|
|
integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==
|
|
|
|
dependencies:
|
|
|
|
argparse "^1.0.7"
|
|
|
|
esprima "^4.0.0"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
js-yaml@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
|
|
|
|
integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-03-06 00:01:43 +00:00
|
|
|
argparse "^2.0.1"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
jsesc@^2.5.1:
|
|
|
|
version "2.5.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
|
|
|
|
integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
|
|
|
|
|
2021-12-01 20:39:02 +00:00
|
|
|
json-buffer@3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13"
|
|
|
|
integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
json-parse-even-better-errors@^2.3.0:
|
|
|
|
version "2.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
|
|
|
|
integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
json-schema-traverse@^0.4.1:
|
|
|
|
version "0.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
|
|
|
|
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
|
|
|
|
|
|
|
|
json-stable-stringify-without-jsonify@^1.0.1:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
json5@^2.2.3:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "2.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
|
|
|
|
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
keyv@^4.0.0, keyv@^4.5.2:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.5.2"
|
2023-02-27 00:01:42 +00:00
|
|
|
resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56"
|
|
|
|
integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==
|
2021-12-01 20:39:02 +00:00
|
|
|
dependencies:
|
|
|
|
json-buffer "3.0.1"
|
|
|
|
|
2023-10-16 19:13:29 +01:00
|
|
|
keyv@^4.5.3:
|
|
|
|
version "4.5.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93"
|
|
|
|
integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==
|
|
|
|
dependencies:
|
|
|
|
json-buffer "3.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
kleur@^3.0.3:
|
|
|
|
version "3.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
|
|
|
|
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
latest-version@^7.0.0:
|
|
|
|
version "7.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-7.0.0.tgz#843201591ea81a4d404932eeb61240fe04e9e5da"
|
|
|
|
integrity sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
package-json "^8.1.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
leven@^3.1.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
|
|
|
|
integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
levn@^0.4.1:
|
|
|
|
version "0.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade"
|
|
|
|
integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==
|
|
|
|
dependencies:
|
|
|
|
prelude-ls "^1.2.1"
|
|
|
|
type-check "~0.4.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
lines-and-columns@^1.1.6:
|
|
|
|
version "1.2.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
|
|
|
|
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
|
|
|
|
|
2022-12-18 15:27:03 +00:00
|
|
|
linqts@^1.14.4:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "1.15.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/linqts/-/linqts-1.15.0.tgz#99195db380da7c039961c00e637e6ae57d5dee5e"
|
|
|
|
integrity sha512-DYRi1eGy8R0/dPzTTE0q3gQKvAj960CumYNikVGaUBc8TJCs/zeIbEmHb9lGx7Y9ALvTKle2cuBpkKgIeCSRTg==
|
2022-12-18 15:27:03 +00:00
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
listr-input@^0.2.1:
|
|
|
|
version "0.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/listr-input/-/listr-input-0.2.1.tgz#ce735c34530683580388fdf9462ecfebd3b66126"
|
|
|
|
integrity sha512-oa8iVG870qJq+OuuMK3DjGqFcwsK1SDu+kULp9kEq09TY231aideIZenr3lFOQdASpAr6asuyJBbX62/a3IIhg==
|
|
|
|
dependencies:
|
|
|
|
inquirer "^7.0.0"
|
|
|
|
inquirer-autosubmit-prompt "^0.2.0"
|
|
|
|
rxjs "^6.5.3"
|
|
|
|
through "^2.3.8"
|
|
|
|
|
|
|
|
listr-silent-renderer@^1.1.1:
|
|
|
|
version "1.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e"
|
|
|
|
integrity sha512-L26cIFm7/oZeSNVhWB6faeorXhMg4HNlb/dS/7jHhr708jxlXrtrBWo4YUxZQkc6dGoxEAe6J/D3juTRBUzjtA==
|
|
|
|
|
|
|
|
listr-update-renderer@^0.5.0:
|
|
|
|
version "0.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2"
|
|
|
|
integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==
|
|
|
|
dependencies:
|
|
|
|
chalk "^1.1.3"
|
|
|
|
cli-truncate "^0.2.1"
|
|
|
|
elegant-spinner "^1.0.1"
|
|
|
|
figures "^1.7.0"
|
|
|
|
indent-string "^3.0.0"
|
|
|
|
log-symbols "^1.0.2"
|
|
|
|
log-update "^2.3.0"
|
|
|
|
strip-ansi "^3.0.1"
|
|
|
|
|
|
|
|
listr-verbose-renderer@^0.5.0:
|
|
|
|
version "0.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db"
|
|
|
|
integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==
|
|
|
|
dependencies:
|
|
|
|
chalk "^2.4.1"
|
|
|
|
cli-cursor "^2.1.0"
|
|
|
|
date-fns "^1.27.2"
|
|
|
|
figures "^2.0.0"
|
|
|
|
|
|
|
|
listr@^0.14.3:
|
|
|
|
version "0.14.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586"
|
|
|
|
integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==
|
|
|
|
dependencies:
|
|
|
|
"@samverschueren/stream-to-observable" "^0.3.0"
|
|
|
|
is-observable "^1.1.0"
|
|
|
|
is-promise "^2.1.0"
|
|
|
|
is-stream "^1.1.0"
|
|
|
|
listr-silent-renderer "^1.1.1"
|
|
|
|
listr-update-renderer "^0.5.0"
|
|
|
|
listr-verbose-renderer "^0.5.0"
|
|
|
|
p-map "^2.0.0"
|
|
|
|
rxjs "^6.3.3"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
locate-path@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
|
|
|
|
integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
|
|
|
|
dependencies:
|
|
|
|
p-locate "^4.1.0"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
locate-path@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"
|
|
|
|
integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==
|
|
|
|
dependencies:
|
|
|
|
p-locate "^5.0.0"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
locate-path@^7.1.0:
|
|
|
|
version "7.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a"
|
|
|
|
integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==
|
|
|
|
dependencies:
|
|
|
|
p-locate "^6.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
lodash.isequal@^4.5.0:
|
|
|
|
version "4.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
|
|
|
|
integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
lodash.memoize@4.x:
|
|
|
|
version "4.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
|
|
|
|
integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
lodash.merge@^4.6.2:
|
|
|
|
version "4.6.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
|
|
|
|
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
lodash.zip@^4.2.0:
|
|
|
|
version "4.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
|
|
|
|
integrity sha512-C7IOaBBK/0gMORRBd8OETNx3kmOkgIWIPvyDpZSCTwUrpYmgZwJkjZeOD8ww4xbOUOs4/attY+pciKvadNfFbg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
lodash@^4.17.12, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.5:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.17.21"
|
|
|
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
|
|
|
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
log-symbols@^1.0.2:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
|
|
|
integrity sha512-mmPrW0Fh2fxOzdBbFv4g1m6pR72haFLPJ2G5SJEELf1y+iaQrDG6cWCPjy54RHYbZAt7X+ls690Kw62AdWXBzQ==
|
|
|
|
dependencies:
|
|
|
|
chalk "^1.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
log-symbols@^4.1.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"
|
|
|
|
integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==
|
|
|
|
dependencies:
|
|
|
|
chalk "^4.1.0"
|
|
|
|
is-unicode-supported "^0.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
log-symbols@^5.1.0:
|
|
|
|
version "5.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-5.1.0.tgz#a20e3b9a5f53fac6aeb8e2bb22c07cf2c8f16d93"
|
|
|
|
integrity sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==
|
|
|
|
dependencies:
|
|
|
|
chalk "^5.0.0"
|
|
|
|
is-unicode-supported "^1.1.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
log-update@^2.3.0:
|
|
|
|
version "2.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708"
|
|
|
|
integrity sha512-vlP11XfFGyeNQlmEn9tJ66rEW1coA/79m5z6BCkudjbAGE83uhAcGYrBFwfs3AdLiLzGRusRPAbSPK9xZteCmg==
|
|
|
|
dependencies:
|
|
|
|
ansi-escapes "^3.0.0"
|
|
|
|
cli-cursor "^2.0.0"
|
|
|
|
wrap-ansi "^3.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
lowercase-keys@2.0.0, lowercase-keys@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
|
|
|
|
integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
lowercase-keys@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2"
|
|
|
|
integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
lru-cache@^5.1.1:
|
|
|
|
version "5.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
|
|
|
|
integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==
|
|
|
|
dependencies:
|
|
|
|
yallist "^3.0.2"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
lru-cache@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
|
|
|
|
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
|
|
|
|
dependencies:
|
|
|
|
yallist "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
lru-cache@^7.5.1:
|
|
|
|
version "7.18.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89"
|
|
|
|
integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
make-dir@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e"
|
|
|
|
integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
semver "^7.5.3"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
make-error@1.x, make-error@^1.1.1:
|
2021-12-01 20:32:20 +00:00
|
|
|
version "1.3.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
|
|
|
|
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
makeerror@1.0.12:
|
|
|
|
version "1.0.12"
|
|
|
|
resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a"
|
|
|
|
integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==
|
|
|
|
dependencies:
|
|
|
|
tmpl "1.0.5"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
meow@^12.0.1:
|
|
|
|
version "12.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/meow/-/meow-12.1.1.tgz#e558dddbab12477b69b2e9a2728c327f191bace6"
|
|
|
|
integrity sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
merge-stream@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
|
|
|
|
integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
|
|
|
|
|
|
|
|
merge2@^1.3.0, merge2@^1.4.1:
|
|
|
|
version "1.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
|
|
|
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
|
|
|
|
|
|
|
micromatch@^4.0.4:
|
|
|
|
version "4.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
|
|
|
|
integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==
|
|
|
|
dependencies:
|
|
|
|
braces "^3.0.2"
|
|
|
|
picomatch "^2.3.1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
mimic-fn@^1.0.0:
|
|
|
|
version "1.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
|
|
|
|
integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
mimic-fn@^2.1.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
|
|
|
|
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
mimic-fn@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc"
|
|
|
|
integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
mimic-response@^1.0.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
|
|
|
|
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
|
|
|
|
|
2021-12-01 20:39:02 +00:00
|
|
|
mimic-response@^3.1.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
|
|
|
|
integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
mimic-response@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-4.0.0.tgz#35468b19e7c75d10f5165ea25e75a5ceea7cf70f"
|
|
|
|
integrity sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
|
2022-12-18 15:27:03 +00:00
|
|
|
version "3.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
|
|
|
|
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
brace-expansion "^1.1.7"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
minimatch@^9.0.0:
|
|
|
|
version "9.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
|
|
|
|
integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
brace-expansion "^2.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
minimist@^1.2.0:
|
|
|
|
version "1.2.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
|
|
|
|
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
ms@2.1.2:
|
|
|
|
version "2.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
|
|
|
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
mute-stream@0.0.7:
|
|
|
|
version "0.0.7"
|
|
|
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
|
|
|
|
integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==
|
|
|
|
|
|
|
|
mute-stream@0.0.8:
|
|
|
|
version "0.0.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
|
|
|
|
integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
mute-stream@1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e"
|
|
|
|
integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
natural-compare@^1.4.0:
|
|
|
|
version "1.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
new-github-release-url@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/new-github-release-url/-/new-github-release-url-2.0.0.tgz#335189b91f52bbb9569042a7485900a205a0500b"
|
|
|
|
integrity sha512-NHDDGYudnvRutt/VhKFlX26IotXe1w0cmkDm6JGquh5bz/bDTw0LufSmH/GxTjEdpHEO+bVKFTwdrcGa/9XlKQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
type-fest "^2.5.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
node-int64@^0.4.0:
|
|
|
|
version "0.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
|
|
|
|
integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
node-releases@^2.0.13:
|
|
|
|
version "2.0.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d"
|
|
|
|
integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
normalize-package-data@^3.0.2:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "3.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e"
|
|
|
|
integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==
|
|
|
|
dependencies:
|
|
|
|
hosted-git-info "^4.0.1"
|
|
|
|
is-core-module "^2.5.0"
|
|
|
|
semver "^7.3.4"
|
|
|
|
validate-npm-package-license "^3.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
normalize-path@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
|
|
|
|
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
|
|
|
|
|
|
|
|
normalize-url@^6.0.1:
|
|
|
|
version "6.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a"
|
|
|
|
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
normalize-url@^8.0.0:
|
|
|
|
version "8.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-8.0.0.tgz#593dbd284f743e8dcf6a5ddf8fadff149c82701a"
|
|
|
|
integrity sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
np@^8.0.0:
|
|
|
|
version "8.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/np/-/np-8.0.4.tgz#67d68e95cf443ddff5b3aed3ceb0c2a03375be38"
|
|
|
|
integrity sha512-a4s1yESHcIwsrk/oaTekfbhb1R/2z2yyfVLX6Atl54w/9+QR01qeYyK3vMWgJ0UY+kYsGzQXausgvUX0pkmIMg==
|
|
|
|
dependencies:
|
|
|
|
chalk "^5.2.0"
|
|
|
|
cosmiconfig "^8.1.3"
|
|
|
|
del "^7.0.0"
|
|
|
|
escape-goat "^4.0.0"
|
|
|
|
escape-string-regexp "^5.0.0"
|
|
|
|
execa "^7.1.1"
|
|
|
|
exit-hook "^3.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
github-url-from-git "^1.5.0"
|
2023-09-11 20:31:50 +01:00
|
|
|
has-yarn "^3.0.0"
|
|
|
|
hosted-git-info "^6.1.1"
|
|
|
|
ignore-walk "^6.0.3"
|
|
|
|
import-local "^3.1.0"
|
|
|
|
inquirer "^9.2.6"
|
|
|
|
is-installed-globally "^0.4.0"
|
|
|
|
is-interactive "^2.0.0"
|
|
|
|
is-scoped "^3.0.0"
|
|
|
|
issue-regex "^4.1.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
listr "^0.14.3"
|
|
|
|
listr-input "^0.2.1"
|
2023-09-11 20:31:50 +01:00
|
|
|
log-symbols "^5.1.0"
|
|
|
|
meow "^12.0.1"
|
|
|
|
new-github-release-url "^2.0.0"
|
|
|
|
npm-name "^7.1.0"
|
|
|
|
onetime "^6.0.0"
|
|
|
|
open "^9.1.0"
|
|
|
|
ow "^1.1.1"
|
|
|
|
p-memoize "^7.1.1"
|
|
|
|
p-timeout "^6.1.1"
|
|
|
|
path-exists "^5.0.0"
|
|
|
|
pkg-dir "^7.0.0"
|
|
|
|
read-pkg-up "^9.1.0"
|
|
|
|
rxjs "^7.8.1"
|
|
|
|
semver "^7.5.1"
|
|
|
|
symbol-observable "^4.0.0"
|
|
|
|
terminal-link "^3.0.0"
|
|
|
|
update-notifier "^6.0.2"
|
|
|
|
|
|
|
|
npm-name@^7.1.0:
|
|
|
|
version "7.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/npm-name/-/npm-name-7.1.0.tgz#03fba1e9fe9d239de8c8c40abd6a37a90e9571f9"
|
|
|
|
integrity sha512-0Sxf+7tQUOkQ9HuYVSdvq7gZNAOPp1ZJjHiKzpJhsQw9m1YjNfARC0SxWuuUWefChsbvu+DWrwWFfGQWLHmLjg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
got "^11.8.5"
|
|
|
|
is-name-taken "^2.0.0"
|
|
|
|
is-scoped "^3.0.0"
|
|
|
|
is-url-superb "^6.1.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
lodash.zip "^4.2.0"
|
|
|
|
org-regex "^1.0.0"
|
2023-09-11 20:31:50 +01:00
|
|
|
p-map "^5.5.0"
|
|
|
|
registry-auth-token "^4.2.2"
|
|
|
|
registry-url "^6.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
validate-npm-package-name "^3.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
npm-run-path@^4.0.1:
|
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"
|
|
|
|
integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==
|
|
|
|
dependencies:
|
|
|
|
path-key "^3.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
npm-run-path@^5.1.0:
|
|
|
|
version "5.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.1.0.tgz#bc62f7f3f6952d9894bd08944ba011a6ee7b7e00"
|
|
|
|
integrity sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==
|
|
|
|
dependencies:
|
|
|
|
path-key "^4.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
number-is-nan@^1.0.0:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
|
|
|
|
integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==
|
|
|
|
|
|
|
|
object-assign@^4.1.0:
|
|
|
|
version "4.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
|
|
|
|
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
once@^1.3.0, once@^1.3.1, once@^1.4.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "1.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
|
|
|
wrappy "1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
onetime@^2.0.0:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
|
|
|
|
integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==
|
|
|
|
dependencies:
|
|
|
|
mimic-fn "^1.0.0"
|
|
|
|
|
|
|
|
onetime@^5.1.0, onetime@^5.1.2:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "5.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e"
|
|
|
|
integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==
|
|
|
|
dependencies:
|
|
|
|
mimic-fn "^2.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
onetime@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4"
|
|
|
|
integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
mimic-fn "^4.0.0"
|
|
|
|
|
|
|
|
open@^9.1.0:
|
|
|
|
version "9.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/open/-/open-9.1.0.tgz#684934359c90ad25742f5a26151970ff8c6c80b6"
|
|
|
|
integrity sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==
|
|
|
|
dependencies:
|
|
|
|
default-browser "^4.0.0"
|
|
|
|
define-lazy-prop "^3.0.0"
|
|
|
|
is-inside-container "^1.0.0"
|
|
|
|
is-wsl "^2.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
optionator@^0.9.3:
|
|
|
|
version "0.9.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64"
|
|
|
|
integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-09-13 11:50:44 +01:00
|
|
|
"@aashutoshrathi/word-wrap" "^1.2.3"
|
2021-06-19 16:13:27 +01:00
|
|
|
deep-is "^0.1.3"
|
|
|
|
fast-levenshtein "^2.0.6"
|
|
|
|
levn "^0.4.1"
|
|
|
|
prelude-ls "^1.2.1"
|
|
|
|
type-check "^0.4.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ora@^5.4.1:
|
|
|
|
version "5.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18"
|
|
|
|
integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==
|
|
|
|
dependencies:
|
|
|
|
bl "^4.1.0"
|
|
|
|
chalk "^4.1.0"
|
|
|
|
cli-cursor "^3.1.0"
|
|
|
|
cli-spinners "^2.5.0"
|
|
|
|
is-interactive "^1.0.0"
|
|
|
|
is-unicode-supported "^0.1.0"
|
|
|
|
log-symbols "^4.1.0"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
wcwidth "^1.0.1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
org-regex@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/org-regex/-/org-regex-1.0.0.tgz#67ebb9ab3cb124fea5841289d60b59434f041a59"
|
|
|
|
integrity sha512-7bqkxkEJwzJQUAlyYniqEZ3Ilzjh0yoa62c7gL6Ijxj5bEpPL+8IE1Z0PFj0ywjjXQcdrwR51g9MIcLezR0hKQ==
|
|
|
|
|
|
|
|
os-tmpdir@~1.0.2:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
|
|
|
integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
ow@^1.1.1:
|
|
|
|
version "1.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ow/-/ow-1.1.1.tgz#354a0f7df9d8d0cf961b29116daf972ef6be1632"
|
|
|
|
integrity sha512-sJBRCbS5vh1Jp9EOgwp1Ws3c16lJrUkJYlvWTYC03oyiYVwS/ns7lKRWow4w4XjDyTrA2pplQv4B2naWSR6yDA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
"@sindresorhus/is" "^5.3.0"
|
|
|
|
callsites "^4.0.0"
|
|
|
|
dot-prop "^7.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
lodash.isequal "^4.5.0"
|
|
|
|
vali-date "^1.0.0"
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
p-cancelable@2.1.1:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf"
|
|
|
|
integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
p-cancelable@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050"
|
|
|
|
integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-limit@^2.2.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "2.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1"
|
|
|
|
integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==
|
|
|
|
dependencies:
|
|
|
|
p-try "^2.0.0"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
p-limit@^3.0.2, p-limit@^3.1.0:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
|
|
|
|
integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==
|
|
|
|
dependencies:
|
|
|
|
yocto-queue "^0.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-limit@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644"
|
|
|
|
integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==
|
|
|
|
dependencies:
|
|
|
|
yocto-queue "^1.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
p-locate@^4.1.0:
|
|
|
|
version "4.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
|
|
|
|
integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
|
|
|
|
dependencies:
|
|
|
|
p-limit "^2.2.0"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
p-locate@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834"
|
|
|
|
integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==
|
|
|
|
dependencies:
|
|
|
|
p-limit "^3.0.2"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-locate@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f"
|
|
|
|
integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==
|
|
|
|
dependencies:
|
|
|
|
p-limit "^4.0.0"
|
|
|
|
|
|
|
|
p-lock@^2.0.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-lock/-/p-lock-2.1.0.tgz#6f9dbc55d3aac5b0f75c8ec47f3a6f1b954135f8"
|
|
|
|
integrity sha512-pi2yT8gNhVrV4LgsUvJWQy58TXH1HG2+NXDby9+UrsS/9fXb0FJH9aCxbdHJ0EAQ6XC7ggSP6GAzuR5puDArUQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
p-map@^2.0.0:
|
|
|
|
version "2.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175"
|
|
|
|
integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-map@^5.5.0:
|
|
|
|
version "5.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-map/-/p-map-5.5.0.tgz#054ca8ca778dfa4cf3f8db6638ccb5b937266715"
|
|
|
|
integrity sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
aggregate-error "^4.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-memoize@^7.1.1:
|
|
|
|
version "7.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-memoize/-/p-memoize-7.1.1.tgz#53b1d0e6007288f7261cfa11a7603b84c9261bfa"
|
|
|
|
integrity sha512-DZ/bONJILHkQ721hSr/E9wMz5Am/OTJ9P6LhLFo2Tu+jL8044tgc9LwHO8g4PiaYePnlVVRAJcKmgy8J9MVFrA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
mimic-fn "^4.0.0"
|
|
|
|
type-fest "^3.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
p-timeout@^6.1.1:
|
|
|
|
version "6.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-6.1.2.tgz#22b8d8a78abf5e103030211c5fc6dee1166a6aa5"
|
|
|
|
integrity sha512-UbD77BuZ9Bc9aABo74gfXhNvzC9Tx7SxtHSh1fxvx3jTLLYvmVhiQZZrJzqqU0jKbN32kb5VOKiLEQI/3bIjgQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
p-try@^2.0.0:
|
|
|
|
version "2.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
|
|
|
|
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
package-json@^8.1.0:
|
|
|
|
version "8.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/package-json/-/package-json-8.1.1.tgz#3e9948e43df40d1e8e78a85485f1070bf8f03dc8"
|
|
|
|
integrity sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
got "^12.1.0"
|
|
|
|
registry-auth-token "^5.0.1"
|
|
|
|
registry-url "^6.0.0"
|
|
|
|
semver "^7.3.7"
|
|
|
|
|
|
|
|
package-name-conflict@^1.0.3:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/package-name-conflict/-/package-name-conflict-1.0.3.tgz#5147d35e8ae7f93401f1b3f9f3763c070463f25c"
|
|
|
|
integrity sha512-DPBNWSUWC0wPofXeNThao0uP4a93J7r90UyhagmJS0QcacTTkorZwXYsOop70phn1hKdcf/2e9lJIhazS8bx5A==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
parent-module@^1.0.0:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
|
|
|
|
integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==
|
|
|
|
dependencies:
|
|
|
|
callsites "^3.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
parse-json-object@^1.0.5:
|
|
|
|
version "1.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/parse-json-object/-/parse-json-object-1.1.0.tgz#eef60211cec368259723d8586ecec7252f8fcdb2"
|
|
|
|
integrity sha512-4w5s6uJY1tW9REY8UwUOyaZKSKsrbQrMEzlV/Le/g5t4iMWuuyK83pZZ0OZimSOL9iyv2ORvRSgz71Ekd7iD3g==
|
|
|
|
dependencies:
|
|
|
|
types-json "^1.0.6"
|
|
|
|
|
|
|
|
parse-json-object@^2.0.1:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/parse-json-object/-/parse-json-object-2.0.1.tgz#a441bd8c36d2c33a69516286e7e4138a23607ee0"
|
|
|
|
integrity sha512-/oF7PUUBjCqHmMEE6xIQeX5ZokQ9+miudACzPt4KBU2qi6CxZYPdisPXx4ad7wpZJYi2ZpcW2PacLTU3De3ebw==
|
|
|
|
dependencies:
|
|
|
|
types-json "^1.2.0"
|
|
|
|
|
|
|
|
parse-json@^5.2.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "5.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd"
|
|
|
|
integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==
|
|
|
|
dependencies:
|
|
|
|
"@babel/code-frame" "^7.0.0"
|
|
|
|
error-ex "^1.3.1"
|
|
|
|
json-parse-even-better-errors "^2.3.0"
|
|
|
|
lines-and-columns "^1.1.6"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
path-exists@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
|
|
|
|
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
path-exists@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7"
|
|
|
|
integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
path-is-absolute@^1.0.0:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
path-key@^3.0.0, path-key@^3.1.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
|
|
|
|
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
path-key@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18"
|
|
|
|
integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
path-parse@^1.0.7:
|
|
|
|
version "1.0.7"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
|
|
|
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
|
|
|
|
|
|
|
path-type@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
|
|
|
|
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
|
|
|
|
|
|
|
|
picocolors@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c"
|
|
|
|
integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
|
|
|
|
|
|
|
|
picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1:
|
|
|
|
version "2.3.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
|
|
|
|
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
|
|
|
|
|
|
|
|
pirates@^4.0.4:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "4.0.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9"
|
|
|
|
integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
pkg-dir@^4.2.0:
|
|
|
|
version "4.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
|
|
|
|
integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==
|
|
|
|
dependencies:
|
|
|
|
find-up "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
pkg-dir@^7.0.0:
|
|
|
|
version "7.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11"
|
|
|
|
integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
find-up "^6.3.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
prelude-ls@^1.2.1:
|
|
|
|
version "1.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
|
|
|
|
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
|
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
pretty-format@^29.0.0, pretty-format@^29.7.0:
|
|
|
|
version "29.7.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812"
|
|
|
|
integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
"@jest/schemas" "^29.6.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
ansi-styles "^5.0.0"
|
|
|
|
react-is "^18.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
progress@^2.0.3:
|
|
|
|
version "2.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
|
|
|
|
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
prompts@^2.0.1:
|
|
|
|
version "2.4.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069"
|
|
|
|
integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==
|
|
|
|
dependencies:
|
|
|
|
kleur "^3.0.3"
|
|
|
|
sisteransi "^1.0.5"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
proto-list@~1.2.1:
|
|
|
|
version "1.2.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
|
|
|
|
integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
pump@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
|
|
|
|
integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
|
|
|
|
dependencies:
|
|
|
|
end-of-stream "^1.1.0"
|
|
|
|
once "^1.3.1"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
punycode@^2.1.0:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "2.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f"
|
|
|
|
integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
pupa@^3.1.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/pupa/-/pupa-3.1.0.tgz#f15610274376bbcc70c9a3aa8b505ea23f41c579"
|
|
|
|
integrity sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
escape-goat "^4.0.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
pure-rand@^6.0.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "6.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.4.tgz#50b737f6a925468679bff00ad20eade53f37d5c7"
|
|
|
|
integrity sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==
|
2023-05-20 15:47:20 +01:00
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
queue-microtask@^1.2.2:
|
|
|
|
version "1.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
|
|
|
|
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
|
|
|
|
|
2021-12-01 20:39:02 +00:00
|
|
|
quick-lru@^5.1.1:
|
|
|
|
version "5.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
|
|
|
|
integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
rc@1.2.8:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "1.2.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
|
|
|
|
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
|
|
|
|
dependencies:
|
|
|
|
deep-extend "^0.6.0"
|
|
|
|
ini "~1.3.0"
|
|
|
|
minimist "^1.2.0"
|
|
|
|
strip-json-comments "~2.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
react-is@^18.0.0:
|
|
|
|
version "18.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
|
|
|
|
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
read-file-safe@^1.0.5:
|
|
|
|
version "1.0.10"
|
|
|
|
resolved "https://registry.yarnpkg.com/read-file-safe/-/read-file-safe-1.0.10.tgz#9ac9118f12cb122614612211f90dad9daf732e39"
|
|
|
|
integrity sha512-qW25fd2uMX3dV6Ui/R0jYK1MhTpjx8FO/VHaHTXzwWsGnkNwLRcqYfCXd9qDM+NZ273DPUvP2RaimYuLSu1K/g==
|
|
|
|
|
|
|
|
read-json-safe@^1.0.5:
|
|
|
|
version "1.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/read-json-safe/-/read-json-safe-1.0.5.tgz#c459443b8e6eb3a2672cf68ddc81d2f4ef95c8d7"
|
|
|
|
integrity sha512-SJyNY/U9+vW35FPus22Qvv1oilnR7PCfN2E70uKQEGaJS313A5/cz9Yhv7ZtWzZ+XIwrtEPxXf10BOyYemHehA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
parse-json-object "^1.0.5"
|
|
|
|
read-file-safe "^1.0.5"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
read-pkg-up@^9.1.0:
|
|
|
|
version "9.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-9.1.0.tgz#38ca48e0bc6c6b260464b14aad9bcd4e5b1fbdc3"
|
|
|
|
integrity sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
find-up "^6.3.0"
|
|
|
|
read-pkg "^7.1.0"
|
|
|
|
type-fest "^2.5.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
read-pkg@^7.1.0:
|
|
|
|
version "7.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-7.1.0.tgz#438b4caed1ad656ba359b3e00fd094f3c427a43e"
|
|
|
|
integrity sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
"@types/normalize-package-data" "^2.4.1"
|
|
|
|
normalize-package-data "^3.0.2"
|
|
|
|
parse-json "^5.2.0"
|
|
|
|
type-fest "^2.0.0"
|
|
|
|
|
|
|
|
readable-stream@^3.4.0:
|
|
|
|
version "3.6.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967"
|
|
|
|
integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
|
|
|
|
dependencies:
|
|
|
|
inherits "^2.0.3"
|
|
|
|
string_decoder "^1.1.1"
|
|
|
|
util-deprecate "^1.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
registry-auth-token@^4.2.2:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "4.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.2.tgz#f02d49c3668884612ca031419491a13539e21fac"
|
|
|
|
integrity sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg==
|
|
|
|
dependencies:
|
|
|
|
rc "1.2.8"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
registry-auth-token@^5.0.1:
|
|
|
|
version "5.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-5.0.2.tgz#8b026cc507c8552ebbe06724136267e63302f756"
|
|
|
|
integrity sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
"@pnpm/npm-conf" "^2.1.0"
|
|
|
|
|
|
|
|
registry-url@^6.0.0, registry-url@^6.0.1:
|
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-6.0.1.tgz#056d9343680f2f64400032b1e199faa692286c58"
|
|
|
|
integrity sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q==
|
|
|
|
dependencies:
|
|
|
|
rc "1.2.8"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
require-directory@^2.1.1:
|
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
|
|
|
|
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
|
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
resolve-alpn@^1.2.0:
|
2021-12-01 20:39:02 +00:00
|
|
|
version "1.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9"
|
|
|
|
integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
resolve-cwd@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d"
|
|
|
|
integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==
|
|
|
|
dependencies:
|
|
|
|
resolve-from "^5.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
resolve-from@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
|
|
|
|
integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
resolve-from@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
|
|
|
|
integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==
|
|
|
|
|
|
|
|
resolve.exports@^2.0.0:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800"
|
|
|
|
integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
resolve@^1.20.0:
|
2023-10-16 19:15:47 +01:00
|
|
|
version "1.22.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.6.tgz#dd209739eca3aef739c626fea1b4f3c506195362"
|
|
|
|
integrity sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-10-16 19:15:47 +01:00
|
|
|
is-core-module "^2.13.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
path-parse "^1.0.7"
|
|
|
|
supports-preserve-symlinks-flag "^1.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
responselike@2.0.1, responselike@^2.0.0:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc"
|
|
|
|
integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==
|
|
|
|
dependencies:
|
|
|
|
lowercase-keys "^2.0.0"
|
2021-12-01 20:39:02 +00:00
|
|
|
|
Update dependency got to v13 (#66)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [got](https://github.com/sindresorhus/got) | resolutions | major | [`^11.8.5` -> `^13.0.0`](https://renovatebot.com/diffs/npm/got/11.8.6/13.0.0) |
---
### Release Notes
<details>
<summary>sindresorhus/got</summary>
### [`v13.0.0`](https://github.com/sindresorhus/got/releases/tag/v13.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.1...v13.0.0)
As a reminder, Got continues to require ESM. For TypeScript users, this includes having [`"module": "node16", "moduleResolution": "node16"` in your tsconfig](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm).
##### Breaking
- Require Node.js 16 [`52a1063`](https://github.com/sindresorhus/got/commit/52a1063)
- Change the [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option to be `false` by default [`852c312`](https://github.com/sindresorhus/got/commit/852c312)
- Most users don't need it.
##### Improvements
- Allow specifying `undefined` for options ([#​2258](https://github.com/sindresorhus/got/issues/2258)) [`1cefe8b`](https://github.com/sindresorhus/got/commit/1cefe8b)
### [`v12.6.1`](https://github.com/sindresorhus/got/releases/tag/v12.6.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.6.0...v12.6.1)
- Fix `get-stream` import statement ([#​2266](https://github.com/sindresorhus/got/issues/2266)) [`67d5039`](https://github.com/sindresorhus/got/commit/67d5039)
### [`v12.6.0`](https://github.com/sindresorhus/got/releases/tag/v12.6.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.3...v12.6.0)
- Update dependencies [`88c88fb`](https://github.com/sindresorhus/got/commit/88c88fb) [`979272e`](https://github.com/sindresorhus/got/commit/979272e)
- Loosen URL validation strictness ([#​2200](https://github.com/sindresorhus/got/issues/2200)) [`0ca0b7f`](https://github.com/sindresorhus/got/commit/0ca0b7f)
### [`v12.5.3`](https://github.com/sindresorhus/got/releases/tag/v12.5.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.2...v12.5.3)
- Fix abort event listeners not always being cleaned up ([#​2162](https://github.com/sindresorhus/got/issues/2162)) [`3cc40b5`](https://github.com/sindresorhus/got/commit/3cc40b5)
### [`v12.5.2`](https://github.com/sindresorhus/got/releases/tag/v12.5.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.1...v12.5.2)
- Improve TypeScript 4.9 compatibility ([#​2163](https://github.com/sindresorhus/got/issues/2163)) [`39f83b6`](https://github.com/sindresorhus/got/commit/39f83b6)
### [`v12.5.1`](https://github.com/sindresorhus/got/releases/tag/v12.5.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.5.0...v12.5.1)
- Fix compatibility with TypeScript and ESM [`3b3ea67`](https://github.com/sindresorhus/got/commit/3b3ea67)
- Fix request body not being properly cached ([#​2150](https://github.com/sindresorhus/got/issues/2150)) [`3e9d3af`](https://github.com/sindresorhus/got/commit/3e9d3af)
### [`v12.5.0`](https://github.com/sindresorhus/got/releases/tag/v12.5.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.1...v12.5.0)
- Disable method rewriting on 307 and 308 status codes ([#​2145](https://github.com/sindresorhus/got/issues/2145)) [`e049e94`](https://github.com/sindresorhus/got/commit/e049e94)
- Upgrade dependencies [`8630815`](https://github.com/sindresorhus/got/commit/8630815) [`f0ac0b3`](https://github.com/sindresorhus/got/commit/f0ac0b3) [`4c3762a`](https://github.com/sindresorhus/got/commit/4c3762a)
### [`v12.4.1`](https://github.com/sindresorhus/got/releases/tag/v12.4.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.4.0...v12.4.1)
##### Fixes
- Fix `options.context` being not extensible [`b671480`](https://github.com/sindresorhus/got/commit/b671480715dbbff908e9a385f5e714570c663cd7)
- Don't emit `uploadProgress` after promise cancelation [`693de21`](https://github.com/sindresorhus/got/commit/693de217b030816f574d6e4cb505ee2e77b21c29)
### [`v12.4.0`](https://github.com/sindresorhus/got/releases/tag/v12.4.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.1...v12.4.0)
##### Improvements
- Support FormData without known length ([#​2120](https://github.com/sindresorhus/got/issues/2120)) [`850773c`](https://github.com/sindresorhus/got/commit/850773c)
##### Fixes
- Don't call `beforeError` hooks with `HTTPError` if the `throwHttpErrors` option is `false` ([#​2104](https://github.com/sindresorhus/got/issues/2104)) [`3927348`](https://github.com/sindresorhus/got/commit/3927348)
### [`v12.3.1`](https://github.com/sindresorhus/got/releases/tag/v12.3.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.3.0...v12.3.1)
- Don't freeze signal when freezing Options ([#​2100](https://github.com/sindresorhus/got/issues/2100)) [`43b1467`](https://github.com/sindresorhus/got/commit/43b1467)
### [`v12.3.0`](https://github.com/sindresorhus/got/releases/tag/v12.3.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.2.0...v12.3.0)
- Add `.off()` method for events ([#​2092](https://github.com/sindresorhus/got/issues/2092)) [`88056be`](https://github.com/sindresorhus/got/commit/88056be)
### [`v12.2.0`](https://github.com/sindresorhus/got/releases/tag/v12.2.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.1.0...v12.2.0)
- [Support `AbortController`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#signal) ([#​2020](https://github.com/sindresorhus/got/issues/2020)) [`6a6d2a9`](https://github.com/sindresorhus/got/commit/6a6d2a9)
- Add [`enableUnixSockets`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#enableunixsockets) option ([#​2062](https://github.com/sindresorhus/got/issues/2062)) [`461b3d4`](https://github.com/sindresorhus/got/commit/461b3d4)
### [`v12.1.0`](https://github.com/sindresorhus/got/releases/tag/v12.1.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.4...v12.1.0)
##### Improvements
- Add `response.ok` ([#​2043](https://github.com/sindresorhus/got/issues/2043)) [`22d58fb`](https://github.com/sindresorhus/got/commit/22d58fb)
- This is only useful if you have [`{throwHttpErrors: false}`](https://github.com/sindresorhus/got/blob/main/documentation/2-options.md#throwhttperrors)
##### Fixes
- Do not redirect to UNIX sockets ([#​2047](https://github.com/sindresorhus/got/issues/2047)) [`861ccd9`](https://github.com/sindresorhus/got/commit/861ccd9)
- [CVE-2022-33987](https://nvd.nist.gov/vuln/detail/CVE-2022-33987)
- [Also back ported to v11](https://github.com/sindresorhus/got/releases/tag/v11.8.5)
### [`v12.0.4`](https://github.com/sindresorhus/got/releases/tag/v12.0.4)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.3...v12.0.4)
- Remove stream lock - unreliable since Node 17.3.0 [`bb8eca9`](https://github.com/sindresorhus/got/commit/bb8eca924c338ca12d5b90d6a26aa28dbddb42ee)
### [`v12.0.3`](https://github.com/sindresorhus/got/releases/tag/v12.0.3)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.2...v12.0.3)
- Allow more types in the `json` option ([#​2015](https://github.com/sindresorhus/got/issues/2015)) [`eb045bf`](https://github.com/sindresorhus/got/commit/eb045bf)
### [`v12.0.2`](https://github.com/sindresorhus/got/releases/tag/v12.0.2)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.1...v12.0.2)
- Fix `encoding` option with `{responseType: 'json'}` ([#​1996](https://github.com/sindresorhus/got/issues/1996)) [`0703318`](https://github.com/sindresorhus/got/commit/0703318)
### [`v12.0.1`](https://github.com/sindresorhus/got/releases/tag/v12.0.1)
[Compare Source](https://github.com/sindresorhus/got/compare/v12.0.0...v12.0.1)
- Fix `nock` compatibility ([#​1959](https://github.com/sindresorhus/got/issues/1959)) [`bf39d2c`](https://github.com/sindresorhus/got/commit/bf39d2c)
- Fix missing export of `Request` TypeScript type ([#​1940](https://github.com/sindresorhus/got/issues/1940)) [`0f9f2b8`](https://github.com/sindresorhus/got/commit/0f9f2b8)
### [`v12.0.0`](https://github.com/sindresorhus/got/releases/tag/v12.0.0)
[Compare Source](https://github.com/sindresorhus/got/compare/v11.8.6...v12.0.0)
##### Introducing Got v12.0.0 :tada:
Long time no see! The latest Got version (v11.8.2) was released just in February ❄️
We have been working hard on squashing bugs and improving overall experience.
If you find Got useful, you might want to [sponsor the Got maintainers](https://github.com/sindresorhus/got?sponsor=1).
##### This package is now pure ESM
**Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** Also see https://github.com/sindresorhus/got/issues/1789.
- **Please don't open issues about `[ERR_REQUIRE_ESM]` and `Must use import to load ES Module` errors.** This is a problem with your setup, not Got.
- Please don't open issues about using Got with Jest. Jest does not fully support ESM.
- Pretty much any problem with loading this package is a problem with your bundler, test framework, etc, not Got.
- If you use TypeScript, you will want to stay on Got v11 until TypeScript 4.6 is out. [Why.](https://github.com/microsoft/TypeScript/issues/46452)
- If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
- The Got issue tracker is not a support channel for your favorite build/bundler tool.
##### Required Node.js >=14
While working with streams, we encountered more Node.js bugs that needed workarounds.
In order to keep our code clean, we had to drop Node.js v12 as the code would get more messy.
We strongly recommend that you update Node.js to **v14 LTS**.
##### HTTP/2 support
Every Node.js release, the native `http2` module gets more stable.
Unfortunately there are still some issues on the Node.js side, so we decided to keep HTTP/2 disabled for now.
We may enable it by default in Got v13. It is still possible to turn it on via the `http2` option.
To run HTTP/2 requests, it is required to use Node.js **v15.10** or above.
##### Bug fixes
Woah, we possibly couldn't make a release if we didn't fix some bugs!
- Do not throw on custom stack traces ([#​1491](https://github.com/sindresorhus/got/issues/1491)) [`49c16ee`](https://github.com/sindresorhus/got/commit/49c16ee54fb19ea7aa77e24ac8c2b602f0aad265)
- Remove automatic `content-length` on ReadStream ([#​1510](https://github.com/sindresorhus/got/issues/1510)) [`472b8ef`](https://github.com/sindresorhus/got/commit/472b8ef9d9fc7713b740981a8b1103a7a9111b26)
- Fix promise shortcuts in case of error status code ([#​1543](https://github.com/sindresorhus/got/issues/1543)) [`ff918fb`](https://github.com/sindresorhus/got/commit/ff918fb6dedb6d8b23421497ec890d43f45121b7) [`1107cc6`](https://github.com/sindresorhus/got/commit/1107cc625e4cc469276483316c48896a21f6251a)
- Invert the `methodRewriting` option [`51d88a0`](https://github.com/sindresorhus/got/commit/51d88a0efed56760d116c5b911cea71e3265c787)
- Fix `url` not being reused on retry in rare case ([#​1487](https://github.com/sindresorhus/got/issues/1487)) [`462bc63`](https://github.com/sindresorhus/got/commit/462bc630015064fa4ad4358cf28d24f95e1c958b)
- Fix hanging promise on HTTP/2 timeout ([#​1492](https://github.com/sindresorhus/got/issues/1492)) [`a59fac4`](https://github.com/sindresorhus/got/commit/a59fac415ac013a48b1d514837628a5cf81d6878)
- Prevent uncaught ParseErrors on initial successful response ([#​1527](https://github.com/sindresorhus/got/issues/1527)) [`77df9c3`](https://github.com/sindresorhus/got/commit/77df9c33db5ba3126f54317171e1cfcfceefc3d5)
- Throw an error when retrying with consumed body ([#​1507](https://github.com/sindresorhus/got/issues/1507)) [`62305d7`](https://github.com/sindresorhus/got/commit/62305d77d3428b5c714d21b4bbee68cc75b5f787)
- Fix a Node.js 16 bug that hangs Got streams [`06a2d3d`](https://github.com/sindresorhus/got/commit/06a2d3d7d8d4fcc6898b6364d1a18ca1d407092b)
- Fix default pagination handling for empty Link header ([#​1768](https://github.com/sindresorhus/got/issues/1768)) [`1e1e506`](https://github.com/sindresorhus/got/commit/1e1e50647e93d038a4cc6a9bbbfbf61165d8fd39)
- Fix incorrect `response.complete` when using cache [`9e15d88`](https://github.com/sindresorhus/got/commit/9e15d887da3b065940bbc8ca38f9c748a0bbc75e)
- Fix `Cannot call end` error when `request` returns a `Writable` [`226cc39`](https://github.com/sindresorhus/got/commit/226cc3995f6e16938163ebde24d8762e7dcd15e2)
- Fix Request options not being reused on retry [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix types being not compatible with CommonJS [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Fix `got.paginate does not call init hooks` ([#​1574](https://github.com/sindresorhus/got/issues/1574)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Generate a new object when passing options to the native `https` module ([#​1567](https://github.com/sindresorhus/got/issues/1567)) [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Remove stream reuse check ([#​1803](https://github.com/sindresorhus/got/issues/1803)) [`9ecc5ee`](https://github.com/sindresorhus/got/commit/9ecc5ee76f77aafd5100520d9d8789c491c8fb24)
- Fix merging `searchParams` ([#​1814](https://github.com/sindresorhus/got/issues/1814)) [`1018c20`](https://github.com/sindresorhus/got/commit/1018c2029eea1f5b75b5120265996f1c0b3c12ae) [`732e9bd`](https://github.com/sindresorhus/got/commit/732e9bd9406ba1c3dd64b445264e891f33fc0254)
- Fix unhandled exception when lookup returns invalid IP early ([#​1737](https://github.com/sindresorhus/got/issues/1737)) [`2453e5e`](https://github.com/sindresorhus/got/commit/2453e5e4213fe036a0108de3e4db414dcf2b4c30)
- Fix relative URLs when paginating [`439fb82`](https://github.com/sindresorhus/got/commit/439fb82d2a07cece417a18c47e37cfdeaaf38db7)
- Require url to be an instance of URL when paginating ([#​1818](https://github.com/sindresorhus/got/issues/1818)) [`eda69ff`](https://github.com/sindresorhus/got/commit/eda69ff924a621e499d31cbc590993a32ddb48d3)
- Fix `username` and `password` encoding in URL ([#​1169](https://github.com/sindresorhus/got/issues/1169) [#​1317](https://github.com/sindresorhus/got/issues/1317)) [`d65d0ca`](https://github.com/sindresorhus/got/commit/d65d0caf627e8d1f5367db34d7d9b55d332c1efb)
- Clone raw options [`1c4cefc`](https://github.com/sindresorhus/got/commit/1c4cefc9b49f891712c3758f853d8c6214a1c904)
- Fix invalid `afterResponse` return check [`cbc8902`](https://github.com/sindresorhus/got/commit/cbc8902)
- Fix `https.alpnProtocols` not having an effect [`e1099fb`](https://github.com/sindresorhus/got/commit/e1099fb)
##### Improvements
- Make the `context` option mergeable ([#​1459](https://github.com/sindresorhus/got/issues/1459)) [`2b8ed1f`](https://github.com/sindresorhus/got/commit/2b8ed1f5a185f30603d24e2ceb8181782de3bc5a)
- Add generic argument to AfterResponseHook TypeScript type ([#​1589](https://github.com/sindresorhus/got/issues/1589)) [`6fc04a9`](https://github.com/sindresorhus/got/commit/6fc04a9b92f07b07b9fba010f2231a90082a039b)
- Add read timeout ([#​1518](https://github.com/sindresorhus/got/issues/1518)) [`e943672`](https://github.com/sindresorhus/got/commit/e9436720fcb32b77d39d5477b420b18083e41c02) *(blocked by https://github.com/nodejs/node/issues/35923)*
- Improve the pagination API ([#​1644](https://github.com/sindresorhus/got/issues/1644)) [`2675046`](https://github.com/sindresorhus/got/commit/2675046a83c7f03613f553a8da2912d491be900d)
- Change the stackAllItems option to be false by default ([#​1645](https://github.com/sindresorhus/got/issues/1645)) [`1120370`](https://github.com/sindresorhus/got/commit/1120370e05fd8d9e768677d8474d0c82cf91a6a6)
- Throw when afterResponse hook returns an invalid value [`4f21eb3`](https://github.com/sindresorhus/got/commit/4f21eb3db705c90797ef8ee1503704f78fea3c1b)
- Add `retry.backoffLimit` option [`41c4136`](https://github.com/sindresorhus/got/commit/41c4136632b9391adb3ac53332b312089bc4dc16)
- Add `noise` retry option [`e830077`](https://github.com/sindresorhus/got/commit/e83007704670b5f567ca338c156441f6c569ecb5)
- Enable more HTTPS options [`83575d5`](https://github.com/sindresorhus/got/commit/83575d590a119027d319bd9208681973087564a9) [`fe723a0`](https://github.com/sindresorhus/got/commit/fe723a0477dc02785a0b477e3d5f85d0233e5b84) (thanks [@​Giotino](https://github.com/Giotino))
- Define `error.code` [`f27e8d3`](https://github.com/sindresorhus/got/commit/f27e8d331627074e76e4a9ec85a2c8d0a0625e5f)
- Set `options.url` even if some options are invalid [`8d6a680`](https://github.com/sindresorhus/got/commit/8d6a6807883323a83ea5f126ca56b55d9ce5f299)
- Improve memory usage when merging options [`2db5ec5`](https://github.com/sindresorhus/got/commit/2db5ec5d366efbbf9e0838eabfa6be774a0518a0)
- Support async generators as body [`854430f`](https://github.com/sindresorhus/got/commit/854430f01350811fe8a0ccf20cd820aabfbd3926) [`3df52f3`](https://github.com/sindresorhus/got/commit/3df52f38edbadb45158c37d499817bc5486989c6)
- Add missing `once` types for Stream API [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- New error type: `RetryError` which always triggers a new retry when thrown [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `error.options` is now enumerable [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- `defaults.handlers` don't need a default handler now [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- Add a parser for the `Link` header [`3c23eea`](https://github.com/sindresorhus/got/commit/3c23eea5a096f6f8ea0edf3e2a27e1caca88acf9)
- General code improvements [`a5dd9aa`](https://github.com/sindresorhus/got/commit/a5dd9aa37e7891b2620798560799c7f8bd380877)
##### Breaking changes
##### Improved option normalization
- Got exports an `Option` class that is specifically designed to parse and validate Got options.
It is made of setters and getters that provide fast normalization and more consistent behavior.
When passing an option does not exist, Got will throw an error. In order to retrieve the options before the error, use `error.options`.
```js
import got from 'got';
try {
await got('https://httpbin.org/anything', {
thisOptionDoesNotExist: true
});
} catch (error) {
console.error(error);
console.error(error.options.url.href);
// Unexpected option: thisOptionDoesNotExist
// https://httpbin.org/anything
}
```
- The `init` hook now accepts a second argument: `self`, which points to an `Options` instance.
In order to define your own options, you have to move them to `options.context` in an [`init` hook](https://github.com/sindresorhus/got/blob/main/documentation/lets-make-a-plugin.md#authorization) or store them in `options.context` directly.
- The `init` hooks are ran only when passing an options object explicitly.
```diff
- await got('https://example.com'); // this will *not* trigger the init hooks
+ await got('https://example.com', {}); // this *will** trigger init hooks
```
- [`options.merge()`](2-options.md) replaced `got.mergeOptions` and `Request.normalizeArguments`
```diff
- got.defaults.options = got.mergeOptions(got.defaults.options, {…});
+ got.defaults.options.merge(…);
```
This fixes issues like [#​1450](https://github.com/sindresorhus/got/issues/1450)
- Legacy `Url` instances are not supported anymore. You need to use WHATWG URL instead.
```diff
- await got(string, {port: 8443});
+ const url = new URL(string);
+ url.port = 8443;
+ await got(url);
```
- No implicit timeout declaration.
```diff
- await got('https://example.com', {timeout: 5000})
+ await got('https://example.com', {timeout: {request: 5000})
```
- No implicit retry declaration.
```diff
- await got('https://example.com', {retry: 5})
+ await got('https://example.com', {retry: {limit: 5})
```
- `dnsLookupIpVersion` is now a number (4 or 6) or undefined
```diff
- await got('https://example.com', {dnsLookupIpVersion: 'ipv4'})
+ await got('https://example.com', {dnsLookupIpVersion: 4})
```
- `redirectUrls` and `requestUrl` now give URL instances
```diff
- request.requestUrl
+ request.requestUrl.origin
+ request.requestUrl.href
+ request.requestUrl.toString()
```
```diff
- request.redirectUrls[0]
+ request.redirectUrls[0].origin
+ request.redirectUrls[0].href
+ request.redirectUrls[0].toString()
```
- Renamed `request.aborted` to `request.isAborted`
```diff
- request.aborted
+ request.isAborted
```
Reason: consistency with `options.isStream`.
- Renamed the `lookup` option to `dnsLookup`
```diff
- await got('https://example.com', {lookup: cacheable.lookup})
+ await got('https://example.com', {dnsLookup: cacheable.lookup})
```
- The `beforeRetry` hook now accepts only two arguments: `error` and `retryCount`
```diff
await got('https://example.com', {
hooks: {
beforeRetry: [
- (options, error, retryCount) => {
- console.log(options, error, retryCount);
- }
+ (error, retryCount) => {
+ console.log(error.options, error, retryCount);
+ }
]
}
})
```
The `options` argument has been removed, however it's still accessible via `error.options`. All modifications on `error.options` will be reflected in the next requests (no behavior change, same as with Got 11).
- The `beforeRedirect` hook's first argument (options) is now a cloned instance of the Request options.
This was done to make retrieving the original options possible: `plainResponse.request.options`.
```diff
await got('http://szmarczak.com', {
hooks: {
beforeRedirect: [
(options, response) => {
- console.log(options === response.request.options); //=> true [invalid! our original options were overriden]
+ console.log(options === response.request.options); //=> false [we can access the original options now]
}
]
}
})
```
- The `redirect` event now takes two arguments in this order: `updatedOptions` and `plainResponse`.
```diff
- stream.on('redirect', (response, options) => …)
+ stream.on('redirect', (options, response) => …)
```
Reason: consistency with the `beforeRedirect` hook.
- The `socketPath` option has been removed. Use the `unix:` protocol instead.
```diff
- got('/containers/json', {socketPath: '/var/run/docker.sock'})
+ got('unix:/var/run/docker.sock:/containers/json')
+ got('http://unix:/var/run/docker.sock:/containers/json')
```
- The `retryWithMergedOptions` function in an `afterResponse` hook no longer returns a `Promise`.
It now throws `RetryError`, so this should this should be the last function being executed.
This was done to allow `beforeRetry` hooks getting called.
- You can no longer set `options.agent` to `false`.
To do so, you need to define all the `options.agent` properties: `http`, `https` and `http2`.
```diff
await got('https://example.com', {
- agent: false
+ agent: {
+ http: false,
+ https: false,
+ http2: false
+ }
})
```
- When passing a `url` option when paginating, it now needs to be an absolute URL - the `prefixUrl` option is always reset from now on. The same when retrying in an `afterResponse` hook.
```diff
- return {url: '/location'};
+ return {url: new URL('/location', response.request.options.url)};
```
There was confusion around the `prefixUrl` option. It was counterintuitive if used with the Pagination API. For example, it worked fine if the server replied with a relative URL, but if it was an absolute URL then the `prefixUrl` would end up duplicated. In order to fix this, Got now requires an absolute URL - no `prefixUrl` will be applied.
- `got.extend(…)` will throw when passing some options that don't accept undefined - undefined no longer retains the old value, as setting undefined explicitly may reset the option
##### Documentation
We have redesigned the documentation so it's easier to navigate and find exactly what you are looking for. We hope you like it :heart:
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->
Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/66
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-09-04 20:42:16 +01:00
|
|
|
responselike@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/responselike/-/responselike-3.0.0.tgz#20decb6c298aff0dbee1c355ca95461d42823626"
|
|
|
|
integrity sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==
|
|
|
|
dependencies:
|
|
|
|
lowercase-keys "^3.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
restore-cursor@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
|
|
|
|
integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==
|
|
|
|
dependencies:
|
|
|
|
onetime "^2.0.0"
|
|
|
|
signal-exit "^3.0.2"
|
|
|
|
|
|
|
|
restore-cursor@^3.1.0:
|
|
|
|
version "3.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e"
|
|
|
|
integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==
|
|
|
|
dependencies:
|
|
|
|
onetime "^5.1.0"
|
|
|
|
signal-exit "^3.0.2"
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
reusify@^1.0.4:
|
|
|
|
version "1.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
|
|
|
|
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
rimraf@^3.0.2:
|
|
|
|
version "3.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
|
|
|
|
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
|
|
|
|
dependencies:
|
|
|
|
glob "^7.1.3"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
run-applescript@^5.0.0:
|
|
|
|
version "5.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c"
|
|
|
|
integrity sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==
|
|
|
|
dependencies:
|
|
|
|
execa "^5.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
run-async@^2.2.0, run-async@^2.4.0:
|
|
|
|
version "2.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455"
|
|
|
|
integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
run-async@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/run-async/-/run-async-3.0.0.tgz#42a432f6d76c689522058984384df28be379daad"
|
|
|
|
integrity sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==
|
|
|
|
|
2023-03-06 00:01:43 +00:00
|
|
|
run-parallel@^1.1.9:
|
|
|
|
version "1.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
|
|
|
|
integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-03-06 00:01:43 +00:00
|
|
|
queue-microtask "^1.2.2"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.5.3, rxjs@^6.6.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "6.6.7"
|
|
|
|
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9"
|
|
|
|
integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==
|
|
|
|
dependencies:
|
|
|
|
tslib "^1.9.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
rxjs@^7.8.1:
|
|
|
|
version "7.8.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543"
|
|
|
|
integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==
|
|
|
|
dependencies:
|
|
|
|
tslib "^2.1.0"
|
|
|
|
|
|
|
|
safe-buffer@~5.2.0:
|
|
|
|
version "5.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
|
|
|
|
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
"safer-buffer@>= 2.1.2 < 3":
|
|
|
|
version "2.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
|
|
|
|
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
scoped-regex@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/scoped-regex/-/scoped-regex-3.0.0.tgz#cd7ede7d942f2ae90da53272102ff2d73129c46f"
|
|
|
|
integrity sha512-yEsN6TuxZhZ1Tl9iB81frTNS292m0I/IG7+w8lTvfcJQP2x3vnpOoevjBoE3Np5A6KnZM2+RtVenihj9t6NiYg==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
semver-diff@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-4.0.0.tgz#3afcf5ed6d62259f5c72d0d5d50dffbdc9680df5"
|
|
|
|
integrity sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
semver "^7.3.5"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-10-23 13:26:21 +01:00
|
|
|
semver@^6.3.0, semver@^6.3.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.1, semver@^7.5.2, semver@^7.5.3, semver@^7.5.4:
|
2023-07-03 17:54:05 +01:00
|
|
|
version "7.5.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e"
|
|
|
|
integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
lru-cache "^6.0.0"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
shebang-command@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
|
|
|
|
integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
|
|
|
|
dependencies:
|
|
|
|
shebang-regex "^3.0.0"
|
|
|
|
|
|
|
|
shebang-regex@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
|
|
|
|
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "3.0.7"
|
|
|
|
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9"
|
|
|
|
integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==
|
|
|
|
|
|
|
|
sisteransi@^1.0.5:
|
|
|
|
version "1.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
|
|
|
|
integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==
|
|
|
|
|
|
|
|
slash@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
|
|
|
|
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
slash@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7"
|
|
|
|
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
slice-ansi@0.0.4:
|
|
|
|
version "0.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35"
|
|
|
|
integrity sha512-up04hB2hR92PgjpyU3y/eg91yIBILyjVY26NvvciY3EVVPjybkMszMpXQ9QAkcS3I5rtJBDLoTxxg+qvW8c7rw==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
source-map-support@0.5.13:
|
|
|
|
version "0.5.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
|
|
|
|
integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==
|
|
|
|
dependencies:
|
|
|
|
buffer-from "^1.0.0"
|
|
|
|
source-map "^0.6.0"
|
|
|
|
|
|
|
|
source-map@^0.6.0, source-map@^0.6.1:
|
|
|
|
version "0.6.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
|
|
|
|
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
spdx-correct@^3.0.0:
|
|
|
|
version "3.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c"
|
|
|
|
integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==
|
|
|
|
dependencies:
|
|
|
|
spdx-expression-parse "^3.0.0"
|
|
|
|
spdx-license-ids "^3.0.0"
|
|
|
|
|
|
|
|
spdx-exceptions@^2.1.0:
|
|
|
|
version "2.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d"
|
|
|
|
integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==
|
|
|
|
|
|
|
|
spdx-expression-parse@^3.0.0:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679"
|
|
|
|
integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==
|
|
|
|
dependencies:
|
|
|
|
spdx-exceptions "^2.1.0"
|
|
|
|
spdx-license-ids "^3.0.0"
|
|
|
|
|
|
|
|
spdx-license-ids@^3.0.0:
|
|
|
|
version "3.0.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz#7189a474c46f8d47c7b0da4b987bb45e908bd2d5"
|
|
|
|
integrity sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
sprintf-js@~1.0.2:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
|
|
|
stack-utils@^2.0.3:
|
|
|
|
version "2.0.6"
|
|
|
|
resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f"
|
|
|
|
integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==
|
|
|
|
dependencies:
|
|
|
|
escape-string-regexp "^2.0.0"
|
|
|
|
|
|
|
|
string-length@^4.0.1:
|
|
|
|
version "4.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a"
|
|
|
|
integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==
|
|
|
|
dependencies:
|
|
|
|
char-regex "^1.0.2"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
string-width@^1.0.1:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
|
|
|
|
integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==
|
|
|
|
dependencies:
|
|
|
|
code-point-at "^1.0.0"
|
|
|
|
is-fullwidth-code-point "^1.0.0"
|
|
|
|
strip-ansi "^3.0.0"
|
|
|
|
|
|
|
|
string-width@^2.1.0, string-width@^2.1.1:
|
|
|
|
version "2.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
|
|
|
|
integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
|
|
|
|
dependencies:
|
|
|
|
is-fullwidth-code-point "^2.0.0"
|
|
|
|
strip-ansi "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "4.2.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
|
|
|
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
|
|
|
dependencies:
|
|
|
|
emoji-regex "^8.0.0"
|
|
|
|
is-fullwidth-code-point "^3.0.0"
|
|
|
|
strip-ansi "^6.0.1"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
string-width@^5.0.1, string-width@^5.1.2:
|
|
|
|
version "5.1.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794"
|
|
|
|
integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==
|
|
|
|
dependencies:
|
|
|
|
eastasianwidth "^0.2.0"
|
|
|
|
emoji-regex "^9.2.2"
|
|
|
|
strip-ansi "^7.0.1"
|
|
|
|
|
|
|
|
string_decoder@^1.1.1:
|
|
|
|
version "1.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
|
|
|
|
integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
|
|
|
|
dependencies:
|
|
|
|
safe-buffer "~5.2.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
|
|
|
integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==
|
|
|
|
dependencies:
|
|
|
|
ansi-regex "^2.0.0"
|
|
|
|
|
|
|
|
strip-ansi@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
|
|
|
|
integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==
|
|
|
|
dependencies:
|
|
|
|
ansi-regex "^3.0.0"
|
|
|
|
|
|
|
|
strip-ansi@^5.1.0:
|
|
|
|
version "5.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
|
|
|
|
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
|
|
|
|
dependencies:
|
|
|
|
ansi-regex "^4.1.0"
|
|
|
|
|
2023-05-20 15:47:20 +01:00
|
|
|
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
2023-03-06 00:01:43 +00:00
|
|
|
version "6.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
|
|
|
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
2021-06-19 16:13:27 +01:00
|
|
|
dependencies:
|
2023-03-06 00:01:43 +00:00
|
|
|
ansi-regex "^5.0.1"
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
strip-ansi@^7.0.1:
|
|
|
|
version "7.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
|
|
|
|
integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==
|
|
|
|
dependencies:
|
|
|
|
ansi-regex "^6.0.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
strip-bom@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878"
|
|
|
|
integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==
|
|
|
|
|
|
|
|
strip-final-newline@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"
|
|
|
|
integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
strip-final-newline@^3.0.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "3.0.0"
|
2023-09-11 20:31:50 +01:00
|
|
|
resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd"
|
|
|
|
integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-13 11:50:44 +01:00
|
|
|
strip-json-comments@^3.1.1:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
|
|
|
|
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
strip-json-comments@~2.0.1:
|
|
|
|
version "2.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
|
|
|
integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==
|
|
|
|
|
|
|
|
supports-color@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
|
|
|
integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
supports-color@^5.3.0:
|
|
|
|
version "5.5.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
|
|
|
|
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
|
|
|
|
dependencies:
|
|
|
|
has-flag "^3.0.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
supports-color@^7.0.0, supports-color@^7.1.0:
|
2021-06-19 16:13:27 +01:00
|
|
|
version "7.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
|
|
|
|
integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
|
|
|
|
dependencies:
|
|
|
|
has-flag "^4.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
supports-color@^8.0.0:
|
|
|
|
version "8.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c"
|
|
|
|
integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==
|
|
|
|
dependencies:
|
|
|
|
has-flag "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
supports-hyperlinks@^2.2.0:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "2.3.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624"
|
|
|
|
integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==
|
|
|
|
dependencies:
|
|
|
|
has-flag "^4.0.0"
|
|
|
|
supports-color "^7.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
supports-preserve-symlinks-flag@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
|
|
|
|
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
symbol-observable@^1.1.0:
|
|
|
|
version "1.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
|
|
|
|
integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
symbol-observable@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-4.0.0.tgz#5b425f192279e87f2f9b937ac8540d1984b39205"
|
|
|
|
integrity sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
terminal-link@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-3.0.0.tgz#91c82a66b52fc1684123297ce384429faf72ac5c"
|
|
|
|
integrity sha512-flFL3m4wuixmf6IfhFJd1YPiLiMuxEc8uHRM1buzIeZPm22Au2pDqBJQgdo7n1WfPU1ONFGv7YDwpFBmHGF6lg==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
ansi-escapes "^5.0.0"
|
|
|
|
supports-hyperlinks "^2.2.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
test-exclude@^6.0.0:
|
|
|
|
version "6.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"
|
|
|
|
integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==
|
|
|
|
dependencies:
|
|
|
|
"@istanbuljs/schema" "^0.1.2"
|
|
|
|
glob "^7.1.4"
|
|
|
|
minimatch "^3.0.4"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
text-table@^0.2.0:
|
|
|
|
version "0.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
through@^2.3.6, through@^2.3.8:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "2.3.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
|
|
|
|
integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
titleize@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/titleize/-/titleize-3.0.0.tgz#71c12eb7fdd2558aa8a44b0be83b8a76694acd53"
|
|
|
|
integrity sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
tmp@^0.0.33:
|
|
|
|
version "0.0.33"
|
|
|
|
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
|
|
|
|
integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==
|
|
|
|
dependencies:
|
|
|
|
os-tmpdir "~1.0.2"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
tmpl@1.0.5:
|
|
|
|
version "1.0.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
|
|
|
|
integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
|
|
|
|
|
|
|
|
to-fast-properties@^2.0.0:
|
|
|
|
version "2.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
|
|
|
|
integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==
|
|
|
|
|
|
|
|
to-regex-range@^5.0.1:
|
|
|
|
version "5.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
|
|
|
|
integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
|
|
|
|
dependencies:
|
|
|
|
is-number "^7.0.0"
|
|
|
|
|
2023-10-23 13:25:22 +01:00
|
|
|
ts-api-utils@^1.0.1:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.3.tgz#f12c1c781d04427313dbac808f453f050e54a331"
|
|
|
|
integrity sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
ts-essentials@^7.0.3:
|
|
|
|
version "7.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-7.0.3.tgz#686fd155a02133eedcc5362dc8b5056cde3e5a38"
|
|
|
|
integrity sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ==
|
|
|
|
|
|
|
|
ts-jest@^29.0.5:
|
2023-10-23 13:26:21 +01:00
|
|
|
version "29.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.1.tgz#f58fe62c63caf7bfcc5cc6472082f79180f0815b"
|
|
|
|
integrity sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
bs-logger "0.x"
|
|
|
|
fast-json-stable-stringify "2.x"
|
|
|
|
jest-util "^29.0.0"
|
|
|
|
json5 "^2.2.3"
|
|
|
|
lodash.memoize "4.x"
|
|
|
|
make-error "1.x"
|
2023-10-23 13:26:21 +01:00
|
|
|
semver "^7.5.3"
|
2023-04-22 13:20:30 +01:00
|
|
|
yargs-parser "^21.0.1"
|
|
|
|
|
|
|
|
ts-mockito@^2.6.1:
|
|
|
|
version "2.6.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ts-mockito/-/ts-mockito-2.6.1.tgz#bc9ee2619033934e6fad1c4455aca5b5ace34e73"
|
|
|
|
integrity sha512-qU9m/oEBQrKq5hwfbJ7MgmVN5Gu6lFnIGWvpxSjrqq6YYEVv+RwVFWySbZMBgazsWqv6ctAyVBpo9TmAxnOEKw==
|
|
|
|
dependencies:
|
|
|
|
lodash "^4.17.5"
|
|
|
|
|
2023-02-27 18:33:32 +00:00
|
|
|
ts-node@^10.9.1:
|
|
|
|
version "10.9.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
|
|
|
|
integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
|
2021-12-01 20:32:20 +00:00
|
|
|
dependencies:
|
2023-02-27 18:33:32 +00:00
|
|
|
"@cspotcode/source-map-support" "^0.8.0"
|
2021-12-01 20:32:20 +00:00
|
|
|
"@tsconfig/node10" "^1.0.7"
|
|
|
|
"@tsconfig/node12" "^1.0.7"
|
|
|
|
"@tsconfig/node14" "^1.0.0"
|
|
|
|
"@tsconfig/node16" "^1.0.2"
|
|
|
|
acorn "^8.4.1"
|
|
|
|
acorn-walk "^8.1.1"
|
|
|
|
arg "^4.1.0"
|
|
|
|
create-require "^1.1.0"
|
|
|
|
diff "^4.0.1"
|
|
|
|
make-error "^1.1.1"
|
2023-02-27 18:33:32 +00:00
|
|
|
v8-compile-cache-lib "^3.0.1"
|
2021-12-01 20:32:20 +00:00
|
|
|
yn "3.1.1"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
tslib@^1.8.1, tslib@^1.9.0:
|
2023-04-22 13:20:30 +01:00
|
|
|
version "1.14.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
|
|
|
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
tslib@^2.1.0:
|
|
|
|
version "2.6.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
|
|
|
|
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
tsutils@^3.21.0:
|
|
|
|
version "3.21.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
|
|
|
|
integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
|
|
|
|
dependencies:
|
|
|
|
tslib "^1.8.1"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
type-check@^0.4.0, type-check@~0.4.0:
|
|
|
|
version "0.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"
|
|
|
|
integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==
|
|
|
|
dependencies:
|
|
|
|
prelude-ls "^1.2.1"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
type-detect@4.0.8:
|
|
|
|
version "4.0.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
|
|
|
|
integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
type-fest@^0.20.2:
|
|
|
|
version "0.20.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
|
|
|
|
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
type-fest@^0.21.3:
|
|
|
|
version "0.21.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37"
|
|
|
|
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
type-fest@^1.0.1, type-fest@^1.0.2:
|
|
|
|
version "1.4.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1"
|
|
|
|
integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
type-fest@^2.0.0, type-fest@^2.11.2, type-fest@^2.13.0, type-fest@^2.5.0, type-fest@^2.5.1:
|
|
|
|
version "2.19.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b"
|
|
|
|
integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
type-fest@^3.0.0:
|
|
|
|
version "3.13.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.13.1.tgz#bb744c1f0678bea7543a2d1ec24e83e68e8c8706"
|
|
|
|
integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
typedarray-to-buffer@^3.1.5:
|
|
|
|
version "3.1.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
|
|
|
|
integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
|
|
|
|
dependencies:
|
|
|
|
is-typedarray "^1.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
types-eslintrc@^1.0.3:
|
|
|
|
version "1.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/types-eslintrc/-/types-eslintrc-1.0.3.tgz#b277d301caca6c330477cbaa67bf6f79ac3d6fee"
|
|
|
|
integrity sha512-zKTR6aKHEudQpl+JoZjS3qh0B5IzSpQK/BCpYBECujcnKtqL87DJJ1sJKe5B8k/y8/UJ5sukq42QDvlaJyCO2w==
|
|
|
|
dependencies:
|
|
|
|
types-json "^1.2.2"
|
|
|
|
|
|
|
|
types-json@^1.0.6, types-json@^1.2.0, types-json@^1.2.2:
|
|
|
|
version "1.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/types-json/-/types-json-1.2.2.tgz#91ebe6de59e741ab38a98b071708a29494cedfe6"
|
|
|
|
integrity sha512-VfVLISHypS7ayIHvhacOESOTib4Sm4mAhnsgR8fzQdGp89YoBwMqvGmqENjtYehUQzgclT+7NafpEXkK/MHKwA==
|
|
|
|
|
|
|
|
types-pkg-json@^1.1.0:
|
|
|
|
version "1.2.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/types-pkg-json/-/types-pkg-json-1.2.1.tgz#890fe4f231000a721299831ef3e17a489b1e635e"
|
|
|
|
integrity sha512-Wj75lCkPwfj1BhmaJxMPpTQj9YGpihjs3WICigt1IjTAswr7zPXP0iJYPZjU0Rw/IriODhMJjAImkCIxt9KeuQ==
|
|
|
|
dependencies:
|
|
|
|
types-eslintrc "^1.0.3"
|
|
|
|
types-json "^1.2.2"
|
|
|
|
|
2023-03-20 00:02:45 +00:00
|
|
|
typescript@^5.0.0:
|
2023-10-16 19:16:36 +01:00
|
|
|
version "5.2.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78"
|
|
|
|
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
|
2023-04-22 13:20:30 +01:00
|
|
|
|
2023-11-06 09:43:09 +00:00
|
|
|
undici-types@~5.26.4:
|
|
|
|
version "5.26.5"
|
|
|
|
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
|
|
|
|
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
|
2023-10-16 19:12:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
unique-string@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-3.0.0.tgz#84a1c377aff5fd7a8bc6b55d8244b2bd90d75b9a"
|
|
|
|
integrity sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
crypto-random-string "^4.0.0"
|
|
|
|
|
|
|
|
untildify@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b"
|
|
|
|
integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-10-16 19:15:47 +01:00
|
|
|
update-browserslist-db@^1.0.13:
|
|
|
|
version "1.0.13"
|
|
|
|
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4"
|
|
|
|
integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
escalade "^3.1.1"
|
|
|
|
picocolors "^1.0.0"
|
2021-12-01 13:36:29 +00:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
update-notifier@^6.0.2:
|
|
|
|
version "6.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-6.0.2.tgz#a6990253dfe6d5a02bd04fbb6a61543f55026b60"
|
|
|
|
integrity sha512-EDxhTEVPZZRLWYcJ4ZXjGFN0oP7qYvbXWzEgRm/Yql4dHX5wDbvh89YHP6PK1lzZJYrMtXUuZZz8XGK+U6U1og==
|
|
|
|
dependencies:
|
|
|
|
boxen "^7.0.0"
|
|
|
|
chalk "^5.0.1"
|
|
|
|
configstore "^6.0.0"
|
|
|
|
has-yarn "^3.0.0"
|
|
|
|
import-lazy "^4.0.0"
|
|
|
|
is-ci "^3.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
is-installed-globally "^0.4.0"
|
2023-09-11 20:31:50 +01:00
|
|
|
is-npm "^6.0.0"
|
|
|
|
is-yarn-global "^0.4.0"
|
|
|
|
latest-version "^7.0.0"
|
|
|
|
pupa "^3.1.0"
|
|
|
|
semver "^7.3.7"
|
|
|
|
semver-diff "^4.0.0"
|
|
|
|
xdg-basedir "^5.1.0"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
uri-js@^4.2.2:
|
|
|
|
version "4.4.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
|
|
|
|
integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==
|
|
|
|
dependencies:
|
|
|
|
punycode "^2.1.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
util-deprecate@^1.0.1:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
|
|
|
integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
|
|
|
|
|
2023-02-27 18:33:32 +00:00
|
|
|
v8-compile-cache-lib@^3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
|
|
|
|
integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
v8-to-istanbul@^9.0.1:
|
|
|
|
version "9.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz#1b83ed4e397f58c85c266a570fc2558b5feb9265"
|
|
|
|
integrity sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==
|
|
|
|
dependencies:
|
|
|
|
"@jridgewell/trace-mapping" "^0.3.12"
|
|
|
|
"@types/istanbul-lib-coverage" "^2.0.1"
|
|
|
|
convert-source-map "^1.6.0"
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
vali-date@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/vali-date/-/vali-date-1.0.0.tgz#1b904a59609fb328ef078138420934f6b86709a6"
|
|
|
|
integrity sha512-sgECfZthyaCKW10N0fm27cg8HYTFK5qMWgypqkXMQ4Wbl/zZKx7xZICgcoxIIE+WFAP/MBL2EFwC/YvLxw3Zeg==
|
|
|
|
|
|
|
|
validate-npm-package-license@^3.0.1:
|
|
|
|
version "3.0.4"
|
|
|
|
resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
|
|
|
|
integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==
|
|
|
|
dependencies:
|
|
|
|
spdx-correct "^3.0.0"
|
|
|
|
spdx-expression-parse "^3.0.0"
|
|
|
|
|
|
|
|
validate-npm-package-name@^3.0.0:
|
|
|
|
version "3.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e"
|
|
|
|
integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==
|
|
|
|
dependencies:
|
|
|
|
builtins "^1.0.3"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
walker@^1.0.8:
|
|
|
|
version "1.0.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f"
|
|
|
|
integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==
|
|
|
|
dependencies:
|
|
|
|
makeerror "1.0.12"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
wcwidth@^1.0.1:
|
|
|
|
version "1.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
|
|
|
|
integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==
|
|
|
|
dependencies:
|
|
|
|
defaults "^1.0.3"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
which@^2.0.1:
|
|
|
|
version "2.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
|
|
|
|
integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
|
|
|
|
dependencies:
|
|
|
|
isexe "^2.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
widest-line@^4.0.1:
|
|
|
|
version "4.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-4.0.1.tgz#a0fc673aaba1ea6f0a0d35b3c2795c9a9cc2ebf2"
|
|
|
|
integrity sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig==
|
2023-04-28 17:32:17 +01:00
|
|
|
dependencies:
|
2023-09-11 20:31:50 +01:00
|
|
|
string-width "^5.0.1"
|
2023-04-28 17:32:17 +01:00
|
|
|
|
|
|
|
wrap-ansi@^3.0.1:
|
|
|
|
version "3.0.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba"
|
|
|
|
integrity sha512-iXR3tDXpbnTpzjKSylUJRkLuOrEC7hwEB221cgn6wtF8wpmz28puFXAEfPT5zrjM3wahygB//VuWEr1vTkDcNQ==
|
|
|
|
dependencies:
|
|
|
|
string-width "^2.1.1"
|
|
|
|
strip-ansi "^4.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
wrap-ansi@^6.2.0:
|
|
|
|
version "6.2.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
|
|
|
|
integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^4.0.0"
|
|
|
|
string-width "^4.1.0"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
wrap-ansi@^7.0.0:
|
|
|
|
version "7.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
|
|
|
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^4.0.0"
|
|
|
|
string-width "^4.1.0"
|
|
|
|
strip-ansi "^6.0.0"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
wrap-ansi@^8.1.0:
|
|
|
|
version "8.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"
|
|
|
|
integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==
|
|
|
|
dependencies:
|
|
|
|
ansi-styles "^6.1.0"
|
|
|
|
string-width "^5.0.1"
|
|
|
|
strip-ansi "^7.0.1"
|
|
|
|
|
2021-06-19 16:13:27 +01:00
|
|
|
wrappy@1:
|
|
|
|
version "1.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
2023-05-20 15:47:20 +01:00
|
|
|
integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
|
2021-06-19 16:13:27 +01:00
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
write-file-atomic@^3.0.3:
|
2023-04-28 17:32:17 +01:00
|
|
|
version "3.0.3"
|
|
|
|
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8"
|
|
|
|
integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==
|
|
|
|
dependencies:
|
|
|
|
imurmurhash "^0.1.4"
|
|
|
|
is-typedarray "^1.0.0"
|
|
|
|
signal-exit "^3.0.2"
|
|
|
|
typedarray-to-buffer "^3.1.5"
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
write-file-atomic@^4.0.2:
|
|
|
|
version "4.0.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd"
|
|
|
|
integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==
|
|
|
|
dependencies:
|
|
|
|
imurmurhash "^0.1.4"
|
|
|
|
signal-exit "^3.0.7"
|
|
|
|
|
2023-09-11 20:31:50 +01:00
|
|
|
xdg-basedir@^5.0.1, xdg-basedir@^5.1.0:
|
|
|
|
version "5.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-5.1.0.tgz#1efba19425e73be1bc6f2a6ceb52a3d2c884c0c9"
|
|
|
|
integrity sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==
|
2023-04-28 17:32:17 +01:00
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
y18n@^5.0.5:
|
|
|
|
version "5.0.8"
|
|
|
|
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
|
|
|
|
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
|
|
|
|
|
|
|
|
yallist@^3.0.2:
|
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
|
|
|
|
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
|
|
|
|
|
2023-04-28 17:32:17 +01:00
|
|
|
yallist@^4.0.0:
|
|
|
|
version "4.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
|
|
|
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
|
|
|
|
|
2023-04-22 13:20:30 +01:00
|
|
|
yargs-parser@^21.0.1, yargs-parser@^21.1.1:
|
|
|
|
version "21.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35"
|
|
|
|
integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==
|
|
|
|
|
|
|
|
yargs@^17.3.1:
|
2023-05-20 15:47:20 +01:00
|
|
|
version "17.7.2"
|
|
|
|
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
|
|
|
|
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
|
2023-04-22 13:20:30 +01:00
|
|
|
dependencies:
|
|
|
|
cliui "^8.0.1"
|
|
|
|
escalade "^3.1.1"
|
|
|
|
get-caller-file "^2.0.5"
|
|
|
|
require-directory "^2.1.1"
|
|
|
|
string-width "^4.2.3"
|
|
|
|
y18n "^5.0.5"
|
|
|
|
yargs-parser "^21.1.1"
|
|
|
|
|
2021-12-01 20:32:20 +00:00
|
|
|
yn@3.1.1:
|
|
|
|
version "3.1.1"
|
|
|
|
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
|
|
|
|
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
|
2023-03-06 00:01:43 +00:00
|
|
|
|
|
|
|
yocto-queue@^0.1.0:
|
|
|
|
version "0.1.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
|
|
|
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
|
2023-09-11 20:31:50 +01:00
|
|
|
|
|
|
|
yocto-queue@^1.0.0:
|
|
|
|
version "1.0.0"
|
|
|
|
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"
|
|
|
|
integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==
|