@ocap/util 1.28.1 → 1.28.3
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/esm/{curve.d.ts → curve.d.mts} +2 -2
- package/esm/{curve.js → curve.mjs} +1 -1
- package/esm/{index.d.ts → index.d.mts} +1 -1
- package/esm/{index.js → index.mjs} +1 -1
- package/lib/{bn.js → bn.cjs} +1 -1
- package/lib/{create-sorted-list.js → create-sorted-list.cjs} +1 -1
- package/lib/{curve.js → curve.cjs} +1 -1
- package/lib/{curve.d.ts → curve.d.cts} +1 -1
- package/lib/{get-list-field.js → get-list-field.cjs} +1 -1
- package/lib/{index.js → index.cjs} +2 -2
- package/lib/{index.d.ts → index.d.cts} +1 -1
- package/lib/{md5.js → md5.cjs} +1 -1
- package/lib/{ready.js → ready.cjs} +1 -1
- package/lib/{url.js → url.cjs} +1 -1
- package/package.json +18 -12
- /package/esm/{bn.d.ts → bn.d.mts} +0 -0
- /package/esm/{bn.js → bn.mjs} +0 -0
- /package/esm/{constant.d.ts → constant.d.mts} +0 -0
- /package/esm/{constant.js → constant.mjs} +0 -0
- /package/esm/{create-sorted-list.d.ts → create-sorted-list.d.mts} +0 -0
- /package/esm/{create-sorted-list.js → create-sorted-list.mjs} +0 -0
- /package/esm/{error.d.ts → error.d.mts} +0 -0
- /package/esm/{error.js → error.mjs} +0 -0
- /package/esm/{get-list-field.d.ts → get-list-field.d.mts} +0 -0
- /package/esm/{get-list-field.js → get-list-field.mjs} +0 -0
- /package/esm/{get-related-addr.d.ts → get-related-addr.d.mts} +0 -0
- /package/esm/{get-related-addr.js → get-related-addr.mjs} +0 -0
- /package/esm/{md5.d.ts → md5.d.mts} +0 -0
- /package/esm/{md5.js → md5.mjs} +0 -0
- /package/esm/{ready.d.ts → ready.d.mts} +0 -0
- /package/esm/{ready.js → ready.mjs} +0 -0
- /package/esm/{retry.d.ts → retry.d.mts} +0 -0
- /package/esm/{retry.js → retry.mjs} +0 -0
- /package/esm/{url.d.ts → url.d.mts} +0 -0
- /package/esm/{url.js → url.mjs} +0 -0
- /package/lib/_virtual/{rolldown_runtime.js → rolldown_runtime.cjs} +0 -0
- /package/lib/{bn.d.ts → bn.d.cts} +0 -0
- /package/lib/{constant.js → constant.cjs} +0 -0
- /package/lib/{constant.d.ts → constant.d.cts} +0 -0
- /package/lib/{create-sorted-list.d.ts → create-sorted-list.d.cts} +0 -0
- /package/lib/{error.js → error.cjs} +0 -0
- /package/lib/{error.d.ts → error.d.cts} +0 -0
- /package/lib/{get-list-field.d.ts → get-list-field.d.cts} +0 -0
- /package/lib/{get-related-addr.js → get-related-addr.cjs} +0 -0
- /package/lib/{get-related-addr.d.ts → get-related-addr.d.cts} +0 -0
- /package/lib/{md5.d.ts → md5.d.cts} +0 -0
- /package/lib/{ready.d.ts → ready.d.cts} +0 -0
- /package/lib/{retry.js → retry.cjs} +0 -0
- /package/lib/{retry.d.ts → retry.d.cts} +0 -0
- /package/lib/{url.d.ts → url.d.cts} +0 -0
package/lib/{bn.js → bn.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.
|
|
1
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let lodash_uniq = require("lodash/uniq");
|
|
3
3
|
lodash_uniq = require_rolldown_runtime.__toESM(lodash_uniq);
|
|
4
4
|
let lodash_flatten = require("lodash/flatten");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.
|
|
2
|
-
const require_bn = require('./bn.
|
|
1
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_bn = require('./bn.cjs');
|
|
3
3
|
let bn_js = require("bn.js");
|
|
4
4
|
bn_js = require_rolldown_runtime.__toESM(bn_js);
|
|
5
5
|
let lodash_isBoolean = require("lodash/isBoolean");
|
package/lib/{md5.js → md5.cjs}
RENAMED
package/lib/{url.js → url.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.
|
|
1
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let url = require("url");
|
|
3
3
|
let ipaddr_js = require("ipaddr.js");
|
|
4
4
|
ipaddr_js = require_rolldown_runtime.__toESM(ipaddr_js);
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/util",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.3",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "utils shared across multiple forge js libs, works in both node.js and browser",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"arcblock",
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"ipaddr.js": "^2.1.0",
|
|
19
20
|
"lodash": "^4.17.21",
|
|
20
21
|
"utf8": "^3.0.0",
|
|
21
|
-
"@ocap/types": "^1.28.
|
|
22
|
+
"@ocap/types": "^1.28.3"
|
|
22
23
|
},
|
|
23
24
|
"resolutions": {
|
|
24
25
|
"elliptic": "6.5.3"
|
|
@@ -47,20 +48,25 @@
|
|
|
47
48
|
],
|
|
48
49
|
"homepage": "https://www.arcblock.io/docs/blockchain-utils",
|
|
49
50
|
"license": "Apache-2.0",
|
|
50
|
-
"main": "./lib/index.
|
|
51
|
+
"main": "./lib/index.cjs",
|
|
51
52
|
"sideEffects": false,
|
|
52
|
-
"module": "./esm/index.
|
|
53
|
-
"types": "./esm/index.d.
|
|
53
|
+
"module": "./esm/index.mjs",
|
|
54
|
+
"types": "./esm/index.d.mts",
|
|
54
55
|
"exports": {
|
|
55
56
|
".": {
|
|
56
|
-
"types": "./esm/index.d.
|
|
57
|
-
"import": "./esm/index.
|
|
58
|
-
"default": "./lib/index.
|
|
57
|
+
"types": "./esm/index.d.mts",
|
|
58
|
+
"import": "./esm/index.mjs",
|
|
59
|
+
"default": "./lib/index.cjs"
|
|
60
|
+
},
|
|
61
|
+
"./lib/*.js": {
|
|
62
|
+
"types": "./esm/*.d.mts",
|
|
63
|
+
"import": "./esm/*.mjs",
|
|
64
|
+
"default": "./lib/*.cjs"
|
|
59
65
|
},
|
|
60
66
|
"./lib/*": {
|
|
61
|
-
"types": "./
|
|
62
|
-
"import": "./esm
|
|
63
|
-
"default": "./lib/*.
|
|
67
|
+
"types": "./esm/*.d.mts",
|
|
68
|
+
"import": "./esm/*.mjs",
|
|
69
|
+
"default": "./lib/*.cjs"
|
|
64
70
|
}
|
|
65
71
|
},
|
|
66
72
|
"files": [
|
|
@@ -80,6 +86,6 @@
|
|
|
80
86
|
"test": "jest --forceExit --detectOpenHandles",
|
|
81
87
|
"coverage": "npm run test -- --coverage",
|
|
82
88
|
"build": "tsdown",
|
|
83
|
-
"build:watch": "tsdown
|
|
89
|
+
"build:watch": "tsdown -w"
|
|
84
90
|
}
|
|
85
91
|
}
|
|
File without changes
|
/package/esm/{bn.js → bn.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/esm/{md5.js → md5.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/esm/{url.js → url.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|