Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jupyter/react-components

Package Overview
Dependencies
Maintainers
12
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyter/react-components - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

10

lib/react-utils.js

@@ -5,3 +5,7 @@ import { useEffect, useLayoutEffect } from 'react';

useEffect(() => {
if (value !== undefined && targetElement.current[propName] !== value) {
if (
value !== undefined &&
targetElement.current &&
targetElement.current[propName] !== value
) {
// add try catch to avoid errors when setting read-only properties

@@ -14,3 +18,3 @@ try {

}
}, [value]);
}, [value, targetElement.current]);
}

@@ -31,3 +35,3 @@

};
}, [eventName, eventHandler, targetElement]);
}, [eventName, eventHandler, targetElement.current]);
}
{
"name": "@jupyter/react-components",
"version": "0.16.2",
"version": "0.16.3",
"description": "A component library for building extensions in Jupyter frontends.",

@@ -35,3 +35,3 @@ "homepage": "https://github.com/jupyterlab-contrib/jupyter-ui-toolkit#readme",

"dependencies": {
"@jupyter/web-components": "^0.16.2",
"@jupyter/web-components": "^0.16.3",
"react": ">=17.0.0 <19.0.0"

@@ -38,0 +38,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc