Comparing version 0.0.7 to 0.0.8
# code-red changelog | ||
## 0.0.8 | ||
* Allow strings to be treated as identifiers | ||
## 0.0.7 | ||
@@ -4,0 +8,0 @@ |
@@ -199,3 +199,6 @@ (function (global, factory) { | ||
if (+match[1] in values) { | ||
const value = values[+match[1]]; | ||
let value = values[+match[1]]; | ||
if (typeof value === 'string') { | ||
value = { type: 'Identifier', name: value }; | ||
} | ||
@@ -202,0 +205,0 @@ if (index === null) { |
{ | ||
"name": "code-red", | ||
"description": "code-red", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"repository": "Rich-Harris/code-red", | ||
@@ -6,0 +6,0 @@ "main": "dist/code-red.js", |
Sorry, the diff of this file is not supported yet
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
17194
455