Skip to content

Commit 3b26f0a

Browse files
committed
Revert "fix: remove wrapper.mjs"
This reverts commit 2a18871.
1 parent 2a18871 commit 3b26f0a

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"node": {
3030
"module": "./dist/esm/index.js",
3131
"require": "./dist/cjs/index.js",
32-
"import": "./dist/esm/index.js"
32+
"import": "./wrapper.mjs"
3333
},
3434
"browser": {
3535
"import": "./dist/esm-browser/index.js",
@@ -49,7 +49,8 @@
4949
"CONTRIBUTING.md",
5050
"LICENSE.md",
5151
"README.md",
52-
"dist"
52+
"dist",
53+
"wrapper.mjs"
5354
],
5455
"devDependencies": {
5556
"@babel/eslint-parser": "7.25.9",

wrapper.mjs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import * as uuid from './dist/esm/index.js';
2+
export const v1 = uuid.v1;
3+
export const v1ToV6 = uuid.v1ToV6;
4+
export const v3 = uuid.v3;
5+
export const v4 = uuid.v4;
6+
export const v5 = uuid.v5;
7+
export const v6 = uuid.v6;
8+
export const v6ToV1 = uuid.v6ToV1;
9+
export const v7 = uuid.v7;
10+
export const NIL = uuid.NIL;
11+
export const MAX = uuid.MAX;
12+
export const version = uuid.version;
13+
export const validate = uuid.validate;
14+
export const stringify = uuid.stringify;
15+
export const parse = uuid.parse;

0 commit comments

Comments
 (0)