@dotinc/ogre 0.15.1 → 0.15.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.
@@ -3,58 +3,58 @@ TAP version 14
3
3
  ok 1 - has changelog entries
4
4
  ok 2 - incorrect \# of commits
5
5
  1..2
6
- ok 1 - baseline with 1 commit and zero changelog entries # time=112.255ms
6
+ ok 1 - baseline with 1 commit and zero changelog entries # time=77.618ms
7
7
 
8
8
  # Subtest: head points to main
9
9
  ok 1 - head not pointing where it should
10
10
  1..1
11
- ok 2 - head points to main # time=0.85ms
11
+ ok 2 - head points to main # time=1.037ms
12
12
 
13
13
  # Subtest: changes are available for commit if starting from empty
14
14
  ok 1 - Status does not contain the right amount of changes
15
15
  ok 2 - (unnamed test)
16
16
  1..2
17
- ok 3 - changes are available for commit if starting from empty # time=91.564ms
17
+ ok 3 - changes are available for commit if starting from empty # time=168.393ms
18
18
 
19
19
  # Subtest: no commit without changes
20
20
  ok 1 - expected to reject
21
21
  1..1
22
- ok 4 - no commit without changes # time=7.806ms
22
+ ok 4 - no commit without changes # time=5.536ms
23
23
 
24
24
  # Subtest: no commit without changes after recent commit
25
25
  ok 1 - expected to reject
26
26
  1..1
27
- ok 5 - no commit without changes after recent commit # time=9.345ms
27
+ ok 5 - no commit without changes after recent commit # time=7.365ms
28
28
 
29
29
  # Subtest: overwrite nested array changes are recognized
30
30
  1..0
31
- ok 6 - overwrite nested array changes are recognized # time=18.058ms
31
+ ok 6 - overwrite nested array changes are recognized # time=10.414ms
32
32
 
33
33
  # Subtest: change of nested array element is recognized
34
34
  1..0
35
- ok 7 - change of nested array element is recognized # time=12.724ms
35
+ ok 7 - change of nested array element is recognized # time=12.667ms
36
36
 
37
37
  # Subtest: treeHash of commit is matching content
38
38
  ok 1 - should be equal
39
39
  ok 2 - tree hash mismatch
40
40
  1..2
41
- ok 8 - treeHash of commit is matching content # time=9.065ms
41
+ ok 8 - treeHash of commit is matching content # time=5.629ms
42
42
 
43
43
  # Subtest: no commit --amend without commit
44
44
  ok 1 - expected to reject
45
45
  1..1
46
- ok 9 - no commit --amend without commit # time=5.497ms
46
+ ok 9 - no commit --amend without commit # time=2.217ms
47
47
 
48
48
  # Subtest: main moves to recent commit
49
49
  ok 1 - head does not point to recent commit
50
50
  1..1
51
- ok 10 - main moves to recent commit # time=4.467ms
51
+ ok 10 - main moves to recent commit # time=5.221ms
52
52
 
53
53
  # Subtest: two commits with 3 changes
54
54
  ok 1 - incorrect \# of changelog entries
55
55
  ok 2 - incorrect \# of commits
56
56
  1..2
57
- ok 11 - two commits with 3 changes # time=4.865ms
57
+ ok 11 - two commits with 3 changes # time=5.702ms
58
58
 
59
59
  # Subtest: array push double-change, 6 changes, 3 commits
60
60
  ok 1 - incorrect \# of changelog entries
@@ -62,7 +62,7 @@ ok 11 - two commits with 3 changes # time=4.865ms
62
62
  ok 3 - \#incorrect \# of changes in commit\#1
63
63
  ok 4 - \#incorrect \# of changes in commit\#2
64
64
  1..4
65
- ok 12 - array push double-change, 6 changes, 3 commits # time=7.866ms
65
+ ok 12 - array push double-change, 6 changes, 3 commits # time=10.462ms
66
66
 
67
67
  # Subtest: all refs OK, when committing on new branch while main is empty main
68
68
  ok 1 - main should not point to a commit
@@ -70,7 +70,7 @@ ok 12 - array push double-change, 6 changes, 3 commits # time=7.866ms
70
70
  ok 3 - branch should now be visible
71
71
  ok 4 - HEAD is pointing to wrong branch
72
72
  1..4
