Skip to content

Commit 59df709

Browse files
authored
docs: add notes on platform support (#838)
1 parent 1370497 commit 59df709

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed

README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (formally [RFC4122](https://www.rfc-editor.org/rfc/rfc4122.html)) UUIDs
99

1010
- **Complete** - Support for all RFC9562 UUID versions
11-
- **Cross-platform** - Support for ...
12-
- CommonJS, [ECMAScript Modules](#ecmascript-modules)
13-
- NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release))
14-
- Chrome, Safari, Firefox, Edge browsers
11+
- **Cross-platform** - Support for...
12+
- ESM & Common JS
13+
- [Chrome, Safari, Firefox, Edge browsers](#support)
14+
- [NodeJS](#support)
1515
- [React Native / Expo](#react-native--expo)
1616
- **Secure** - Cryptographically-strong random values
1717
- **Compact** - No dependencies, [tree-shakable](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking)
@@ -480,6 +480,14 @@ Prior to `uuid@11`, it was possible for `options` state to interfere with the in
480480
- Without `options`: Internal state is utilized to improve UUID uniqueness.
481481
- With `options`: Internal state is **NOT** used and, instead, appropriate defaults are applied as needed.
482482

483+
## Support
484+
485+
**Browsers**: `uuid` [builds are tested](/uuidjs/uuid/blob/main/wdio.conf.js) against the latest version of desktop Chrome, Safari, Firefox, and Edge. Mobile versions of these same browsers are expected to work but aren't currently tested.
486+
487+
**Node**: `uuid` [builds are tested](https://github.com/uuidjs/uuid/blob/main/.github/workflows/ci.yml#L26-L27) against node ([LTS releases](https://github.com/nodejs/Release)), plus one prior. E.g. `node@18` is in maintainence mode, and `node@22` is the current LTS release. So `uuid` supports `node@16`-`node@22`.
488+
489+
**Typescript**: TS versions released within the past two years are supported. [source](https://github.com/microsoft/TypeScript/issues/49088#issuecomment-2468723715)
490+
483491
## Known issues
484492

485493
### React Native / Expo

README_js.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ require('crypto').randomUUID = undefined;
2222
For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (formally [RFC4122](https://www.rfc-editor.org/rfc/rfc4122.html)) UUIDs
2323

2424
- **Complete** - Support for all RFC9562 UUID versions
25-
- **Cross-platform** - Support for ...
26-
- CommonJS, [ECMAScript Modules](#ecmascript-modules)
27-
- NodeJS 16+ ([LTS releases](https://github.com/nodejs/Release))
28-
- Chrome, Safari, Firefox, Edge browsers
25+
- **Cross-platform** - Support for...
26+
- ESM & Common JS
27+
- [Chrome, Safari, Firefox, Edge browsers](#support)
28+
- [NodeJS](#support)
2929
- [React Native / Expo](#react-native--expo)
3030
- **Secure** - Cryptographically-strong random values
3131
- **Compact** - No dependencies, [tree-shakable](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking)
@@ -488,6 +488,14 @@ Prior to `uuid@11`, it was possible for `options` state to interfere with the in
488488
- Without `options`: Internal state is utilized to improve UUID uniqueness.
489489
- With `options`: Internal state is **NOT** used and, instead, appropriate defaults are applied as needed.
490490

491+
## Support
492+
493+
**Browsers**: `uuid` [builds are tested](/uuidjs/uuid/blob/main/wdio.conf.js) against the latest version of desktop Chrome, Safari, Firefox, and Edge. Mobile versions of these same browsers are expected to work but aren't currently tested.
494+
495+
**Node**: `uuid` [builds are tested](https://github.com/uuidjs/uuid/blob/main/.github/workflows/ci.yml#L26-L27) against node ([LTS releases](https://github.com/nodejs/Release)), plus one prior. E.g. `node@18` is in maintainence mode, and `node@22` is the current LTS release. So `uuid` supports `node@16`-`node@22`.
496+
497+
**Typescript**: TS versions released within the past two years are supported. [source](https://github.com/microsoft/TypeScript/issues/49088#issuecomment-2468723715)
498+
491499
## Known issues
492500

493501
### React Native / Expo

0 commit comments

Comments
 (0)