Socket
Book a DemoSign in
Socket

@eslint-react/shared

Package Overview
Dependencies
Maintainers
1
Versions
2402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/shared - npm Package Compare versions

Comparing version
4.0.2-beta.2
to
4.0.2-beta.3
+3
-3
dist/index.js

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

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