@dxos/node-std 0.8.3 → 0.8.4-main.84f28bd
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/lib/browser/_/config.mjs +1 -1
- package/dist/lib/browser/assert.mjs +37 -38
- package/dist/lib/browser/assert.mjs.map +1 -1
- package/dist/lib/browser/buffer.mjs +2 -2
- package/dist/lib/browser/{chunk-W3AYESYQ.mjs → chunk-LJ5EWKWX.mjs} +4 -4
- package/dist/lib/browser/{chunk-QWZSWMMO.mjs → chunk-WA6DPORN.mjs} +2 -2
- package/dist/lib/browser/{chunk-GM2BGSSZ.mjs → chunk-WIBV42KC.mjs} +219 -750
- package/dist/lib/browser/chunk-WIBV42KC.mjs.map +7 -0
- package/dist/lib/browser/{chunk-PY2IJ42L.mjs → chunk-YERYCS33.mjs} +7 -7
- package/dist/lib/browser/crypto.mjs +1 -1
- package/dist/lib/browser/events.mjs +3 -3
- package/dist/lib/browser/fs/promises.mjs +1 -1
- package/dist/lib/browser/fs.mjs +1 -1
- package/dist/lib/browser/globals.mjs +3 -3
- package/dist/lib/browser/inject-globals.mjs +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/path.mjs +3 -3
- package/dist/lib/browser/stream.mjs +1 -1
- package/dist/lib/browser/util.mjs +5 -5
- package/dist/lib/node-esm/_/config.mjs +1 -1
- package/dist/lib/node-esm/assert.mjs +1 -1
- package/dist/lib/node-esm/buffer.mjs +2 -2
- package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs → chunk-3EE3KRAW.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs → chunk-F5GZS76O.mjs} +7 -7
- package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs → chunk-RJ7I7ZC3.mjs} +4 -4
- package/dist/lib/node-esm/crypto.mjs +1 -1
- package/dist/lib/node-esm/events.mjs +1 -1
- package/dist/lib/node-esm/fs/promises.mjs +1 -1
- package/dist/lib/node-esm/fs.mjs +1 -1
- package/dist/lib/node-esm/globals.mjs +3 -3
- package/dist/lib/node-esm/inject-globals.mjs +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/path.mjs +3 -3
- package/dist/lib/node-esm/stream.mjs +1 -1
- package/dist/lib/node-esm/util.mjs +182 -712
- package/dist/lib/node-esm/util.mjs.map +4 -4
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +2 -2
- package/dist/lib/browser/chunk-GM2BGSSZ.mjs.map +0 -7
- package/dist/lib/node/_/config.cjs +0 -44
- package/dist/lib/node/_/config.cjs.map +0 -7
- package/dist/lib/node/assert.cjs +0 -37
- package/dist/lib/node/assert.cjs.map +0 -7
- package/dist/lib/node/buffer.cjs +0 -32
- package/dist/lib/node/buffer.cjs.map +0 -7
- package/dist/lib/node/chunk-6SZKM6EC.cjs +0 -63
- package/dist/lib/node/chunk-6SZKM6EC.cjs.map +0 -7
- package/dist/lib/node/chunk-ENV4LVNZ.cjs +0 -133
- package/dist/lib/node/chunk-ENV4LVNZ.cjs.map +0 -7
- package/dist/lib/node/chunk-FCCITQEP.cjs +0 -1812
- package/dist/lib/node/chunk-FCCITQEP.cjs.map +0 -7
- package/dist/lib/node/chunk-P2R5OUNF.cjs +0 -22
- package/dist/lib/node/chunk-P2R5OUNF.cjs.map +0 -7
- package/dist/lib/node/crypto.cjs +0 -32
- package/dist/lib/node/crypto.cjs.map +0 -7
- package/dist/lib/node/events.cjs +0 -32
- package/dist/lib/node/events.cjs.map +0 -7
- package/dist/lib/node/fs/promises.cjs +0 -120
- package/dist/lib/node/fs/promises.cjs.map +0 -7
- package/dist/lib/node/fs.cjs +0 -53
- package/dist/lib/node/fs.cjs.map +0 -7
- package/dist/lib/node/globals.cjs +0 -6
- package/dist/lib/node/globals.cjs.map +0 -7
- package/dist/lib/node/inject-globals.cjs +0 -38
- package/dist/lib/node/inject-globals.cjs.map +0 -7
- package/dist/lib/node/meta.json +0 -1
- package/dist/lib/node/path.cjs +0 -466
- package/dist/lib/node/path.cjs.map +0 -7
- package/dist/lib/node/stream.cjs +0 -42
- package/dist/lib/node/stream.cjs.map +0 -7
- package/dist/lib/node/util.cjs +0 -2493
- package/dist/lib/node/util.cjs.map +0 -7
- /package/dist/lib/browser/{chunk-W3AYESYQ.mjs.map → chunk-LJ5EWKWX.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-QWZSWMMO.mjs.map → chunk-WA6DPORN.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-PY2IJ42L.mjs.map → chunk-YERYCS33.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-KIVTZY6Z.mjs.map → chunk-3EE3KRAW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-SOGAFZTS.mjs.map → chunk-F5GZS76O.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-I3G4DBJU.mjs.map → chunk-RJ7I7ZC3.mjs.map} +0 -0
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_call_bind,
|
|
3
|
-
require_call_bind2,
|
|
4
3
|
require_define_data_property,
|
|
5
4
|
require_has_property_descriptors,
|
|
6
5
|
require_util
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WIBV42KC.mjs";
|
|
8
7
|
import {
|
|
9
8
|
__commonJS,
|
|
10
9
|
__toESM
|
|
11
10
|
} from "./chunk-3QS3WKRC.mjs";
|
|
12
11
|
|
|
13
|
-
// node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/errors.js
|
|
12
|
+
// ../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/errors.js
|
|
14
13
|
var require_errors = __commonJS({
|
|
15
|
-
"node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/errors.js"(exports, module) {
|
|
14
|
+
"../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/errors.js"(exports, module) {
|
|
16
15
|
"use strict";
|
|
17
16
|
function _typeof(obj) {
|
|
18
17
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
@@ -194,9 +193,9 @@ var require_errors = __commonJS({
|
|
|
194
193
|
}
|
|
195
194
|
});
|
|
196
195
|
|
|
197
|
-
// node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/assert/assertion_error.js
|
|
196
|
+
// ../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/assert/assertion_error.js
|
|
198
197
|
var require_assertion_error = __commonJS({
|
|
199
|
-
"node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/assert/assertion_error.js"(exports, module) {
|
|
198
|
+
"../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/assert/assertion_error.js"(exports, module) {
|
|
200
199
|
"use strict";
|
|
201
200
|
function _objectSpread(target) {
|
|
202
201
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -661,9 +660,9 @@ var require_assertion_error = __commonJS({
|
|
|
661
660
|
}
|
|
662
661
|
});
|
|
663
662
|
|
|
664
|
-
// node_modules/.pnpm/es6-object-assign@1.1.0/node_modules/es6-object-assign/index.js
|
|
663
|
+
// ../../../node_modules/.pnpm/es6-object-assign@1.1.0/node_modules/es6-object-assign/index.js
|
|
665
664
|
var require_es6_object_assign = __commonJS({
|
|
666
|
-
"node_modules/.pnpm/es6-object-assign@1.1.0/node_modules/es6-object-assign/index.js"(exports, module) {
|
|
665
|
+
"../../../node_modules/.pnpm/es6-object-assign@1.1.0/node_modules/es6-object-assign/index.js"(exports, module) {
|
|
667
666
|
"use strict";
|
|
668
667
|
function assign(target, firstSource) {
|
|
669
668
|
if (target === void 0 || target === null) {
|
|
@@ -703,9 +702,9 @@ var require_es6_object_assign = __commonJS({
|
|
|
703
702
|
}
|
|
704
703
|
});
|
|
705
704
|
|
|
706
|
-
// node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js
|
|
705
|
+
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js
|
|
707
706
|
var require_isArguments = __commonJS({
|
|
708
|
-
"node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"(exports, module) {
|
|
707
|
+
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"(exports, module) {
|
|
709
708
|
"use strict";
|
|
710
709
|
var toStr = Object.prototype.toString;
|
|
711
710
|
module.exports = function isArguments(value) {
|
|
@@ -719,9 +718,9 @@ var require_isArguments = __commonJS({
|
|
|
719
718
|
}
|
|
720
719
|
});
|
|
721
720
|
|
|
722
|
-
// node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js
|
|
721
|
+
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js
|
|
723
722
|
var require_implementation = __commonJS({
|
|
724
|
-
"node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js"(exports, module) {
|
|
723
|
+
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js"(exports, module) {
|
|
725
724
|
"use strict";
|
|
726
725
|
var keysShim;
|
|
727
726
|
if (!Object.keys) {
|
|
@@ -851,9 +850,9 @@ var require_implementation = __commonJS({
|
|
|
851
850
|
}
|
|
852
851
|
});
|
|
853
852
|
|
|
854
|
-
// node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js
|
|
853
|
+
// ../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js
|
|
855
854
|
var require_object_keys = __commonJS({
|
|
856
|
-
"node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"(exports, module) {
|
|
855
|
+
"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"(exports, module) {
|
|
857
856
|
"use strict";
|
|
858
857
|
var slice = Array.prototype.slice;
|
|
859
858
|
var isArgs = require_isArguments();
|
|
@@ -885,9 +884,9 @@ var require_object_keys = __commonJS({
|
|
|
885
884
|
}
|
|
886
885
|
});
|
|
887
886
|
|
|
888
|
-
// node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js
|
|
887
|
+
// ../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js
|
|
889
888
|
var require_define_properties = __commonJS({
|
|
890
|
-
"node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"(exports, module) {
|
|
889
|
+
"../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"(exports, module) {
|
|
891
890
|
"use strict";
|
|
892
891
|
var keys = require_object_keys();
|
|
893
892
|
var hasSymbols = typeof Symbol === "function" && typeof Symbol("foo") === "symbol";
|
|
@@ -929,9 +928,9 @@ var require_define_properties = __commonJS({
|
|
|
929
928
|
}
|
|
930
929
|
});
|
|
931
930
|
|
|
932
|
-
// node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js
|
|
931
|
+
// ../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js
|
|
933
932
|
var require_implementation2 = __commonJS({
|
|
934
|
-
"node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js"(exports, module) {
|
|
933
|
+
"../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/implementation.js"(exports, module) {
|
|
935
934
|
"use strict";
|
|
936
935
|
var numberIsNaN = function(value) {
|
|
937
936
|
return value !== value;
|
|
@@ -951,9 +950,9 @@ var require_implementation2 = __commonJS({
|
|
|
951
950
|
}
|
|
952
951
|
});
|
|
953
952
|
|
|
954
|
-
// node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/polyfill.js
|
|
953
|
+
// ../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/polyfill.js
|
|
955
954
|
var require_polyfill = __commonJS({
|
|
956
|
-
"node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/polyfill.js"(exports, module) {
|
|
955
|
+
"../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/polyfill.js"(exports, module) {
|
|
957
956
|
"use strict";
|
|
958
957
|
var implementation = require_implementation2();
|
|
959
958
|
module.exports = function getPolyfill() {
|
|
@@ -962,9 +961,9 @@ var require_polyfill = __commonJS({
|
|
|
962
961
|
}
|
|
963
962
|
});
|
|
964
963
|
|
|
965
|
-
// node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/shim.js
|
|
964
|
+
// ../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/shim.js
|
|
966
965
|
var require_shim = __commonJS({
|
|
967
|
-
"node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/shim.js"(exports, module) {
|
|
966
|
+
"../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/shim.js"(exports, module) {
|
|
968
967
|
"use strict";
|
|
969
968
|
var getPolyfill = require_polyfill();
|
|
970
969
|
var define = require_define_properties();
|
|
@@ -980,9 +979,9 @@ var require_shim = __commonJS({
|
|
|
980
979
|
}
|
|
981
980
|
});
|
|
982
981
|
|
|
983
|
-
// node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/index.js
|
|
982
|
+
// ../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/index.js
|
|
984
983
|
var require_object_is = __commonJS({
|
|
985
|
-
"node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/index.js"(exports, module) {
|
|
984
|
+
"../../../node_modules/.pnpm/object-is@1.1.5/node_modules/object-is/index.js"(exports, module) {
|
|
986
985
|
"use strict";
|
|
987
986
|
var define = require_define_properties();
|
|
988
987
|
var callBind = require_call_bind();
|
|
@@ -999,9 +998,9 @@ var require_object_is = __commonJS({
|
|
|
999
998
|
}
|
|
1000
999
|
});
|
|
1001
1000
|
|
|
1002
|
-
// node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js
|
|
1001
|
+
// ../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js
|
|
1003
1002
|
var require_implementation3 = __commonJS({
|
|
1004
|
-
"node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js"(exports, module) {
|
|
1003
|
+
"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js"(exports, module) {
|
|
1005
1004
|
"use strict";
|
|
1006
1005
|
module.exports = function isNaN(value) {
|
|
1007
1006
|
return value !== value;
|
|
@@ -1009,9 +1008,9 @@ var require_implementation3 = __commonJS({
|
|
|
1009
1008
|
}
|
|
1010
1009
|
});
|
|
1011
1010
|
|
|
1012
|
-
// node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js
|
|
1011
|
+
// ../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js
|
|
1013
1012
|
var require_polyfill2 = __commonJS({
|
|
1014
|
-
"node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js"(exports, module) {
|
|
1013
|
+
"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js"(exports, module) {
|
|
1015
1014
|
"use strict";
|
|
1016
1015
|
var implementation = require_implementation3();
|
|
1017
1016
|
module.exports = function getPolyfill() {
|
|
@@ -1023,9 +1022,9 @@ var require_polyfill2 = __commonJS({
|
|
|
1023
1022
|
}
|
|
1024
1023
|
});
|
|
1025
1024
|
|
|
1026
|
-
// node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js
|
|
1025
|
+
// ../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js
|
|
1027
1026
|
var require_shim2 = __commonJS({
|
|
1028
|
-
"node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js"(exports, module) {
|
|
1027
|
+
"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js"(exports, module) {
|
|
1029
1028
|
"use strict";
|
|
1030
1029
|
var define = require_define_properties();
|
|
1031
1030
|
var getPolyfill = require_polyfill2();
|
|
@@ -1041,11 +1040,11 @@ var require_shim2 = __commonJS({
|
|
|
1041
1040
|
}
|
|
1042
1041
|
});
|
|
1043
1042
|
|
|
1044
|
-
// node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js
|
|
1043
|
+
// ../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js
|
|
1045
1044
|
var require_is_nan = __commonJS({
|
|
1046
|
-
"node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js"(exports, module) {
|
|
1045
|
+
"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js"(exports, module) {
|
|
1047
1046
|
"use strict";
|
|
1048
|
-
var callBind =
|
|
1047
|
+
var callBind = require_call_bind();
|
|
1049
1048
|
var define = require_define_properties();
|
|
1050
1049
|
var implementation = require_implementation3();
|
|
1051
1050
|
var getPolyfill = require_polyfill2();
|
|
@@ -1060,9 +1059,9 @@ var require_is_nan = __commonJS({
|
|
|
1060
1059
|
}
|
|
1061
1060
|
});
|
|
1062
1061
|
|
|
1063
|
-
// node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/util/comparisons.js
|
|
1062
|
+
// ../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/util/comparisons.js
|
|
1064
1063
|
var require_comparisons = __commonJS({
|
|
1065
|
-
"node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/util/comparisons.js"(exports, module) {
|
|
1064
|
+
"../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/internal/util/comparisons.js"(exports, module) {
|
|
1066
1065
|
"use strict";
|
|
1067
1066
|
function _slicedToArray(arr, i) {
|
|
1068
1067
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
|
|
@@ -1573,9 +1572,9 @@ var require_comparisons = __commonJS({
|
|
|
1573
1572
|
}
|
|
1574
1573
|
});
|
|
1575
1574
|
|
|
1576
|
-
// node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/assert.js
|
|
1575
|
+
// ../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/assert.js
|
|
1577
1576
|
var require_assert = __commonJS({
|
|
1578
|
-
"node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/assert.js"(exports, module) {
|
|
1577
|
+
"../../../node_modules/.pnpm/assert@2.0.0/node_modules/assert/build/assert.js"(exports, module) {
|
|
1579
1578
|
"use strict";
|
|
1580
1579
|
function _typeof(obj) {
|
|
1581
1580
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
@@ -2051,7 +2050,7 @@ var require_assert = __commonJS({
|
|
|
2051
2050
|
}
|
|
2052
2051
|
});
|
|
2053
2052
|
|
|
2054
|
-
//
|
|
2053
|
+
// src/assert.js
|
|
2055
2054
|
var import_assert = __toESM(require_assert(), 1);
|
|
2056
2055
|
var assert_default = import_assert.default;
|
|
2057
2056
|
export {
|