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

@jupyterlab/settingregistry

Package Overview
Dependencies
Maintainers
31
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/settingregistry - npm Package Compare versions

Comparing version 4.0.0-alpha.13 to 4.0.0-alpha.14

38

lib/settingregistry.js

@@ -284,3 +284,6 @@ // Copyright (c) Jupyter Development Team.

const raw = json5.parse(plugins[plugin].raw);
plugins[plugin].raw = Private.annotatedPlugin(plugins[plugin], Object.assign(Object.assign({}, raw), { [key]: value }));
plugins[plugin].raw = Private.annotatedPlugin(plugins[plugin], {
...raw,
[key]: value
});
return this._save(plugin);

@@ -673,3 +676,7 @@ }

if (refIndex >= 0) {
merged[refIndex] = Object.assign(Object.assign(Object.assign({}, merged[refIndex]), menu), { items: reconcileItems(merged[refIndex].items, menu.items, warn, addNewItems) });
merged[refIndex] = {
...merged[refIndex],
...menu,
items: reconcileItems(merged[refIndex].items, menu.items, warn, addNewItems)
};
}

@@ -707,3 +714,3 @@ else {

if (addNewItems) {
items.push(Object.assign({}, item));
items.push({ ...item });
}

@@ -720,5 +727,9 @@ break;

else {
items[refIndex] = Object.assign(Object.assign(Object.assign({}, items[refIndex]), item), { submenu: reconcileMenus(items[refIndex].submenu
items[refIndex] = {
...items[refIndex],
...item,
submenu: reconcileMenus(items[refIndex].submenu
? [items[refIndex].submenu]
: null, [item.submenu], warn, addNewItems)[0] });
: null, [item.submenu], warn, addNewItems)[0]
};
}

@@ -737,3 +748,3 @@ }

if (addNewItems) {
items.push(Object.assign({}, item));
items.push({ ...item });
}

@@ -745,3 +756,3 @@ }

}
items[refIndex] = Object.assign(Object.assign({}, items[refIndex]), item);
items[refIndex] = { ...items[refIndex], ...item };
}

@@ -763,3 +774,3 @@ }

var _a;
const copy = Object.assign({}, value);
const copy = { ...value };
if (!copy.disabled) {

@@ -769,3 +780,6 @@ if (copy.type === 'submenu') {

if (submenu && !submenu.disabled) {
copy.submenu = Object.assign(Object.assign({}, submenu), { items: filterDisabledItems((_a = submenu.items) !== null && _a !== void 0 ? _a : []) });
copy.submenu = {
...submenu,
items: filterDisabledItems((_a = submenu.items) !== null && _a !== void 0 ? _a : [])
};
}

@@ -842,3 +856,3 @@ }

.map(shortcut => {
return Object.assign({ args: {} }, shortcut);
return { args: {}, ...shortcut };
}));

@@ -868,3 +882,3 @@ }

if (refIndex < 0) {
items.push(Object.assign({}, item));
items.push({ ...item });
}

@@ -876,3 +890,3 @@ else {

}
items[refIndex] = Object.assign(Object.assign({}, items[refIndex]), item);
items[refIndex] = { ...items[refIndex], ...item };
}

@@ -879,0 +893,0 @@ });

{
"name": "@jupyterlab/settingregistry",
"version": "4.0.0-alpha.13",
"version": "4.0.0-alpha.14",
"description": "Settings registry for Jupyterlab",

@@ -38,7 +38,7 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"dependencies": {
"@jupyterlab/statedb": "^4.0.0-alpha.13",
"@lumino/commands": "^2.0.0-alpha.1",
"@lumino/coreutils": "^2.0.0-alpha.1",
"@lumino/disposable": "^2.0.0-alpha.1",
"@lumino/signaling": "^2.0.0-alpha.1",
"@jupyterlab/statedb": "^4.0.0-alpha.14",
"@lumino/commands": "^2.0.0-alpha.6",
"@lumino/coreutils": "^2.0.0-alpha.6",
"@lumino/disposable": "^2.0.0-alpha.6",
"@lumino/signaling": "^2.0.0-alpha.6",
"ajv": "^6.12.3",

@@ -48,3 +48,3 @@ "json5": "^2.1.1"

"devDependencies": {
"@jupyterlab/testutils": "^4.0.0-alpha.13",
"@jupyterlab/testutils": "^4.0.0-alpha.14",
"@types/jest": "^26.0.10",

@@ -51,0 +51,0 @@ "@types/json5": "^0.0.30",

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