@radix-ui/react-use-previous
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,2 @@ | ||
var e,r,u,t=require("react"),n=t.useRef,c=t.useEffect;function f(e){var r=n(e);return c((function(){r.current=e}),[e]),r.current}exports.usePrevious=f,e={},r="usePrevious",u=function(){return f},Object.defineProperty(e,r,{get:u,enumerable:!0}); | ||
var e,r,u,t=require("react"),n=t.useRef,c=t.useEffect;function s(e){const r=n(e);return c((()=>{r.current=e}),[e]),r.current}exports.usePrevious=s,e={},r="usePrevious",u=function(){return s},Object.defineProperty(e,r,{get:u,enumerable:!0}); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import{useRef as r,useEffect as e}from"react";var t,n,u;function o(t){var n=r(t);return e((function(){n.current=t}),[t]),n.current}export{o as usePrevious};t={},n="usePrevious",u=function(){return o},Object.defineProperty(t,n,{get:u,enumerable:!0}); | ||
import{useRef as r,useEffect as e}from"react";var t,n,u;function o(t){const n=r(t);return e((()=>{n.current=t}),[t]),n.current}export{o as usePrevious};t={},n="usePrevious",u=function(){return o},Object.defineProperty(t,n,{get:u,enumerable:!0}); | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "@radix-ui/react-use-previous", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -31,4 +31,4 @@ "source": "src/index.ts", | ||
"dependencies": { | ||
"@babel/runtime-corejs3": "^7.13.10" | ||
"@babel/runtime": "^7.13.10" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
0
5978
+ Added@babel/runtime@^7.13.10
+ Added@babel/runtime@7.26.0(transitive)
- Removed@babel/runtime-corejs3@^7.13.10
- Removed@babel/runtime-corejs3@7.26.0(transitive)
- Removedcore-js-pure@3.39.0(transitive)