@frontegg/react-hooks
Advanced tools
Comparing version 7.3.0 to 7.4.0-alpha.0
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.3.0 | ||
/** @license Frontegg v7.4.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Frontegg v7.3.0 | ||
/** @license Frontegg v7.4.0-alpha.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -131,8 +131,4 @@ "use strict"; | ||
}); | ||
// if (import.meta.env?.MODE !== 'production') { | ||
// // eslint-disable-next-line react-hooks/rules-of-hooks | ||
// useAffectedDebugValue(currSnapshot, currAffected) | ||
// } | ||
const proxyCache = (0, _react.useMemo)(() => new WeakMap(), []); // per-hook proxyCache | ||
return (0, _proxyCompare.createProxy)(currSnapshot, currAffected, proxyCache, targetCache); | ||
} |
{ | ||
"name": "@frontegg/react-hooks", | ||
"version": "7.3.0", | ||
"version": "7.4.0-alpha.0", | ||
"main": "./node/index.js", | ||
@@ -9,8 +9,9 @@ "license": "MIT", | ||
"@babel/runtime": "^7.18.6", | ||
"@frontegg/redux-store": "7.3.0", | ||
"@frontegg/types": "7.3.0", | ||
"@frontegg/redux-store": "7.4.0-alpha.0", | ||
"@frontegg/types": "7.4.0-alpha.0", | ||
"@types/react": "*", | ||
"@types/react-is": "^17.0.7", | ||
"get-value": "^3.0.1", | ||
"react-is": "^17.0.2" | ||
"react-is": "^17.0.2", | ||
"use-sync-external-store": "^1.2.2" | ||
}, | ||
@@ -17,0 +18,0 @@ "sideEffects": false, |
@@ -122,8 +122,4 @@ /// <reference types="react/experimental" /> | ||
}); | ||
// if (import.meta.env?.MODE !== 'production') { | ||
// // eslint-disable-next-line react-hooks/rules-of-hooks | ||
// useAffectedDebugValue(currSnapshot, currAffected) | ||
// } | ||
const proxyCache = useMemo(() => new WeakMap(), []); // per-hook proxyCache | ||
return createProxyToCompare(currSnapshot, currAffected, proxyCache, targetCache); | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24
63
268
177536
8
4796
2
+ Added@frontegg/redux-store@7.4.0-alpha.0(transitive)
+ Added@frontegg/types@7.4.0-alpha.0(transitive)
+ Addedproxy-compare@3.0.1(transitive)
+ Addedreact@19.0.0(transitive)
+ Addeduse-sync-external-store@1.4.0(transitive)
- Removed@frontegg/redux-store@7.3.0(transitive)
- Removed@frontegg/types@7.3.0(transitive)
- Removedderive-valtio@0.1.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedproxy-compare@2.6.0(transitive)
- Removedreact@18.3.1(transitive)
- Removeduse-sync-external-store@1.2.0(transitive)
- Removedvaltio@1.13.2(transitive)