babel-generator
Advanced tools
Comparing version 6.24.0 to 6.24.1
@@ -128,3 +128,3 @@ "use strict"; | ||
var occurences = { | ||
var occurrences = { | ||
single: 0, | ||
@@ -142,5 +142,5 @@ double: 0 | ||
if (raw[0] === "'") { | ||
occurences.single++; | ||
occurrences.single++; | ||
} else { | ||
occurences.double++; | ||
occurrences.double++; | ||
} | ||
@@ -151,3 +151,3 @@ | ||
} | ||
if (occurences.single > occurences.double) { | ||
if (occurrences.single > occurrences.double) { | ||
return "single"; | ||
@@ -154,0 +154,0 @@ } else { |
{ | ||
"name": "babel-generator", | ||
"version": "6.24.0", | ||
"version": "6.24.1", | ||
"description": "Turns an AST into code.", | ||
@@ -16,3 +16,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"babel-runtime": "^6.22.0", | ||
"babel-types": "^6.23.0", | ||
"babel-types": "^6.24.1", | ||
"detect-indent": "^4.0.0", | ||
@@ -19,0 +19,0 @@ "jsesc": "^1.3.0", |
@@ -42,2 +42,3 @@ # babel-generator | ||
jsonCompatibleStrings | boolean | `false` | Set to true to run `jsesc` with "json": true to print "\u00A9" vs. "©"; | ||
Options for source maps: | ||
@@ -44,0 +45,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91163
87
Updatedbabel-types@^6.24.1