73
- ok 13 - all refs OK, when committing on new branch while main is empty main # time=4.661ms
73
+ ok 13 - all refs OK, when committing on new branch while main is empty main # time=5.99ms
74
74
 
75
75
  # Subtest: commit --amend changes hash on content change
76
76
  ok 1 - hash should have changed
@@ -80,7 +80,7 @@ ok 13 - all refs OK, when committing on new branch while main is empty main # ti
80
80
  ok 5 - we are on the wrong branch
81
81
  ok 6 - main should point to changed commit hash
82
82
  1..6
83
- ok 14 - commit --amend changes hash on content change # time=8.68ms
83
+ ok 14 - commit --amend changes hash on content change # time=12.052ms
84
84
 
85
85
  # Subtest: commit --amend changes hash on message change
86
86
  ok 1 - hash should have changed
@@ -90,7 +90,7 @@ ok 14 - commit --amend changes hash on content change # time=8.68ms
90
90
  ok 5 - we are on the wrong branch
91
91
  ok 6 - main should point to changed commit hash
92
92
  1..6
93
- ok 15 - commit --amend changes hash on message change # time=16.681ms
93
+ ok 15 - commit --amend changes hash on message change # time=17.247ms
94
94
 
95
95
  # Subtest: commit at detached HEAD does not affect main, but moves head
96
96
  ok 1 - HEAD did not move to commit
@@ -99,12 +99,12 @@ ok 15 - commit --amend changes hash on message change # time=16.681ms
99
99
  ok 4 - HEAD did not move to commit
100
100
  ok 5 - main branch did not stay at last commit
101
101
  1..5
102
- ok 16 - commit at detached HEAD does not affect main, but moves head # time=17.784ms
102
+ ok 16 - commit at detached HEAD does not affect main, but moves head # time=18.631ms
103
103
 
104
104
  # Subtest: commit at detached HEAD saved to a branch
105
105
  ok 1 - savepoint branch should point to last detached commit
106
106
  1..1
107
- ok 17 - commit at detached HEAD saved to a branch # time=9.448ms
107
+ ok 17 - commit at detached HEAD saved to a branch # time=14.104ms
108
108
 
109
109
  # Subtest: commit --amend changes hash on message change even in detached HEAD
110
110
  ok 1 - hash should have changed
@@ -114,6 +114,6 @@ ok 17 - commit at detached HEAD saved to a branch # time=9.448ms
114
114
  ok 5 - HEAD is not pointing to detached commit
115
115
  ok 6 - main should point to changed commit hash
116
116
  1..6
117
- ok 18 - commit --amend changes hash on message change even in detached HEAD # time=30.847ms
117
+ ok 18 - commit --amend changes hash on message change even in detached HEAD # time=38.782ms
118
118
 
119
119
  1..18
@@ -2,7 +2,7 @@ TAP version 14
2
2
  # Subtest: merge with no commit fails
3
3
  ok 1 - expected to reject
4
4
  1..1
5
- ok 1 - merge with no commit fails # time=123.946ms
5
+ ok 1 - merge with no commit fails # time=176.221ms
6
6
 
7
7
  # Subtest: merge fast-forward
8
8
  ok 1 - HEAD not pointing to new_branch
@@ -11,6 +11,6 @@ ok 1 - merge with no commit fails # time=123.946ms
11
11
  ok 4 - master is not at expected commit
12
12
  ok 5 - fast-forward failed, superfluous commit detected
13
13
  1..5
14
- ok 2 - merge fast-forward # time=13.61ms
14
+ ok 2 - merge fast-forward # time=23.574ms
15
15
 
16
16
  1..2
@@ -1,9 +1,9 @@
1
1
  TAP version 14
2
2
  # Subtest: diff is ok
3
3
  ok 1 - main is pointing at wrong commit
4
- ok 2 - invalid \# of change entries: [{"op":"add","path":"/nested/0","value":{"uuid":"5457a25f-3b33-4b34-a1d0-a82e8c712c3e","name":"new name"}},{"op":"add","path":"/nested/1","value":{"uuid":"5e37abbb-ac46-49ee-b658-62cf1ed1f952","name":"first name"}}]
4
+ ok 2 - invalid \# of change entries: [{"op":"add","path":"/nested/0","value":{"uuid":"9a9e97b1-7126-435d-a928-78228d286d30","name":"new name"}},{"op":"add","path":"/nested/1","value":{"uuid":"a515a7c8-0846-427b-a22a-bd5f1e0fba23","name":"first name"}}]
5
5
  1..2
