Socket
Socket
Sign inDemoInstall

escomplex-ast-moz

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

src/safeName.js

4

package.json
{
"name": "escomplex-ast-moz",
"version": "0.1.0",
"version": "0.1.1",
"description": "Mozilla-format AST walker for escomplex.",

@@ -29,3 +29,3 @@ "homepage": "https://github.com/philbooth/escomplex-ast-moz",

"dependencies": {
"check-types": "0.6.x",
"check-types": "0.7.x",
"escomplex-traits": "0.1.x"

@@ -32,0 +32,0 @@ },

@@ -8,2 +8,3 @@ /*globals exports, require */

check = require('check-types');
safeName = require('./safeName');
syntaxDefinitions = require('./syntax');

@@ -43,3 +44,3 @@

if (syntax.newScope) {
callbacks.createScope(node.id, assignedName, node.loc, node.params.length);
callbacks.createScope(safeName(node.id, assignedName), node.loc, node.params.length);
}

@@ -46,0 +47,0 @@

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