Skip to content

Commit

Permalink
Fix globals builtin import
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Oct 18, 2020
1 parent 1a82c7f commit c2dd9c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/ast-nodes-checks.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { builtin } from 'globals'
import globalScope from 'globals'
import {namedTypes} from './build-types'

const browserAPIs = ['window', 'document']
const builtinAPIs = Object.keys(builtin)
const builtinAPIs = Object.keys(globalScope.builtin)

export const isIdentifier = n => namedTypes.Identifier.check(n)
export const isLiteral = n => namedTypes.Literal.check(n)
Expand Down

0 comments on commit c2dd9c5

Please sign in to comment.