Socket
Socket
Sign inDemoInstall

@jupyterlab/coreutils

Package Overview
Dependencies
Maintainers
4
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/coreutils - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

lib/modeldb.d.ts

2

lib/activitymonitor.js

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ var signaling_1 = require("@phosphor/signaling");

@@ -14,1 +14,2 @@ export * from './activitymonitor';

export * from './vector';
export * from './modeldb';

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
function __export(m) {

@@ -20,1 +20,2 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];

__export(require("./vector"));
__export(require("./modeldb"));

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ // Notebook format interfaces

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
var __extends = (this && this.__extends) || (function () {

@@ -5,0 +5,0 @@ var extendStatics = Object.setPrototypeOf ||

import { IDisposable } from '@phosphor/disposable';
import { ISignal } from '@phosphor/signaling';
import { IObservable } from './modeldb';
/**
* A map which can be observed for changes.
*/
export interface IObservableMap<T> extends IDisposable {
export interface IObservableMap<T> extends IDisposable, IObservable {
/**
* The type of the Observable.
*/
type: 'Map';
/**
* A signal emitted when the map has changed.

@@ -81,2 +86,6 @@ */

/**
* The type of the Observable.
*/
readonly type: 'Map';
/**
* A signal emitted when the map has changed.

@@ -83,0 +92,0 @@ */

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,2 +24,12 @@ var signaling_1 = require("@phosphor/signaling");

}
Object.defineProperty(ObservableMap.prototype, "type", {
/**
* The type of the Observable.
*/
get: function () {
return 'Map';
},
enumerable: true,
configurable: true
});
Object.defineProperty(ObservableMap.prototype, "changed", {

@@ -26,0 +36,0 @@ /**

import { IDisposable } from '@phosphor/disposable';
import { ISignal } from '@phosphor/signaling';
import { IObservable } from './modeldb';
/**
* A string which can be observed for changes.
*/
export interface IObservableString extends IDisposable {
export interface IObservableString extends IDisposable, IObservable {
/**
* The type of the Observable.
*/
type: 'String';
/**
* A signal emitted when the string has changed.

@@ -49,2 +54,6 @@ */

/**
* The type of the Observable.
*/
readonly type: 'String';
/**
* A signal emitted when the string has changed.

@@ -51,0 +60,0 @@ */

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,2 +20,12 @@ var signaling_1 = require("@phosphor/signaling");

}
Object.defineProperty(ObservableString.prototype, "type", {
/**
* The type of the Observable.
*/
get: function () {
return 'String';
},
enumerable: true,
configurable: true
});
Object.defineProperty(ObservableString.prototype, "changed", {

@@ -22,0 +32,0 @@ /**

@@ -5,7 +5,12 @@ import { IIterator, IterableOrArrayLike } from '@phosphor/algorithm';

import { Vector } from './vector';
import { IObservable } from './modeldb';
/**
* A vector which can be observed for changes.
*/
export interface IObservableVector<T> extends IDisposable {
export interface IObservableVector<T> extends IDisposable, IObservable {
/**
* The type of the Observable.
*/
type: 'Vector';
/**
* A signal emitted when the vector has changed.

@@ -274,2 +279,6 @@ */

/**
* The type of the Observable.
*/
readonly type: 'Vector';
/**
* A signal emitted when the vector has changed.

@@ -276,0 +285,0 @@ */

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
var __extends = (this && this.__extends) || (function () {

@@ -34,2 +34,12 @@ var extendStatics = Object.setPrototypeOf ||

}
Object.defineProperty(ObservableVector.prototype, "type", {
/**
* The type of the Observable.
*/
get: function () {
return 'Vector';
},
enumerable: true,
configurable: true
});
Object.defineProperty(ObservableVector.prototype, "changed", {

@@ -36,0 +46,0 @@ /**

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ var posix = require("path-posix");

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ var moment = require("moment");

@@ -119,1 +119,19 @@ import { JSONValue } from '@phosphor/coreutils';

}
/**
* Namespace for ObservableUndoableVector utilities.
*/
export declare namespace ObservableUndoableVector {
/**
* A default, identity serializer.
*/
class IdentitySerializer implements ISerializer<JSONValue> {
/**
* Identity serialize.
*/
toJSON(value: JSONValue): JSONValue;
/**
* Identity deserialize.
*/
fromJSON(value: JSONValue): JSONValue;
}
}

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
var __extends = (this && this.__extends) || (function () {

@@ -241,1 +241,28 @@ var extendStatics = Object.setPrototypeOf ||

exports.ObservableUndoableVector = ObservableUndoableVector;
/**
* Namespace for ObservableUndoableVector utilities.
*/
(function (ObservableUndoableVector) {
/**
* A default, identity serializer.
*/
var IdentitySerializer = (function () {
function IdentitySerializer() {
}
/**
* Identity serialize.
*/
IdentitySerializer.prototype.toJSON = function (value) {
return value;
};
/**
* Identity deserialize.
*/
IdentitySerializer.prototype.fromJSON = function (value) {
return value;
};
return IdentitySerializer;
}());
ObservableUndoableVector.IdentitySerializer = IdentitySerializer;
})(ObservableUndoableVector = exports.ObservableUndoableVector || (exports.ObservableUndoableVector = {}));
exports.ObservableUndoableVector = ObservableUndoableVector;

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ var urlparse = require("url-parse");

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ /**

@@ -0,4 +1,4 @@

"use strict";
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -5,0 +5,0 @@ var algorithm_1 = require("@phosphor/algorithm");

{
"name": "@jupyterlab/coreutils",
"version": "0.3.0",
"version": "0.3.1",
"description": "JupyterLab - Core Utilities",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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