@eslint-react/shared
Advanced tools
+3
-3
@@ -743,5 +743,5 @@ import module from "node:module"; | ||
| const compose = dual(2, (ab, bc) => (a) => bc(ab(a))); | ||
| function getOrElseUpdate(map, key, callback) { | ||
| function getOrInsertComputed(map, key, callback) { | ||
| if (map.has(key)) return map.get(key); | ||
| const value = callback(); | ||
| const value = callback(key); | ||
| map.set(key, value); | ||
@@ -862,3 +862,3 @@ return value; | ||
| const settings = context.settings; | ||
| return getOrElseUpdate(cache, settings["react-x"], () => normalizeSettings(decodeSettings(settings["react-x"]))); | ||
| return getOrInsertComputed(cache, settings["react-x"], () => normalizeSettings(decodeSettings(settings["react-x"]))); | ||
| } | ||
@@ -865,0 +865,0 @@ |
+2
-2
| { | ||
| "name": "@eslint-react/shared", | ||
| "version": "4.0.2-beta.2", | ||
| "version": "4.0.2-beta.3", | ||
| "description": "ESLint React's Shared constants and functions.", | ||
@@ -41,3 +41,3 @@ "homepage": "https://github.com/Rel1cx/eslint-react", | ||
| "@types/picomatch": "^4.0.2", | ||
| "tsdown": "^0.21.6", | ||
| "tsdown": "^0.21.7", | ||
| "@local/configs": "0.0.0", | ||
@@ -44,0 +44,0 @@ "@local/eff": "3.0.0-beta.72" |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
31950
0.03%