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

@jupyterlab/docprovider

Package Overview
Dependencies
Maintainers
28
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/docprovider - npm Package Compare versions

Comparing version 3.1.0-beta.0 to 3.1.0-beta.1

4

lib/awareness.d.ts
export declare const moonsOfJupyter: string[];
/**
* Get a random user-name based on the moons of Jupyter.
* This function retuns names like "Anonymous Io" or "Anonymous Metis".
* This function returns names like "Anonymous Io" or "Anonymous Metis".
*/
export declare const getAnonymousUserName: () => string;
export declare const usercolors: string[];
export declare const userColors: string[];
export declare const getRandomColor: () => string;

@@ -85,7 +85,7 @@ // From https://en.wikipedia.org/wiki/Moons_of_Jupiter

* Get a random user-name based on the moons of Jupyter.
* This function retuns names like "Anonymous Io" or "Anonymous Metis".
* This function returns names like "Anonymous Io" or "Anonymous Metis".
*/
export const getAnonymousUserName = () => 'Anonymous ' +
moonsOfJupyter[Math.floor(Math.random() * moonsOfJupyter.length)];
export const usercolors = [
export const userColors = [
'#12A0D3',

@@ -100,3 +100,3 @@ '#17AB30',

];
export const getRandomColor = () => usercolors[Math.floor(Math.random() * usercolors.length)];
export const getRandomColor = () => userColors[Math.floor(Math.random() * userColors.length)];
//# sourceMappingURL=awareness.js.map

@@ -5,4 +5,5 @@ /**

*/
export * from './awareness';
export * from './mock';
export * from './tokens';
export * from './yprovider';

@@ -9,2 +9,3 @@ /* -----------------------------------------------------------------------------

*/
export * from './awareness';
export * from './mock';

@@ -11,0 +12,0 @@ export * from './tokens';

@@ -6,5 +6,5 @@ import { WebsocketProvider } from 'y-websocket';

*
* The user can specify their own user-name and user-color by adding urlparameters:
* The user can specify their own user-name and user-color by adding url parameters:
* ?username=Alice&usercolor=007007
* wher usercolor must be a six-digit hexadicimal encoded RGB value without the hash token.
* where usercolor must be a six-digit hexadecimal encoded RGB value without the hash token.
*

@@ -11,0 +11,0 @@ * We specify custom messages that the server can interpret. For reference please look in yjs_ws_server.

@@ -14,5 +14,5 @@ /* -----------------------------------------------------------------------------

*
* The user can specify their own user-name and user-color by adding urlparameters:
* The user can specify their own user-name and user-color by adding url parameters:
* ?username=Alice&usercolor=007007
* wher usercolor must be a six-digit hexadicimal encoded RGB value without the hash token.
* where usercolor must be a six-digit hexadecimal encoded RGB value without the hash token.
*

@@ -19,0 +19,0 @@ * We specify custom messages that the server can interpret. For reference please look in yjs_ws_server.

{
"name": "@jupyterlab/docprovider",
"version": "3.1.0-beta.0",
"version": "3.1.0-beta.1",
"description": "JupyterLab - Document Provider",

@@ -41,3 +41,3 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"dependencies": {
"@jupyterlab/shared-models": "^3.1.0-beta.0",
"@jupyterlab/shared-models": "^3.1.0-beta.1",
"@lumino/coreutils": "^1.5.3",

@@ -49,3 +49,3 @@ "lib0": "^0.2.42",

"devDependencies": {
"@jupyterlab/testutils": "^3.1.0-beta.0",
"@jupyterlab/testutils": "^3.1.0-beta.1",
"@types/jest": "^26.0.10",

@@ -60,3 +60,3 @@ "jest": "^26.4.2",

},
"gitHead": "acd4b259a99ca58dbb8a14bfe73d6f5ad2262991"
"gitHead": "96e326b4c0b3156203c59a79b60c760a9c33baae"
}

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