Skip to content

Commit

Permalink
fix(node): use webcrypto export from node:crypto (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Oct 15, 2023
1 parent d3cf9ad commit 4823585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
@@ -1,4 +1,4 @@
import crypto from 'node:crypto'
import { webcrypto as crypto } from 'node:crypto'

import { urlAlphabet } from './url-alphabet/index.js'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -9,7 +9,7 @@
"url"
],
"scripts": {
"clean": "rm -R coverage",
"clean": "rm -rf coverage",
"start": "vite test/demo/ --open",
"unit": "uvu . .test.js$",
"test:coverage": "c8 pnpm unit",
Expand Down

0 comments on commit 4823585

Please sign in to comment.