[2.8.3]
0e176756(#3586 by @cpruijsen) Fixfetchthrowing aTypeErrorwhen a response header value contains non-ASCII bytes (e.g. a UTF-8 encodedContent-Dispositionfilename). Header values are now treated as byte strings like in a browser: response header values are decoded as ISO-8859-1 so the raw bytes are preserved as a validByteStringfornew Headers(), and request header values are sent as their raw bytes (one byte per character) instead of being UTF-8 encoded. A request header value with a character such aséis now sent as the single byte0xE9, as browsers do.
Dependencies
- Upgraded to
fs@2.7.1
PNPM Publish
npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦 @tauri-apps/plugin-http@2.8.3
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 2.6kB README.md
npm notice 7.7kB dist-js/index.cjs
npm notice 3.4kB dist-js/index.d.ts
npm notice 7.7kB dist-js/index.js
npm notice 655B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-http
npm notice version: 2.8.3
npm notice filename: tauri-apps-plugin-http-2.8.3.tgz
npm notice package size: 5.5 kB
npm notice unpacked size: 23.0 kB
npm notice shasum: fab46689d66e91dc6eb55bbba7748ff73895a6f9
npm notice integrity: sha512-MrgCnnxSnzxkM[...]HL0UZur/1iqKA==
npm notice total files: 6
npm notice
npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. Learn how to prepare: https://gh.io/npm-gat-bypass2fa-deprecation
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=3253699077
npm notice Your package is being processed and may take a few minutes to become available.
+ @tauri-apps/plugin-http@2.8.3