@dxos/node-std 0.6.13 → 0.6.14-main.69511f5

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.
Files changed (45) hide show
  1. package/dist/lib/browser/assert.mjs +1 -1
  2. package/dist/lib/browser/{chunk-EC477KOW.mjs → chunk-GM2BGSSZ.mjs} +398 -2
  3. package/dist/lib/browser/chunk-GM2BGSSZ.mjs.map +7 -0
  4. package/dist/lib/browser/inject-globals.mjs.map +1 -1
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/util.mjs +1 -1
  7. package/dist/lib/node/inject-globals.cjs.map +1 -1
  8. package/dist/lib/node/meta.json +1 -1
  9. package/dist/lib/node/util.cjs +377 -1
  10. package/dist/lib/node/util.cjs.map +4 -4
  11. package/dist/lib/node-esm/_/config.mjs +22 -0
  12. package/dist/lib/node-esm/_/config.mjs.map +7 -0
  13. package/dist/lib/node-esm/assert.mjs +10 -0
  14. package/dist/lib/node-esm/assert.mjs.map +7 -0
  15. package/dist/lib/node-esm/buffer.mjs +15 -0
  16. package/dist/lib/node-esm/buffer.mjs.map +7 -0
  17. package/dist/lib/node-esm/chunk-KIVTZY6Z.mjs +113 -0
  18. package/dist/lib/node-esm/chunk-KIVTZY6Z.mjs.map +7 -0
  19. package/dist/lib/node-esm/chunk-RZY7P3LC.mjs +39 -0
  20. package/dist/lib/node-esm/chunk-RZY7P3LC.mjs.map +7 -0
  21. package/dist/lib/node-esm/chunk-SI3SGBPB.mjs +30 -0
  22. package/dist/lib/node-esm/chunk-SI3SGBPB.mjs.map +7 -0
  23. package/dist/lib/node-esm/chunk-SOGAFZTS.mjs +1798 -0
  24. package/dist/lib/node-esm/chunk-SOGAFZTS.mjs.map +7 -0
  25. package/dist/lib/node-esm/crypto.mjs +11 -0
  26. package/dist/lib/node-esm/crypto.mjs.map +7 -0
  27. package/dist/lib/node-esm/events.mjs +11 -0
  28. package/dist/lib/node-esm/events.mjs.map +7 -0
  29. package/dist/lib/node-esm/fs/promises.mjs +70 -0
  30. package/dist/lib/node-esm/fs/promises.mjs.map +7 -0
  31. package/dist/lib/node-esm/fs.mjs +28 -0
  32. package/dist/lib/node-esm/fs.mjs.map +7 -0
  33. package/dist/lib/node-esm/globals.mjs +6 -0
  34. package/dist/lib/node-esm/globals.mjs.map +7 -0
  35. package/dist/lib/node-esm/inject-globals.mjs +21 -0
  36. package/dist/lib/node-esm/inject-globals.mjs.map +7 -0
  37. package/dist/lib/node-esm/meta.json +1 -0
  38. package/dist/lib/node-esm/path.mjs +441 -0
  39. package/dist/lib/node-esm/path.mjs.map +7 -0
  40. package/dist/lib/node-esm/stream.mjs +15 -0
  41. package/dist/lib/node-esm/stream.mjs.map +7 -0
  42. package/dist/lib/node-esm/util.mjs +2556 -0
  43. package/dist/lib/node-esm/util.mjs.map +7 -0
  44. package/package.json +8 -7
  45. package/dist/lib/browser/chunk-EC477KOW.mjs.map +0 -7
@@ -4,7 +4,7 @@ import {
4
4
  require_define_data_property,
5
5
  require_has_property_descriptors,
6
6
  require_util
7
- } from "./chunk-EC477KOW.mjs";
7
+ } from "./chunk-GM2BGSSZ.mjs";
8
8
  import {
9
9
  __commonJS,
10
10
  __toESM
@@ -537,6 +537,402 @@ var require_has_property_descriptors = __commonJS({
537
537
  }
538
538
  });
