Socket
Socket
Sign inDemoInstall

@linaria/utils

Package Overview
Dependencies
71
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

2

esm/removeDangerousCode.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc