@pod-os/core 0.11.2-0b7671f.0 → 0.11.2-2a628db.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.
@@ -5169,6 +5169,62 @@ var require_punycode = __commonJS({
5169
5169
  }
5170
5170
  });
5171
5171
 
5172
+ // ../node_modules/es-errors/index.js
5173
+ var require_es_errors = __commonJS({
5174
+ "../node_modules/es-errors/index.js"(exports, module2) {
5175
+ "use strict";
5176
+ module2.exports = Error;
5177
+ }
5178
+ });
5179
+
5180
+ // ../node_modules/es-errors/eval.js
5181
+ var require_eval = __commonJS({
5182
+ "../node_modules/es-errors/eval.js"(exports, module2) {
5183
+ "use strict";
5184
+ module2.exports = EvalError;
5185
+ }
5186
+ });
5187
+
5188
+ // ../node_modules/es-errors/range.js
5189
+ var require_range = __commonJS({
5190
+ "../node_modules/es-errors/range.js"(exports, module2) {
5191
+ "use strict";
5192
+ module2.exports = RangeError;
5193
+ }
5194
+ });
5195
+
5196
+ // ../node_modules/es-errors/ref.js
5197
+ var require_ref = __commonJS({
5198
+ "../node_modules/es-errors/ref.js"(exports, module2) {
5199
+ "use strict";
5200
+ module2.exports = ReferenceError;
5201
+ }
5202
+ });
5203
+
5204
+ // ../node_modules/es-errors/syntax.js
5205
+ var require_syntax = __commonJS({
5206
+ "../node_modules/es-errors/syntax.js"(exports, module2) {
5207
+ "use strict";
5208
+ module2.exports = SyntaxError;
5209
+ }
5210
+ });
5211
+
5212
+ // ../node_modules/es-errors/type.js
5213
+ var require_type = __commonJS({
5214
+ "../node_modules/es-errors/type.js"(exports, module2) {
5215
+ "use strict";
5216
+ module2.exports = TypeError;
5217
+ }
5218
+ });
5219
+
5220
+ // ../node_modules/es-errors/uri.js
5221
+ var require_uri = __commonJS({
5222
+ "../node_modules/es-errors/uri.js"(exports, module2) {
5223
+ "use strict";
5224
+ module2.exports = URIError;
5225
+ }
5226
+ });
5227
+
5172
5228
  // ../node_modules/has-symbols/shams.js