6
- ok 1 - diff is ok # time=169.967ms
6
+ ok 1 - diff is ok # time=147.454ms
7
7
 
8
8
  # Subtest: restore
9
9
  # Subtest: history check
@@ -16,7 +16,7 @@ ok 1 - diff is ok # time=169.967ms
16
16
  ok 7 - incorrect \# of commits
17
17
  ok 8 - incorrect \# of changelog entries
18
18
  1..8
19
- ok 1 - history check # time=94.419ms
19
+ ok 1 - history check # time=63.078ms
20
20
 
21
21
  # Subtest: date stays date
22
22
  ok 1 - incorrect \# of commits
@@ -24,7 +24,7 @@ ok 1 - diff is ok # time=169.967ms
24
24
  ok 3 - restored object does not equal last version.
25
25
  ok 4 - incorrect \# of changelog entries
26
26
  1..4
27
- ok 2 - date stays date # time=19.247ms
27
+ ok 2 - date stays date # time=11.696ms
28
28
 
29
29
  # Subtest: reconstruct with 2 commits
30
30
  ok 1 - main is pointing at wrong commit
@@ -33,17 +33,17 @@ ok 1 - diff is ok # time=169.967ms
33
33
  ok 4 - incorrect \# of commits
34
34
  ok 5 - incorrect \# of changelog entries
35
35
  1..5
36
- ok 3 - reconstruct with 2 commits # time=7.776ms
36
+ ok 3 - reconstruct with 2 commits # time=8.947ms
37
37
 
38
38
  1..3
39
- ok 2 - restore # time=147.554ms
39
+ ok 2 - restore # time=129.172ms
40
40
 
41
41
  # Subtest: history
42
42
  # Subtest: successful restore
43
43
  ok 1 - restored object does not equal last version.
44
44
  ok 2 - should not be the js ref
45
45
  1..2
46
- ok 1 - successful restore # time=231.303ms
46
+ ok 1 - successful restore # time=210.038ms
47
47
 
48
48
  # Subtest: remoteRefs doesn't change on commit
49
49
  ok 1 - input history refs and remote before change should not be the same object
@@ -52,7 +52,7 @@ ok 2 - restore # time=147.554ms
52
52
  ok 4 - history refs must not be the same as static remotes
53
53
  ok 5 - histories must not match anymore
54
54
  1..5
55
- ok 2 - remoteRefs doesn't change on commit # time=18.079ms
55
+ ok 2 - remoteRefs doesn't change on commit # time=37.172ms
56
56
 
57
57
  # Subtest: history contains HEAD ref
58
58
  ok 1 - should be equal
@@ -60,15 +60,15 @@ ok 2 - restore # time=147.554ms
60
60
  ok 3 - should be equal
61
61
  ok 4 - should be equal
62
62
  1..4
63
- ok 3 - history contains HEAD ref # time=0.908ms
63
+ ok 3 - history contains HEAD ref # time=1.225ms
64
64
 
65
65
  # Subtest: empty history unreachable HEAD
66
66
  ok 1 - expected to throw
67
67
  1..1
68
- ok 4 - empty history unreachable HEAD # time=1.175ms
68
+ ok 4 - empty history unreachable HEAD # time=1.256ms
69
69
 
70
70
  1..4
71
- ok 3 - history # time=315.144ms
71
+ ok 3 - history # time=363.835ms
72
72
 
73
73
  # Subtest: reset
74
74
  # Subtest: discard uncommitted changes
@@ -76,7 +76,7 @@ ok 3 - history # time=315.144ms
76
76
  ok 2 - wrong \# of changes in diff
77
77
  ok 3 - failed to reset
78
78
  1..3
79
- ok 1 - discard uncommitted changes # time=164.262ms
79
+ ok 1 - discard uncommitted changes # time=152.994ms
80
80
 
81
81
  # Subtest: reset to earlier commit
82
82
  ok 1 - should be equal
@@ -86,7 +86,7 @@ ok 3 - history # time=315.144ms
86
86
  ok 5 - failed to reset
87
87
  ok 6 - main should point to first hash
88
88
  1..6
89
- ok 2 - reset to earlier commit # time=20.865ms
89
+ ok 2 - reset to earlier commit # time=17.038ms
90
90
 
91
91
  # Subtest: reset to earlier version tag
92
92
  ok 1 - should be equal
@@ -96,54 +96,54 @@ ok 3 - history # time=315.144ms
96
96
  ok 5 - failed to reset
97
97
  ok 6 - main should point to first hash
98
98
  1..6
99
- ok 3 - reset to earlier version tag # time=7.968ms
99
+ ok 3 - reset to earlier version tag # time=8.215ms
100
100
 
101
101
  1..3
102
- ok 4 - reset # time=263.943ms
102
+ ok 4 - reset # time=229.603ms
103
103
 
104
104
  # Subtest: status
105
105
  # Subtest: clean repo no change
106
106
  ok 1 - Shouldn't have pending changes
107
107
  1..1
108
- ok 1 - clean repo no change # time=395.48ms
108
+ ok 1 - clean repo no change # time=467.123ms
109
109
 
110
110
  # Subtest: clean repo pending change
111
111
  ok 1 - Status doesn't contain the expected \# of changes: [{"op":"replace","path":"/name","value":"changed name"}]
112
112
  1..1
113
- ok 2 - clean repo pending change # time=0.627ms
113
+ ok 2 - clean repo pending change # time=0.773ms
114
114
 
115
115
  # Subtest: reading status shouldn't clean observer
116
116
  ok 1 - Status doesn't contain the expected \# of changes: [{"op":"replace","path":"/name","value":"changed name"}]
117
117
  ok 2 - Status doesn't contain the expected \# of changes: [{"op":"replace","path":"/name","value":"changed name"}]
118
118
  ok 3 - why different pending changes??
119
119
  1..3
120
- ok 3 - reading status shouldn't clean observer # time=1.075ms
120
+ ok 3 - reading status shouldn't clean observer # time=1.217ms
121
121
 
122
122
  # Subtest: after commit no change
123
123
  ok 1 - Shouldn't have pending changes
124
124
  1..1
125
- ok 4 - after commit no change # time=9.061ms
125
+ ok 4 - after commit no change # time=9.35ms
126
126
 
127
127
  # Subtest: after commit pending change
128
128
  ok 1 - Shouldn't have pending changes
129
129
  ok 2 - Status doesn't contain changes
130
130
  1..2
131
- ok 5 - after commit pending change # time=8.479ms
131
+ ok 5 - after commit pending change # time=5.056ms
132
132
 
133
133
  # Subtest: after commit pending change for rewrite array
134
134
  ok 1 - Shouldn't have pending changes
135
135
  ok 2 - Status doesn't contain changes
136
136
  1..2
137
- ok 6 - after commit pending change for rewrite array # time=10.279ms
137
+ ok 6 - after commit pending change for rewrite array # time=6.877ms
138
138
 
139
139
  # Subtest: change of nested array element prop
140
140
  ok 1 - Shouldn't have pending changes
141
141
  ok 2 - Status doesn't contain changes
142
142
  1..2
143
- ok 7 - change of nested array element prop # time=9.938ms
143
+ ok 7 - change of nested array element prop # time=4.651ms
144
144
 
145
145
  1..7
146
- ok 5 - status # time=512.136ms
146
+ ok 5 - status # time=556.196ms
147
147
 
148
148
  # Subtest: apply
149
149
  # Subtest: single patch
@@ -153,7 +153,7 @@ ok 5 - status # time=512.136ms
153
153
  ok 4 - Status doesn't contain changes
154
154
  ok 5 - It should have the right changes
155
155
  1..5
156
- ok 1 - single patch # time=190.219ms
156
+ ok 1 - single patch # time=147.764ms
157
157
 
158
158
  # Subtest: patch for undefined props with workaround
159
159
  ok 1 - Shouldn't have pending changes
@@ -161,7 +161,7 @@ ok 5 - status # time=512.136ms
161
161
  ok 3 - The final state should match up
162
162
  ok 4 - Status should contain 1 change
163
163
  1..4
164
- ok 2 - patch for undefined props with workaround # time=1.484ms
164
+ ok 2 - patch for undefined props with workaround # time=1.997ms
165
165
 
166
166
  # Subtest: multiple patches
167
167
  ok 1 - Shouldn't have pending changes
@@ -170,10 +170,10 @@ ok 5 - status # time=512.136ms
170
170
  ok 4 - It should have the right changes
171
171
  ok 5 - The final state does not match up
172
172
  1..5
173
- ok 3 - multiple patches # time=1.469ms
173
+ ok 3 - multiple patches # time=2.184ms
174
174
 
175
175
  1..3
176
- ok 6 - apply # time=286.226ms
176
+ ok 6 - apply # time=235.891ms
177
177
 
178
178
  # Subtest: pending changes - push helpers
179
179
  # Subtest: 1 commit & 1 ref update
@@ -182,7 +182,7 @@ ok 6 - apply # time=286.226ms
182
182
  ok 3 - wrong pending commit
183
183
  ok 4 - wrong pending ref update
184
184
  1..4
185
- ok 1 - 1 commit & 1 ref update # time=554.731ms
185
+ ok 1 - 1 commit & 1 ref update # time=594.146ms
186
186
 
187
187
  # Subtest: 2 commit & 1 ref update
188
188
  ok 1 - incorrect number of pending commits
@@ -190,7 +190,7 @@ ok 6 - apply # time=286.226ms
190
190
  ok 3 - wrong pending commits
191
191
  ok 4 - wrong pending ref update
192
192
  1..4
193
- ok 2 - 2 commit & 1 ref update # time=9.204ms
193
+ ok 2 - 2 commit & 1 ref update # time=8.196ms
194
194
 
195
195
  # Subtest: 1 commit & 2 ref updates
196
196
  ok 1 - incorrect number of pending commits
@@ -198,7 +198,7 @@ ok 6 - apply # time=286.226ms
198
198
  ok 3 - wrong pending commits
199
199
  ok 4 - wrong pending ref update
200
200
  1..4
201
- ok 3 - 1 commit & 2 ref updates # time=13.577ms
201
+ ok 3 - 1 commit & 2 ref updates # time=6.947ms
202
202
 
203
203
  # Subtest: 2 commit & 2 ref updates
204
204
  ok 1 - incorrect number of pending commits
@@ -206,7 +206,7 @@ ok 6 - apply # time=286.226ms
206
206
  ok 3 - wrong pending commits
207
207
  ok 4 - wrong pending ref update
208
208
  1..4
209
- ok 4 - 2 commit & 2 ref updates # time=32.101ms
209
+ ok 4 - 2 commit & 2 ref updates # time=36.292ms
210
210
 
211
211
  # Subtest: 3 commit & 2 ref updates
212
212
  ok 1 - incorrect number of pending commits
@@ -214,7 +214,7 @@ ok 6 - apply # time=286.226ms
214
214
  ok 3 - wrong pending commits
215
215
  ok 4 - wrong pending ref update
216
216
  1..4
217
- ok 5 - 3 commit & 2 ref updates # time=11.68ms
217
+ ok 5 - 3 commit & 2 ref updates # time=13.229ms
218
218
 
219
219
  # Subtest: 3 commit & 3 ref updates
220
220
  ok 1 - incorrect number of pending commits
@@ -222,7 +222,7 @@ ok 6 - apply # time=286.226ms
222
222
  ok 3 - wrong pending commits
223
223
  ok 4 - wrong pending ref update
224
224
  1..4
225
- ok 6 - 3 commit & 3 ref updates # time=12.247ms
225
+ ok 6 - 3 commit & 3 ref updates # time=11.566ms
226
226
 
227
227
  # Subtest: after merge 1 commit & 3 ref updates
228
228
  ok 1 - incorrect number of pending commits
@@ -230,7 +230,7 @@ ok 6 - apply # time=286.226ms
230
230
  ok 3 - wrong pending commits
231
231
  ok 4 - wrong pending ref update
232
232
  1..4
233
- ok 7 - after merge 1 commit & 3 ref updates # time=10.303ms
233
+ ok 7 - after merge 1 commit & 3 ref updates # time=10.288ms
234
234
 
235
235
  # Subtest: after merge 1 commit & 2 ref updates
236
236
  ok 1 - incorrect number of pending commits
@@ -238,7 +238,7 @@ ok 6 - apply # time=286.226ms
238
238
  ok 3 - wrong pending commits
239
239
  ok 4 - wrong pending ref update
240
240
  1..4
