@formatjs/ecma402-abstract
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -29,3 +29,3 @@ "use strict"; | ||
} | ||
return "" + code[0].toUpperCase() + code.slice(1); | ||
return "" + code[0].toUpperCase() + code.slice(1).toLowerCase(); | ||
} | ||
@@ -32,0 +32,0 @@ utils_1.invariant(type === 'currency', 'invalid type'); |
@@ -26,3 +26,3 @@ import { CanonicalizeLocaleList } from '../CanonicalizeLocaleList'; | ||
} | ||
return "" + code[0].toUpperCase() + code.slice(1); | ||
return "" + code[0].toUpperCase() + code.slice(1).toLowerCase(); | ||
} | ||
@@ -29,0 +29,0 @@ invariant(type === 'currency', 'invalid type'); |
{ | ||
"name": "@formatjs/ecma402-abstract", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "A collection of implementation for ECMAScript abstract operations", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
471458