[Snyk] Upgrade wretch from 1.7.9 to 2.8.0 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade wretch from 1.7.9 to 2.8.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: wretch
2.8.0 (2023-12-30)
🏭 New feature(s)
// unhandled error :(
})()">
2.7.1 - 2023-11-19
2.7.1 (2023-11-19)
🐛 Bug fix(es)
HeadersInit
(Header / array) argument to headers() (f32845a), closes #205const headers2 = new Headers({ "bonjour": "le monde" });
const headers3 = { "hola": "mundo " };
const headers4 = [["hallo", "welt"]]
let w = wretch().headers(headers1);
console.log(w._options.headers);
// Object { hello: "world" }
w = w.headers(headers2);
console.log(w._options.headers);
// Object { hello: "world", bonjour: "le monde" }
w = w.headers(headers3);
console.log(w._options.headers);
// Object { hello: "world", bonjour: "le monde", hola: "mundo " }
w = w.headers(headers4);
console.log(w._options.headers);
// Object { hello: "world", bonjour: "le monde", hola: "mundo ", hallo: "welt" }
⬆️ Version update(s)
2.7.0 (2023-09-12)
🏭 New feature(s)
<script type="module">
import wretch from 'https://cdn.skypack.dev/wretch';
import FormDataAddon from 'https://cdn.skypack.dev/wretch/addons/formData';
</script>
</head>
<body>
<input id="myfiles" multiple type="file" />
</body>
📝 Documentation update(s)
2.6.0 (2023-06-28)
⬆️ Version update(s)
🏭 New feature(s)
📝 Documentation update(s)
2.5.2 (2023-04-11)
🐛 Bug fix(es)
📝 Documentation update(s)
2.5.1 (2023-02-27)
🐛 Bug fix(es)
2.5.0 (2023-02-20)
🏭 New feature(s)
Setting the error type as json manually using
.errorType("json")
should now not be necessary if the server responds with aContent-Type
header set asapplication/json
.The response body will be deserialized and the
error.json
will be set accordingly.⬆️ Version update(s)
2.4.1 (2023-01-20)
🐛 Bug fix(es)
Read more
Read more
Commit messages
Package name: wretch
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs