base60-codec 0.1.10 → 0.1.11
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.cjs +2 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -0
- package/package.json +9 -3
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
base60: () => base60,
|
|
23
24
|
createBase60Codec: () => createBase60Codec,
|
|
24
25
|
default: () => index_default
|
|
25
26
|
});
|
|
@@ -187,5 +188,6 @@ var base60 = createBase60Codec();
|
|
|
187
188
|
var index_default = base60;
|
|
188
189
|
// Annotate the CommonJS export names for ESM import in node:
|
|
189
190
|
0 && (module.exports = {
|
|
191
|
+
base60,
|
|
190
192
|
createBase60Codec
|
|
191
193
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -19,4 +19,4 @@ interface Base60Codec {
|
|
|
19
19
|
declare function createBase60Codec(): Base60Codec;
|
|
20
20
|
declare const base60: Base60Codec;
|
|
21
21
|
|
|
22
|
-
export { type Base60Codec, type Base60String, createBase60Codec, base60 as default };
|
|
22
|
+
export { type Base60Codec, type Base60String, base60, createBase60Codec, base60 as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ interface Base60Codec {
|
|
|
19
19
|
declare function createBase60Codec(): Base60Codec;
|
|
20
20
|
declare const base60: Base60Codec;
|
|
21
21
|
|
|
22
|
-
export { type Base60Codec, type Base60String, createBase60Codec, base60 as default };
|
|
22
|
+
export { type Base60Codec, type Base60String, base60, createBase60Codec, base60 as default };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "base60-codec",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "A tiny, deterministic Base60 encoder/decoder for UUID, ULID, Int64, and BigInt.",
|
|
5
5
|
"author": "Shinnosuke Hagiwara <hagiwara000@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,8 +11,14 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"types": "./dist/index.d.ts",
|
|
14
|
-
"import":
|
|
15
|
-
|
|
14
|
+
"import": {
|
|
15
|
+
"default": "./dist/index.js",
|
|
16
|
+
"base60": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"default": "./dist/index.cjs",
|
|
20
|
+
"base60": "./dist/index.cjs"
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
"files": [
|