@powfix/core-js 0.21.5 → 0.21.6
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/browser/cjs/shared/utils/UUID.js +3 -0
- package/dist/browser/esm/shared/utils/UUID.mjs +3 -0
- package/dist/browser/types/shared/utils/UUID.d.ts +1 -0
- package/dist/cjs/shared/utils/UUID.js +3 -0
- package/dist/esm/shared/utils/UUID.mjs +3 -0
- package/dist/node/cjs/nodejs/utils/UUID.js +0 -3
- package/dist/node/cjs/shared/utils/UUID.js +3 -0
- package/dist/node/esm/nodejs/utils/UUID.mjs +0 -3
- package/dist/node/esm/shared/utils/UUID.mjs +3 -0
- package/dist/node/types/nodejs/utils/UUID.d.ts +0 -1
- package/dist/node/types/shared/utils/UUID.d.ts +1 -0
- package/dist/types/shared/utils/UUID.d.ts +1 -0
- package/package.json +1 -1
|
@@ -297,6 +297,9 @@ export class UUID {
|
|
|
297
297
|
toJSON() {
|
|
298
298
|
return this.toString();
|
|
299
299
|
}
|
|
300
|
+
toBuffer() {
|
|
301
|
+
return this.bytes.buffer;
|
|
302
|
+
}
|
|
300
303
|
}
|
|
301
304
|
/* --------------------------------------------------------------------
|
|
302
305
|
* Regular expressions used to validate UUIDs in different string forms
|
|
@@ -297,6 +297,9 @@ export class UUID {
|
|
|
297
297
|
toJSON() {
|
|
298
298
|
return this.toString();
|
|
299
299
|
}
|
|
300
|
+
toBuffer() {
|
|
301
|
+
return this.bytes.buffer;
|
|
302
|
+
}
|
|
300
303
|
}
|
|
301
304
|
/* --------------------------------------------------------------------
|
|
302
305
|
* Regular expressions used to validate UUIDs in different string forms
|
|
@@ -297,6 +297,9 @@ export class UUID {
|
|
|
297
297
|
toJSON() {
|
|
298
298
|
return this.toString();
|
|
299
299
|
}
|
|
300
|
+
toBuffer() {
|
|
301
|
+
return this.bytes.buffer;
|
|
302
|
+
}
|
|
300
303
|
}
|
|
301
304
|
/* --------------------------------------------------------------------
|
|
302
305
|
* Regular expressions used to validate UUIDs in different string forms
|