mobbdev 0.0.56 → 0.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2060,7 +2060,9 @@ async function uploadFile({
2060
2060
  Object.entries(uploadFields).forEach(([key, value]) => {
2061
2061
  form.append(key, value);
2062
2062
  });
2063
- form.append("key", uploadKey);
2063
+ if (!form.has("key")) {
2064
+ form.append("key", uploadKey);
2065
+ }
2064
2066
  if (typeof file === "string") {
2065
2067
  debug7("upload file from path %s", file);
2066
2068
  form.append("file", await fileFrom(file));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "https://github.com/mobb-dev/bugsy",
6
6
  "main": "dist/index.js",