Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mip-sandbox

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mip-sandbox - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

9

lib/global-mark.js

@@ -86,3 +86,5 @@ /**

if (is(node, /^Import\w*Specifier$/)) {
node.local.isVar = true
if (node.local) {
node.local.isVar = true
}
if (node.imported && is(node.imported, 'Identifier')) {

@@ -147,3 +149,6 @@ node.imported.isIgnore = true

} else if (is(node, 'ClassDeclaration')) {
node.id.isVar = true
// 可能会存在匿名类的情况 export default class {} 此时 id 为 null
if (node.id) {
node.id.isVar = true
}
} else if (is(node, 'CatchClause')) {

@@ -150,0 +155,0 @@ if (is(node.param, 'Identifier')) {

{
"name": "mip-sandbox",
"version": "1.1.4",
"version": "1.1.5",
"description": "sandbox tools for MIP project",

@@ -5,0 +5,0 @@ "main": "lib/sandbox.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc