File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import * as f from './function.js'
1515export const isNode = typeof process !== 'undefined' && process . release &&
1616 / n o d e | i o \. j s / . test ( process . release . name )
1717/* c8 ignore next */
18- export const isBrowser = typeof window !== 'undefined' && ! isNode
18+ export const isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && ! isNode
1919/* c8 ignore next 3 */
2020export const isMac = typeof navigator !== 'undefined'
2121 ? / M a c / . test ( navigator . platform )
Original file line number Diff line number Diff line change 382382 },
383383 "./webcrypto" : {
384384 "types" : " ./webcrypto.browser.d.ts" ,
385+ "deno" : {
386+ "import" : " ./webcrypto.deno.js"
387+ },
385388 "node" : {
386389 "import" : " ./webcrypto.node.js" ,
387390 "require" : " ./dist/webcrypto.node.cjs"
You can’t perform that action at this time.
0 commit comments