From 5aed59865d0146a895316d2276e42b1e9b163258 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Oct 2022 14:01:12 +0200 Subject: [PATCH 01/10] chore(deps): update devdependency h3 to ^0.8.4 (#145) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 129183d5..872d336c 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint": "^8.25.0", "fetch-blob": "^3.2.0", "formdata-polyfill": "^4.0.10", - "h3": "^0.8.1", + "h3": "^0.8.4", "jiti": "^1.16.0", "listhen": "^0.3.4", "standard-version": "^9.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 791e4aee..50e1db14 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ specifiers: eslint: ^8.25.0 fetch-blob: ^3.2.0 formdata-polyfill: ^4.0.10 - h3: ^0.8.1 + h3: ^0.8.4 jiti: ^1.16.0 listhen: ^0.3.4 node-fetch-native: ^0.1.8 @@ -32,7 +32,7 @@ devDependencies: eslint: 8.25.0 fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 - h3: 0.8.1 + h3: 0.8.4 jiti: 1.16.0 listhen: 0.3.4 standard-version: 9.5.0 @@ -2554,8 +2554,8 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true - /h3/0.8.1: - resolution: {integrity: sha512-HWTShxx4RKpse3f2h5KOWTEAIZLKq9SHWaVBZkOhBH+fH8uRGYY1iNO7VDwImFwARtR/Pg+bVI8feXX9NIdQRQ==} + /h3/0.8.4: + resolution: {integrity: sha512-U7ZD/Te+LBS1IpUvsZRe+E+ZiA3zQS0u43DMrZ+raiVObeYe0G5F4Kr/g6Fn2fH92Np0ROkij/wEhkAMbUsBdQ==} dependencies: cookie-es: 0.5.0 destr: 1.1.1 From 456081c862d84e46ead6e4f67f0462f589886845 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:26:19 +0200 Subject: [PATCH 02/10] chore(deps): update all non-major dependencies (#147) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 10 +-- pnpm-lock.yaml | 186 +++++++++++++++++++++++++------------------------ 2 files changed, 101 insertions(+), 95 deletions(-) diff --git a/package.json b/package.json index 872d336c..220202ad 100644 --- a/package.json +++ b/package.json @@ -49,19 +49,19 @@ "test": "pnpm lint && vitest run --coverage" }, "dependencies": { - "destr": "^1.1.1", + "destr": "^1.2.0", "node-fetch-native": "^0.1.8", "ufo": "^0.8.6", "undici": "^5.11.0" }, "devDependencies": { "@nuxtjs/eslint-config-typescript": "^11.0.0", - "@types/node": "^18.11.0", + "@types/node": "^18.11.5", "@vitest/coverage-c8": "^0.24.3", - "eslint": "^8.25.0", + "eslint": "^8.26.0", "fetch-blob": "^3.2.0", "formdata-polyfill": "^4.0.10", - "h3": "^0.8.4", + "h3": "^0.8.5", "jiti": "^1.16.0", "listhen": "^0.3.4", "standard-version": "^9.5.0", @@ -69,5 +69,5 @@ "unbuild": "^0.9.4", "vitest": "^0.24.3" }, - "packageManager": "pnpm@7.13.5" + "packageManager": "pnpm@7.14.0" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50e1db14..8766a142 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,13 +2,13 @@ lockfileVersion: 5.4 specifiers: '@nuxtjs/eslint-config-typescript': ^11.0.0 - '@types/node': ^18.11.0 + '@types/node': ^18.11.5 '@vitest/coverage-c8': ^0.24.3 - destr: ^1.1.1 - eslint: ^8.25.0 + destr: ^1.2.0 + eslint: ^8.26.0 fetch-blob: ^3.2.0 formdata-polyfill: ^4.0.10 - h3: ^0.8.4 + h3: ^0.8.5 jiti: ^1.16.0 listhen: ^0.3.4 node-fetch-native: ^0.1.8 @@ -20,19 +20,19 @@ specifiers: vitest: ^0.24.3 dependencies: - destr: 1.1.1 + destr: 1.2.0 node-fetch-native: 0.1.8 ufo: 0.8.6 undici: 5.11.0 devDependencies: - '@nuxtjs/eslint-config-typescript': 11.0.0_z4bbprzjrhnsfa24uvmcbu7f5q - '@types/node': 18.11.0 + '@nuxtjs/eslint-config-typescript': 11.0.0_wyqvi574yv7oiwfeinomdzmc3m + '@types/node': 18.11.5 '@vitest/coverage-c8': 0.24.3 - eslint: 8.25.0 + eslint: 8.26.0 fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 - h3: 0.8.4 + h3: 0.8.5 jiti: 1.16.0 listhen: 0.3.4 standard-version: 9.5.0 @@ -295,8 +295,8 @@ packages: - supports-color dev: true - /@humanwhocodes/config-array/0.10.5: - resolution: {integrity: sha512-XVVDtp+dVvRxMoxSiSfasYaG02VEe1qH5cKgMQJWhol6HwzbcqoCMJi8dAGoYAO57jhUyhI6cWuRiTcRaDaYug==} + /@humanwhocodes/config-array/0.11.6: + resolution: {integrity: sha512-jJr+hPTJYKyDILJfhNSHsjiwXYf26Flsz8DvNndOsHs5pwSnpGUEy8yzF0JYhCEvTDdV2vuOK5tt8BVhwO5/hg==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -376,36 +376,36 @@ packages: fastq: 1.13.0 dev: true - /@nuxtjs/eslint-config-typescript/11.0.0_z4bbprzjrhnsfa24uvmcbu7f5q: + /@nuxtjs/eslint-config-typescript/11.0.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: {integrity: sha512-hmFjGtXT524ql8eTbK8BaRkamcXB6Z8YOW8nSQhosTP6oBw9WtOFUeWr7holyE278UhOmx+wDFG90BnyM9D+UA==} peerDependencies: eslint: ^8.23.0 dependencies: - '@nuxtjs/eslint-config': 11.0.0_m7hwthymx7i4nnpn7hc67zlw2y - '@typescript-eslint/eslint-plugin': 5.37.0_mv2n5lk6kcv3njxelmmi2peqzy - '@typescript-eslint/parser': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q - eslint: 8.25.0 - eslint-import-resolver-typescript: 3.5.1_fyln4uq2tv75svthy6prqvt6lm - eslint-plugin-import: 2.26.0_m7hwthymx7i4nnpn7hc67zlw2y + '@nuxtjs/eslint-config': 11.0.0_f7deuueldhmkfmxrr73m3zjsfe + '@typescript-eslint/eslint-plugin': 5.37.0_oraf6znu47jsytgnsiwajl2fum + '@typescript-eslint/parser': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m + eslint: 8.26.0 + eslint-import-resolver-typescript: 3.5.1_mynvxvmq5qtyojffiqgev4x7mm + eslint-plugin-import: 2.26.0_f7deuueldhmkfmxrr73m3zjsfe transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color - typescript dev: true - /@nuxtjs/eslint-config/11.0.0_m7hwthymx7i4nnpn7hc67zlw2y: + /@nuxtjs/eslint-config/11.0.0_f7deuueldhmkfmxrr73m3zjsfe: resolution: {integrity: sha512-o4zFOpU8gJgwrC/gLE7c2E0XEjkv2fEixCGG1y+dZYzBPyzTorkQmfxskSF3WRXcZkpkS9uUYlRkeOSdYB7z0w==} peerDependencies: eslint: ^8.23.0 dependencies: - eslint: 8.25.0 - eslint-config-standard: 17.0.0_ffppbswfvzln26kjbzdhh7fye4 - eslint-plugin-import: 2.26.0_m7hwthymx7i4nnpn7hc67zlw2y - eslint-plugin-n: 15.2.5_eslint@8.25.0 - eslint-plugin-node: 11.1.0_eslint@8.25.0 - eslint-plugin-promise: 6.0.1_eslint@8.25.0 - eslint-plugin-unicorn: 43.0.2_eslint@8.25.0 - eslint-plugin-vue: 9.5.1_eslint@8.25.0 + eslint: 8.26.0 + eslint-config-standard: 17.0.0_6cmbzicqlx7slyu26nv6kzji4y + eslint-plugin-import: 2.26.0_f7deuueldhmkfmxrr73m3zjsfe + eslint-plugin-n: 15.2.5_eslint@8.26.0 + eslint-plugin-node: 11.1.0_eslint@8.26.0 + eslint-plugin-promise: 6.0.1_eslint@8.26.0 + eslint-plugin-unicorn: 43.0.2_eslint@8.26.0 + eslint-plugin-vue: 9.5.1_eslint@8.26.0 transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-typescript @@ -554,8 +554,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/18.11.0: - resolution: {integrity: sha512-IOXCvVRToe7e0ny7HpT/X9Rb2RYtElG1a+VshjwT00HxrM2dWBApHQoqsI6WiY7Q03vdf2bCrIGzVrkF/5t10w==} + /@types/node/18.11.5: + resolution: {integrity: sha512-3JRwhbjI+cHLAkUorhf8RnqUbFXajvzX4q6fMn5JwkgtuwfYtRQYI3u4V92vI6NJuTsbBQWWh3RZjFsuevyMGQ==} dev: true /@types/normalize-package-data/2.4.1: @@ -566,7 +566,7 @@ packages: resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} dev: true - /@typescript-eslint/eslint-plugin/5.37.0_mv2n5lk6kcv3njxelmmi2peqzy: + /@typescript-eslint/eslint-plugin/5.37.0_oraf6znu47jsytgnsiwajl2fum: resolution: {integrity: sha512-Fde6W0IafXktz1UlnhGkrrmnnGpAo1kyX7dnyHHVrmwJOn72Oqm3eYtddrpOwwel2W8PAK9F3pIL5S+lfoM0og==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -577,12 +577,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q + '@typescript-eslint/parser': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m '@typescript-eslint/scope-manager': 5.37.0 - '@typescript-eslint/type-utils': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q - '@typescript-eslint/utils': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q + '@typescript-eslint/type-utils': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m + '@typescript-eslint/utils': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m debug: 4.3.4 - eslint: 8.25.0 + eslint: 8.26.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 @@ -593,7 +593,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q: + /@typescript-eslint/parser/5.37.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: {integrity: sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -607,7 +607,7 @@ packages: '@typescript-eslint/types': 5.37.0 '@typescript-eslint/typescript-estree': 5.37.0_typescript@4.8.4 debug: 4.3.4 - eslint: 8.25.0 + eslint: 8.26.0 typescript: 4.8.4 transitivePeerDependencies: - supports-color @@ -621,7 +621,7 @@ packages: '@typescript-eslint/visitor-keys': 5.37.0 dev: true - /@typescript-eslint/type-utils/5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q: + /@typescript-eslint/type-utils/5.37.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: {integrity: sha512-BSx/O0Z0SXOF5tY0bNTBcDEKz2Ec20GVYvq/H/XNKiUorUFilH7NPbFUuiiyzWaSdN3PA8JV0OvYx0gH/5aFAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -632,9 +632,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 5.37.0_typescript@4.8.4 - '@typescript-eslint/utils': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q + '@typescript-eslint/utils': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m debug: 4.3.4 - eslint: 8.25.0 + eslint: 8.26.0 tsutils: 3.21.0_typescript@4.8.4 typescript: 4.8.4 transitivePeerDependencies: @@ -667,7 +667,7 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q: + /@typescript-eslint/utils/5.37.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: {integrity: sha512-jUEJoQrWbZhmikbcWSMDuUSxEE7ID2W/QCV/uz10WtQqfOuKZUqFGjqLJ+qhDd17rjgp+QJPqTdPIBWwoob2NQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -677,9 +677,9 @@ packages: '@typescript-eslint/scope-manager': 5.37.0 '@typescript-eslint/types': 5.37.0 '@typescript-eslint/typescript-estree': 5.37.0_typescript@4.8.4 - eslint: 8.25.0 + eslint: 8.26.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.25.0 + eslint-utils: 3.0.0_eslint@8.26.0 transitivePeerDependencies: - supports-color - typescript @@ -1325,8 +1325,8 @@ packages: resolution: {integrity: sha512-pOFYRTIhoKujrmbTRhcW5lYQLBXw/dlTwfI8IguF1QCDJOcJzNH1w+YFjxqy6BAuJrClTy6MUE8q+oKJ2FLsIw==} dev: true - /destr/1.1.1: - resolution: {integrity: sha512-QqkneF8LrYmwATMdnuD2MLI3GHQIcBnG6qFC2q9bSH430VTCDAVjcspPmUaKhPGtAtPAftIUFqY1obQYQuwmbg==} + /destr/1.2.0: + resolution: {integrity: sha512-JG+cG4ZPB1L27sl2C2URg8MIOmIUtTbE5wEx02BpmrTCqg/hXxFKXsYsnODl5PdpqNRaS1KQGUQ56V8jk8XpYQ==} /detect-indent/6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} @@ -1871,7 +1871,7 @@ packages: engines: {node: '>=10'} dev: true - /eslint-config-standard/17.0.0_ffppbswfvzln26kjbzdhh7fye4: + /eslint-config-standard/17.0.0_6cmbzicqlx7slyu26nv6kzji4y: resolution: {integrity: sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg==} peerDependencies: eslint: ^8.0.1 @@ -1879,10 +1879,10 @@ packages: eslint-plugin-n: ^15.0.0 eslint-plugin-promise: ^6.0.0 dependencies: - eslint: 8.25.0 - eslint-plugin-import: 2.26.0_m7hwthymx7i4nnpn7hc67zlw2y - eslint-plugin-n: 15.2.5_eslint@8.25.0 - eslint-plugin-promise: 6.0.1_eslint@8.25.0 + eslint: 8.26.0 + eslint-plugin-import: 2.26.0_f7deuueldhmkfmxrr73m3zjsfe + eslint-plugin-n: 15.2.5_eslint@8.26.0 + eslint-plugin-promise: 6.0.1_eslint@8.26.0 dev: true /eslint-import-resolver-node/0.3.6: @@ -1894,7 +1894,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript/3.5.1_fyln4uq2tv75svthy6prqvt6lm: + /eslint-import-resolver-typescript/3.5.1_mynvxvmq5qtyojffiqgev4x7mm: resolution: {integrity: sha512-U7LUjNJPYjNsHvAUAkt/RU3fcTSpbllA0//35B4eLYTX74frmOepbt7F7J3D1IGtj9k21buOpaqtDd4ZlS/BYQ==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} peerDependencies: @@ -1903,8 +1903,8 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.10.0 - eslint: 8.25.0 - eslint-plugin-import: 2.26.0_m7hwthymx7i4nnpn7hc67zlw2y + eslint: 8.26.0 + eslint-plugin-import: 2.26.0_f7deuueldhmkfmxrr73m3zjsfe get-tsconfig: 4.2.0 globby: 13.1.2 is-core-module: 2.10.0 @@ -1932,38 +1932,38 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q + '@typescript-eslint/parser': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m debug: 3.2.7 eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 3.5.1_fyln4uq2tv75svthy6prqvt6lm + eslint-import-resolver-typescript: 3.5.1_mynvxvmq5qtyojffiqgev4x7mm find-up: 2.1.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-es/3.0.1_eslint@8.25.0: + /eslint-plugin-es/3.0.1_eslint@8.26.0: resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.25.0 + eslint: 8.26.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-es/4.1.0_eslint@8.25.0: + /eslint-plugin-es/4.1.0_eslint@8.26.0: resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.25.0 + eslint: 8.26.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-import/2.26.0_m7hwthymx7i4nnpn7hc67zlw2y: + /eslint-plugin-import/2.26.0_f7deuueldhmkfmxrr73m3zjsfe: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -1973,12 +1973,12 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.37.0_z4bbprzjrhnsfa24uvmcbu7f5q + '@typescript-eslint/parser': 5.37.0_wyqvi574yv7oiwfeinomdzmc3m array-includes: 3.1.4 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.25.0 + eslint: 8.26.0 eslint-import-resolver-node: 0.3.6 eslint-module-utils: 2.7.3_yotz5rgxbsebaglktiy7k3y6ua has: 1.0.3 @@ -1994,16 +1994,16 @@ packages: - supports-color dev: true - /eslint-plugin-n/15.2.5_eslint@8.25.0: + /eslint-plugin-n/15.2.5_eslint@8.26.0: resolution: {integrity: sha512-8+BYsqiyZfpu6NXmdLOXVUfk8IocpCjpd8nMRRH0A9ulrcemhb2VI9RSJMEy5udx++A/YcVPD11zT8hpFq368g==} engines: {node: '>=12.22.0'} peerDependencies: eslint: '>=7.0.0' dependencies: builtins: 5.0.1 - eslint: 8.25.0 - eslint-plugin-es: 4.1.0_eslint@8.25.0 - eslint-utils: 3.0.0_eslint@8.25.0 + eslint: 8.26.0 + eslint-plugin-es: 4.1.0_eslint@8.26.0 + eslint-utils: 3.0.0_eslint@8.26.0 ignore: 5.2.0 is-core-module: 2.10.0 minimatch: 3.1.2 @@ -2011,14 +2011,14 @@ packages: semver: 7.3.7 dev: true - /eslint-plugin-node/11.1.0_eslint@8.25.0: + /eslint-plugin-node/11.1.0_eslint@8.26.0: resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=5.16.0' dependencies: - eslint: 8.25.0 - eslint-plugin-es: 3.0.1_eslint@8.25.0 + eslint: 8.26.0 + eslint-plugin-es: 3.0.1_eslint@8.26.0 eslint-utils: 2.1.0 ignore: 5.2.0 minimatch: 3.1.2 @@ -2026,16 +2026,16 @@ packages: semver: 6.3.0 dev: true - /eslint-plugin-promise/6.0.1_eslint@8.25.0: + /eslint-plugin-promise/6.0.1_eslint@8.26.0: resolution: {integrity: sha512-uM4Tgo5u3UWQiroOyDEsYcVMOo7re3zmno0IZmB5auxoaQNIceAbXEkSt8RNrKtaYehARHG06pYK6K1JhtP0Zw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.25.0 + eslint: 8.26.0 dev: true - /eslint-plugin-unicorn/43.0.2_eslint@8.25.0: + /eslint-plugin-unicorn/43.0.2_eslint@8.26.0: resolution: {integrity: sha512-DtqZ5mf/GMlfWoz1abIjq5jZfaFuHzGBZYIeuJfEoKKGWRHr2JiJR+ea+BF7Wx2N1PPRoT/2fwgiK1NnmNE3Hg==} engines: {node: '>=14.18'} peerDependencies: @@ -2044,8 +2044,8 @@ packages: '@babel/helper-validator-identifier': 7.19.1 ci-info: 3.4.0 clean-regexp: 1.0.0 - eslint: 8.25.0 - eslint-utils: 3.0.0_eslint@8.25.0 + eslint: 8.26.0 + eslint-utils: 3.0.0_eslint@8.26.0 esquery: 1.4.0 indent-string: 4.0.0 is-builtin-module: 3.2.0 @@ -2058,19 +2058,19 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-vue/9.5.1_eslint@8.25.0: + /eslint-plugin-vue/9.5.1_eslint@8.26.0: resolution: {integrity: sha512-Y0sL2RY7Xc9S8kNih9lbwHIDmewUg9bfas6WSzsOWRgDXhIHKxRBZYNAnVcXBFfE+bMWHUA5GLChl7TcTYUI8w==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.25.0 - eslint-utils: 3.0.0_eslint@8.25.0 + eslint: 8.26.0 + eslint-utils: 3.0.0_eslint@8.26.0 natural-compare: 1.4.0 nth-check: 2.0.1 postcss-selector-parser: 6.0.10 semver: 7.3.7 - vue-eslint-parser: 9.1.0_eslint@8.25.0 + vue-eslint-parser: 9.1.0_eslint@8.26.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -2099,13 +2099,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.25.0: + /eslint-utils/3.0.0_eslint@8.26.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.25.0 + eslint: 8.26.0 eslint-visitor-keys: 2.1.0 dev: true @@ -2124,14 +2124,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.25.0: - resolution: {integrity: sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==} + /eslint/8.26.0: + resolution: {integrity: sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: '@eslint/eslintrc': 1.3.3 - '@humanwhocodes/config-array': 0.10.5 + '@humanwhocodes/config-array': 0.11.6 '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 @@ -2139,7 +2140,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.25.0 + eslint-utils: 3.0.0_eslint@8.26.0 eslint-visitor-keys: 3.3.0 espree: 9.4.0 esquery: 1.4.0 @@ -2149,12 +2150,12 @@ packages: find-up: 5.0.0 glob-parent: 6.0.2 globals: 13.15.0 - globby: 11.1.0 grapheme-splitter: 1.0.4 ignore: 5.2.0 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 + is-path-inside: 3.0.3 js-sdsl: 4.1.4 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 @@ -2554,11 +2555,11 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true - /h3/0.8.4: - resolution: {integrity: sha512-U7ZD/Te+LBS1IpUvsZRe+E+ZiA3zQS0u43DMrZ+raiVObeYe0G5F4Kr/g6Fn2fH92Np0ROkij/wEhkAMbUsBdQ==} + /h3/0.8.5: + resolution: {integrity: sha512-A+rVzJ+31e67JJzlRf2Ycphu/mvl2qknbpch38xRfrs9HuGSKTtOWuzPnpgaEGIfnzuD/BsDOfhQLJevXEm3ag==} dependencies: cookie-es: 0.5.0 - destr: 1.1.1 + destr: 1.2.0 radix3: 0.2.1 ufo: 0.8.6 dev: true @@ -2787,6 +2788,11 @@ packages: engines: {node: '>=8'} dev: true + /is-path-inside/3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: true + /is-plain-obj/1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} @@ -4251,7 +4257,7 @@ packages: dependencies: '@types/chai': 4.3.3 '@types/chai-subset': 1.3.3 - '@types/node': 18.11.0 + '@types/node': 18.11.5 chai: 4.3.6 debug: 4.3.4 local-pkg: 0.4.2 @@ -4268,14 +4274,14 @@ packages: - terser dev: true - /vue-eslint-parser/9.1.0_eslint@8.25.0: + /vue-eslint-parser/9.1.0_eslint@8.26.0: resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.25.0 + eslint: 8.26.0 eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 espree: 9.4.0 From 784a7c0524a60406b0ba09055502107ef57ef5c9 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 27 Oct 2022 11:08:33 +0200 Subject: [PATCH 03/10] feat: add `status` and `statusText` to fetch errors (#152) --- src/error.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/error.ts b/src/error.ts index 6896ef60..81db8811 100644 --- a/src/error.ts +++ b/src/error.ts @@ -5,6 +5,10 @@ export class FetchError extends Error { request?: FetchRequest response?: FetchResponse data?: T + status?: number + statusText?: string + statusCode?: number + statusMessage?: string } export function createFetchError (request: FetchRequest, error?: Error, response?: FetchResponse): FetchError { @@ -21,6 +25,10 @@ export function createFetchError (request: FetchRequest, error?: Error, Object.defineProperty(fetchError, 'request', { get () { return request } }) Object.defineProperty(fetchError, 'response', { get () { return response } }) Object.defineProperty(fetchError, 'data', { get () { return response && response._data } }) + Object.defineProperty(fetchError, 'status', { get () { return response && response.status } }) + Object.defineProperty(fetchError, 'statusText', { get () { return response && response.statusText } }) + Object.defineProperty(fetchError, 'statusCode', { get () { return response && response.status } }) + Object.defineProperty(fetchError, 'statusMessage', { get () { return response && response.statusText } }) return fetchError } From 63232f53d42ab2cfc152eb4f9b4327b0e9297552 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 11:08:47 +0200 Subject: [PATCH 04/10] chore(deps): update devdependency @types/node to ^18.11.7 (#151) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 220202ad..c55e68fd 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@nuxtjs/eslint-config-typescript": "^11.0.0", - "@types/node": "^18.11.5", + "@types/node": "^18.11.7", "@vitest/coverage-c8": "^0.24.3", "eslint": "^8.26.0", "fetch-blob": "^3.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8766a142..f0fac911 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,7 +2,7 @@ lockfileVersion: 5.4 specifiers: '@nuxtjs/eslint-config-typescript': ^11.0.0 - '@types/node': ^18.11.5 + '@types/node': ^18.11.7 '@vitest/coverage-c8': ^0.24.3 destr: ^1.2.0 eslint: ^8.26.0 @@ -27,7 +27,7 @@ dependencies: devDependencies: '@nuxtjs/eslint-config-typescript': 11.0.0_wyqvi574yv7oiwfeinomdzmc3m - '@types/node': 18.11.5 + '@types/node': 18.11.7 '@vitest/coverage-c8': 0.24.3 eslint: 8.26.0 fetch-blob: 3.2.0 @@ -554,8 +554,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/18.11.5: - resolution: {integrity: sha512-3JRwhbjI+cHLAkUorhf8RnqUbFXajvzX4q6fMn5JwkgtuwfYtRQYI3u4V92vI6NJuTsbBQWWh3RZjFsuevyMGQ==} + /@types/node/18.11.7: + resolution: {integrity: sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==} dev: true /@types/normalize-package-data/2.4.1: @@ -4257,7 +4257,7 @@ packages: dependencies: '@types/chai': 4.3.3 '@types/chai-subset': 1.3.3 - '@types/node': 18.11.5 + '@types/node': 18.11.7 chai: 4.3.6 debug: 4.3.4 local-pkg: 0.4.2 From 385f7fe9c92d1ee614919c0ce3a9586acf031d05 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 27 Oct 2022 12:23:38 +0200 Subject: [PATCH 05/10] fix: only call error handler if status code is >= 400 (#153) --- src/fetch.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/fetch.ts b/src/fetch.ts index 4ddbf7a6..321afc4a 100644 --- a/src/fetch.ts +++ b/src/fetch.ts @@ -40,9 +40,9 @@ export interface FetchOptions extends Omi } export interface $Fetch { - (request: FetchRequest, opts?: FetchOptions): Promise> - raw(request: FetchRequest, opts?: FetchOptions): Promise>> - create(defaults: FetchOptions): $Fetch + (request: FetchRequest, opts?: FetchOptions): Promise> + raw (request: FetchRequest, opts?: FetchOptions): Promise>> + create (defaults: FetchOptions): $Fetch } // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status @@ -156,13 +156,15 @@ export function createFetch (globalOptions: CreateFetchOptions): $Fetch { await ctx.options.onResponse(ctx as any) } - if (!ctx.response.ok) { + if (ctx.response.status >= 400 && ctx.response.status < 600) { if (ctx.options.onResponseError) { await ctx.options.onResponseError(ctx as any) } + + return onError(ctx) } - return ctx.response.ok ? ctx.response : onError(ctx) + return ctx.response } const $fetch = function $fetch (request, opts) { From 3303593b8b77a7227c60961c6429465c36c0929a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 17:51:39 +0200 Subject: [PATCH 06/10] chore(deps): update devdependency h3 to ^0.8.6 (#154) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c55e68fd..c8d26223 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint": "^8.26.0", "fetch-blob": "^3.2.0", "formdata-polyfill": "^4.0.10", - "h3": "^0.8.5", + "h3": "^0.8.6", "jiti": "^1.16.0", "listhen": "^0.3.4", "standard-version": "^9.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0fac911..f973ee96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ specifiers: eslint: ^8.26.0 fetch-blob: ^3.2.0 formdata-polyfill: ^4.0.10 - h3: ^0.8.5 + h3: ^0.8.6 jiti: ^1.16.0 listhen: ^0.3.4 node-fetch-native: ^0.1.8 @@ -32,7 +32,7 @@ devDependencies: eslint: 8.26.0 fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 - h3: 0.8.5 + h3: 0.8.6 jiti: 1.16.0 listhen: 0.3.4 standard-version: 9.5.0 @@ -2555,8 +2555,8 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true - /h3/0.8.5: - resolution: {integrity: sha512-A+rVzJ+31e67JJzlRf2Ycphu/mvl2qknbpch38xRfrs9HuGSKTtOWuzPnpgaEGIfnzuD/BsDOfhQLJevXEm3ag==} + /h3/0.8.6: + resolution: {integrity: sha512-CSWNOKa3QGo67rFU2PhbFTp0uPJtilNji2Z0pMiSRQt3+OkIW0u3E1WMJqIycLqaTgb9JyFqH/S4mcTyyGtvyQ==} dependencies: cookie-es: 0.5.0 destr: 1.2.0 From 031dbf1da63eff16bb4116970c66ec88890ffbd2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 18:22:05 +0200 Subject: [PATCH 07/10] chore(deps): update dependency undici to ^5.12.0 (#155) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c8d26223..25899b05 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "destr": "^1.2.0", "node-fetch-native": "^0.1.8", "ufo": "^0.8.6", - "undici": "^5.11.0" + "undici": "^5.12.0" }, "devDependencies": { "@nuxtjs/eslint-config-typescript": "^11.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f973ee96..8862297d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,14 +16,14 @@ specifiers: typescript: ^4.8.4 ufo: ^0.8.6 unbuild: ^0.9.4 - undici: ^5.11.0 + undici: ^5.12.0 vitest: ^0.24.3 dependencies: destr: 1.2.0 node-fetch-native: 0.1.8 ufo: 0.8.6 - undici: 5.11.0 + undici: 5.12.0 devDependencies: '@nuxtjs/eslint-config-typescript': 11.0.0_wyqvi574yv7oiwfeinomdzmc3m @@ -4146,8 +4146,8 @@ packages: - supports-color dev: true - /undici/5.11.0: - resolution: {integrity: sha512-oWjWJHzFet0Ow4YZBkyiJwiK5vWqEYoH7BINzJAJOLedZ++JpAlCbUktW2GQ2DS2FpKmxD/JMtWUUWl1BtghGw==} + /undici/5.12.0: + resolution: {integrity: sha512-zMLamCG62PGjd9HHMpo05bSLvvwWOZgGeiWlN/vlqu3+lRo3elxktVGEyLMX+IO7c2eflLjcW74AlkhEZm15mg==} engines: {node: '>=12.18'} dependencies: busboy: 1.6.0 From f86917748e26d8e01e6c39c1e93ba4decf975972 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 29 Oct 2022 12:57:57 +0100 Subject: [PATCH 08/10] chore(deps): update pnpm to v7.14.1 (#157) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 25899b05..4455ec9a 100644 --- a/package.json +++ b/package.json @@ -69,5 +69,5 @@ "unbuild": "^0.9.4", "vitest": "^0.24.3" }, - "packageManager": "pnpm@7.14.0" + "packageManager": "pnpm@7.14.1" } From 837ca96249978fc2699eade5be65e36bb4776d3e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Nov 2022 15:48:04 +0100 Subject: [PATCH 09/10] chore(deps): update all non-major dependencies (#158) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 10 +++++----- pnpm-lock.yaml | 42 +++++++++++++++++++++--------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 4455ec9a..d391de36 100644 --- a/package.json +++ b/package.json @@ -56,18 +56,18 @@ }, "devDependencies": { "@nuxtjs/eslint-config-typescript": "^11.0.0", - "@types/node": "^18.11.7", - "@vitest/coverage-c8": "^0.24.3", + "@types/node": "^18.11.9", + "@vitest/coverage-c8": "^0.24.5", "eslint": "^8.26.0", "fetch-blob": "^3.2.0", "formdata-polyfill": "^4.0.10", "h3": "^0.8.6", "jiti": "^1.16.0", - "listhen": "^0.3.4", + "listhen": "^0.3.5", "standard-version": "^9.5.0", "typescript": "^4.8.4", "unbuild": "^0.9.4", - "vitest": "^0.24.3" + "vitest": "^0.24.5" }, - "packageManager": "pnpm@7.14.1" + "packageManager": "pnpm@7.14.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8862297d..4d11d5d4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,22 +2,22 @@ lockfileVersion: 5.4 specifiers: '@nuxtjs/eslint-config-typescript': ^11.0.0 - '@types/node': ^18.11.7 - '@vitest/coverage-c8': ^0.24.3 + '@types/node': ^18.11.9 + '@vitest/coverage-c8': ^0.24.5 destr: ^1.2.0 eslint: ^8.26.0 fetch-blob: ^3.2.0 formdata-polyfill: ^4.0.10 h3: ^0.8.6 jiti: ^1.16.0 - listhen: ^0.3.4 + listhen: ^0.3.5 node-fetch-native: ^0.1.8 standard-version: ^9.5.0 typescript: ^4.8.4 ufo: ^0.8.6 unbuild: ^0.9.4 undici: ^5.12.0 - vitest: ^0.24.3 + vitest: ^0.24.5 dependencies: destr: 1.2.0 @@ -27,18 +27,18 @@ dependencies: devDependencies: '@nuxtjs/eslint-config-typescript': 11.0.0_wyqvi574yv7oiwfeinomdzmc3m - '@types/node': 18.11.7 - '@vitest/coverage-c8': 0.24.3 + '@types/node': 18.11.9 + '@vitest/coverage-c8': 0.24.5 eslint: 8.26.0 fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 h3: 0.8.6 jiti: 1.16.0 - listhen: 0.3.4 + listhen: 0.3.5 standard-version: 9.5.0 typescript: 4.8.4 unbuild: 0.9.4 - vitest: 0.24.3 + vitest: 0.24.5 packages: @@ -554,8 +554,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node/18.11.7: - resolution: {integrity: sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==} + /@types/node/18.11.9: + resolution: {integrity: sha512-CRpX21/kGdzjOpFsZSkcrXMGIBWMGNIHXXBVFSH+ggkftxg+XYP20TESbh+zFvFj3EQOl5byk0HTRn1IL6hbqg==} dev: true /@types/normalize-package-data/2.4.1: @@ -693,11 +693,11 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@vitest/coverage-c8/0.24.3: - resolution: {integrity: sha512-tAmMyHxWYnAwGeJb7QgTuEX8aLasTg4X1/6INobXa/7wYGEJ28CACFO5iLn1HzFVPoLvhsS3luQjiflGjjSMRQ==} + /@vitest/coverage-c8/0.24.5: + resolution: {integrity: sha512-955yK/SdSBZPYrSXgXB0F+0JnOX5EY9kSL7ywJ4rNajmkFUhwLjuKm13Xb6YKSyIY/g5WvbBnyowqfNRxBJ3ww==} dependencies: c8: 7.12.0 - vitest: 0.24.3 + vitest: 0.24.5 transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -2980,8 +2980,8 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /listhen/0.3.4: - resolution: {integrity: sha512-cuzWWoIWF8JvsPLmIurTkUXi27owH4RRKnBsbPswRJvB82uTv15W01yOOLaPvjxY5mMlftmW2p1XnxB835AdRA==} + /listhen/0.3.5: + resolution: {integrity: sha512-suyt79hNmCFeBIyftcLqLPfYiXeB795gSUWOJT7nspl2IvREY0Q9xvchLhekxvQ0KiOPvWoyALnc9Mxoelm0Pw==} dependencies: clipboardy: 3.0.0 colorette: 2.0.19 @@ -3991,8 +3991,8 @@ packages: globrex: 0.1.2 dev: true - /tinybench/2.3.0: - resolution: {integrity: sha512-zs1gMVBwyyG2QbVchYIbnabRhMOCGvrwZz/q+SV+LIMa9q5YDQZi2kkI6ZRqV2Bz7ba1uvrc7ieUoE4KWnGeKg==} + /tinybench/2.3.1: + resolution: {integrity: sha512-hGYWYBMPr7p4g5IarQE7XhlyWveh1EKhy4wUBS1LrHXCKYgvz+4/jCqgmJqZxxldesn05vccrtME2RLLZNW7iA==} dev: true /tinypool/0.3.0: @@ -4233,8 +4233,8 @@ packages: fsevents: 2.3.2 dev: true - /vitest/0.24.3: - resolution: {integrity: sha512-aM0auuPPgMSstWvr851hB74g/LKaKBzSxcG3da7ejfZbx08Y21JpZmbmDYrMTCGhVZKqTGwzcnLMwyfz2WzkhQ==} + /vitest/0.24.5: + resolution: {integrity: sha512-zw6JhPUHtLILQDe5Q39b/SzoITkG+R7hcFjuthp4xsi6zpmfQPOZcHodZ+3bqoWl4EdGK/p1fuMiEwdxgbGLOA==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -4257,12 +4257,12 @@ packages: dependencies: '@types/chai': 4.3.3 '@types/chai-subset': 1.3.3 - '@types/node': 18.11.7 + '@types/node': 18.11.9 chai: 4.3.6 debug: 4.3.4 local-pkg: 0.4.2 strip-literal: 0.4.2 - tinybench: 2.3.0 + tinybench: 2.3.1 tinypool: 0.3.0 tinyspy: 1.0.2 vite: 3.1.6 From df3dc944c8e1854e807d8d298b3879b68689865d Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 3 Nov 2022 15:48:20 +0100 Subject: [PATCH 10/10] chore(release): 0.4.21 --- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 443202f7..064696ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [0.4.21](https://github.com/unjs/ohmyfetch/compare/v0.4.20...v0.4.21) (2022-11-03) + + +### Features + +* add `status` and `statusText` to fetch errors ([#152](https://github.com/unjs/ohmyfetch/issues/152)) ([784a7c0](https://github.com/unjs/ohmyfetch/commit/784a7c0524a60406b0ba09055502107ef57ef5c9)) + + +### Bug Fixes + +* only call error handler if status code is >= 400 ([#153](https://github.com/unjs/ohmyfetch/issues/153)) ([385f7fe](https://github.com/unjs/ohmyfetch/commit/385f7fe9c92d1ee614919c0ce3a9586acf031d05)) + ### [0.4.20](https://github.com/unjs/ohmyfetch/compare/v0.4.19...v0.4.20) (2022-10-17) diff --git a/package.json b/package.json index d391de36..a0b18e43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ohmyfetch", - "version": "0.4.20", + "version": "0.4.21", "description": "oh-my-fetch", "repository": "unjs/ohmyfetch", "license": "MIT",