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

jupyter-js-widgets

Package Overview
Dependencies
Maintainers
6
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupyter-js-widgets - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

2

package.json
{
"name": "jupyter-js-widgets",
"version": "0.0.23",
"version": "0.0.24",
"description": "Jupyter widget Javascript",

@@ -5,0 +5,0 @@ "author": "Project Jupyter",

@@ -356,3 +356,2 @@ // Copyright (c) Jupyter Development Team.

var model_promises = [];
for (var model_id in models) {

@@ -367,26 +366,23 @@ if (models.hasOwnProperty(model_id)) {

if (displayed_flag && live_flag) {
state[model_id] = {
state[model_id] = utils.resolvePromisesDict({
model_name: model.name,
model_module: model.module,
state: model.constructor._serialize_state(model.get_state(options.drop_defaults), that),
views: [],
};
// Get the views that are displayed *now*.
(function(local_state) {
model_promises.push(utils.resolvePromisesDict(model.views).then(function(model_views) {
for (var id in model_views) {
if (model_views.hasOwnProperty(id)) {
var view = model_views[id];
views: utils.resolvePromisesDict(model.views).then(function (views) {
var v = [];
for (var id in views) {
if (views.hasOwnProperty(id)) {
var view = views[id];
if (view.options !== undefined && view.options.root) {
local_state.views.push(view.options);
v.push(view.options);
}
}
}
}));
})(state[model_id]);
return v;
})
});
}
}
}
return Promise.all(model_promises).then(function() { return state; });
return utils.resolvePromisesDict(state);
}).catch(utils.reject('Could not get state of widget manager', true));

@@ -393,0 +389,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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