241
- ok 8 - after merge 1 commit & 2 ref updates # time=7.886ms
241
+ ok 8 - after merge 1 commit & 2 ref updates # time=8.436ms
242
242
 
243
243
  # Subtest: no merge 1 commit & 1 ref updates
244
244
  ok 1 - incorrect number of pending commits
@@ -246,7 +246,7 @@ ok 6 - apply # time=286.226ms
246
246
  ok 3 - wrong pending commits
247
247
  ok 4 - wrong pending ref update
248
248
  1..4
249
- ok 9 - no merge 1 commit & 1 ref updates # time=5.391ms
249
+ ok 9 - no merge 1 commit & 1 ref updates # time=5.093ms
250
250
 
251
251
  # Subtest: no merge no commit & 1 ref updates
252
252
  ok 1 - incorrect number of pending commits
@@ -254,9 +254,19 @@ ok 6 - apply # time=286.226ms
254
254
  ok 3 - wrong pending commits
255
255
  ok 4 - wrong pending ref update
256
256
  1..4
257
- ok 10 - no merge no commit & 1 ref updates # time=3.904ms
257
+ ok 10 - no merge no commit & 1 ref updates # time=4.615ms
258
258
 
259
- 1..10
260
- ok 7 - pending changes - push helpers # time=733.034ms
259
+ # Subtest: local remote state is updated after push
260
+ ok 1 - incorrect number of pending commits
261
+ ok 2 - incorrect number of pending ref updates
262
+ ok 3 - wrong pending commits
263
+ ok 4 - wrong pending ref update
264
+ local remote state is updated after push
265
+ ok 5 - remote should be different after push
266
+ 1..5
267
+ ok 11 - local remote state is updated after push # time=6.037ms
268
+
269
+ 1..11
270
+ ok 7 - pending changes - push helpers # time=769.847ms
261
271
 
262
272
  1..7
@@ -2,18 +2,18 @@ TAP version 14
2
2
  # Subtest: cannot tag on an empty repo
3
3
  ok 1 - expected to throw
4
4
  1..1
5
- ok 1 - cannot tag on an empty repo # time=27.62ms
5
+ ok 1 - cannot tag on an empty repo # time=15.512ms
6
6
 
7
7
  # Subtest: can create simple tag pointing to HEAD
8
8
  ok 1 - should be equal
9
9
  ok 2 - tag is not pointing to expected commit
10
10
  ok 3 - reference was not present in history
11
11
  1..3
12
- ok 2 - can create simple tag pointing to HEAD # time=113.115ms
12
+ ok 2 - can create simple tag pointing to HEAD # time=76.926ms
13
13
 
14
14
  # Subtest: cannot create tag with whitespace
15
15
  ok 1 - expected to throw
16
16
  1..1
17
- ok 3 - cannot create tag with whitespace # time=5.918ms
17
+ ok 3 - cannot create tag with whitespace # time=2.687ms
18
18
 
19
19
  1..3
@@ -3,42 +3,42 @@ TAP version 14
3
3
  ok 1 - should be equal
4
4
  ok 2 - should be equal
5
5
  1..2
6
- ok 1 - author <email@domain.info> # time=3.883ms
6
+ ok 1 - author <email@domain.info> # time=4.029ms
7
7
 
8
8
  # Subtest: author with space <email@domain.info>
9
9
  ok 1 - should be equal
10
10
  ok 2 - should be equal
11
11
  1..2
12
- ok 2 - author with space <email@domain.info> # time=0.777ms
12
+ ok 2 - author with space <email@domain.info> # time=0.794ms
13
13
 
14
14
  # Subtest: author @handle
15
15
  ok 1 - should be equal
16
16
  ok 2 - should be equal
17
17
  1..2
18
- ok 3 - author @handle # time=0.545ms
18
+ ok 3 - author @handle # time=0.547ms
19
19
 
20
20
  # Subtest: author with space @handle
21
21
  ok 1 - should be equal
22
22
  ok 2 - should be equal
23
23
  1..2
24
- ok 4 - author with space @handle # time=0.538ms
24
+ ok 4 - author with space @handle # time=0.516ms
25
25
 
26
26
  # Subtest: email@domain.info
27
27
  ok 1 - should be equal
28
28
  ok 2 - should be equal
29
29
  1..2
