@linaria/utils
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -17,3 +17,3 @@ import { nonType } from './findIdentifiers'; | ||
}; | ||
const forbiddenGlobals = new Set(['XMLHttpRequest', 'clearImmediate', 'clearInterval', 'clearTimeout', 'document', 'fetch', 'localStorage', 'location', 'navigator', 'sessionStorage', 'setImmediate', 'setInterval', 'setTimeout', 'window']); | ||
const forbiddenGlobals = new Set(['$RefreshReg$', 'XMLHttpRequest', 'clearImmediate', 'clearInterval', 'clearTimeout', 'document', 'fetch', 'localStorage', 'location', 'navigator', 'sessionStorage', 'setImmediate', 'setInterval', 'setTimeout', 'window']); | ||
const isBrowserGlobal = id => { | ||
@@ -20,0 +20,0 @@ return forbiddenGlobals.has(id.node.name) && isGlobal(id); |
@@ -24,3 +24,3 @@ "use strict"; | ||
}; | ||
const forbiddenGlobals = new Set(['XMLHttpRequest', 'clearImmediate', 'clearInterval', 'clearTimeout', 'document', 'fetch', 'localStorage', 'location', 'navigator', 'sessionStorage', 'setImmediate', 'setInterval', 'setTimeout', 'window']); | ||
const forbiddenGlobals = new Set(['$RefreshReg$', 'XMLHttpRequest', 'clearImmediate', 'clearInterval', 'clearTimeout', 'document', 'fetch', 'localStorage', 'location', 'navigator', 'sessionStorage', 'setImmediate', 'setInterval', 'setTimeout', 'window']); | ||
const isBrowserGlobal = id => { | ||
@@ -27,0 +27,0 @@ return forbiddenGlobals.has(id.node.name) && isGlobal(id); |
{ | ||
"name": "@linaria/utils", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Blazing fast zero-runtime CSS in JS library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
752642