Socket
Socket
Sign inDemoInstall

@tamagui/simple-hash

Package Overview
Dependencies
Maintainers
1
Versions
942
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/simple-hash - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

9

dist/cjs/index.js

@@ -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 {

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc