Comparing version 0.0.2 to 0.0.3
@@ -37,2 +37,1 @@ 'use strict'; | ||
module.exports = exec; | ||
console.log(exec(['$eqs', 1, '1'])); |
{ | ||
"name": "jsexp", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -53,2 +53,1 @@ 'use strict'; | ||
module.exports = stringify; | ||
console.log(stringify(['$eq', 1, '2'])); |
@@ -34,8 +34,4 @@ 'use strict'; | ||
function replaceVariable(variable, context) { | ||
if (typeof variable === 'string') { | ||
if (context && rVariable.test(variable)) { | ||
return get(context, variable.substr(1)); | ||
} | ||
return variable; | ||
if (context && typeof variable === 'string' && rVariable.test(variable)) { | ||
return get(context, variable.substr(1)); | ||
} | ||
@@ -42,0 +38,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
31284
1014