@radix-ui/react-use-previous
Advanced tools
Comparing version 0.1.2-rc.40 to 0.1.2-rc.41
var $kjM8v$react = require("react"); | ||
function $parcel$exportWildcard(dest, source) { | ||
Object.keys(source).forEach(function(key) { | ||
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) { | ||
return; | ||
} | ||
Object.defineProperty(dest, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return source[key]; | ||
} | ||
}); | ||
}); | ||
return dest; | ||
} | ||
function $parcel$export(e, n, v, s) { | ||
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); | ||
} | ||
var $11bc82d0001dc9a8$exports = {}; | ||
$parcel$export($11bc82d0001dc9a8$exports, "usePrevious", () => $11bc82d0001dc9a8$export$5cae361ad82dce8b); | ||
$parcel$export(module.exports, "usePrevious", () => $11bc82d0001dc9a8$export$5cae361ad82dce8b); | ||
@@ -45,5 +28,4 @@ function $11bc82d0001dc9a8$export$5cae361ad82dce8b(value) { | ||
$parcel$exportWildcard(module.exports, $11bc82d0001dc9a8$exports); | ||
//# sourceMappingURL=index.js.map |
import {useRef as $8LvvK$useRef, useMemo as $8LvvK$useMemo} from "react"; | ||
function $parcel$export(e, n, v, s) { | ||
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); | ||
} | ||
var $010c2913dbd2fe3d$exports = {}; | ||
$parcel$export($010c2913dbd2fe3d$exports, "usePrevious", () => $010c2913dbd2fe3d$export$5cae361ad82dce8b); | ||
function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) { | ||
@@ -11,0 +5,0 @@ const ref = $8LvvK$useRef({ |
{ | ||
"name": "@radix-ui/react-use-previous", | ||
"version": "0.1.2-rc.40", | ||
"version": "0.1.2-rc.41", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
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
5733
45