@tamagui/simple-hash
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -41,3 +41,10 @@ "use strict"; | ||
function isValidCSSCharCode(code) { | ||
return code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95 || code === 45 || code >= 48 && code <= 57; | ||
return ( | ||
// A-Z | ||
code >= 65 && code <= 90 || // a-z | ||
code >= 97 && code <= 122 || // _ | ||
code === 95 || // - | ||
code === 45 || // 0-9 | ||
code >= 48 && code <= 57 | ||
); | ||
} | ||
@@ -44,0 +51,0 @@ // Annotate the CommonJS export names for ESM import in node: |
@@ -17,3 +17,10 @@ const simpleHash = (str, hashMin = 10) => { | ||
function isValidCSSCharCode(code) { | ||
return code >= 65 && code <= 90 || code >= 97 && code <= 122 || code === 95 || code === 45 || code >= 48 && code <= 57; | ||
return ( | ||
// A-Z | ||
code >= 65 && code <= 90 || // a-z | ||
code >= 97 && code <= 122 || // _ | ||
code === 95 || // - | ||
code === 45 || // 0-9 | ||
code >= 48 && code <= 57 | ||
); | ||
} | ||
@@ -20,0 +27,0 @@ export { |
{ | ||
"name": "@tamagui/simple-hash", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"sideEffects": false, | ||
@@ -20,3 +20,3 @@ "types": "./types/index.d.ts", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.1.8" | ||
"@tamagui/build": "^1.1.9" | ||
}, | ||
@@ -23,0 +23,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6884
117