@jupyterlab/settingregistry 3.3.0-alpha.6 → 4.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,22 @@
6
6
  "type": "object",
7
7
  "additionalProperties": true,
8
8
  "properties": {
9
+ "jupyter.lab.internationalization": {
10
+ "type": "object",
11
+ "properties": {
12
+ "selectors": {
13
+ "type": "array",
14
+ "items": {
15
+ "type": "string",
16
+ "minLength": 1
17
+ }
18
+ },
19
+ "domain": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ }
23
+ }
24
+ },
9
25
  "jupyter.lab.menus": {
10
26
  "type": "object",
11
27
  "properties": {
@@ -16,7 +16,7 @@ export interface ISchemaValidator {
16
16
  * @param populate - Whether plugin data should be populated, defaults to
17
17
  * `true`.
18
18
  *
19
- * @return A list of errors if either the schema or data fail to validate or
19
+ * @returns A list of errors if either the schema or data fail to validate or
20
20
  * `null` if there are no errors.
21
21
  */
22
22
  validateData(plugin: ISettingRegistry.IPlugin, populate?: boolean): ISchemaValidator.IError[] | null;
@@ -68,7 +68,7 @@ export declare class DefaultSchemaValidator implements ISchemaValidator {
68
68
  * @param populate - Whether plugin data should be populated, defaults to
69
69
  * `true`.
70
70
  *
71
- * @return A list of errors if either the schema or data fail to validate or
71
+ * @returns A list of errors if either the schema or data fail to validate or
72
72
  * `null` if there are no errors.
73
73
  */
74
74
  validateData(plugin: ISettingRegistry.IPlugin, populate?: boolean): ISchemaValidator.IError[] | null;
@@ -79,7 +79,7 @@ export declare class DefaultSchemaValidator implements ISchemaValidator {
79
79
  *
80
80
  * @param schema - The schema being added.
81
81
  *
82
- * @return A list of errors if the schema fails to validate or `null` if there
82
+ * @returns A list of errors if the schema fails to validate or `null` if there
83
83
  * are no errors.
84
84
  *
85
85
  * #### Notes
@@ -43,7 +43,7 @@ export class DefaultSchemaValidator {
43
43
  * @param populate - Whether plugin data should be populated, defaults to
44
44
  * `true`.
45
45
  *
46
- * @return A list of errors if either the schema or data fail to validate or
46
+ * @returns A list of errors if either the schema or data fail to validate or
47
47
  * `null` if there are no errors.
48
48
  */
49
49
  validateData(plugin, populate = true) {
@@ -107,7 +107,7 @@ export class DefaultSchemaValidator {
107
107
  *
108
108
  * @param schema - The schema being added.
109
109
  *
110
- * @return A list of errors if the schema fails to validate or `null` if there
110
+ * @returns A list of errors if the schema fails to validate or `null` if there
111
111
  * are no errors.
112
112
  *
113
113
  * #### Notes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/settingregistry",
3
- "version": "3.3.0-alpha.6",
3
+ "version": "4.0.0-alpha.1",
4
4
  "description": "Settings registry for Jupyterlab",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -35,16 +35,16 @@
35
35
  "watch": "tsc -b --watch"
36
36
  },
37
37
  "dependencies": {
38
- "@jupyterlab/statedb": "^3.3.0-alpha.6",
39
- "@lumino/commands": "^1.12.0",
40
- "@lumino/coreutils": "^1.5.3",
41
- "@lumino/disposable": "^1.4.3",
42
- "@lumino/signaling": "^1.4.3",
38
+ "@jupyterlab/statedb": "^4.0.0-alpha.1",
39
+ "@lumino/commands": "^1.19.0",
40
+ "@lumino/coreutils": "^1.11.1",
41
+ "@lumino/disposable": "^1.10.1",
42
+ "@lumino/signaling": "^1.10.1",
43
43
  "ajv": "^6.12.3",
44
44
  "json5": "^2.1.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@jupyterlab/testutils": "^3.3.0-alpha.6",
47
+ "@jupyterlab/testutils": "^4.0.0-alpha.1",
48
48
  "@types/jest": "^26.0.10",
49
49
  "@types/json5": "^0.0.30",
50
50
  "jest": "^26.4.2",