5173
5229
  var require_shams = __commonJS({
5174
5230
  "../node_modules/has-symbols/shams.js"(exports, module2) {
@@ -5250,11 +5306,12 @@ var require_has_proto = __commonJS({
5250
5306
  "../node_modules/has-proto/index.js"(exports, module2) {
5251
5307
  "use strict";
5252
5308
  var test = {
5309
+ __proto__: null,
5253
5310
  foo: {}
5254
5311
  };
5255
5312
  var $Object = Object;
5256
5313
  module2.exports = function hasProto() {
5257
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
5314
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
5258
5315
  };
5259
5316
  }
5260
5317
  });
@@ -5360,9 +5417,14 @@ var require_get_intrinsic = __commonJS({
5360
5417
  "../node_modules/get-intrinsic/index.js"(exports, module2) {
5361
5418
  "use strict";
5362
5419
  var undefined2;
5363
- var $SyntaxError = SyntaxError;
5420
+ var $Error = require_es_errors();
5421
+ var $EvalError = require_eval();
5422
+ var $RangeError = require_range();
5423
+ var $ReferenceError = require_ref();
5424
+ var $SyntaxError = require_syntax();
5425
+ var $TypeError = require_type();
5426
+ var $URIError = require_uri();
5364
5427
  var $Function = Function;
5365
- var $TypeError = TypeError;
5366
5428
  var getEvalledConstructor = function(expressionSyntax) {
5367
5429
  try {
5368
5430
  return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
@@ -5400,6 +5462,7 @@ var require_get_intrinsic = __commonJS({
5400
5462
  var needsEval = {};
5401
5463
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
5402
5464
  var INTRINSICS = {
5465
+ __proto__: null,
5403
5466
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
5404
5467
  "%Array%": Array,
5405
5468
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
@@ -5420,10 +5483,10 @@ var require_get_intrinsic = __commonJS({
5420
5483
  "%decodeURIComponent%": decodeURIComponent,
5421
5484
  "%encodeURI%": encodeURI,
5422
5485
  "%encodeURIComponent%": encodeURIComponent,
5423
- "%Error%": Error,
5486
+ "%Error%": $Error,
5424
5487
  "%eval%": eval,
5425
5488
  // eslint-disable-line no-eval
5426
- "%EvalError%": EvalError,
5489
+ "%EvalError%": $EvalError,
5427
5490
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
5428
5491
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
5429
5492
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
@@ -5445,8 +5508,8 @@ var require_get_intrinsic = __commonJS({
5445
5508
  "%parseInt%": parseInt,
5446
5509
  "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
5447
5510
  "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
5448
- "%RangeError%": RangeError,
5449
- "%ReferenceError%": ReferenceError,
5511
+ "%RangeError%": $RangeError,
5512
+ "%ReferenceError%": $ReferenceError,
5450
5513
  "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
5451
5514
  "%RegExp%": RegExp,
5452
5515
  "%Set%": typeof Set === "undefined" ? undefined2 : Set,
@@ -5463,7 +5526,7 @@ var require_get_intrinsic = __commonJS({
5463
5526
  "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
5464
5527
  "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
5465
5528
  "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
5466
- "%URIError%": URIError,
5529
+ "%URIError%": $URIError,
5467
5530
  "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
5468
5531
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
5469
5532
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
@@ -5500,6 +5563,7 @@ var require_get_intrinsic = __commonJS({
5500
5563
  return value;
5501
5564
  };
5502
5565
  var LEGACY_ALIASES = {
5566
+ __proto__: null,
5503
5567
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
5504
5568
  "%ArrayPrototype%": ["Array", "prototype"],
5505
5569
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -5662,34 +5726,20 @@ var require_get_intrinsic = __commonJS({
5662
5726
  }
5663
5727
  });
5664
5728
 
5665
- // ../node_modules/has-property-descriptors/index.js
5666
- var require_has_property_descriptors = __commonJS({
5667
- "../node_modules/has-property-descriptors/index.js"(exports, module2) {
5729
+ // ../node_modules/es-define-property/index.js
5730
+ var require_es_define_property = __commonJS({
5731
+ "../node_modules/es-define-property/index.js"(exports, module2) {
5668
5732
  "use strict";
5669
5733
  var GetIntrinsic = require_get_intrinsic();
5670
- var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
5671
- var hasPropertyDescriptors = function hasPropertyDescriptors2() {
5672
- if ($defineProperty) {
5673
- try {
5674
- $defineProperty({}, "a", { value: 1 });
5675
- return true;
5676
- } catch (e) {
5677
- return false;
5678
- }
5679
- }
5680
- return false;
5681
- };
5682
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
5683
- if (!hasPropertyDescriptors()) {
5684
- return null;
5685
- }
5734
+ var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
5735
+ if ($defineProperty) {
5686
5736
  try {
5687
- return $defineProperty([], "length", { value: 1 }).length !== 1;
5737
+ $defineProperty({}, "a", { value: 1 });
5688
5738
  } catch (e) {
5689
- return true;
5739
+ $defineProperty = false;
5690
5740
  }
5691
- };
5692
- module2.exports = hasPropertyDescriptors;
5741
+ }
5742
+ module2.exports = $defineProperty;
5693
5743
  }
5694
5744
  });
5695
5745
 
@@ -5714,18 +5764,9 @@ var require_gopd = __commonJS({
5714
5764
  var require_define_data_property = __commonJS({
5715
5765
  "../node_modules/define-data-property/index.js"(exports, module2) {
5716
5766
  "use strict";
5717
- var hasPropertyDescriptors = require_has_property_descriptors()();
5718
- var GetIntrinsic = require_get_intrinsic();
5719
- var $defineProperty = hasPropertyDescriptors && GetIntrinsic("%Object.defineProperty%", true);
5720
- if ($defineProperty) {
5721
- try {
5722
- $defineProperty({}, "a", { value: 1 });
5723
- } catch (e) {
5724
- $defineProperty = false;
5725
- }
5726
- }
5727
- var $SyntaxError = GetIntrinsic("%SyntaxError%");
5728
- var $TypeError = GetIntrinsic("%TypeError%");
5767
+ var $defineProperty = require_es_define_property();
5768
+ var $SyntaxError = require_syntax();
5769
+ var $TypeError = require_type();
5729
5770
  var gopd = require_gopd();
5730
5771
  module2.exports = function defineDataProperty(obj, property, value) {
5731
5772
  if (!obj || typeof obj !== "object" && typeof obj !== "function") {
@@ -5767,6 +5808,28 @@ var require_define_data_property = __commonJS({
5767
5808
  }
5768
5809
  });
5769
5810
 
5811
+ // ../node_modules/has-property-descriptors/index.js
5812
+ var require_has_property_descriptors = __commonJS({
5813
+ "../node_modules/has-property-descriptors/index.js"(exports, module2) {
5814
+ "use strict";
5815
+ var $defineProperty = require_es_define_property();
5816
+ var hasPropertyDescriptors = function hasPropertyDescriptors2() {
5817
+ return !!$defineProperty;
5818
+ };
5819
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
5820
+ if (!$defineProperty) {
5821
+ return null;
5822
+ }
5823
+ try {
5824
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
5825
+ } catch (e) {
5826
+ return true;
5827
+ }
5828
+ };
5829
+ module2.exports = hasPropertyDescriptors;
5830
+ }
5831
+ });
5832
+
5770
5833
  // ../node_modules/set-function-length/index.js
5771
5834
  var require_set_function_length = __commonJS({
5772
5835
  "../node_modules/set-function-length/index.js"(exports, module2) {
@@ -5775,7 +5838,7 @@ var require_set_function_length = __commonJS({
5775
5838
  var define2 = require_define_data_property();
5776
5839
  var hasDescriptors = require_has_property_descriptors()();
5777
5840
  var gOPD = require_gopd();
5778
- var $TypeError = GetIntrinsic("%TypeError%");
5841
+ var $TypeError = require_type();
5779
5842
  var $floor = GetIntrinsic("%Math.floor%");
5780
5843
  module2.exports = function setFunctionLength(fn, length) {
5781
5844
  if (typeof fn !== "function") {
@@ -5827,19 +5890,12 @@ var require_call_bind = __commonJS({
5827
5890
  var bind = require_function_bind();
5828
5891
  var GetIntrinsic = require_get_intrinsic();
5829
5892
  var setFunctionLength = require_set_function_length();
5830
- var $TypeError = GetIntrinsic("%TypeError%");
5893
+ var $TypeError = require_type();
5831
5894
  var $apply = GetIntrinsic("%Function.prototype.apply%");
5832
5895
  var $call = GetIntrinsic("%Function.prototype.call%");
5833
5896
  var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
5834
- var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
5897
+ var $defineProperty = require_es_define_property();
5835
5898
  var $max = GetIntrinsic("%Math.max%");
5836
- if ($defineProperty) {
5837
- try {
5838
- $defineProperty({}, "a", { value: 1 });
5839
- } catch (e) {
5840
- $defineProperty = null;
5841
- }
5842
- }
5843
5899
  module2.exports = function callBind(originalFunction) {
5844
5900
  if (typeof originalFunction !== "function") {
5845
5901
  throw new $TypeError("a function is required");
@@ -6407,7 +6463,7 @@ var require_side_channel = __commonJS({
6407
6463
  var GetIntrinsic = require_get_intrinsic();
6408
6464
  var callBound = require_callBound();
6409
6465
  var inspect = require_object_inspect();
6410
- var $TypeError = GetIntrinsic("%TypeError%");
6466
+ var $TypeError = require_type();
6411
6467
  var $WeakMap = GetIntrinsic("%WeakMap%", true);
6412
6468
  var $Map = GetIntrinsic("%Map%", true);
6413
6469
  var $weakMapGet = callBound("WeakMap.prototype.get", true);
@@ -6417,10 +6473,13 @@ var require_side_channel = __commonJS({
6417
6473
  var $mapSet = callBound("Map.prototype.set", true);
6418
6474
  var $mapHas = callBound("Map.prototype.has", true);
6419
6475
  var listGetNode = function(list, key) {
6420
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
6476
+ var prev = list;
6477
+ var curr;
6478
+ for (; (curr = prev.next) !== null; prev = curr) {
6421
6479
  if (curr.key === key) {
6422
6480
  prev.next = curr.next;
6423
- curr.next = list.next;
6481
+ curr.next = /** @type {NonNullable<typeof list.next>} */
6482
+ list.next;
6424
6483
  list.next = curr;
6425
6484
  return curr;
6426
6485
  }
@@ -6435,8 +6494,9 @@ var require_side_channel = __commonJS({
6435
6494
  if (node) {
6436
6495
  node.value = value;
6437
6496
  } else {
6438
- objects.next = {
6439
- // eslint-disable-line no-param-reassign
6497
+ objects.next = /** @type {import('.').ListNode<typeof value>} */
6498
+ {
6499
+ // eslint-disable-line no-param-reassign, no-extra-parens
6440
6500
  key,
6441
6501
  next: objects.next,
6442
6502
  value
@@ -5,7 +5,7 @@ import {
5
5
  namedNode,
6
6
  st,
7
7
  v4_default
8
- } from "./chunk-QGLFMQES.js";
8
+ } from "./chunk-NJZBRQIY.js";
9
9
  import "./chunk-5NEDDTD5.js";
10
10
 
11
11
  // ../node_modules/@solid-data-modules/contacts-rdflib/dist/rdflib/namespaces.js
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  namedNode,
10
10
  st,
11
11
  v4_default
12
- } from "./chunk-QGLFMQES.js";
12
+ } from "./chunk-NJZBRQIY.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __export,
@@ -12431,7 +12431,7 @@ var FileFetcher = class {
12431
12431
 
12432
12432
  // src/modules/contacts.ts
12433
12433
  async function loadContactsModule(store) {
12434
- const module2 = await import("./dist-XSHK7KR5.js");
12434
+ const module2 = await import("./dist-D3HKZNEN.js");
12435
12435
  return new module2.default({
12436
12436
  store: store.graph,
12437
12437
  fetcher: store.fetcher,
package/lib/index.js CHANGED
@@ -14830,6 +14830,62 @@ var PodOS = (() => {
14830
14830
  }
14831
14831
  });
14832
14832
 
14833
+ // ../node_modules/es-errors/index.js
14834
+ var require_es_errors = __commonJS({
14835
+ "../node_modules/es-errors/index.js"(exports, module3) {
14836
+ "use strict";
14837
+ module3.exports = Error;
14838
+ }
14839
+ });
14840
+
14841
+ // ../node_modules/es-errors/eval.js
14842
+ var require_eval = __commonJS({
14843
+ "../node_modules/es-errors/eval.js"(exports, module3) {
14844
+ "use strict";
14845
+ module3.exports = EvalError;
14846
+ }
14847
+ });
14848
+
14849
+ // ../node_modules/es-errors/range.js
14850
+ var require_range = __commonJS({
14851
+ "../node_modules/es-errors/range.js"(exports, module3) {
14852
+ "use strict";
14853
+ module3.exports = RangeError;
14854
+ }
14855
+ });
14856
+
14857
+ // ../node_modules/es-errors/ref.js
14858
+ var require_ref = __commonJS({
14859
+ "../node_modules/es-errors/ref.js"(exports, module3) {
14860
+ "use strict";
14861
+ module3.exports = ReferenceError;
14862
+ }
14863
+ });
14864
+
14865
+ // ../node_modules/es-errors/syntax.js
14866
+ var require_syntax = __commonJS({
14867
+ "../node_modules/es-errors/syntax.js"(exports, module3) {
14868
+ "use strict";
14869
+ module3.exports = SyntaxError;
14870
+ }
14871
+ });
14872
+
14873
+ // ../node_modules/es-errors/type.js
14874
+ var require_type = __commonJS({
14875
+ "../node_modules/es-errors/type.js"(exports, module3) {
14876
+ "use strict";
14877
+ module3.exports = TypeError;
14878
+ }
14879
+ });
14880
+
14881
+ // ../node_modules/es-errors/uri.js
14882
+ var require_uri = __commonJS({
14883
+ "../node_modules/es-errors/uri.js"(exports, module3) {
14884
+ "use strict";
14885
+ module3.exports = URIError;
14886
+ }
14887
+ });
14888
+
14833
14889
  // ../node_modules/has-symbols/shams.js
14834
14890
  var require_shams = __commonJS({
14835
14891
  "../node_modules/has-symbols/shams.js"(exports, module3) {
@@ -14911,11 +14967,12 @@ var PodOS = (() => {
14911
14967
  "../node_modules/has-proto/index.js"(exports, module3) {
14912
14968
  "use strict";
14913
14969
  var test2 = {
14970
+ __proto__: null,
14914
14971
  foo: {}
14915
14972
  };
14916
14973
  var $Object = Object;
14917
14974
  module3.exports = function hasProto() {
14918
- return { __proto__: test2 }.foo === test2.foo && !({ __proto__: null } instanceof $Object);
14975
+ return { __proto__: test2 }.foo === test2.foo && !(test2 instanceof $Object);
14919
14976
  };
14920
14977
  }
14921
14978
  });
@@ -15021,9 +15078,14 @@ var PodOS = (() => {
15021
15078
  "../node_modules/get-intrinsic/index.js"(exports, module3) {
15022
15079
  "use strict";
15023
15080
  var undefined2;
15024
- var $SyntaxError = SyntaxError;
15081
+ var $Error = require_es_errors();
15082
+ var $EvalError = require_eval();
15083
+ var $RangeError = require_range();
15084
+ var $ReferenceError = require_ref();
15085
+ var $SyntaxError = require_syntax();
15086
+ var $TypeError = require_type();
15087
+ var $URIError = require_uri();
15025
15088
  var $Function = Function;
15026
- var $TypeError = TypeError;
15027
15089
  var getEvalledConstructor = function(expressionSyntax) {
15028
15090
  try {
15029
15091
  return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
@@ -15061,6 +15123,7 @@ var PodOS = (() => {
15061
15123
  var needsEval = {};
15062
15124
  var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
15063
15125
  var INTRINSICS = {
15126
+ __proto__: null,
15064
15127
  "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
15065
15128
  "%Array%": Array,
15066
15129
  "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
@@ -15081,10 +15144,10 @@ var PodOS = (() => {
15081
15144
  "%decodeURIComponent%": decodeURIComponent,
15082
15145
  "%encodeURI%": encodeURI,
15083
15146
  "%encodeURIComponent%": encodeURIComponent,
15084
- "%Error%": Error,
15147
+ "%Error%": $Error,
15085
15148
  "%eval%": eval,
15086
15149
  // eslint-disable-line no-eval
15087
- "%EvalError%": EvalError,
15150
+ "%EvalError%": $EvalError,
15088
15151
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
15089
15152
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
15090
15153
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
@@ -15106,8 +15169,8 @@ var PodOS = (() => {
15106
15169
  "%parseInt%": parseInt,
15107
15170
  "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
15108
15171
  "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
15109
- "%RangeError%": RangeError,
15110
- "%ReferenceError%": ReferenceError,
15172
+ "%RangeError%": $RangeError,
15173
+ "%ReferenceError%": $ReferenceError,
15111
15174
  "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
15112
15175
  "%RegExp%": RegExp,
15113
15176
  "%Set%": typeof Set === "undefined" ? undefined2 : Set,
@@ -15124,7 +15187,7 @@ var PodOS = (() => {
15124
15187
  "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
15125
15188
  "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
15126
15189
  "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
15127
- "%URIError%": URIError,
15190
+ "%URIError%": $URIError,
15128
15191
  "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
15129
15192
  "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
15130
15193
  "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
@@ -15161,6 +15224,7 @@ var PodOS = (() => {
15161
15224
  return value6;
15162
15225
  };
15163
15226
  var LEGACY_ALIASES = {
15227
+ __proto__: null,
15164
15228
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
15165
15229
  "%ArrayPrototype%": ["Array", "prototype"],
15166
15230
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -15323,34 +15387,20 @@ var PodOS = (() => {
15323
15387
  }
15324
15388
  });
15325
15389
 
15326
- // ../node_modules/has-property-descriptors/index.js
15327
- var require_has_property_descriptors = __commonJS({
15328
- "../node_modules/has-property-descriptors/index.js"(exports, module3) {
15390
+ // ../node_modules/es-define-property/index.js
15391
+ var require_es_define_property = __commonJS({
15392
+ "../node_modules/es-define-property/index.js"(exports, module3) {
15329
15393
  "use strict";
15330
15394
  var GetIntrinsic = require_get_intrinsic();
15331
- var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
15332
- var hasPropertyDescriptors = function hasPropertyDescriptors2() {
15333
- if ($defineProperty) {
15334
- try {
15335
- $defineProperty({}, "a", { value: 1 });
15336
- return true;
15337
- } catch (e) {
15338
- return false;
15339
- }
15340
- }
15341
- return false;
15342
- };
15343
- hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
15344
- if (!hasPropertyDescriptors()) {
15345
- return null;
15346
- }
15395
+ var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
15396
+ if ($defineProperty) {
15347
15397
  try {
15348
- return $defineProperty([], "length", { value: 1 }).length !== 1;
15398
+ $defineProperty({}, "a", { value: 1 });
15349
15399
  } catch (e) {
15350
- return true;
15400
+ $defineProperty = false;
15351
15401
  }
15352
- };
15353
- module3.exports = hasPropertyDescriptors;
15402
+ }
15403
+ module3.exports = $defineProperty;
15354
15404
  }
15355
15405
  });
15356
15406
 
@@ -15375,18 +15425,9 @@ var PodOS = (() => {
15375
15425
  var require_define_data_property = __commonJS({
15376
15426
  "../node_modules/define-data-property/index.js"(exports, module3) {
15377
15427
  "use strict";
15378
- var hasPropertyDescriptors = require_has_property_descriptors()();
15379
- var GetIntrinsic = require_get_intrinsic();
15380
- var $defineProperty = hasPropertyDescriptors && GetIntrinsic("%Object.defineProperty%", true);
15381
- if ($defineProperty) {
15382
- try {
15383
- $defineProperty({}, "a", { value: 1 });
15384
- } catch (e) {
15385
- $defineProperty = false;
15386
- }
15387
- }
15388
- var $SyntaxError = GetIntrinsic("%SyntaxError%");
15389
- var $TypeError = GetIntrinsic("%TypeError%");
15428
+ var $defineProperty = require_es_define_property();
15429
+ var $SyntaxError = require_syntax();
15430
+ var $TypeError = require_type();
15390
15431
  var gopd = require_gopd();
15391
15432
  module3.exports = function defineDataProperty(obj, property3, value6) {
15392
15433
  if (!obj || typeof obj !== "object" && typeof obj !== "function") {
@@ -15428,6 +15469,28 @@ var PodOS = (() => {
15428
15469
  }
15429
15470
  });
15430
15471
 
15472
+ // ../node_modules/has-property-descriptors/index.js
15473
+ var require_has_property_descriptors = __commonJS({
15474
+ "../node_modules/has-property-descriptors/index.js"(exports, module3) {
15475
+ "use strict";
15476
+ var $defineProperty = require_es_define_property();
15477
+ var hasPropertyDescriptors = function hasPropertyDescriptors2() {
15478
+ return !!$defineProperty;
15479
+ };
15480
+ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
15481
+ if (!$defineProperty) {
15482
+ return null;
15483
+ }
15484
+ try {
15485
+ return $defineProperty([], "length", { value: 1 }).length !== 1;
15486
+ } catch (e) {
15487
+ return true;
15488
+ }
15489
+ };
15490
+ module3.exports = hasPropertyDescriptors;
15491
+ }
15492
+ });
15493
+
15431
15494
  // ../node_modules/set-function-length/index.js
15432
15495
  var require_set_function_length = __commonJS({
15433
15496
  "../node_modules/set-function-length/index.js"(exports, module3) {
@@ -15436,7 +15499,7 @@ var PodOS = (() => {
15436
15499
  var define2 = require_define_data_property();
15437
15500
  var hasDescriptors = require_has_property_descriptors()();
15438
15501
  var gOPD = require_gopd();
15439
- var $TypeError = GetIntrinsic("%TypeError%");
15502
+ var $TypeError = require_type();
15440
15503
  var $floor = GetIntrinsic("%Math.floor%");
15441
15504
  module3.exports = function setFunctionLength(fn2, length2) {
15442
15505
  if (typeof fn2 !== "function") {
@@ -15488,19 +15551,12 @@ var PodOS = (() => {
15488
15551
  var bind = require_function_bind();
15489
15552
  var GetIntrinsic = require_get_intrinsic();
15490
15553
  var setFunctionLength = require_set_function_length();
15491
- var $TypeError = GetIntrinsic("%TypeError%");
15554
+ var $TypeError = require_type();
15492
15555
  var $apply = GetIntrinsic("%Function.prototype.apply%");
15493
15556
  var $call = GetIntrinsic("%Function.prototype.call%");
15494
15557
  var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
15495
- var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
15558
+ var $defineProperty = require_es_define_property();
15496
15559
  var $max = GetIntrinsic("%Math.max%");
15497
- if ($defineProperty) {
15498
- try {
15499
- $defineProperty({}, "a", { value: 1 });
15500
- } catch (e) {
15501
- $defineProperty = null;
15502
- }
15503
- }
15504
15560
  module3.exports = function callBind(originalFunction) {
15505
15561
  if (typeof originalFunction !== "function") {
15506
15562
  throw new $TypeError("a function is required");
@@ -16068,7 +16124,7 @@ var PodOS = (() => {
16068
16124
  var GetIntrinsic = require_get_intrinsic();
16069
16125
  var callBound = require_callBound();
16070
16126
  var inspect = require_object_inspect();
16071
- var $TypeError = GetIntrinsic("%TypeError%");
16127
+ var $TypeError = require_type();
16072
16128
  var $WeakMap = GetIntrinsic("%WeakMap%", true);
16073
16129
  var $Map = GetIntrinsic("%Map%", true);
16074
16130
  var $weakMapGet = callBound("WeakMap.prototype.get", true);
@@ -16078,10 +16134,13 @@ var PodOS = (() => {
16078
16134
  var $mapSet = callBound("Map.prototype.set", true);
16079
16135
  var $mapHas = callBound("Map.prototype.has", true);
16080
16136
  var listGetNode = function(list, key3) {
16081
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
16137
+ var prev = list;
16138
+ var curr;
16139
+ for (; (curr = prev.next) !== null; prev = curr) {
16082
16140
  if (curr.key === key3) {
16083
16141
  prev.next = curr.next;
16084
- curr.next = list.next;
16142
+ curr.next = /** @type {NonNullable<typeof list.next>} */
16143
+ list.next;
16085
16144
  list.next = curr;
16086
16145
  return curr;
16087
16146
  }
@@ -16096,8 +16155,9 @@ var PodOS = (() => {
16096
16155
  if (node2) {
16097
16156
  node2.value = value6;
16098
16157
  } else {
16099
- objects.next = {
16100
- // eslint-disable-line no-param-reassign
16158
+ objects.next = /** @type {import('.').ListNode<typeof value>} */
16159
+ {
16160
+ // eslint-disable-line no-param-reassign, no-extra-parens
16101
16161
  key: key3,
16102
16162
  next: objects.next,
16103
16163
  value: value6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pod-os/core",
3
- "version": "0.11.2-0b7671f.0",
3
+ "version": "0.11.2-2a628db.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./types/index.d.ts",
6
6
  "files": [
@@ -24,18 +24,18 @@
24
24
  "author": "Angelo Veltens",
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@babel/preset-env": "^7.23.8",
27
+ "@babel/preset-env": "^7.24.0",
28
28
  "@babel/preset-typescript": "^7.23.3",
29
- "@types/jest": "^29.5.11",
29
+ "@types/jest": "^29.5.12",
30
30
  "@types/jest-when": "^3.5.5",
31
31
  "@types/sparqljs": "^3.1.10",
32
- "@typescript-eslint/eslint-plugin": "^6.18.1",
33
- "@typescript-eslint/parser": "^6.18.1",
34
- "esbuild": "^0.19.11",
35
- "eslint": "^8.56.0",
32
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
33
+ "@typescript-eslint/parser": "^6.21.0",
34
+ "esbuild": "^0.19.12",
35
+ "eslint": "^8.57.0",
36
36
  "jest": "^29.7.0",
37
37
  "jest-when": "^3.6.0",
38
- "prettier": "^3.2.1",
38
+ "prettier": "^3.2.5",
39
39
  "rdf-namespaces": "^1.12.0",
40
40
  "rimraf": "^5.0.5",
41
41
  "sparqljs": "^3.7.1",