@deephaven/react-hooks
Advanced tools
Comparing version 0.4.0 to 0.4.1-modules.0
@@ -1,3 +0,3 @@ | ||
export { default as usePrevious } from './usePrevious'; | ||
export { default as useForwardedRef } from './useForwardedRef'; | ||
export { default as usePrevious } from "./usePrevious.js"; | ||
export { default as useForwardedRef } from "./useForwardedRef.js"; | ||
//# sourceMappingURL=index.js.map |
@@ -12,3 +12,3 @@ import { useEffect, useRef } from 'react'; | ||
var innerRef = useRef(null); | ||
useEffect(function () { | ||
useEffect(() => { | ||
if (!ref) return; | ||
@@ -15,0 +15,0 @@ |
@@ -5,3 +5,3 @@ import { useEffect, useRef } from 'react'; // From https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state | ||
var ref = useRef(); | ||
useEffect(function () { | ||
useEffect(() => { | ||
ref.current = value; | ||
@@ -8,0 +8,0 @@ }); |
{ | ||
"name": "@deephaven/react-hooks", | ||
"version": "0.4.0", | ||
"version": "0.4.1-modules.0+babe987", | ||
"description": "Deephaven React hooks library", | ||
"author": "Deephaven Data Labs LLC", | ||
"license": "Apache-2.0", | ||
"type": "module", | ||
"repository": { | ||
@@ -40,3 +41,3 @@ "type": "git", | ||
"@babel/core": "7.12.3", | ||
"@deephaven/tsconfig": "^0.4.0", | ||
"@deephaven/tsconfig": "^0.4.1-modules.0+babe987", | ||
"@types/react": "^16.14.8", | ||
@@ -55,3 +56,3 @@ "cross-env": "^7.0.2", | ||
}, | ||
"gitHead": "9b983b76cc5bd3785efd737d36c4c0b301734868" | ||
"gitHead": "babe9873983923869be98e4943bfb173a7097641" | ||
} |
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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
53572
Yes
1