New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jupyterlab/statusbar

Package Overview
Dependencies
Maintainers
31
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/statusbar - npm Package Compare versions

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

15

lib/components/group.js
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
import * as React from 'react';

@@ -22,5 +11,5 @@ import { classes, style } from 'typestyle/lib';

export function GroupItem(props) {
const { spacing, children, className } = props, rest = __rest(props, ["spacing", "children", "className"]);
const { spacing, children, className, ...rest } = props;
const numChildren = React.Children.count(children);
return (React.createElement("div", Object.assign({ className: classes(groupItemLayout, className) }, rest), React.Children.map(children, (child, i) => {
return (React.createElement("div", { className: classes(groupItemLayout, className), ...rest }, React.Children.map(children, (child, i) => {
if (i === 0) {

@@ -27,0 +16,0 @@ return React.createElement("div", { style: { marginRight: `${spacing}px` } }, child);

// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
import * as React from 'react';

@@ -19,5 +8,5 @@ /**

export function ProgressBar(props) {
const { width, percentage } = props, rest = __rest(props, ["width", "percentage"]);
const { width, percentage, ...rest } = props;
return (React.createElement("div", { className: 'jp-Statusbar-ProgressBar-progress-bar', role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": percentage },
React.createElement(Filler, Object.assign({}, Object.assign({ percentage }, rest), { contentWidth: width }))));
React.createElement(Filler, { ...{ percentage, ...rest }, contentWidth: width })));
}

@@ -24,0 +13,0 @@ /**

// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
import * as React from 'react';

@@ -21,5 +10,5 @@ import { classes } from 'typestyle/lib';

export function TextItem(props) {
const { title, source, className } = props, rest = __rest(props, ["title", "source", "className"]);
return (React.createElement("span", Object.assign({ className: classes(textItem, className), title: title }, rest), source));
const { title, source, className, ...rest } = props;
return (React.createElement("span", { className: classes(textItem, className), title: title, ...rest }, source));
}
//# sourceMappingURL=text.js.map

5

lib/statusbar.js

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

// Populate defaults for the optional properties of the status item.
const fullStatusItem = Object.assign(Object.assign({}, Private.statusItemDefaults), statusItem);
const fullStatusItem = {
...Private.statusItemDefaults,
...statusItem
};
const { align, item, rank } = fullStatusItem;

@@ -46,0 +49,0 @@ // Connect the activeStateChanged signal to refreshing the status item,

{
"name": "@jupyterlab/statusbar",
"version": "4.0.0-alpha.13",
"version": "4.0.0-alpha.14",
"description": "JupyterLab statusbar package.",

@@ -39,9 +39,9 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"dependencies": {
"@jupyterlab/ui-components": "^4.0.0-alpha.28",
"@lumino/algorithm": "^2.0.0-alpha.1",
"@lumino/coreutils": "^2.0.0-alpha.1",
"@lumino/disposable": "^2.0.0-alpha.1",
"@lumino/messaging": "^2.0.0-alpha.1",
"@lumino/signaling": "^2.0.0-alpha.1",
"@lumino/widgets": "^2.0.0-alpha.1",
"@jupyterlab/ui-components": "^4.0.0-alpha.29",
"@lumino/algorithm": "^2.0.0-alpha.6",
"@lumino/coreutils": "^2.0.0-alpha.6",
"@lumino/disposable": "^2.0.0-alpha.6",
"@lumino/messaging": "^2.0.0-alpha.6",
"@lumino/signaling": "^2.0.0-alpha.6",
"@lumino/widgets": "^2.0.0-alpha.6",
"csstype": "~3.0.3",

@@ -52,3 +52,3 @@ "react": "^17.0.1",

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

@@ -55,0 +55,0 @@ "jest": "^26.4.2",

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

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