fluncle 0.42.0 → 0.43.0

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/bin/fluncle.mjs +3 -3
  2. package/package.json +1 -1
package/bin/fluncle.mjs CHANGED
@@ -2539,7 +2539,7 @@ function parseVersion(version) {
2539
2539
  var currentVersion;
2540
2540
  var init_version = __esm(() => {
2541
2541
  init_output();
2542
- currentVersion = "0.42.0".trim() ? "0.42.0".trim() : "0.1.0";
2542
+ currentVersion = "0.43.0".trim() ? "0.43.0".trim() : "0.1.0";
2543
2543
  });
2544
2544
 
2545
2545
  // src/update-notifier.ts
@@ -2784,7 +2784,7 @@ async function adminApiPost(path, body) {
2784
2784
  body: body === undefined ? undefined : JSON.stringify(body),
2785
2785
  headers: {
2786
2786
  ...adminHeaders(),
2787
- "Content-Type": "application/json"
2787
+ ...body === undefined ? {} : { "Content-Type": "application/json" }
2788
2788
  },
2789
2789
  method: "POST"
2790
2790
  });
@@ -4001,7 +4001,7 @@ function parseVersion2(version) {
4001
4001
  var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
4002
4002
  var init_version2 = __esm(() => {
4003
4003
  init_output();
4004
- currentVersion2 = "0.42.0".trim() ? "0.42.0".trim() : "0.1.0";
4004
+ currentVersion2 = "0.43.0".trim() ? "0.43.0".trim() : "0.1.0";
4005
4005
  });
4006
4006
 
4007
4007
  // src/commands/track.ts
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  "url": "git+https://github.com/mauricekleine/fluncle.git"
32
32
  },
33
33
  "type": "module",
34
- "version": "0.42.0"
34
+ "version": "0.43.0"
35
35
  }