539
539
 
540
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
541
+ var require_es_errors = __commonJS({
542
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports, module) {
543
+ "use strict";
544
+ module.exports = Error;
545
+ }
546
+ });
547
+
548
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
549
+ var require_eval = __commonJS({
550
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports, module) {
551
+ "use strict";
552
+ module.exports = EvalError;
553
+ }
554
+ });
555
+
556
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
557
+ var require_range = __commonJS({
558
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports, module) {
559
+ "use strict";
560
+ module.exports = RangeError;
561
+ }
562
+ });
563
+
564
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
565
+ var require_ref = __commonJS({
566
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports, module) {
567
+ "use strict";
568
+ module.exports = ReferenceError;
569
+ }
570
+ });
571
+
572
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
573
+ var require_syntax = __commonJS({
574
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports, module) {
575
+ "use strict";
576
+ module.exports = SyntaxError;
577
+ }
578
+ });
579
+
580
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
581
+ var require_type = __commonJS({
582
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports, module) {
583
+ "use strict";
584
+ module.exports = TypeError;
585
+ }
586
+ });
587
+
588
+ // node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
589
+ var require_uri = __commonJS({
590
+ "node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports, module) {
591
+ "use strict";
592
+ module.exports = URIError;
593
+ }
594
+ });
595
+
596
+ // node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js
597
+ var require_has_proto2 = __commonJS({
598
+ "node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.js"(exports, module) {
599
+ "use strict";
600
+ var test = {
601
+ __proto__: null,
602
+ foo: {}
603
+ };
604
+ var $Object = Object;
605
+ module.exports = function hasProto() {
606
+ return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
607
+ };
608
+ }
609
+ });
610
+
611
+ // node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
612
+ var require_hasown2 = __commonJS({
613
+ "node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports, module) {
614
+ "use strict";
615
+ var call = Function.prototype.call;
616
+ var $hasOwn = Object.prototype.hasOwnProperty;
617
+ var bind = require_function_bind();
618
+ module.exports = bind.call(call, $hasOwn);
619
+ }
620
+ });
621
+
622
+ // node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js
623
+ var require_get_intrinsic2 = __commonJS({
624
+ "node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js"(exports, module) {
625
+ "use strict";
626
+ var undefined2;
627
+ var $Error = require_es_errors();
628
+ var $EvalError = require_eval();
629
+ var $RangeError = require_range();
630
+ var $ReferenceError = require_ref();
631
+ var $SyntaxError = require_syntax();
632
+ var $TypeError = require_type();
633
+ var $URIError = require_uri();
634
+ var $Function = Function;
635
+ var getEvalledConstructor = function(expressionSyntax) {
636
+ try {
637
+ return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
638
+ } catch (e) {
639
+ }
640
+ };
641
+ var $gOPD = Object.getOwnPropertyDescriptor;
642
+ if ($gOPD) {
643
+ try {
644
+ $gOPD({}, "");
645
+ } catch (e) {
646
+ $gOPD = null;
647
+ }
648
+ }
649
+ var throwTypeError = function() {
650
+ throw new $TypeError();
651
+ };
652
+ var ThrowTypeError = $gOPD ? function() {
653
+ try {
654
+ arguments.callee;
655
+ return throwTypeError;
656
+ } catch (calleeThrows) {
657
+ try {
658
+ return $gOPD(arguments, "callee").get;
659
+ } catch (gOPDthrows) {
660
+ return throwTypeError;
661
+ }
662
+ }
663
+ }() : throwTypeError;
664
+ var hasSymbols = require_has_symbols()();
665
+ var hasProto = require_has_proto2()();
666
+ var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
667
+ return x.__proto__;
668
+ } : null);
669
+ var needsEval = {};
670
+ var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
671
+ var INTRINSICS = {
672
+ __proto__: null,
673
+ "%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
674
+ "%Array%": Array,
675
+ "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
676
+ "%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
677
+ "%AsyncFromSyncIteratorPrototype%": undefined2,
678
+ "%AsyncFunction%": needsEval,
679
+ "%AsyncGenerator%": needsEval,
680
+ "%AsyncGeneratorFunction%": needsEval,
681
+ "%AsyncIteratorPrototype%": needsEval,
682
+ "%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
683
+ "%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
684
+ "%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
685
+ "%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
686
+ "%Boolean%": Boolean,
687
+ "%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
688
+ "%Date%": Date,
689
+ "%decodeURI%": decodeURI,
690
+ "%decodeURIComponent%": decodeURIComponent,
691
+ "%encodeURI%": encodeURI,
692
+ "%encodeURIComponent%": encodeURIComponent,
693
+ "%Error%": $Error,
694
+ "%eval%": eval,
695
+ // eslint-disable-line no-eval
696
+ "%EvalError%": $EvalError,
697
+ "%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
698
+ "%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
699
+ "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
700
+ "%Function%": $Function,
701
+ "%GeneratorFunction%": needsEval,
702
+ "%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
703
+ "%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
704
+ "%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
705
+ "%isFinite%": isFinite,
706
+ "%isNaN%": isNaN,
707
+ "%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
708
+ "%JSON%": typeof JSON === "object" ? JSON : undefined2,
709
+ "%Map%": typeof Map === "undefined" ? undefined2 : Map,
710
+ "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
711
+ "%Math%": Math,
712
+ "%Number%": Number,
713
+ "%Object%": Object,
714
+ "%parseFloat%": parseFloat,
715
+ "%parseInt%": parseInt,
716
+ "%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
717
+ "%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
718
+ "%RangeError%": $RangeError,
719
+ "%ReferenceError%": $ReferenceError,
720
+ "%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
721
+ "%RegExp%": RegExp,
722
+ "%Set%": typeof Set === "undefined" ? undefined2 : Set,
723
+ "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
724
+ "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
725
+ "%String%": String,
726
+ "%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
727
+ "%Symbol%": hasSymbols ? Symbol : undefined2,
728
+ "%SyntaxError%": $SyntaxError,
729
+ "%ThrowTypeError%": ThrowTypeError,
730
+ "%TypedArray%": TypedArray,
731
+ "%TypeError%": $TypeError,
732
+ "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
733
+ "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
734
+ "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
735
+ "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
736
+ "%URIError%": $URIError,
737
+ "%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
738
+ "%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
739
+ "%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
740
+ };
741
+ if (getProto) {
742
+ try {
743
+ null.error;
744
+ } catch (e) {
745
+ errorProto = getProto(getProto(e));
746
+ INTRINSICS["%Error.prototype%"] = errorProto;
747
+ }
748
+ }
749
+ var errorProto;
750
+ var doEval = function doEval2(name) {
751
+ var value;
752
+ if (name === "%AsyncFunction%") {
753
+ value = getEvalledConstructor("async function () {}");
754
+ } else if (name === "%GeneratorFunction%") {
755
+ value = getEvalledConstructor("function* () {}");
756
+ } else if (name === "%AsyncGeneratorFunction%") {
757
+ value = getEvalledConstructor("async function* () {}");
758
+ } else if (name === "%AsyncGenerator%") {
759
+ var fn = doEval2("%AsyncGeneratorFunction%");
760
+ if (fn) {
761
+ value = fn.prototype;
762
+ }
763
+ } else if (name === "%AsyncIteratorPrototype%") {
764
+ var gen = doEval2("%AsyncGenerator%");
765
+ if (gen && getProto) {
766
+ value = getProto(gen.prototype);
767
+ }
768
+ }
769
+ INTRINSICS[name] = value;
770
+ return value;
771
+ };
772
+ var LEGACY_ALIASES = {
773
+ __proto__: null,
774
+ "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
775
+ "%ArrayPrototype%": ["Array", "prototype"],
776
+ "%ArrayProto_entries%": ["Array", "prototype", "entries"],
777
+ "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
778
+ "%ArrayProto_keys%": ["Array", "prototype", "keys"],
779
+ "%ArrayProto_values%": ["Array", "prototype", "values"],
780
+ "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
781
+ "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
782
+ "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
783
+ "%BooleanPrototype%": ["Boolean", "prototype"],
784
+ "%DataViewPrototype%": ["DataView", "prototype"],
785
+ "%DatePrototype%": ["Date", "prototype"],
786
+ "%ErrorPrototype%": ["Error", "prototype"],
787
+ "%EvalErrorPrototype%": ["EvalError", "prototype"],
788
+ "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
789
+ "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
790
+ "%FunctionPrototype%": ["Function", "prototype"],
791
+ "%Generator%": ["GeneratorFunction", "prototype"],
792
+ "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
793
+ "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
794
+ "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
795
+ "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
796
+ "%JSONParse%": ["JSON", "parse"],
797
+ "%JSONStringify%": ["JSON", "stringify"],
798
+ "%MapPrototype%": ["Map", "prototype"],
799
+ "%NumberPrototype%": ["Number", "prototype"],
800
+ "%ObjectPrototype%": ["Object", "prototype"],
801
+ "%ObjProto_toString%": ["Object", "prototype", "toString"],
802
+ "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
803
+ "%PromisePrototype%": ["Promise", "prototype"],
804
+ "%PromiseProto_then%": ["Promise", "prototype", "then"],
805
+ "%Promise_all%": ["Promise", "all"],
806
+ "%Promise_reject%": ["Promise", "reject"],
807
+ "%Promise_resolve%": ["Promise", "resolve"],
808
+ "%RangeErrorPrototype%": ["RangeError", "prototype"],
809
+ "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
810
+ "%RegExpPrototype%": ["RegExp", "prototype"],
811
+ "%SetPrototype%": ["Set", "prototype"],
812
+ "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
813
+ "%StringPrototype%": ["String", "prototype"],
814
+ "%SymbolPrototype%": ["Symbol", "prototype"],
815
+ "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
816
+ "%TypedArrayPrototype%": ["TypedArray", "prototype"],
817
+ "%TypeErrorPrototype%": ["TypeError", "prototype"],
818
+ "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
819
+ "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
820
+ "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
821
+ "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
822
+ "%URIErrorPrototype%": ["URIError", "prototype"],
823
+ "%WeakMapPrototype%": ["WeakMap", "prototype"],
824
+ "%WeakSetPrototype%": ["WeakSet", "prototype"]
825
+ };
826
+ var bind = require_function_bind();
827
+ var hasOwn = require_hasown2();
828
+ var $concat = bind.call(Function.call, Array.prototype.concat);
829
+ var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
830
+ var $replace = bind.call(Function.call, String.prototype.replace);
831
+ var $strSlice = bind.call(Function.call, String.prototype.slice);
832
+ var $exec = bind.call(Function.call, RegExp.prototype.exec);
833
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
834
+ var reEscapeChar = /\\(\\)?/g;
835
+ var stringToPath = function stringToPath2(string) {
836
+ var first = $strSlice(string, 0, 1);
837
+ var last = $strSlice(string, -1);
838
+ if (first === "%" && last !== "%") {
839
+ throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
840
+ } else if (last === "%" && first !== "%") {
841
+ throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
842
+ }
843
+ var result = [];
844
+ $replace(string, rePropName, function(match, number, quote, subString) {
845
+ result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
846
+ });
847
+ return result;
848
+ };
849
+ var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
850
+ var intrinsicName = name;
851
+ var alias;
852
+ if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
853
+ alias = LEGACY_ALIASES[intrinsicName];
854
+ intrinsicName = "%" + alias[0] + "%";
855
+ }
856
+ if (hasOwn(INTRINSICS, intrinsicName)) {
857
+ var value = INTRINSICS[intrinsicName];
858
+ if (value === needsEval) {
859
+ value = doEval(intrinsicName);
860
+ }
861
+ if (typeof value === "undefined" && !allowMissing) {
862
+ throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
863
+ }
864
+ return {
865
+ alias,
866
+ name: intrinsicName,
867
+ value
868
+ };
869
+ }
870
+ throw new $SyntaxError("intrinsic " + name + " does not exist!");
871
+ };
872
+ module.exports = function GetIntrinsic(name, allowMissing) {
873
+ if (typeof name !== "string" || name.length === 0) {
874
+ throw new $TypeError("intrinsic name must be a non-empty string");
875
+ }
876
+ if (arguments.length > 1 && typeof allowMissing !== "boolean") {
877
+ throw new $TypeError('"allowMissing" argument must be a boolean');
878
+ }
879
+ if ($exec(/^%?[^%]*%?$/, name) === null) {
880
+ throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
881
+ }
882
+ var parts = stringToPath(name);
883
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
884
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
885
+ var intrinsicRealName = intrinsic.name;
886
+ var value = intrinsic.value;
887
+ var skipFurtherCaching = false;
888
+ var alias = intrinsic.alias;
889
+ if (alias) {
890
+ intrinsicBaseName = alias[0];
891
+ $spliceApply(parts, $concat([0, 1], alias));
892
+ }
893
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
894
+ var part = parts[i];
895
+ var first = $strSlice(part, 0, 1);
896
+ var last = $strSlice(part, -1);
897
+ if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
898
+ throw new $SyntaxError("property names with quotes must have matching quotes");
899
+ }
900
+ if (part === "constructor" || !isOwn) {
901
+ skipFurtherCaching = true;
902
+ }
903
+ intrinsicBaseName += "." + part;
904
+ intrinsicRealName = "%" + intrinsicBaseName + "%";
905
+ if (hasOwn(INTRINSICS, intrinsicRealName)) {
906
+ value = INTRINSICS[intrinsicRealName];
907
+ } else if (value != null) {
908
+ if (!(part in value)) {
909
+ if (!allowMissing) {
910
+ throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
911
+ }
912
+ return void 0;
913
+ }
914
+ if ($gOPD && i + 1 >= parts.length) {
915
+ var desc = $gOPD(value, part);
916
+ isOwn = !!desc;
917
+ if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
918
+ value = desc.get;
919
+ } else {
920
+ value = value[part];
921
+ }
922
+ } else {
923
+ isOwn = hasOwn(value, part);
924
+ value = value[part];
925
+ }
926
+ if (isOwn && !skipFurtherCaching) {
927
+ INTRINSICS[intrinsicRealName] = value;
928
+ }
929
+ }
930
+ }
931
+ return value;
932
+ };
933
+ }
934
+ });
935
+
540
936
  // node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js
541
937
  var require_gopd = __commonJS({
542
938
  "node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.js"(exports, module) {
@@ -559,7 +955,7 @@ var require_define_data_property = __commonJS({
559
955
  "node_modules/.pnpm/define-data-property@1.1.1/node_modules/define-data-property/index.js"(exports, module) {
560
956
  "use strict";
561
957
  var hasPropertyDescriptors = require_has_property_descriptors()();
562
- var GetIntrinsic = require_get_intrinsic();
958
+ var GetIntrinsic = require_get_intrinsic2();
563
959
  var $defineProperty = hasPropertyDescriptors && GetIntrinsic("%Object.defineProperty%", true);
564
960
  if ($defineProperty) {
565
961
  try {
@@ -2131,4 +2527,4 @@ export {
2131
2527
  require_call_bind2,
2132
2528
  require_util
2133
2529
  };
2134
- //# sourceMappingURL=chunk-EC477KOW.mjs.map
2530
+ //# sourceMappingURL=chunk-GM2BGSSZ.mjs.map