Commit Graph

35 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
95d4c19c5d
refactor(uuid): move UUID v7 APIs to ./unstable-v7 (#5937) 2024-09-11 20:23:31 +09:00
Liam Tait
b808ee6de6
feat(uuid/unstable): @std/uuid/v7 (#5887)
* feat(uuid): add uuid v7 generation and validation

* remove as string

* fmt

* update mod-exports check

* mark more items experimental

* fix test name

* call getRandomValues once

* add checks for user provided timestamp

* fmt

* consolidate checks

* fix missing options.timestamp

* consolidate error check

* use pre-shifted variant and version

* add extractTimestamp function for UUIDv7

* remove random option from uuid v7 generate

* fix import statements for extractTimestamp function in uuid/v7.ts

* remove bad comment

* tweaks

* add uuid v7 module doc

* fmt

* align extractTimestamp invalid uuid error message with style guide

* fmt

* add experimental tags

* use timestamp argument instead of options generate v7 uuid

* fmt

* tweak

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-04 02:57:49 +00:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
Asher Gomez
cfa7cbc16c
chore(uuid): release uuid@1.0.0-rc.1 (#4867)
* chore(uuid): release `uuid@1.0.0-rc.1`

* temp fix

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-31 22:03:36 +10:00
Asher Gomez
b1684ec912
BREAKING(uuid): remove v1.generate() signature with buf and offset parameters and number[] return type (#4877) 2024-05-31 21:10:04 +10:00
Marvin Hagemeister
999e5e7a97
docs(uuid): update module docs (#4790) 2024-05-29 15:47:42 +10:00
Yoshiya Hinosawa
722844250d
docs(csv,encoding,http,json,media-types,uuid): use rfc-editor.org for RFC links (#4777)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-20 16:14:09 +09:00
Asher Gomez
89d95a5633
refactor(uuid): factor out common symbols into common module (#4749) 2024-05-16 16:18:08 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Simon Holloway
5c23dcbe86
refactor(uuid): prepare for noUncheckedIndexedAccess (#4445)
* refactor(uuid): prepare for `noUncheckedIndexedAccess`

* added a test and updated the error message

* changed to !== 6 and added another test

* update error message to be clearer
2024-03-11 08:59:30 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
David Luis
328e3d2a88
docs(uuid): complete documentation (#4044)
* chore(uuid): complete documentation

* fmt

* tweaks

* further tweaks

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-31 09:40:48 +11:00
David Luis
a5b9694784
feat(uuid): add pre-defined namespace UUIDs (#3352) 2023-05-02 23:51:43 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Erfan Safari
04dee6e627
chore(uuid): add missing new identifier (#2650) 2022-09-13 17:22:50 -04:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
Bartek Iwańczuk
a06298b0b5
chore: Update top level module JSDocs (#2343)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 11:20:56 +02:00
like-nanhai
c75454c44b
docs: add module level docs (#2190) 2022-05-04 19:34:37 +09:00
Jesse Jackson
ac880e83e3
refactor(uuid): mark modules as browser compatible (#2040) 2022-03-19 00:46:13 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Erfan Safari
14ee4b289f
feat(uuid): add function to detect RFC version of a UUID (#1766) 2021-12-28 16:28:23 +01:00
Jesse Jackson
675b6effd8
chore(uuid): add return type to validate (#1745) 2021-12-23 13:54:23 +09:00
Yasser A.Idrissi
2e4554e178
feat(uuid): add validate function to check UUID (#1720) 2021-12-18 23:22:37 +09:00
Luca Casonato
0192a85f82
BREAKING std/uuid: rework v4 and v5 module (#971)
Co-authored-by: William Perron <hey@wperron.io>
2021-07-09 14:27:41 +02:00
Yusuke Tanaka
d8a589ac80 chore: update copyright to 2021 (denoland/deno#9092) 2021-02-01 10:46:59 +00:00
aakhtar3
420f552a9d docs(uuid): Added JSdocs for the uuid module (denoland/deno#7735) 2021-02-01 10:46:58 +00:00
Casper Beyer
01a04a4957 remove stub implementation of v3 in uuid (denoland/deno#7488) 2021-02-01 10:46:58 +00:00
underfin
24c6fdda12 feat(uuid): Implement uuid v5 (denoland/deno#4916) 2021-02-01 10:46:57 +00:00
Ali Hasani
b5bf5a9cfe Implement UUID v1 (denoland/deno#4758) 2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372 Happy new year! (denoland/deno#3578) 2021-02-01 10:46:56 +00:00
Axetroy
a682dfcab8 std: remove wildcard export in uuid module (denoland/deno#3540) 2021-02-01 10:46:56 +00:00
Lucas Caro
f52b3ec002 add UUID module (#479) 2019-07-03 11:13:22 -04:00