Framework updates
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
node_modules/axios/lib/helpers/toURLEncodedForm.js
generated
vendored
4
node_modules/axios/lib/helpers/toURLEncodedForm.js
generated
vendored
@@ -6,7 +6,7 @@ import platform from '../platform/index.js';
|
||||
|
||||
export default function toURLEncodedForm(data, options) {
|
||||
return toFormData(data, new platform.classes.URLSearchParams(), {
|
||||
visitor: function(value, key, path, helpers) {
|
||||
visitor: function (value, key, path, helpers) {
|
||||
if (platform.isNode && utils.isBuffer(value)) {
|
||||
this.append(key, value.toString('base64'));
|
||||
return false;
|
||||
@@ -14,6 +14,6 @@ export default function toURLEncodedForm(data, options) {
|
||||
|
||||
return helpers.defaultVisitor.apply(this, arguments);
|
||||
},
|
||||
...options
|
||||
...options,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user