@openfn/language-common 2.0.1 → 2.0.2

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/index.cjs CHANGED
@@ -685,12 +685,12 @@ function cursor(value, options2 = {}) {
685
685
  if (date instanceof Date && date.toString !== "Invalid Date") {
686
686
  state[cursorKey] = (format2 == null ? void 0 : format2(date)) ?? date.toISOString();
687
687
  const formatted = format2 ? state[cursorKey] : import_date_fns2.default.format(date, "HH:MM d MMM yyyy (OOO)");
688
- console.log(`Setting cursor "${cursor2}" to: ${formatted}`);
688
+ console.log(`Setting ${cursorKey} "${cursor2}" to: ${formatted}`);
689
689
  return state;
690
690
  }
691
691
  }
692
692
  state[cursorKey] = (format2 == null ? void 0 : format2(cursor2)) ?? cursor2;
693
- console.log("Setting cursor to:", state[cursorKey]);
693
+ console.log(`Setting ${cursorKey} to:`, state[cursorKey]);
694
694
  return state;
695
695
  };
696
696
  }
package/dist/index.js CHANGED
@@ -625,12 +625,12 @@ function cursor(value, options2 = {}) {
625
625
  if (date instanceof Date && date.toString !== "Invalid Date") {
626
626
  state[cursorKey] = (format2 == null ? void 0 : format2(date)) ?? date.toISOString();
627
627
  const formatted = format2 ? state[cursorKey] : dateFns.format(date, "HH:MM d MMM yyyy (OOO)");
628
- console.log(`Setting cursor "${cursor2}" to: ${formatted}`);
628
+ console.log(`Setting ${cursorKey} "${cursor2}" to: ${formatted}`);
629
629
  return state;
630
630
  }
631
631
  }
632
632
  state[cursorKey] = (format2 == null ? void 0 : format2(cursor2)) ?? cursor2;
633
- console.log("Setting cursor to:", state[cursorKey]);
633
+ console.log(`Setting ${cursorKey} to:`, state[cursorKey]);
634
634
  return state;
635
635
  };
636
636
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-common",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Common Expressions for OpenFn",
5
5
  "homepage": "https://docs.openfn.org",
6
6
  "repository": {