Skip to content

Commit

Permalink
fix: use node-prefixed import for crypto (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mw10013 authored Feb 5, 2024
1 parent 4952a52 commit c3d9a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* This was copy/paste/modified/tested from https://npm.im/notp (MIT)
*/
import * as crypto from 'crypto'
import * as crypto from 'node:crypto'

/**
* @type {{ encode: (data: string | import('buffer').Buffer) => string, decode: (data: string) => import('buffer').Buffer }}
Expand Down

0 comments on commit c3d9a28

Please sign in to comment.