95 Commits
Author SHA1 Message Date
Robert KiefferandGitHub 39a4ae97cf docs: cleanup API summary (#968) 2026-07-07 06:04:17 -10:00
Robert KiefferandGitHub ac73780f12 docs: update runmd version (#940) 2026-04-26 10:51:56 -10:00
Robert KiefferandGitHub 6a1b881b49 fix!: expect crypto to be global everywhere (requires node@20+) (#935) 2026-04-19 03:01:26 -10:00
Robert KiefferandGitHub 24566e688e feat!: drop node@18 support (#934) 2026-04-05 06:22:24 -10:00
Robert KiefferandGitHub be0b76f6d6 docs: remove obsolete v1 option notes (#915) 2025-10-27 07:21:16 -10:00
Robert KiefferandGitHub 563f835b7d fix!: make browser exports the default (#901)
Restore browser build as the default in `package.json#exports`
2025-09-08 08:39:50 -10:00
Robert KiefferandGitHub 1f24ee2744 docs: add motivation for dropping CJS support (#897) 2025-09-05 07:08:17 -10:00
Robert KiefferandGitHub 47b4cce1fb fix: restore node: prefix (#889) 2025-07-17 05:23:57 -10:00
Robert KiefferandGitHub 70d5e0f169 feat!: drop node@16 support (#883) 2025-06-28 10:37:33 -10:00
Henrik GaßmannandGitHub f552890e04 feat: update TS types to allowUint8Array subtypes for buffer option (#865) 2025-02-19 07:42:48 -10:00
Robert KiefferandGitHub a1086dd68c docs: docs housecleaning (#864) 2025-01-11 08:59:16 -10:00
Robert KiefferandGitHub 8fcfebda47 chore: update deps (#848) 2024-12-24 13:06:35 -10:00
Aaron FaanesandGitHub 911486d12f docs: Ensure link to getrandomvalues-not-supported is maintained (#844) 2024-12-04 17:38:16 -10:00
nomanandGitHub 28eb404bea fix(docs): insure -> ensure (#843) 2024-12-04 17:35:51 -10:00
Robert KiefferandGitHub f1b3ecad59 docs: add notes on platform support (#838) 2024-11-19 19:46:25 -10:00
Robert KiefferandGitHub 753fd30664 fix: restore package.json#browser field (#817) 2024-10-27 11:24:21 -10:00
Robert KiefferandGitHub 51ae32fe54 chore: update devDependencies (#799)
* chore: update devDependencies

* docs: minor tweaks
2024-10-25 04:18:16 -10:00
Robert KiefferandGitHub babc320e20 chore: v11 prerelease (#792) 2024-09-06 03:50:50 -10:00
Robert KiefferandGitHub 374e722cc1 docs: update for v11 (#784) 2024-07-22 13:32:50 -10:00
d5623b8747 fix!: refactor v7 internal state and options logic, fixes #764 (#779)
Co-authored-by: Robert Kieffer <[email protected]>
Co-authored-by: Robin Pokorny <[email protected]>
2024-07-18 12:05:45 -10:00
Robert KiefferandGitHub a525b27051 feat: v8 support (#759) 2024-06-07 13:24:54 -07:00
Robert KiefferandGitHub e5b45f3919 feat: support v6 uuids (#754) 2024-06-07 13:14:37 -07:00
Patrick McCarrenandGitHub d6da2c88e7 docs: updates for RFC9562 (#753) 2024-06-05 02:25:53 -10:00
Robert KiefferandGitHub 690a4efde0 feat!: update node support matrix (only support node 16-20) (#750) 2024-06-02 21:54:11 -10:00
672a776736 feat: add support for MAX uuid (new in RFC9562) (#714)
---------

Co-authored-by: Robert Kieffer <[email protected]>
2024-06-02 19:56:49 -10:00
Patrick McCarrenandGitHub cf68e024ba uuid v7 (#681) 2024-06-02 15:56:09 -10:00
Robert KiefferandGitHub 314138368b chore: add node@12 back to CI, update readme (#733) 2023-09-11 22:20:47 +02:00
Nick SchonningandGitHub fe518d7d1f chore: minor typos in non-code areas (#702) 2023-03-22 09:34:08 -07:00
1e7c9e04e9 Replace broken image in README file (#695)
chore: fix broken readme and npm@9 build process

* Fix broken image for RunMD
* Update runmd package (fixes logo link)
* Fix build script (npm bin -> npx)

Co-authored-by: Robert Kieffer <[email protected]>
2023-03-14 00:32:52 +01:00
Jon KoopsandGitHub 1304f05632 docs: add note about cypto.randomUUID() (#686) 2023-02-12 07:39:12 -10:00
0xflotusandGitHub 06a25543d6 docs: typo (#667) 2022-12-21 07:36:32 -10:00
Christoph TavanandGitHub 4073985aa7 chore: drop node 10.x to upgrade dev dependencies (#653)
BREAKING CHANGE: This library always aims at supporting one EOLed LTS release
which by this time now is 12.x which has reached EOL 30 Apr 2022.

The actual change was already introduced in #643 but the commit was missing the
breaking change label.
2022-09-05 21:51:35 +02:00
Christoph TavanandGitHub b2b4d3be2b feat: remove UMD build (#645)
BREAKING CHANGE: Remove the minified UMD build from the package.

Minified code is hard to audit and since this is a widely used library
it seems more appropriate nowadays to optimize for auditability than to
ship a legacy module format that, at best, serves educational purposes
nowadays.

For production browser use cases, users should be using a bundler. For
educational purposes, today's online sandboxes like replit.com offer
convenient ways to load npm modules, so the use case for UMD through
repos like UNPKG or jsDelivr has largely vanished.

Fixes #620
2022-08-04 07:37:51 +02:00
Christoph TavanandGitHub a21b1103ff build: drop support for legacy browsers (IE11, Safari 10) (#604)
BREAKING CHANGE: Drop support for browsers that don't correctly
implement const/let and default arguments, and no longer transpile the
browser build to ES2015.

This also removes the fallback on msCrypto instead of the crypto API.

Browser tests are run in the first supported version of each supported
browser and in the latest (as of this commit) version available on
Browserstack.
2022-08-04 00:12:10 +02:00
Christoph TavanandGitHub 8500ad7b7d chore: use Node.js 16.x for building package and tests (#601)
Also upgrade `@wdio@6` -> `@wdio@7` since `@wdio@6` doesn't work with Node.js 16.
2021-12-02 23:14:02 +01:00
Robert Kieffer f16a0d1910 chore: http -> https, closes #596 2021-11-14 11:08:59 -08:00
Robert KiefferandGitHub 3969b41ee4 prettier --fix (#592)
chore: npm run prettier:fix
2021-11-06 12:35:44 -10:00
Robert KiefferandGitHub 8d5dbc2b76 update all dependencies to @latest, drop node@8 CI testing, add node@16 (#585)
update!: update packages to latest, drop node 8 support, add node 16
2021-11-06 11:25:04 -10:00
Adrian CarolliandGitHub 3bf7828304 fix: upgrading from uuid3 broken link (#568) 2021-04-10 17:49:22 -10:00
Robert KiefferandGitHub 2f2b68a512 README verbiage for Googlebot (#560)
* chore: discuss googlebot case in readma, fixes #546

* chore: fix doc regression

* chore: reword README

* chore: fixup README
2021-02-27 09:05:52 -10:00
Tomohiro SatoandGitHub 78bb0e4cab docs: add command 'npx' for CLI usage (#553)
CLI usage add 'npx'
2021-01-30 13:25:24 +01:00
Joseph MearmanandGitHub b17dd48a15 docs: add examples of per-version validation (#543) 2020-12-08 21:31:54 +01:00
Christoph Tavan 6d6704008e docs: fix react-native link from preface 2020-11-09 13:35:42 +01:00
Sebastian SchollandGitHub 2679920422 docs: fix typo in readme (#530) 2020-11-06 09:18:22 +01:00
Christoph TavanandGitHub 01cccefb28 fix: support expo>=39.0.0 (#515)
Thanks to
https://github.com/LinusU/react-native-get-random-values/pull/13 Expo
finally has support for a sync CSPRNG.

See also:
https://dev.to/expo/expo-sdk-39-is-now-available-1lm8#new-synchronous-method-in-raw-exporandom-endraw-

Fixes #375
2020-10-04 17:29:58 +02:00
Christoph TavanandGitHub afee99be03 docs: be explicit about react native import order (#518)
Fixes #514
2020-09-12 18:07:35 +02:00
Robert KiefferandGitHub 919f46b318 docs: document byte order in parse() and stringify(). fixes #503 (#504) 2020-08-03 07:32:18 -07:00
Christoph TavanandGitHub 9afd70d32a docs: fix readme with respect to new api version (#493)
The new APIs are introduced in 8.3, not 8.2.
2020-07-23 10:45:43 +02:00
391190bee3 feat: add parse/stringify/validate/version/NIL APIs (#479)
Add the following new APIs:
- uuid.NIL The nil UUID string (all zeros)
- uuid.parse() Convert UUID string to array of bytes
- uuid.stringify() Convert array of bytes to UUID string
- uuid.validate() Test a string to see if it is a valid UUID
- uuid.version() Detect RFC version of a UUID

This commit also adds more accurate validation when stringifying UUIDs and improves UUID parsing performance (for v3/v5 UUIDs) significantly (Thanks @awwit!).

Co-authored-by: Christoph Tavan <[email protected]>
Co-authored-by: Ignat Prokopovich <[email protected]>
Co-authored-by: Robert Kieffer <[email protected]>
Co-authored-by: Linus Unnebäck <[email protected]>
2020-07-22 22:32:20 +02:00
d098ec94a2 docs: clean up badges (#474)
Co-authored-by: Christoph Tavan <[email protected]>
2020-06-25 10:10:43 +02:00