@everyonesoftware/common 12.0.0 → 13.0.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.
- package/outputs/{characterWriteStream-CzPcNOCD.d.cts → characterWriteStream-DGlmRcFl.d.cts} +9 -0
- package/outputs/{characterWriteStream-CzPcNOCD.d.ts → characterWriteStream-DGlmRcFl.d.ts} +9 -0
- package/outputs/{chunk-FZ3WRQ7B.js → chunk-P4KLLRFY.js} +2 -2
- package/outputs/{chunk-MHMLVX2O.js → chunk-TUBXFCG4.js} +4 -1
- package/outputs/chunk-TUBXFCG4.js.map +1 -0
- package/outputs/sourceIndex.cjs +3 -0
- package/outputs/sourceIndex.cjs.map +1 -1
- package/outputs/sourceIndex.d.cts +3 -2
- package/outputs/sourceIndex.d.ts +3 -2
- package/outputs/sourceIndex.js +1 -1
- package/outputs/testIndex.cjs +3 -0
- package/outputs/testIndex.cjs.map +1 -1
- package/outputs/testIndex.d.cts +1 -1
- package/outputs/testIndex.d.ts +1 -1
- package/outputs/testIndex.js +2 -2
- package/outputs/tests.cjs +4 -0
- package/outputs/tests.cjs.map +1 -1
- package/outputs/tests.js +3 -2
- package/outputs/tests.js.map +1 -1
- package/package.json +1 -1
- package/outputs/chunk-MHMLVX2O.js.map +0 -1
- /package/outputs/{chunk-FZ3WRQ7B.js.map → chunk-P4KLLRFY.js.map} +0 -0
package/outputs/testIndex.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-
|
|
1
|
+
import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-DGlmRcFl.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A type that can be used to make assertions during a test.
|
package/outputs/testIndex.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-
|
|
1
|
+
import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-DGlmRcFl.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A type that can be used to make assertions during a test.
|
package/outputs/testIndex.js
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
TestRunner,
|
|
10
10
|
TestSkip,
|
|
11
11
|
test
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P4KLLRFY.js";
|
|
13
13
|
import {
|
|
14
14
|
Clock,
|
|
15
15
|
DateTime,
|
|
16
16
|
PreCondition
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TUBXFCG4.js";
|
|
18
18
|
|
|
19
19
|
// tests/FakeClock.ts
|
|
20
20
|
var FakeClock = class _FakeClock extends Clock {
|
package/outputs/tests.cjs
CHANGED
|
@@ -5754,6 +5754,9 @@ var LuxonDateTime = class _LuxonDateTime {
|
|
|
5754
5754
|
toDateString() {
|
|
5755
5755
|
return this.dateTime.toISODate();
|
|
5756
5756
|
}
|
|
5757
|
+
toShortDateString() {
|
|
5758
|
+
return `${this.dateTime.monthShort} ${this.dateTime.day}`;
|
|
5759
|
+
}
|
|
5757
5760
|
compareTo(dateTime, compareTimes) {
|
|
5758
5761
|
return DateTime2.compareTo(this, dateTime, compareTimes);
|
|
5759
5762
|
}
|
|
@@ -12658,6 +12661,7 @@ function test13(runner) {
|
|
|
12658
12661
|
test58.assertEqual(18, dateTime.getMinute());
|
|
12659
12662
|
test58.assertEqual(30, dateTime.getSecond());
|
|
12660
12663
|
test58.assertEqual("2025-03-14", dateTime.toDateString());
|
|
12664
|
+
test58.assertEqual("Mar 14", dateTime.toShortDateString());
|
|
12661
12665
|
test58.assertEqual("2025-03-14T20:18:30.000-07:00", dateTime.toString());
|
|
12662
12666
|
test58.assertEqual("2025-03-14T20:18:30.000-07:00", dateTime.debug);
|
|
12663
12667
|
});
|