30
- ok 5 - email@domain.info # time=0.726ms
30
+ ok 5 - email@domain.info # time=0.709ms
31
31
 
32
32
  # Subtest: @handle
33
33
  ok 1 - should be equal
34
34
  ok 2 - should be equal
35
35
  1..2
36
- ok 6 - @handle # time=0.674ms
36
+ ok 6 - @handle # time=0.696ms
37
37
 
38
38
  # Subtest: empty author
39
39
  ok 1 - expected to throw
40
40
  1..1
41
- ok 7 - empty author # time=2.395ms
41
+ ok 7 - empty author # time=2.309ms
42
42
 
43
43
  # Subtest: mapPath
44
44
  # Subtest: find root
@@ -46,7 +46,7 @@ ok 7 - empty author # time=2.395ms
46
46
  ok 2 - root is not ancestor of commit
47
47
  ok 3 - path does not contain the right commit
48
48
  1..3
49
- ok 1 - find root # time=129.198ms
49
+ ok 1 - find root # time=100.437ms
50
50
 
51
51
  # Subtest: finds full path to root
52
52
  ok 1 - path does not contain 1 commit
@@ -54,13 +54,13 @@ ok 7 - empty author # time=2.395ms
54
54
  ok 3 - path does not contain the right commit at 0
55
55
  ok 4 - path does not contain the right commit at 1
56
56
  1..4
57
- ok 2 - finds full path to root # time=4.439ms
57
+ ok 2 - finds full path to root # time=6.571ms
58
58
 
59
59
  # Subtest: parent-to-child no ancestor
60
60
  ok 1 - path contains a commit
61
61
  ok 2 - child must not be an ancestor of parent
62
62
  1..2
63
- ok 3 - parent-to-child no ancestor # time=3.887ms
63
+ ok 3 - parent-to-child no ancestor # time=5.855ms
64
64
 
65
65
  # Subtest: finds path across 2 branches
66
66
  ok 1 - path does not contain 1 commit
@@ -68,9 +68,9 @@ ok 7 - empty author # time=2.395ms
68
68
  ok 3 - path does not contain the right commit at 0
69
69
  ok 4 - path does not contain the right commit at 1
70
70
  1..4
71
- ok 4 - finds path across 2 branches # time=4.478ms
71
+ ok 4 - finds path across 2 branches # time=6.566ms
72
72
 
73
73
  1..4
74
- ok 8 - mapPath # time=159.932ms
74
+ ok 8 - mapPath # time=138.903ms
75
75
 
76
76
  1..8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ # v0.15.2 (Fri Mar 13 2026)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - fix: overwritable timestamp function for temporal.io compatibility ([@nadilas](https://github.com/nadilas))
6
+ - fix: history should always start from the top ([@nadilas](https://github.com/nadilas))
7
+
8
+ #### ⚠️ Pushed to `main`
9
+
10
+ - test: add covering test for remote state update ([@nadilas](https://github.com/nadilas))
11
+
12
+ #### Authors: 1
13
+
14
+ - [@nadilas](https://github.com/nadilas)
15
+
16
+ ---
17
+
1
18
  # v0.15.1 (Sat Mar 29 2025)
2
19
 
3
20
  #### 🐛 Bug Fix
@@ -7,6 +7,7 @@ export interface RepositoryOptions {
7
7
  calculateCommitHashFn?: (content: CommitHashContent) => Promise<string>;
8
8
  serializeObjectFn?: (obj: any) => Promise<string>;
9
9
  deserializeObjectFn?: <T>(str: string) => Promise<T>;
10
+ timestampFn?: () => Date;
10
11
  };
11
12
  }
12
13
  export interface RepositoryObject<T extends {
@@ -74,12 +75,14 @@ export declare class Repository<T extends {
74
75
  constructor(obj: Partial<T>, options: RepositoryOptions);
75
76
  private storeRemoteState;
76
77
  private readonly original;
77
- private _isReady;
78
+ private _readyPromise;
79
+ private _resolveReady;
78
80
  isReady(): Promise<boolean>;
79
81
  data: T;
80
82
  private readonly hashFn;
81
83
  private readonly serializeObjectFn;
82
84
  private readonly deserializeObjectFn;
85
+ private readonly timestampFn;
83
86
  private remoteRefs;
84
87
  private remoteCommits;
85
88
  private observer;