Skip to content

Commit

Permalink
🐛 regular lowercasing, not locale based
Browse files Browse the repository at this point in the history
  • Loading branch information
actuallymentor committed Nov 7, 2023
1 parent 4b7601b commit e4b0eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@poap/sane-data",
"private": false,
"version": "0.0.5",
"version": "0.0.6",
"description": "A collection of data validations and sanetisers",
"main": "./src/index.js",
"browser": "./dist/browser/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/sanitisers.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ export const sanetise_email = ( input, throw_on_fail = true ) => sanetize(
* @param {String} input - Input string
* @returns {String} Lowercased and trimmed version of the input
*/
export const sanetise_string = input => `${ input }`.toLocaleLowerCase().trim()
export const sanetise_string = input => `${ input }`.toLowerCase().trim()

0 comments on commit e4b0eb0

Please sign in to comment.