escomplex-ast-moz
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"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 @@ |
21652
45
670
+ Addedcheck-types@0.7.2(transitive)
- Removedcheck-types@0.6.5(transitive)
Updatedcheck-types@0.7.x