Skip to content

Commit

Permalink
Use Native randomUUID
Browse files Browse the repository at this point in the history
  • Loading branch information
alxjrvs committed Nov 6, 2024
1 parent fcf40fe commit 976acaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Binary file modified bun.lockb
Binary file not shown.
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,19 @@
}
],
"devDependencies": {
"@eslint/js": "^9.13.0",
"@eslint/js": "^9.14.0",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/eslint__js": "^8.42.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"bun-plugin-dts": "^0.3.0",
"bun-types": "latest",
"eslint": "^9.13.0",
"eslint": "^9.14.0",
"prettier": "^3.3.3",
"size-limit": "^11.1.6",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.1",
"typedoc": "^0.26.10"
"typescript-eslint": "^8.13.0",
"typedoc": "^0.26.11"
},
"type": "module",
"dependencies": {
"uuidv7": "^1.0.2"
}
"type": "module"
}
2 changes: 1 addition & 1 deletion src/models/ArgumentsModel.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RollArgument, DicePools, RollOptions, RollParameters } from '~types'
import { uuidv7 as uuid } from 'uuidv7'
import { randomUUIDv7 as uuid } from 'bun'
import { isD, isDicePoolOptions, isDiceNotationArg } from '~guards'
import { NotationModel, OptionsModel } from '~models'
import { D } from '~src/D'
Expand Down

0 comments on commit 976acaf

Please sign in to comment.