@openc3/js-common 7.0.0 → 7.0.1

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.
package/dist/services.js CHANGED
@@ -677,7 +677,7 @@ function te(n) {
677
677
  return n && String(n).trim().toLowerCase();
678
678
  }
679
679
  function _e(n) {
680
- return n === !1 || n == null ? n : l.isArray(n) ? n.map(_e) : String(n);
680
+ return n === !1 || n == null ? n : l.isArray(n) ? n.map(_e) : String(n).replace(/[\r\n]+$/, "");
681
681
  }
682
682
  function hr(n) {
683
683
  const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -1264,14 +1264,14 @@ const Bt = (n) => {
1264
1264
  return !1;
1265
1265
  const c = s && fe(at), d = s && (typeof lt == "function" ? /* @__PURE__ */ ((h) => (g) => h.encode(g))(new lt()) : async (h) => new Uint8Array(await new t(h).arrayBuffer())), u = o && c && ut(() => {
1266
1266
  let h = !1;
1267
- const g = new t(N.origin, {
1268
- body: new at(),
1267
+ const g = new at(), p = new t(N.origin, {
1268
+ body: g,
1269
1269
  method: "POST",
1270
1270
  get duplex() {
1271
1271
  return h = !0, "half";
1272
1272
  }
1273
1273
  }).headers.has("Content-Type");
1274
- return h && !g;
1274
+ return g.cancel(), h && !p;
1275
1275
  }), a = i && c && ut(() => l.isReadableStream(new r("").body)), f = {
1276
1276
  stream: a && ((h) => h.body)
1277
1277
  };
@@ -1487,7 +1487,7 @@ function dt(n) {
1487
1487
  }
1488
1488
  );
1489
1489
  }
1490
- const zt = "1.13.6", Ae = {};
1490
+ const zt = "1.14.0", Ae = {};
1491
1491
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((n, e) => {
1492
1492
  Ae[n] = function(r) {
1493
1493
  return typeof r === n || "a" + (e < 1 ? "n " : " ") + n;