baiji-normalizer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -70,2 +70,3 @@ /** | ||
Normalizer.getConverter = function(type) { | ||
type = Array.isArray(type) ? type[0] : type; | ||
return this.converters[type]; | ||
@@ -72,0 +73,0 @@ }; |
{ | ||
"name": "baiji-normalizer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Baiji Normalizer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,2 +28,3 @@ var chai = require('chai'); | ||
expect(Normalizer.canConvert('addOne')).to.equal(true); | ||
expect(Normalizer.canConvert(['addOne'])).to.equal(true); | ||
expect(Normalizer.canConvert('regexp')).to.equal(false); | ||
@@ -30,0 +31,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
14751
318