@axiom-lattice/core 4.0.1 → 4.1.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/dist/index.mjs CHANGED
@@ -7975,7 +7975,8 @@ var StateBackend = class {
7975
7975
  path: k,
7976
7976
  is_dir: false,
7977
7977
  size,
7978
- modified_at: fd.modified_at
7978
+ modified_at: fd.modified_at,
7979
+ created_at: fd.created_at
7979
7980
  });
7980
7981
  }
7981
7982
  for (const subdir of Array.from(subdirs).sort()) {
@@ -7983,7 +7984,8 @@ var StateBackend = class {
7983
7984
  path: subdir,
7984
7985
  is_dir: true,
7985
7986
  size: 0,
7986
- modified_at: ""
7987
+ modified_at: "",
7988
+ created_at: ""
7987
7989
  });
7988
7990
  }
7989
7991
  infos.sort((a, b) => a.path.localeCompare(b.path));
@@ -16873,7 +16875,8 @@ var StoreBackend = class {
16873
16875
  path: itemKey,
16874
16876
  is_dir: false,
16875
16877
  size,
16876
- modified_at: fd.modified_at
16878
+ modified_at: fd.modified_at,
16879
+ created_at: fd.created_at
16877
16880
  });
16878
16881
  } catch {
16879
16882
  continue;
@@ -16884,7 +16887,8 @@ var StoreBackend = class {
16884
16887
  path: subdir,
16885
16888
  is_dir: true,
16886
16889
  size: 0,
16887
- modified_at: ""
16890
+ modified_at: "",
16891
+ created_at: ""
16888
16892
  });
16889
16893
  }
16890
16894
  infos.sort((a, b) => a.path.localeCompare(b.path));
@@ -17191,14 +17195,16 @@ var FilesystemBackend = class {
17191
17195
  path: fullPath,
17192
17196
  is_dir: false,
17193
17197
  size: entryStat.size,
17194
- modified_at: entryStat.mtime.toISOString()
17198
+ modified_at: entryStat.mtime.toISOString(),
17199
+ created_at: entryStat.birthtime.toISOString()
17195
17200
  });
17196
17201
  } else if (isDir) {
17197
17202
  results.push({
17198
17203
  path: fullPath + path4.sep,
17199
17204
  is_dir: true,
17200
17205
  size: 0,
17201
- modified_at: entryStat.mtime.toISOString()
17206
+ modified_at: entryStat.mtime.toISOString(),
17207
+ created_at: entryStat.birthtime.toISOString()
17202
17208
  });
17203
17209
  }
17204
17210
  } else {
@@ -17217,14 +17223,16 @@ var FilesystemBackend = class {
17217
17223
  path: virtPath,
17218
17224
  is_dir: false,
17219
17225
  size: entryStat.size,
17220
- modified_at: entryStat.mtime.toISOString()
17226
+ modified_at: entryStat.mtime.toISOString(),
17227
+ created_at: entryStat.birthtime.toISOString()
17221
17228
  });
17222
17229
  } else if (isDir) {
17223
17230
  results.push({
17224
17231
  path: virtPath + "/",
17225
17232
  is_dir: true,
17226
17233
  size: 0,
17227
- modified_at: entryStat.mtime.toISOString()
17234
+ modified_at: entryStat.mtime.toISOString(),
17235
+ created_at: entryStat.birthtime.toISOString()
17228
17236
  });
17229
17237
  }
17230
17238
  }
@@ -17701,7 +17709,8 @@ var CompositeBackend = class {
17701
17709
  path: routePrefix,
17702
17710
  is_dir: true,
17703
17711
  size: 0,
17704
- modified_at: ""
17712
+ modified_at: "",
17713
+ created_at: ""
17705
17714
  });
17706
17715
  }
17707
17716
  results.sort((a, b) => a.path.localeCompare(b.path));
@@ -17859,7 +17868,8 @@ var MemoryBackend = class {
17859
17868
  path: k,
17860
17869
  is_dir: false,
17861
17870
  size,
17862
- modified_at: fd.modified_at
17871
+ modified_at: fd.modified_at,
17872
+ created_at: fd.created_at
17863
17873
  });
17864
17874
  }
17865
17875
  for (const subdir of Array.from(subdirs).sort()) {
@@ -17867,7 +17877,8 @@ var MemoryBackend = class {
17867
17877
  path: subdir,
17868
17878
  is_dir: true,
17869
17879
  size: 0,
17870
- modified_at: ""
17880
+ modified_at: "",
17881
+ created_at: ""
17871
17882
  });
17872
17883
  }
17873
17884
  infos.sort((a, b) => a.path.localeCompare(b.path));