@openmrs/esm-utils 9.0.3-pre.4114 → 9.0.3-pre.4151

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.
@@ -1,3 +1,3 @@
1
- [0] Successfully compiled: 12 files with swc (230.61ms)
1
+ [0] Successfully compiled: 12 files with swc (186.13ms)
2
2
  [0] swc --strip-leading-paths src -d dist exited with code 0
3
3
  [1] tsc --project tsconfig.build.json exited with code 0
@@ -1,7 +1,4 @@
1
- /**
2
- * @module
3
- * @category Date and Time
4
- */ function _check_private_redeclaration(obj, privateCollection) {
1
+ function _check_private_redeclaration(obj, privateCollection) {
5
2
  if (privateCollection.has(obj)) {
6
3
  throw new TypeError("Cannot initialize the same private elements twice on an object");
7
4
  }
@@ -26,7 +23,10 @@ function _class_private_field_init(obj, privateMap, value) {
26
23
  _check_private_redeclaration(obj, privateMap);
27
24
  privateMap.set(obj, value);
28
25
  }
29
- import { createCalendar, toCalendar } from "@internationalized/date";
26
+ /**
27
+ * @module
28
+ * @category Date and Time
29
+ */ import { createCalendar, toCalendar } from "@internationalized/date";
30
30
  import { DurationFormat } from "@formatjs/intl-durationformat";
31
31
  import { attempt } from "any-date-parser";
32
32
  import dayjs from "dayjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-utils",
3
- "version": "9.0.3-pre.4114",
3
+ "version": "9.0.3-pre.4151",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Helper utilities for OpenMRS",
6
6
  "type": "module",
@@ -59,9 +59,9 @@
59
59
  "rxjs": "6.x"
60
60
  },
61
61
  "devDependencies": {
62
- "@openmrs/esm-globals": "9.0.3-pre.4114",
63
- "@swc/cli": "^0.7.7",
64
- "@swc/core": "^1.11.29",
62
+ "@openmrs/esm-globals": "9.0.3-pre.4151",
63
+ "@swc/cli": "0.8.0",
64
+ "@swc/core": "1.15.18",
65
65
  "@types/lodash-es": "^4.17.12",
66
66
  "@types/semver": "^7.3.4",
67
67
  "@vitest/coverage-v8": "^4.0.18",