whatwg-encoding
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.labelToName = label => { | ||
label = label.trim().toLowerCase(); | ||
label = String(label).trim().toLowerCase(); | ||
@@ -47,3 +47,3 @@ return labelsToNames[label] || null; | ||
exports.isSupported = name => { | ||
return supportedNamesSet.has(name); | ||
return supportedNamesSet.has(String(name)); | ||
}; |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)", | ||
@@ -11,0 +11,0 @@ "license": "WTFPL", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
2
9102
5
1
0