##// END OF EJS Templates
typescript strict mode...
cin -
r1:b6ccfccf314f default
parent child
Show More
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
@@ -0,0 +1,148
1 import { stringify } from "yaml";
2
3 export interface TapWriter {
4 version(): void;
5 plan(n: number): void;
6 fail(e: any): void;
7 ok(msg: string): void;
8 skip(msg: string): void;
9 bailOut(msg: string): void;
10 comment(msg: string): void;
11 yaml(data: any): void;
12 end(): void;
13 }
14
15 enum TapState {
16 Init,
17 VersionWritten,
18 Ready,
19 ReadyWithoutPlan,
20 End
21 }
22
23 export abstract class AbstractTapWriter implements TapWriter {
24 private _state = TapState.Init;
25 private _version = 13;
26 private _testIndex = 1;
27
28 private _moveVersion() {
29 switch (this._state) {
30 case TapState.Init:
31 this._state = TapState.VersionWritten;
32 break;
33 default:
34 throw new Error("Invalid operation");
35 }
36
37 }
38
39 private _movePlan() {
40 switch (this._state) {
41 case TapState.Init:
42 case TapState.VersionWritten:
43 this._state = TapState.Ready;
44 break;
45 case TapState.ReadyWithoutPlan:
46 this._state = TapState.End;
47 break;
48 default:
49 throw new Error("Invalid operation");
50 }
51 }
52
53 private _moveTestResult() {
54 switch (this._state) {
55 case TapState.Init:
56 case TapState.VersionWritten:
57 this._state = TapState.ReadyWithoutPlan;
58 break;
59 case TapState.Ready:
60 case TapState.ReadyWithoutPlan:
61 break;
62 default:
63 throw new Error("Invalid operation");
64 }
65 }
66
67 private _moveEnd() {
68 switch (this._state) {
69 case TapState.End:
70 throw new Error("Invalid operation");
71 default:
72 this._state = TapState.End;
73 }
74 }
75
76 private _moveDiag() {
77 switch (this._state) {
78 case TapState.Init:
79 case TapState.VersionWritten:
80 this._state = TapState.ReadyWithoutPlan;
81 break;
82 case TapState.Ready:
83 case TapState.ReadyWithoutPlan:
84 break;
85 default:
86 throw new Error("Invalid operation");
87 }
88 }
89
90 version() {
91 this._moveVersion();
92
93 this._writeLine(`TAP version ${this._version}`);
94 }
95
96 plan(n: number) {
97 this._movePlan();
98
99 this._writeLine(`1..${n}`);
100 }
101
102 fail(e: any) {
103 this._moveTestResult();
104
105 this._writeText(`not ok ${this._testIndex} ${e}`);
106 this._testIndex++;
107 }
108
109 ok(msg: string) {
110 this._moveTestResult();
111
112 this._writeText(`ok ${this._testIndex} ${msg}`);
113 this._testIndex++;
114 }
115 skip(msg: string) {
116 this._moveTestResult();
117
118 this._writeText(`ok ${this._testIndex} # SKIPPED: ${msg}`);
119 this._testIndex++;
120 }
121 bailOut(msg: string) {
122 this._moveEnd();
123
124 this._writeText(`Bail out! ${msg}`);
125 }
126 comment(msg: string) {
127 this._moveDiag();
128
129 this._writeText(`# ${msg}`);
130 }
131 yaml(data: any) {
132 this._moveDiag();
133
134 this._writeLine(" ---");
135 stringify(data).split("\r\n?").forEach(line => this._writeLine(" " + line));
136 this._writeLine(" ...");
137 }
138 end() {
139 this._moveEnd();
140 }
141
142 private _writeText(text: string) {
143 text.split("\r\n?").forEach((line, i) => this._writeLine(i ? "# " + line : line));
144 }
145
146 abstract _writeLine(text: string): void;
147
148 }
@@ -0,0 +1,18
1 import { AbstractTapWriter } from "./Tap";
2 import { TextWriter } from "@implab/core-amd/interfaces";
3
4 export class TextTapWriter extends AbstractTapWriter {
5
6 private readonly _writer: TextWriter;
7
8 constructor(writer: TextWriter) {
9 super();
10
11 this._writer = writer;
12 }
13
14 _writeLine(text: string) {
15 this._writer.writeLine(text);
16 }
17
18 } No newline at end of file
@@ -1,39 +1,40
1 plugins {
1 plugins {
2 id "org.implab.gradle-typescript" version "1.3.1"
2 id "org.implab.gradle-typescript" version "1.3.1"
3 id "ivy-publish"
3 id "ivy-publish"
4 }
4 }
5
5
6 typescript {
6 typescript {
7 compilerOptions {
7 compilerOptions {
8 lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
8 lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
9 listFiles = true
9 listFiles = true
10 declaration = true
10 declaration = true
11 strict = true
11 types = []
12 types = []
12 module = "amd"
13 module = "amd"
13 it.target = "es5"
14 it.target = "es5"
14 experimentalDecorators = true
15 experimentalDecorators = true
15 jsx = "react"
16 jsx = "react"
16 jsxFactory = "createElement"
17 jsxFactory = "createElement"
17 moduleResolution = "node"
18 moduleResolution = "node"
18 }
19 }
19
20
20 tscCmd = "$projectDir/node_modules/.bin/tsc"
21 tscCmd = "$projectDir/node_modules/.bin/tsc"
21 tsLintCmd = "$projectDir/node_modules/.bin/tslint"
22 tsLintCmd = "$projectDir/node_modules/.bin/tslint"
22 esLintCmd = "$projectDir/node_modules/.bin/eslint"
23 esLintCmd = "$projectDir/node_modules/.bin/eslint"
23 }
24 }
24
25
25 configureTsMain {
26 configureTsMain {
26 compilerOptions {
27 compilerOptions {
27 types = ["requirejs", "dojo-typings"]
28 types = ["requirejs", "dojo-typings"]
28 }
29 }
29 }
30 }
30
31
31 task printVersion {
32 task printVersion {
32 doLast {
33 doLast {
33 println "packageName: $packageName";
34 println "packageName: $packageName";
34 println "version: $version";
35 println "version: $version";
35 println "target: $typescript.compilerOptions.target";
36 println "target: $typescript.compilerOptions.target";
36 println "module: $typescript.compilerOptions.module";
37 println "module: $typescript.compilerOptions.module";
37 println "symbols: $symbols";
38 println "symbols: $symbols";
38 }
39 }
39 } No newline at end of file
40 }
This diff has been collapsed as it changes many lines, (511 lines changed) Show them Hide them
@@ -1,1323 +1,1206
1 {
1 {
2 "requires": true,
2 "requires": true,
3 "lockfileVersion": 1,
3 "lockfileVersion": 1,
4 "dependencies": {
4 "dependencies": {
5 "@babel/code-frame": {
5 "@babel/code-frame": {
6 "version": "7.8.3",
6 "version": "7.8.3",
7 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
7 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
8 "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
8 "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
9 "dev": true,
9 "dev": true,
10 "requires": {
10 "requires": {
11 "@babel/highlight": "^7.8.3"
11 "@babel/highlight": "^7.8.3"
12 }
12 }
13 },
13 },
14 "@babel/highlight": {
14 "@babel/highlight": {
15 "version": "7.8.3",
15 "version": "7.8.3",
16 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
16 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
17 "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
17 "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
18 "dev": true,
18 "dev": true,
19 "requires": {
19 "requires": {
20 "chalk": "^2.0.0",
20 "chalk": "^2.0.0",
21 "esutils": "^2.0.2",
21 "esutils": "^2.0.2",
22 "js-tokens": "^4.0.0"
22 "js-tokens": "^4.0.0"
23 }
23 }
24 },
24 },
25 "@babel/runtime": {
26 "version": "7.8.3",
27 "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz",
28 "integrity": "sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w==",
29 "dev": true,
30 "requires": {
31 "regenerator-runtime": "^0.13.2"
32 }
33 },
25 "@implab/core-amd": {
34 "@implab/core-amd": {
26 "version": "1.3.2",
35 "version": "1.3.2",
27 "resolved": "https://registry.npmjs.org/@implab/core-amd/-/core-amd-1.3.2.tgz",
36 "resolved": "https://registry.npmjs.org/@implab/core-amd/-/core-amd-1.3.2.tgz",
28 "integrity": "sha512-OPx02obqz60FiOzDqEFuPfag/0ugl1tuQouI+52Op0k+fcmuBK4QACJy7o3fzOYvejdjF1DG4aRXuCm6+vgMYQ==",
37 "integrity": "sha512-OPx02obqz60FiOzDqEFuPfag/0ugl1tuQouI+52Op0k+fcmuBK4QACJy7o3fzOYvejdjF1DG4aRXuCm6+vgMYQ==",
29 "dev": true
38 "dev": true
30 },
39 },
31 "@types/chai": {
40 "@types/chai": {
32 "version": "4.2.7",
41 "version": "4.1.3",
33 "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.2.7.tgz",
42 "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.3.tgz",
34 "integrity": "sha512-luq8meHGYwvky0O7u0eQZdA7B4Wd9owUCqvbw2m3XCrCU8mplYOujMBbvyS547AxJkC+pGnd0Cm15eNxEUNU8g==",
43 "integrity": "sha512-f5dXGzOJycyzSMdaXVhiBhauL4dYydXwVpavfQ1mVCaGjR56a9QfklXObUxlIY9bGTmCPHEEZ04I16BZ/8w5ww==",
35 "dev": true
36 },
37 "@types/node": {
38 "version": "8.0.0",
39 "resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.0.tgz",
40 "integrity": "sha512-j2tekvJCO7j22cs+LO6i0kRPhmQ9MXaPZ55TzOc1lzkN5b6BWqq4AFjl04s1oRRQ1v5rSe+KEvnLUSTonuls/A==",
41 "dev": true
44 "dev": true
42 },
45 },
43 "@types/requirejs": {
46 "@types/requirejs": {
44 "version": "2.1.31",
47 "version": "2.1.31",
45 "resolved": "https://registry.npmjs.org/@types/requirejs/-/requirejs-2.1.31.tgz",
48 "resolved": "https://registry.npmjs.org/@types/requirejs/-/requirejs-2.1.31.tgz",
46 "integrity": "sha512-b2soeyuU76rMbcRJ4e0hEl0tbMhFwZeTC0VZnfuWlfGlk6BwWNsev6kFu/twKABPX29wkX84wU2o+cEJoXsiTw==",
49 "integrity": "sha512-b2soeyuU76rMbcRJ4e0hEl0tbMhFwZeTC0VZnfuWlfGlk6BwWNsev6kFu/twKABPX29wkX84wU2o+cEJoXsiTw==",
47 "dev": true
50 "dev": true
48 },
51 },
49 "@types/tape": {
52 "@types/yaml": {
50 "version": "4.2.33",
53 "version": "1.2.0",
51 "resolved": "https://registry.npmjs.org/@types/tape/-/tape-4.2.33.tgz",
54 "resolved": "https://registry.npmjs.org/@types/yaml/-/yaml-1.2.0.tgz",
52 "integrity": "sha512-ltfyuY5BIkYlGuQfwqzTDT8f0q8Z5DGppvUnWGs39oqDmMd6/UWhNpX3ZMh/VYvfxs3rFGHMrLC/eGRdLiDGuw==",
55 "integrity": "sha512-GW8b9qM+ebgW3/zjzPm0I1NxMvLaz/YKT9Ph6tTb+Fkeyzd9yLTvQ6ciQ2MorTRmb/qXmfjMerRpG4LviixaqQ==",
53 "dev": true,
56 "dev": true
54 "requires": {
55 "@types/node": "*"
56 }
57 },
57 },
58 "acorn": {
58 "acorn": {
59 "version": "7.1.0",
59 "version": "7.1.0",
60 "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
60 "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
61 "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
61 "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
62 "dev": true
62 "dev": true
63 },
63 },
64 "acorn-jsx": {
64 "acorn-jsx": {
65 "version": "5.1.0",
65 "version": "5.1.0",
66 "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
66 "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
67 "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==",
67 "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==",
68 "dev": true
68 "dev": true
69 },
69 },
70 "ajv": {
70 "ajv": {
71 "version": "6.11.0",
71 "version": "6.11.0",
72 "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz",
72 "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz",
73 "integrity": "sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==",
73 "integrity": "sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==",
74 "dev": true,
74 "dev": true,
75 "requires": {
75 "requires": {
76 "fast-deep-equal": "^3.1.1",
76 "fast-deep-equal": "^3.1.1",
77 "fast-json-stable-stringify": "^2.0.0",
77 "fast-json-stable-stringify": "^2.0.0",
78 "json-schema-traverse": "^0.4.1",
78 "json-schema-traverse": "^0.4.1",
79 "uri-js": "^4.2.2"
79 "uri-js": "^4.2.2"
80 }
80 }
81 },
81 },
82 "ansi-escapes": {
82 "ansi-escapes": {
83 "version": "3.2.0",
83 "version": "4.3.0",
84 "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
84 "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
85 "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
85 "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
86 "dev": true
86 "dev": true,
87 "requires": {
88 "type-fest": "^0.8.1"
89 }
87 },
90 },
88 "ansi-regex": {
91 "ansi-regex": {
89 "version": "3.0.0",
92 "version": "5.0.0",
90 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
93 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
91 "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
94 "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
92 "dev": true
95 "dev": true
93 },
96 },
94 "ansi-styles": {
97 "ansi-styles": {
95 "version": "3.2.1",
98 "version": "3.2.1",
96 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
99 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
97 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
100 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
98 "dev": true,
101 "dev": true,
99 "requires": {
102 "requires": {
100 "color-convert": "^1.9.0"
103 "color-convert": "^1.9.0"
101 }
104 }
102 },
105 },
103 "argparse": {
106 "argparse": {
104 "version": "1.0.10",
107 "version": "1.0.10",
105 "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
108 "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
106 "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
109 "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
107 "dev": true,
110 "dev": true,
108 "requires": {
111 "requires": {
109 "sprintf-js": "~1.0.2"
112 "sprintf-js": "~1.0.2"
110 }
113 }
111 },
114 },
115 "assertion-error": {
116 "version": "1.1.0",
117 "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
118 "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==",
119 "dev": true
120 },
112 "astral-regex": {
121 "astral-regex": {
113 "version": "1.0.0",
122 "version": "1.0.0",
114 "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
123 "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz",
115 "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
124 "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==",
116 "dev": true
125 "dev": true
117 },
126 },
118 "balanced-match": {
127 "balanced-match": {
119 "version": "1.0.0",
128 "version": "1.0.0",
120 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
129 "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
121 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
130 "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
122 "dev": true
131 "dev": true
123 },
132 },
124 "brace-expansion": {
133 "brace-expansion": {
125 "version": "1.1.11",
134 "version": "1.1.11",
126 "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
135 "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
127 "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
136 "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
128 "dev": true,
137 "dev": true,
129 "requires": {
138 "requires": {
130 "balanced-match": "^1.0.0",
139 "balanced-match": "^1.0.0",
131 "concat-map": "0.0.1"
140 "concat-map": "0.0.1"
132 }
141 }
133 },
142 },
134 "builtin-modules": {
143 "builtin-modules": {
135 "version": "1.1.1",
144 "version": "1.1.1",
136 "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
145 "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
137 "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
146 "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
138 "dev": true
147 "dev": true
139 },
148 },
140 "callsites": {
149 "callsites": {
141 "version": "3.1.0",
150 "version": "3.1.0",
142 "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
151 "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
143 "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
152 "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
144 "dev": true
153 "dev": true
145 },
154 },
155 "chai": {
156 "version": "4.2.0",
157 "resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz",
158 "integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==",
159 "dev": true,
160 "requires": {
161 "assertion-error": "^1.1.0",
162 "check-error": "^1.0.2",
163 "deep-eql": "^3.0.1",
164 "get-func-name": "^2.0.0",
165 "pathval": "^1.1.0",
166 "type-detect": "^4.0.5"
167 }
168 },
146 "chalk": {
169 "chalk": {
147 "version": "2.4.2",
170 "version": "2.4.2",
148 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
171 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
149 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
172 "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
150 "dev": true,
173 "dev": true,
151 "requires": {
174 "requires": {
152 "ansi-styles": "^3.2.1",
175 "ansi-styles": "^3.2.1",
153 "escape-string-regexp": "^1.0.5",
176 "escape-string-regexp": "^1.0.5",
154 "supports-color": "^5.3.0"
177 "supports-color": "^5.3.0"
155 }
178 }
156 },
179 },
157 "chardet": {
180 "chardet": {
158 "version": "0.7.0",
181 "version": "0.7.0",
159 "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
182 "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
160 "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
183 "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
161 "dev": true
184 "dev": true
162 },
185 },
186 "check-error": {
187 "version": "1.0.2",
188 "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz",
189 "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=",
190 "dev": true
191 },
163 "cli-cursor": {
192 "cli-cursor": {
164 "version": "2.1.0",
193 "version": "3.1.0",
165 "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
194 "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
166 "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
195 "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
167 "dev": true,
196 "dev": true,
168 "requires": {
197 "requires": {
169 "restore-cursor": "^2.0.0"
198 "restore-cursor": "^3.1.0"
170 }
199 }
171 },
200 },
172 "cli-width": {
201 "cli-width": {
173 "version": "2.2.0",
202 "version": "2.2.0",
174 "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
203 "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz",
175 "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
204 "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=",
176 "dev": true
205 "dev": true
177 },
206 },
178 "color-convert": {
207 "color-convert": {
179 "version": "1.9.3",
208 "version": "1.9.3",
180 "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
209 "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
181 "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
210 "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
182 "dev": true,
211 "dev": true,
183 "requires": {
212 "requires": {
184 "color-name": "1.1.3"
213 "color-name": "1.1.3"
185 }
214 }
186 },
215 },
187 "color-name": {
216 "color-name": {
188 "version": "1.1.3",
217 "version": "1.1.3",
189 "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
218 "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
190 "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
219 "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
191 "dev": true
220 "dev": true
192 },
221 },
193 "commander": {
222 "commander": {
194 "version": "2.20.3",
223 "version": "2.20.3",
195 "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
224 "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
196 "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
225 "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
197 "dev": true
226 "dev": true
198 },
227 },
199 "concat-map": {
228 "concat-map": {
200 "version": "0.0.1",
229 "version": "0.0.1",
201 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
230 "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
202 "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
231 "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
203 "dev": true
232 "dev": true
204 },
233 },
205 "cross-spawn": {
234 "cross-spawn": {
206 "version": "6.0.5",
235 "version": "6.0.5",
207 "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
236 "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
208 "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
237 "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
209 "dev": true,
238 "dev": true,
210 "requires": {
239 "requires": {
211 "nice-try": "^1.0.4",
240 "nice-try": "^1.0.4",
212 "path-key": "^2.0.1",
241 "path-key": "^2.0.1",
213 "semver": "^5.5.0",
242 "semver": "^5.5.0",
214 "shebang-command": "^1.2.0",
243 "shebang-command": "^1.2.0",
215 "which": "^1.2.9"
244 "which": "^1.2.9"
216 },
245 },
217 "dependencies": {
246 "dependencies": {
218 "semver": {
247 "semver": {
219 "version": "5.7.1",
248 "version": "5.7.1",
220 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
249 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
221 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
250 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
222 "dev": true
251 "dev": true
223 }
252 }
224 }
253 }
225 },
254 },
226 "debug": {
255 "debug": {
227 "version": "4.1.1",
256 "version": "4.1.1",
228 "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
257 "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
229 "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
258 "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
230 "dev": true,
259 "dev": true,
231 "requires": {
260 "requires": {
232 "ms": "^2.1.1"
261 "ms": "^2.1.1"
233 }
262 }
234 },
263 },
235 "deep-equal": {
264 "deep-eql": {
236 "version": "1.0.1",
265 "version": "3.0.1",
237 "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz",
266 "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz",
238 "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=",
267 "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==",
239 "dev": true
268 "dev": true,
269 "requires": {
270 "type-detect": "^4.0.0"
271 }
240 },
272 },
241 "deep-is": {
273 "deep-is": {
242 "version": "0.1.3",
274 "version": "0.1.3",
243 "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
275 "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
244 "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
276 "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
245 "dev": true
277 "dev": true
246 },
278 },
247 "define-properties": {
248 "version": "1.1.3",
249 "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
250 "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
251 "dev": true,
252 "requires": {
253 "object-keys": "^1.0.12"
254 }
255 },
256 "defined": {
257 "version": "1.0.0",
258 "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",
259 "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
260 "dev": true
261 },
262 "diff": {
279 "diff": {
263 "version": "3.5.0",
280 "version": "4.0.2",
264 "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
281 "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
265 "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
282 "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
266 "dev": true
283 "dev": true
267 },
284 },
268 "doctrine": {
285 "doctrine": {
269 "version": "3.0.0",
286 "version": "3.0.0",
270 "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
287 "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
271 "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
288 "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
272 "dev": true,
289 "dev": true,
273 "requires": {
290 "requires": {
274 "esutils": "^2.0.2"
291 "esutils": "^2.0.2"
275 }
292 }
276 },
293 },
277 "dojo": {
294 "dojo": {
278 "version": "1.10.10",
295 "version": "1.16.0",
279 "resolved": "https://registry.npmjs.org/dojo/-/dojo-1.10.10.tgz",
296 "resolved": "https://registry.npmjs.org/dojo/-/dojo-1.16.0.tgz",
280 "integrity": "sha512-kg79C8Yyd317cG3MgXGMH4AeQ8TgNr8H/PpA3BRms7DTfl0CJCRAgGE/C6d9Nw55s1ID/fEsfS+P3bj1s7dWgA==",
297 "integrity": "sha512-DUiXyoLK6vMF5BPr/qiMLTxDMfiM9qlzN1jxfDsVfuvB/CwhYpNxA/M4mbqKN8PCVGLmccXBJbfmFJPP5+zmzw==",
281 "dev": true
298 "dev": true
282 },
299 },
283 "dojo-typings": {
300 "dojo-typings": {
284 "version": "1.11.9",
301 "version": "1.11.9",
285 "resolved": "https://registry.npmjs.org/dojo-typings/-/dojo-typings-1.11.9.tgz",
302 "resolved": "https://registry.npmjs.org/dojo-typings/-/dojo-typings-1.11.9.tgz",
286 "integrity": "sha512-mh8w+Mau2Y1QfTEszEAdO7j6ycNhYxF/Ing6nAk1eUg6NxjeT0viVHjICMd9sU3U463vM2G+KfBBK5grk3/Mlw==",
303 "integrity": "sha512-mh8w+Mau2Y1QfTEszEAdO7j6ycNhYxF/Ing6nAk1eUg6NxjeT0viVHjICMd9sU3U463vM2G+KfBBK5grk3/Mlw==",
287 "dev": true,
304 "dev": true,
288 "requires": {
305 "requires": {
289 "@types/chai": "^4.0.4"
306 "@types/chai": "^4.0.4"
290 }
307 }
291 },
308 },
292 "emoji-regex": {
309 "emoji-regex": {
293 "version": "7.0.3",
310 "version": "8.0.0",
294 "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
311 "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
295 "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
312 "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
296 "dev": true
313 "dev": true
297 },
314 },
298 "es-abstract": {
299 "version": "1.17.4",
300 "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz",
301 "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==",
302 "dev": true,
303 "requires": {
304 "es-to-primitive": "^1.2.1",
305 "function-bind": "^1.1.1",
306 "has": "^1.0.3",
307 "has-symbols": "^1.0.1",
308 "is-callable": "^1.1.5",
309 "is-regex": "^1.0.5",
310 "object-inspect": "^1.7.0",
311 "object-keys": "^1.1.1",
312 "object.assign": "^4.1.0",
313 "string.prototype.trimleft": "^2.1.1",
314 "string.prototype.trimright": "^2.1.1"
315 },
316 "dependencies": {
317 "object-inspect": {
318 "version": "1.7.0",
319 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz",
320 "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==",
321 "dev": true
322 }
323 }
324 },
325 "es-to-primitive": {
326 "version": "1.2.1",
327 "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
328 "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
329 "dev": true,
330 "requires": {
331 "is-callable": "^1.1.4",
332 "is-date-object": "^1.0.1",
333 "is-symbol": "^1.0.2"
334 }
335 },
336 "escape-string-regexp": {
315 "escape-string-regexp": {
337 "version": "1.0.5",
316 "version": "1.0.5",
338 "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
317 "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
339 "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
318 "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
340 "dev": true
319 "dev": true
341 },
320 },
342 "eslint": {
321 "eslint": {
343 "version": "6.1.0",
322 "version": "6.8.0",
344 "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.1.0.tgz",
323 "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz",
345 "integrity": "sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ==",
324 "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==",
346 "dev": true,
325 "dev": true,
347 "requires": {
326 "requires": {
348 "@babel/code-frame": "^7.0.0",
327 "@babel/code-frame": "^7.0.0",
349 "ajv": "^6.10.0",
328 "ajv": "^6.10.0",
350 "chalk": "^2.1.0",
329 "chalk": "^2.1.0",
351 "cross-spawn": "^6.0.5",
330 "cross-spawn": "^6.0.5",
352 "debug": "^4.0.1",
331 "debug": "^4.0.1",
353 "doctrine": "^3.0.0",
332 "doctrine": "^3.0.0",
354 "eslint-scope": "^5.0.0",
333 "eslint-scope": "^5.0.0",
355 "eslint-utils": "^1.3.1",
334 "eslint-utils": "^1.4.3",
356 "eslint-visitor-keys": "^1.0.0",
335 "eslint-visitor-keys": "^1.1.0",
357 "espree": "^6.0.0",
336 "espree": "^6.1.2",
358 "esquery": "^1.0.1",
337 "esquery": "^1.0.1",
359 "esutils": "^2.0.2",
338 "esutils": "^2.0.2",
360 "file-entry-cache": "^5.0.1",
339 "file-entry-cache": "^5.0.1",
361 "functional-red-black-tree": "^1.0.1",
340 "functional-red-black-tree": "^1.0.1",
362 "glob-parent": "^5.0.0",
341 "glob-parent": "^5.0.0",
363 "globals": "^11.7.0",
342 "globals": "^12.1.0",
364 "ignore": "^4.0.6",
343 "ignore": "^4.0.6",
365 "import-fresh": "^3.0.0",
344 "import-fresh": "^3.0.0",
366 "imurmurhash": "^0.1.4",
345 "imurmurhash": "^0.1.4",
367 "inquirer": "^6.4.1",
346 "inquirer": "^7.0.0",
368 "is-glob": "^4.0.0",
347 "is-glob": "^4.0.0",
369 "js-yaml": "^3.13.1",
348 "js-yaml": "^3.13.1",
370 "json-stable-stringify-without-jsonify": "^1.0.1",
349 "json-stable-stringify-without-jsonify": "^1.0.1",
371 "levn": "^0.3.0",
350 "levn": "^0.3.0",
372 "lodash": "^4.17.14",
351 "lodash": "^4.17.14",
373 "minimatch": "^3.0.4",
352 "minimatch": "^3.0.4",
374 "mkdirp": "^0.5.1",
353 "mkdirp": "^0.5.1",
375 "natural-compare": "^1.4.0",
354 "natural-compare": "^1.4.0",
376 "optionator": "^0.8.2",
355 "optionator": "^0.8.3",
377 "progress": "^2.0.0",
356 "progress": "^2.0.0",
378 "regexpp": "^2.0.1",
357 "regexpp": "^2.0.1",
379 "semver": "^6.1.2",
358 "semver": "^6.1.2",
380 "strip-ansi": "^5.2.0",
359 "strip-ansi": "^5.2.0",
381 "strip-json-comments": "^3.0.1",
360 "strip-json-comments": "^3.0.1",
382 "table": "^5.2.3",
361 "table": "^5.2.3",
383 "text-table": "^0.2.0",
362 "text-table": "^0.2.0",
384 "v8-compile-cache": "^2.0.3"
363 "v8-compile-cache": "^2.0.3"
385 }
364 }
386 },
365 },
387 "eslint-scope": {
366 "eslint-scope": {
388 "version": "5.0.0",
367 "version": "5.0.0",
389 "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
368 "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
390 "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
369 "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
391 "dev": true,
370 "dev": true,
392 "requires": {
371 "requires": {
393 "esrecurse": "^4.1.0",
372 "esrecurse": "^4.1.0",
394 "estraverse": "^4.1.1"
373 "estraverse": "^4.1.1"
395 }
374 }
396 },
375 },
397 "eslint-utils": {
376 "eslint-utils": {
398 "version": "1.4.3",
377 "version": "1.4.3",
399 "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz",
378 "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz",
400 "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==",
379 "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==",
401 "dev": true,
380 "dev": true,
402 "requires": {
381 "requires": {
403 "eslint-visitor-keys": "^1.1.0"
382 "eslint-visitor-keys": "^1.1.0"
404 }
383 }
405 },
384 },
406 "eslint-visitor-keys": {
385 "eslint-visitor-keys": {
407 "version": "1.1.0",
386 "version": "1.1.0",
408 "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
387 "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
409 "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
388 "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
410 "dev": true
389 "dev": true
411 },
390 },
412 "espree": {
391 "espree": {
413 "version": "6.1.2",
392 "version": "6.1.2",
414 "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
393 "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
415 "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
394 "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
416 "dev": true,
395 "dev": true,
417 "requires": {
396 "requires": {
418 "acorn": "^7.1.0",
397 "acorn": "^7.1.0",
419 "acorn-jsx": "^5.1.0",
398 "acorn-jsx": "^5.1.0",
420 "eslint-visitor-keys": "^1.1.0"
399 "eslint-visitor-keys": "^1.1.0"
421 }
400 }
422 },
401 },
423 "esprima": {
402 "esprima": {
424 "version": "4.0.1",
403 "version": "4.0.1",
425 "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
404 "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
426 "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
405 "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
427 "dev": true
406 "dev": true
428 },
407 },
429 "esquery": {
408 "esquery": {
430 "version": "1.0.1",
409 "version": "1.0.1",
431 "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
410 "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz",
432 "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
411 "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==",
433 "dev": true,
412 "dev": true,
434 "requires": {
413 "requires": {
435 "estraverse": "^4.0.0"
414 "estraverse": "^4.0.0"
436 }
415 }
437 },
416 },
438 "esrecurse": {
417 "esrecurse": {
439 "version": "4.2.1",
418 "version": "4.2.1",
440 "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
419 "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
441 "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
420 "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
442 "dev": true,
421 "dev": true,
443 "requires": {
422 "requires": {
444 "estraverse": "^4.1.0"
423 "estraverse": "^4.1.0"
445 }
424 }
446 },
425 },
447 "estraverse": {
426 "estraverse": {
448 "version": "4.3.0",
427 "version": "4.3.0",
449 "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
428 "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
450 "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
429 "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
451 "dev": true
430 "dev": true
452 },
431 },
453 "esutils": {
432 "esutils": {
454 "version": "2.0.3",
433 "version": "2.0.3",
455 "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
434 "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
456 "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
435 "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
457 "dev": true
436 "dev": true
458 },
437 },
459 "external-editor": {
438 "external-editor": {
460 "version": "3.1.0",
439 "version": "3.1.0",
461 "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
440 "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
462 "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
441 "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
463 "dev": true,
442 "dev": true,
464 "requires": {
443 "requires": {
465 "chardet": "^0.7.0",
444 "chardet": "^0.7.0",
466 "iconv-lite": "^0.4.24",
445 "iconv-lite": "^0.4.24",
467 "tmp": "^0.0.33"
446 "tmp": "^0.0.33"
468 }
447 }
469 },
448 },
470 "fast-deep-equal": {
449 "fast-deep-equal": {
471 "version": "3.1.1",
450 "version": "3.1.1",
472 "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
451 "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
473 "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==",
452 "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==",
474 "dev": true
453 "dev": true
475 },
454 },
476 "fast-json-stable-stringify": {
455 "fast-json-stable-stringify": {
477 "version": "2.1.0",
456 "version": "2.1.0",
478 "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
457 "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
479 "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
458 "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
480 "dev": true
459 "dev": true
481 },
460 },
482 "fast-levenshtein": {
461 "fast-levenshtein": {
483 "version": "2.0.6",
462 "version": "2.0.6",
484 "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
463 "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
485 "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
464 "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
486 "dev": true
465 "dev": true
487 },
466 },
488 "figures": {
467 "figures": {
489 "version": "2.0.0",
468 "version": "3.1.0",
490 "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
469 "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz",
491 "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
470 "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==",
492 "dev": true,
471 "dev": true,
493 "requires": {
472 "requires": {
494 "escape-string-regexp": "^1.0.5"
473 "escape-string-regexp": "^1.0.5"
495 }
474 }
496 },
475 },
497 "file-entry-cache": {
476 "file-entry-cache": {
498 "version": "5.0.1",
477 "version": "5.0.1",
499 "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
478 "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
500 "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
479 "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
501 "dev": true,
480 "dev": true,
502 "requires": {
481 "requires": {
503 "flat-cache": "^2.0.1"
482 "flat-cache": "^2.0.1"
504 }
483 }
505 },
484 },
506 "flat-cache": {
485 "flat-cache": {
507 "version": "2.0.1",
486 "version": "2.0.1",
508 "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
487 "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
509 "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
488 "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
510 "dev": true,
489 "dev": true,
511 "requires": {
490 "requires": {
512 "flatted": "^2.0.0",
491 "flatted": "^2.0.0",
513 "rimraf": "2.6.3",
492 "rimraf": "2.6.3",
514 "write": "1.0.3"
493 "write": "1.0.3"
515 }
494 }
516 },
495 },
517 "flatted": {
496 "flatted": {
518 "version": "2.0.1",
497 "version": "2.0.1",
519 "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
498 "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz",
520 "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
499 "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==",
521 "dev": true
500 "dev": true
522 },
501 },
523 "for-each": {
524 "version": "0.3.3",
525 "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
526 "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
527 "dev": true,
528 "requires": {
529 "is-callable": "^1.1.3"
530 }
531 },
532 "fs.realpath": {
502 "fs.realpath": {
533 "version": "1.0.0",
503 "version": "1.0.0",
534 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
504 "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
535 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
505 "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
536 "dev": true
506 "dev": true
537 },
507 },
538 "function-bind": {
539 "version": "1.1.1",
540 "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
541 "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
542 "dev": true
543 },
544 "functional-red-black-tree": {
508 "functional-red-black-tree": {
545 "version": "1.0.1",
509 "version": "1.0.1",
546 "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
510 "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
547 "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
511 "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
548 "dev": true
512 "dev": true
549 },
513 },
514 "get-func-name": {
515 "version": "2.0.0",
516 "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz",
517 "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=",
518 "dev": true
519 },
550 "glob": {
520 "glob": {
551 "version": "7.1.6",
521 "version": "7.1.6",
552 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
522 "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
553 "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
523 "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
554 "dev": true,
524 "dev": true,
555 "requires": {
525 "requires": {
556 "fs.realpath": "^1.0.0",
526 "fs.realpath": "^1.0.0",
557 "inflight": "^1.0.4",
527 "inflight": "^1.0.4",
558 "inherits": "2",
528 "inherits": "2",
559 "minimatch": "^3.0.4",
529 "minimatch": "^3.0.4",
560 "once": "^1.3.0",
530 "once": "^1.3.0",
561 "path-is-absolute": "^1.0.0"
531 "path-is-absolute": "^1.0.0"
562 }
532 }
563 },
533 },
564 "glob-parent": {
534 "glob-parent": {
565 "version": "5.1.0",
535 "version": "5.1.0",
566 "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
536 "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
567 "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
537 "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
568 "dev": true,
538 "dev": true,
569 "requires": {
539 "requires": {
570 "is-glob": "^4.0.1"
540 "is-glob": "^4.0.1"
571 }
541 }
572 },
542 },
573 "globals": {
543 "globals": {
574 "version": "11.12.0",
544 "version": "12.3.0",
575 "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
545 "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
576 "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
546 "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
577 "dev": true
578 },
579 "has": {
580 "version": "1.0.3",
581 "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
582 "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
583 "dev": true,
547 "dev": true,
584 "requires": {
548 "requires": {
585 "function-bind": "^1.1.1"
549 "type-fest": "^0.8.1"
586 }
550 }
587 },
551 },
588 "has-flag": {
552 "has-flag": {
589 "version": "3.0.0",
553 "version": "3.0.0",
590 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
554 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
591 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
555 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
592 "dev": true
556 "dev": true
593 },
557 },
594 "has-symbols": {
595 "version": "1.0.1",
596 "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
597 "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
598 "dev": true
599 },
600 "iconv-lite": {
558 "iconv-lite": {
601 "version": "0.4.24",
559 "version": "0.4.24",
602 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
560 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
603 "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
561 "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
604 "dev": true,
562 "dev": true,
605 "requires": {
563 "requires": {
606 "safer-buffer": ">= 2.1.2 < 3"
564 "safer-buffer": ">= 2.1.2 < 3"
607 }
565 }
608 },
566 },
609 "ignore": {
567 "ignore": {
610 "version": "4.0.6",
568 "version": "4.0.6",
611 "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
569 "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
612 "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
570 "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
613 "dev": true
571 "dev": true
614 },
572 },
615 "import-fresh": {
573 "import-fresh": {
616 "version": "3.2.1",
574 "version": "3.2.1",
617 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
575 "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
618 "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
576 "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
619 "dev": true,
577 "dev": true,
620 "requires": {
578 "requires": {
621 "parent-module": "^1.0.0",
579 "parent-module": "^1.0.0",
622 "resolve-from": "^4.0.0"
580 "resolve-from": "^4.0.0"
623 }
581 }
624 },
582 },
625 "imurmurhash": {
583 "imurmurhash": {
626 "version": "0.1.4",
584 "version": "0.1.4",
627 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
585 "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
628 "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
586 "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
629 "dev": true
587 "dev": true
630 },
588 },
631 "inflight": {
589 "inflight": {
632 "version": "1.0.6",
590 "version": "1.0.6",
633 "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
591 "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
634 "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
592 "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
635 "dev": true,
593 "dev": true,
636 "requires": {
594 "requires": {
637 "once": "^1.3.0",
595 "once": "^1.3.0",
638 "wrappy": "1"
596 "wrappy": "1"
639 }
597 }
640 },
598 },
641 "inherits": {
599 "inherits": {
642 "version": "2.0.4",
600 "version": "2.0.4",
643 "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
601 "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
644 "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
602 "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
645 "dev": true
603 "dev": true
646 },
604 },
647 "inquirer": {
605 "inquirer": {
648 "version": "6.5.2",
606 "version": "7.0.3",
649 "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz",
607 "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz",
650 "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==",
608 "integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==",
651 "dev": true,
609 "dev": true,
652 "requires": {
610 "requires": {
653 "ansi-escapes": "^3.2.0",
611 "ansi-escapes": "^4.2.1",
654 "chalk": "^2.4.2",
612 "chalk": "^2.4.2",
655 "cli-cursor": "^2.1.0",
613 "cli-cursor": "^3.1.0",
656 "cli-width": "^2.0.0",
614 "cli-width": "^2.0.0",
657 "external-editor": "^3.0.3",
615 "external-editor": "^3.0.3",
658 "figures": "^2.0.0",
616 "figures": "^3.0.0",
659 "lodash": "^4.17.12",
617 "lodash": "^4.17.15",
660 "mute-stream": "0.0.7",
618 "mute-stream": "0.0.8",
661 "run-async": "^2.2.0",
619 "run-async": "^2.2.0",
662 "rxjs": "^6.4.0",
620 "rxjs": "^6.5.3",
663 "string-width": "^2.1.0",
621 "string-width": "^4.1.0",
664 "strip-ansi": "^5.1.0",
622 "strip-ansi": "^5.1.0",
665 "through": "^2.3.6"
623 "through": "^2.3.6"
666 }
624 }
667 },
625 },
668 "is-callable": {
669 "version": "1.1.5",
670 "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz",
671 "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==",
672 "dev": true
673 },
674 "is-date-object": {
675 "version": "1.0.2",
676 "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
677 "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
678 "dev": true
679 },
680 "is-extglob": {
626 "is-extglob": {
681 "version": "2.1.1",
627 "version": "2.1.1",
682 "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
628 "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
683 "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
629 "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
684 "dev": true
630 "dev": true
685 },
631 },
686 "is-fullwidth-code-point": {
632 "is-fullwidth-code-point": {
687 "version": "2.0.0",
633 "version": "3.0.0",
688 "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
634 "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
689 "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
635 "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
690 "dev": true
636 "dev": true
691 },
637 },
692 "is-glob": {
638 "is-glob": {
693 "version": "4.0.1",
639 "version": "4.0.1",
694 "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
640 "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
695 "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
641 "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
696 "dev": true,
642 "dev": true,
697 "requires": {
643 "requires": {
698 "is-extglob": "^2.1.1"
644 "is-extglob": "^2.1.1"
699 }
645 }
700 },
646 },
701 "is-promise": {
647 "is-promise": {
702 "version": "2.1.0",
648 "version": "2.1.0",
703 "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
649 "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
704 "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
650 "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=",
705 "dev": true
651 "dev": true
706 },
652 },
707 "is-regex": {
708 "version": "1.0.5",
709 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
710 "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
711 "dev": true,
712 "requires": {
713 "has": "^1.0.3"
714 }
715 },
716 "is-symbol": {
717 "version": "1.0.3",
718 "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
719 "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
720 "dev": true,
721 "requires": {
722 "has-symbols": "^1.0.1"
723 }
724 },
725 "isexe": {
653 "isexe": {
726 "version": "2.0.0",
654 "version": "2.0.0",
727 "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
655 "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
728 "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
656 "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
729 "dev": true
657 "dev": true
730 },
658 },
731 "js-tokens": {
659 "js-tokens": {
732 "version": "4.0.0",
660 "version": "4.0.0",
733 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
661 "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
734 "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
662 "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
735 "dev": true
663 "dev": true
736 },
664 },
737 "js-yaml": {
665 "js-yaml": {
738 "version": "3.13.1",
666 "version": "3.13.1",
739 "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
667 "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
740 "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
668 "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
741 "dev": true,
669 "dev": true,
742 "requires": {
670 "requires": {
743 "argparse": "^1.0.7",
671 "argparse": "^1.0.7",
744 "esprima": "^4.0.0"
672 "esprima": "^4.0.0"
745 }
673 }
746 },
674 },
747 "json-schema-traverse": {
675 "json-schema-traverse": {
748 "version": "0.4.1",
676 "version": "0.4.1",
749 "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
677 "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
750 "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
678 "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
751 "dev": true
679 "dev": true
752 },
680 },
753 "json-stable-stringify-without-jsonify": {
681 "json-stable-stringify-without-jsonify": {
754 "version": "1.0.1",
682 "version": "1.0.1",
755 "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
683 "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
756 "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
684 "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
757 "dev": true
685 "dev": true
758 },
686 },
759 "levn": {
687 "levn": {
760 "version": "0.3.0",
688 "version": "0.3.0",
761 "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
689 "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
762 "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
690 "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
763 "dev": true,
691 "dev": true,
764 "requires": {
692 "requires": {
765 "prelude-ls": "~1.1.2",
693 "prelude-ls": "~1.1.2",
766 "type-check": "~0.3.2"
694 "type-check": "~0.3.2"
767 }
695 }
768 },
696 },
769 "lodash": {
697 "lodash": {
770 "version": "4.17.15",
698 "version": "4.17.15",
771 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
699 "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
772 "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
700 "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
773 "dev": true
701 "dev": true
774 },
702 },
775 "mimic-fn": {
703 "mimic-fn": {
776 "version": "1.2.0",
704 "version": "2.1.0",
777 "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
705 "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
778 "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
706 "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
779 "dev": true
707 "dev": true
780 },
708 },
781 "minimatch": {
709 "minimatch": {
782 "version": "3.0.4",
710 "version": "3.0.4",
783 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
711 "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
784 "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
712 "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
785 "dev": true,
713 "dev": true,
786 "requires": {
714 "requires": {
787 "brace-expansion": "^1.1.7"
715 "brace-expansion": "^1.1.7"
788 }
716 }
789 },
717 },
790 "minimist": {
718 "minimist": {
791 "version": "0.0.8",
719 "version": "0.0.8",
792 "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
720 "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
793 "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
721 "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
794 "dev": true
722 "dev": true
795 },
723 },
796 "mkdirp": {
724 "mkdirp": {
797 "version": "0.5.1",
725 "version": "0.5.1",
798 "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
726 "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
799 "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
727 "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
800 "dev": true,
728 "dev": true,
801 "requires": {
729 "requires": {
802 "minimist": "0.0.8"
730 "minimist": "0.0.8"
803 }
731 }
804 },
732 },
805 "ms": {
733 "ms": {
806 "version": "2.1.2",
734 "version": "2.1.2",
807 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
735 "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
808 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
736 "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
809 "dev": true
737 "dev": true
810 },
738 },
811 "mute-stream": {
739 "mute-stream": {
812 "version": "0.0.7",
740 "version": "0.0.8",
813 "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
741 "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
814 "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
742 "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
815 "dev": true
743 "dev": true
816 },
744 },
817 "natural-compare": {
745 "natural-compare": {
818 "version": "1.4.0",
746 "version": "1.4.0",
819 "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
747 "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
820 "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
748 "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
821 "dev": true
749 "dev": true
822 },
750 },
823 "nice-try": {
751 "nice-try": {
824 "version": "1.0.5",
752 "version": "1.0.5",
825 "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
753 "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
826 "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
754 "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
827 "dev": true
755 "dev": true
828 },
756 },
829 "object-inspect": {
830 "version": "1.6.0",
831 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz",
832 "integrity": "sha512-GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==",
833 "dev": true
834 },
835 "object-keys": {
836 "version": "1.1.1",
837 "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
838 "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
839 "dev": true
840 },
841 "object.assign": {
842 "version": "4.1.0",
843 "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
844 "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
845 "dev": true,
846 "requires": {
847 "define-properties": "^1.1.2",
848 "function-bind": "^1.1.1",
849 "has-symbols": "^1.0.0",
850 "object-keys": "^1.0.11"
851 }
852 },
853 "once": {
757 "once": {
854 "version": "1.4.0",
758 "version": "1.4.0",
855 "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
759 "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
856 "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
760 "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
857 "dev": true,
761 "dev": true,
858 "requires": {
762 "requires": {
859 "wrappy": "1"
763 "wrappy": "1"
860 }
764 }
861 },
765 },
862 "onetime": {
766 "onetime": {
863 "version": "2.0.1",
767 "version": "5.1.0",
864 "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
768 "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
865 "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
769 "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
866 "dev": true,
770 "dev": true,
867 "requires": {
771 "requires": {
868 "mimic-fn": "^1.0.0"
772 "mimic-fn": "^2.1.0"
869 }
773 }
870 },
774 },
871 "optionator": {
775 "optionator": {
872 "version": "0.8.3",
776 "version": "0.8.3",
873 "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
777 "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
874 "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
778 "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
875 "dev": true,
779 "dev": true,
876 "requires": {
780 "requires": {
877 "deep-is": "~0.1.3",
781 "deep-is": "~0.1.3",
878 "fast-levenshtein": "~2.0.6",
782 "fast-levenshtein": "~2.0.6",
879 "levn": "~0.3.0",
783 "levn": "~0.3.0",
880 "prelude-ls": "~1.1.2",
784 "prelude-ls": "~1.1.2",
881 "type-check": "~0.3.2",
785 "type-check": "~0.3.2",
882 "word-wrap": "~1.2.3"
786 "word-wrap": "~1.2.3"
883 }
787 }
884 },
788 },
885 "os-tmpdir": {
789 "os-tmpdir": {
886 "version": "1.0.2",
790 "version": "1.0.2",
887 "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
791 "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
888 "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
792 "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
889 "dev": true
793 "dev": true
890 },
794 },
891 "parent-module": {
795 "parent-module": {
892 "version": "1.0.1",
796 "version": "1.0.1",
893 "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
797 "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
894 "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
798 "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
895 "dev": true,
799 "dev": true,
896 "requires": {
800 "requires": {
897 "callsites": "^3.0.0"
801 "callsites": "^3.0.0"
898 }
802 }
899 },
803 },
900 "path-is-absolute": {
804 "path-is-absolute": {
901 "version": "1.0.1",
805 "version": "1.0.1",
902 "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
806 "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
903 "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
807 "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
904 "dev": true
808 "dev": true
905 },
809 },
906 "path-key": {
810 "path-key": {
907 "version": "2.0.1",
811 "version": "2.0.1",
908 "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
812 "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
909 "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
813 "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
910 "dev": true
814 "dev": true
911 },
815 },
912 "path-parse": {
816 "path-parse": {
913 "version": "1.0.6",
817 "version": "1.0.6",
914 "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
818 "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
915 "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
819 "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
916 "dev": true
820 "dev": true
917 },
821 },
822 "pathval": {
823 "version": "1.1.0",
824 "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
825 "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=",
826 "dev": true
827 },
918 "prelude-ls": {
828 "prelude-ls": {
919 "version": "1.1.2",
829 "version": "1.1.2",
920 "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
830 "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
921 "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
831 "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
922 "dev": true
832 "dev": true
923 },
833 },
924 "progress": {
834 "progress": {
925 "version": "2.0.3",
835 "version": "2.0.3",
926 "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
836 "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
927 "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
837 "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
928 "dev": true
838 "dev": true
929 },
839 },
930 "punycode": {
840 "punycode": {
931 "version": "2.1.1",
841 "version": "2.1.1",
932 "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
842 "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
933 "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
843 "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
934 "dev": true
844 "dev": true
935 },
845 },
846 "regenerator-runtime": {
847 "version": "0.13.3",
848 "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz",
849 "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==",
850 "dev": true
851 },
936 "regexpp": {
852 "regexpp": {
937 "version": "2.0.1",
853 "version": "2.0.1",
938 "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
854 "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz",
939 "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
855 "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==",
940 "dev": true
856 "dev": true
941 },
857 },
942 "requirejs": {
943 "version": "2.3.6",
944 "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz",
945 "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==",
946 "dev": true
947 },
948 "resolve": {
858 "resolve": {
949 "version": "1.11.1",
859 "version": "1.15.0",
950 "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz",
860 "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz",
951 "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==",
861 "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==",
952 "dev": true,
862 "dev": true,
953 "requires": {
863 "requires": {
954 "path-parse": "^1.0.6"
864 "path-parse": "^1.0.6"
955 }
865 }
956 },
866 },
957 "resolve-from": {
867 "resolve-from": {
958 "version": "4.0.0",
868 "version": "4.0.0",
959 "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
869 "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
960 "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
870 "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
961 "dev": true
871 "dev": true
962 },
872 },
963 "restore-cursor": {
873 "restore-cursor": {
964 "version": "2.0.0",
874 "version": "3.1.0",
965 "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
875 "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
966 "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
876 "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
967 "dev": true,
877 "dev": true,
968 "requires": {
878 "requires": {
969 "onetime": "^2.0.0",
879 "onetime": "^5.1.0",
970 "signal-exit": "^3.0.2"
880 "signal-exit": "^3.0.2"
971 }
881 }
972 },
882 },
973 "resumer": {
974 "version": "0.0.0",
975 "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz",
976 "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=",
977 "dev": true,
978 "requires": {
979 "through": "~2.3.4"
980 }
981 },
982 "rimraf": {
883 "rimraf": {
983 "version": "2.6.3",
884 "version": "2.6.3",
984 "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
885 "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
985 "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
886 "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
986 "dev": true,
887 "dev": true,
987 "requires": {
888 "requires": {
988 "glob": "^7.1.3"
889 "glob": "^7.1.3"
989 }
890 }
990 },
891 },
991 "run-async": {
892 "run-async": {
992 "version": "2.3.0",
893 "version": "2.3.0",
993 "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
894 "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz",
994 "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
895 "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=",
995 "dev": true,
896 "dev": true,
996 "requires": {
897 "requires": {
997 "is-promise": "^2.1.0"
898 "is-promise": "^2.1.0"
998 }
899 }
999 },
900 },
1000 "rxjs": {
901 "rxjs": {
1001 "version": "6.5.4",
902 "version": "6.5.4",
1002 "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
903 "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
1003 "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
904 "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
1004 "dev": true,
905 "dev": true,
1005 "requires": {
906 "requires": {
1006 "tslib": "^1.9.0"
907 "tslib": "^1.9.0"
1007 }
908 }
1008 },
909 },
1009 "safer-buffer": {
910 "safer-buffer": {
1010 "version": "2.1.2",
911 "version": "2.1.2",
1011 "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
912 "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1012 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
913 "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
1013 "dev": true
914 "dev": true
1014 },
915 },
1015 "semver": {
916 "semver": {
1016 "version": "6.3.0",
917 "version": "6.3.0",
1017 "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
918 "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
1018 "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
919 "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
1019 "dev": true
920 "dev": true
1020 },
921 },
1021 "shebang-command": {
922 "shebang-command": {
1022 "version": "1.2.0",
923 "version": "1.2.0",
1023 "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
924 "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
1024 "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
925 "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
1025 "dev": true,
926 "dev": true,
1026 "requires": {
927 "requires": {
1027 "shebang-regex": "^1.0.0"
928 "shebang-regex": "^1.0.0"
1028 }
929 }
1029 },
930 },
1030 "shebang-regex": {
931 "shebang-regex": {
1031 "version": "1.0.0",
932 "version": "1.0.0",
1032 "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
933 "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
1033 "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
934 "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
1034 "dev": true
935 "dev": true
1035 },
936 },
1036 "signal-exit": {
937 "signal-exit": {
1037 "version": "3.0.2",
938 "version": "3.0.2",
1038 "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
939 "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
1039 "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
940 "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
1040 "dev": true
941 "dev": true
1041 },
942 },
1042 "slice-ansi": {
943 "slice-ansi": {
1043 "version": "2.1.0",
944 "version": "2.1.0",
1044 "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
945 "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
1045 "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
946 "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
1046 "dev": true,
947 "dev": true,
1047 "requires": {
948 "requires": {
1048 "ansi-styles": "^3.2.0",
949 "ansi-styles": "^3.2.0",
1049 "astral-regex": "^1.0.0",
950 "astral-regex": "^1.0.0",
1050 "is-fullwidth-code-point": "^2.0.0"
951 "is-fullwidth-code-point": "^2.0.0"
952 },
953 "dependencies": {
954 "is-fullwidth-code-point": {
955 "version": "2.0.0",
956 "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
957 "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
958 "dev": true
959 }
1051 }
960 }
1052 },
961 },
1053 "sprintf-js": {
962 "sprintf-js": {
1054 "version": "1.0.3",
963 "version": "1.0.3",
1055 "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
964 "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
1056 "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
965 "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
1057 "dev": true
966 "dev": true
1058 },
967 },
1059 "string-width": {
968 "string-width": {
1060 "version": "2.1.1",
969 "version": "4.2.0",
1061 "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
970 "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
1062 "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
971 "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
1063 "dev": true,
972 "dev": true,
1064 "requires": {
973 "requires": {
1065 "is-fullwidth-code-point": "^2.0.0",
974 "emoji-regex": "^8.0.0",
1066 "strip-ansi": "^4.0.0"
975 "is-fullwidth-code-point": "^3.0.0",
976 "strip-ansi": "^6.0.0"
1067 },
977 },
1068 "dependencies": {
978 "dependencies": {
1069 "strip-ansi": {
979 "strip-ansi": {
1070 "version": "4.0.0",
980 "version": "6.0.0",
1071 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
981 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
1072 "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
982 "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
1073 "dev": true,
1074 "requires": {
1075 "ansi-regex": "^3.0.0"
1076 }
1077 }
1078 }
1079 },
1080 "string.prototype.trim": {
1081 "version": "1.1.2",
1082 "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz",
1083 "integrity": "sha1-0E3iyJ4Tf019IG8Ia17S+ua+jOo=",
1084 "dev": true,
983 "dev": true,
1085 "requires": {
984 "requires": {
1086 "define-properties": "^1.1.2",
985 "ansi-regex": "^5.0.0"
1087 "es-abstract": "^1.5.0",
1088 "function-bind": "^1.0.2"
1089 }
986 }
1090 },
1091 "string.prototype.trimleft": {
1092 "version": "2.1.1",
1093 "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz",
1094 "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==",
1095 "dev": true,
1096 "requires": {
1097 "define-properties": "^1.1.3",
1098 "function-bind": "^1.1.1"
1099 }
987 }
1100 },
1101 "string.prototype.trimright": {
1102 "version": "2.1.1",
1103 "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz",
1104 "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==",
1105 "dev": true,
1106 "requires": {
1107 "define-properties": "^1.1.3",
1108 "function-bind": "^1.1.1"
1109 }
988 }
1110 },
989 },
1111 "strip-ansi": {
990 "strip-ansi": {
1112 "version": "5.2.0",
991 "version": "5.2.0",
1113 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
992 "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
1114 "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
993 "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
1115 "dev": true,
994 "dev": true,
1116 "requires": {
995 "requires": {
1117 "ansi-regex": "^4.1.0"
996 "ansi-regex": "^4.1.0"
1118 },
997 },
1119 "dependencies": {
998 "dependencies": {
1120 "ansi-regex": {
999 "ansi-regex": {
1121 "version": "4.1.0",
1000 "version": "4.1.0",
1122 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
1001 "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
1123 "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
1002 "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
1124 "dev": true
1003 "dev": true
1125 }
1004 }
1126 }
1005 }
1127 },
1006 },
1128 "strip-json-comments": {
1007 "strip-json-comments": {
1129 "version": "3.0.1",
1008 "version": "3.0.1",
1130 "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
1009 "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
1131 "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
1010 "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
1132 "dev": true
1011 "dev": true
1133 },
1012 },
1134 "supports-color": {
1013 "supports-color": {
1135 "version": "5.5.0",
1014 "version": "5.5.0",
1136 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1015 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1137 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1016 "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1138 "dev": true,
1017 "dev": true,
1139 "requires": {
1018 "requires": {
1140 "has-flag": "^3.0.0"
1019 "has-flag": "^3.0.0"
1141 }
1020 }
1142 },
1021 },
1143 "table": {
1022 "table": {
1144 "version": "5.4.6",
1023 "version": "5.4.6",
1145 "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
1024 "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz",
1146 "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
1025 "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==",
1147 "dev": true,
1026 "dev": true,
1148 "requires": {
1027 "requires": {
1149 "ajv": "^6.10.2",
1028 "ajv": "^6.10.2",
1150 "lodash": "^4.17.14",
1029 "lodash": "^4.17.14",
1151 "slice-ansi": "^2.1.0",
1030 "slice-ansi": "^2.1.0",
1152 "string-width": "^3.0.0"
1031 "string-width": "^3.0.0"
1153 },
1032 },
1154 "dependencies": {
1033 "dependencies": {
1034 "emoji-regex": {
1035 "version": "7.0.3",
1036 "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
1037 "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
1038 "dev": true
1039 },
1040 "is-fullwidth-code-point": {
1041 "version": "2.0.0",
1042 "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
1043 "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
1044 "dev": true
1045 },
1155 "string-width": {
1046 "string-width": {
1156 "version": "3.1.0",
1047 "version": "3.1.0",
1157 "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
1048 "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
1158 "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
1049 "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
1159 "dev": true,
1050 "dev": true,
1160 "requires": {
1051 "requires": {
1161 "emoji-regex": "^7.0.1",
1052 "emoji-regex": "^7.0.1",
1162 "is-fullwidth-code-point": "^2.0.0",
1053 "is-fullwidth-code-point": "^2.0.0",
1163 "strip-ansi": "^5.1.0"
1054 "strip-ansi": "^5.1.0"
1164 }
1055 }
1165 }
1056 }
1166 }
1057 }
1167 },
1058 },
1168 "tape": {
1169 "version": "4.11.0",
1170 "resolved": "https://registry.npmjs.org/tape/-/tape-4.11.0.tgz",
1171 "integrity": "sha512-yixvDMX7q7JIs/omJSzSZrqulOV51EC9dK8dM0TzImTIkHWfe2/kFyL5v+d9C+SrCMaICk59ujsqFAVidDqDaA==",
1172 "dev": true,
1173 "requires": {
1174 "deep-equal": "~1.0.1",
1175 "defined": "~1.0.0",
1176 "for-each": "~0.3.3",
1177 "function-bind": "~1.1.1",
1178 "glob": "~7.1.4",
1179 "has": "~1.0.3",
1180 "inherits": "~2.0.4",
1181 "minimist": "~1.2.0",
1182 "object-inspect": "~1.6.0",
1183 "resolve": "~1.11.1",
1184 "resumer": "~0.0.0",
1185 "string.prototype.trim": "~1.1.2",
1186 "through": "~2.3.8"
1187 },
1188 "dependencies": {
1189 "minimist": {
1190 "version": "1.2.0",
1191 "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
1192 "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
1193 "dev": true
1194 }
1195 }
1196 },
1197 "text-table": {
1059 "text-table": {
1198 "version": "0.2.0",
1060 "version": "0.2.0",
1199 "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
1061 "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
1200 "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
1062 "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
1201 "dev": true
1063 "dev": true
1202 },
1064 },
1203 "through": {
1065 "through": {
1204 "version": "2.3.8",
1066 "version": "2.3.8",
1205 "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
1067 "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
1206 "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
1068 "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
1207 "dev": true
1069 "dev": true
1208 },
1070 },
1209 "tmp": {
1071 "tmp": {
1210 "version": "0.0.33",
1072 "version": "0.0.33",
1211 "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
1073 "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
1212 "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
1074 "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
1213 "dev": true,
1075 "dev": true,
1214 "requires": {
1076 "requires": {
1215 "os-tmpdir": "~1.0.2"
1077 "os-tmpdir": "~1.0.2"
1216 }
1078 }
1217 },
1079 },
1218 "tslib": {
1080 "tslib": {
1219 "version": "1.10.0",
1081 "version": "1.10.0",
1220 "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
1082 "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
1221 "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
1083 "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
1222 "dev": true
1084 "dev": true
1223 },
1085 },
1224 "tslint": {
1086 "tslint": {
1225 "version": "5.18.0",
1087 "version": "6.0.0",
1226 "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.18.0.tgz",
1088 "resolved": "https://registry.npmjs.org/tslint/-/tslint-6.0.0.tgz",
1227 "integrity": "sha512-Q3kXkuDEijQ37nXZZLKErssQVnwCV/+23gFEMROi8IlbaBG6tXqLPQJ5Wjcyt/yHPKBC+hD5SzuGaMora+ZS6w==",
1089 "integrity": "sha512-9nLya8GBtlFmmFMW7oXXwoXS1NkrccqTqAtwXzdPV9e2mqSEvCki6iHL/Fbzi5oqbugshzgGPk7KBb2qNP1DSA==",
1228 "dev": true,
1090 "dev": true,
1229 "requires": {
1091 "requires": {
1230 "@babel/code-frame": "^7.0.0",
1092 "@babel/code-frame": "^7.0.0",
1231 "builtin-modules": "^1.1.1",
1093 "builtin-modules": "^1.1.1",
1232 "chalk": "^2.3.0",
1094 "chalk": "^2.3.0",
1233 "commander": "^2.12.1",
1095 "commander": "^2.12.1",
1234 "diff": "^3.2.0",
1096 "diff": "^4.0.1",
1235 "glob": "^7.1.1",
1097 "glob": "^7.1.1",
1236 "js-yaml": "^3.13.1",
1098 "js-yaml": "^3.13.1",
1237 "minimatch": "^3.0.4",
1099 "minimatch": "^3.0.4",
1238 "mkdirp": "^0.5.1",
1100 "mkdirp": "^0.5.1",
1239 "resolve": "^1.3.2",
1101 "resolve": "^1.3.2",
1240 "semver": "^5.3.0",
1102 "semver": "^5.3.0",
1241 "tslib": "^1.8.0",
1103 "tslib": "^1.10.0",
1242 "tsutils": "^2.29.0"
1104 "tsutils": "^2.29.0"
1243 },
1105 },
1244 "dependencies": {
1106 "dependencies": {
1245 "semver": {
1107 "semver": {
1246 "version": "5.7.1",
1108 "version": "5.7.1",
1247 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
1109 "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
1248 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
1110 "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
1249 "dev": true
1111 "dev": true
1250 }
1112 }
1251 }
1113 }
1252 },
1114 },
1253 "tsutils": {
1115 "tsutils": {
1254 "version": "2.29.0",
1116 "version": "2.29.0",
1255 "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",
1117 "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",
1256 "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",
1118 "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",
1257 "dev": true,
1119 "dev": true,
1258 "requires": {
1120 "requires": {
1259 "tslib": "^1.8.1"
1121 "tslib": "^1.8.1"
1260 }
1122 }
1261 },
1123 },
1262 "type-check": {
1124 "type-check": {
1263 "version": "0.3.2",
1125 "version": "0.3.2",
1264 "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
1126 "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
1265 "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
1127 "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
1266 "dev": true,
1128 "dev": true,
1267 "requires": {
1129 "requires": {
1268 "prelude-ls": "~1.1.2"
1130 "prelude-ls": "~1.1.2"
1269 }
1131 }
1270 },
1132 },
1133 "type-detect": {
1134 "version": "4.0.8",
1135 "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
1136 "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
1137 "dev": true
1138 },
1139 "type-fest": {
1140 "version": "0.8.1",
1141 "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
1142 "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
1143 "dev": true
1144 },
1271 "typescript": {
1145 "typescript": {
1272 "version": "3.6.5",
1146 "version": "3.7.5",
1273 "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.5.tgz",
1147 "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz",
1274 "integrity": "sha512-BEjlc0Z06ORZKbtcxGrIvvwYs5hAnuo6TKdNFL55frVDlB+na3z5bsLhFaIxmT+dPWgBIjMo6aNnTOgHHmHgiQ==",
1148 "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==",
1275 "dev": true
1149 "dev": true
1276 },
1150 },
1277 "uri-js": {
1151 "uri-js": {
1278 "version": "4.2.2",
1152 "version": "4.2.2",
1279 "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
1153 "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
1280 "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
1154 "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
1281 "dev": true,
1155 "dev": true,
1282 "requires": {
1156 "requires": {
1283 "punycode": "^2.1.0"
1157 "punycode": "^2.1.0"
1284 }
1158 }
1285 },
1159 },
1286 "v8-compile-cache": {
1160 "v8-compile-cache": {
1287 "version": "2.1.0",
1161 "version": "2.1.0",
1288 "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
1162 "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
1289 "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
1163 "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
1290 "dev": true
1164 "dev": true
1291 },
1165 },
1292 "which": {
1166 "which": {
1293 "version": "1.3.1",
1167 "version": "1.3.1",
1294 "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
1168 "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
1295 "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
1169 "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
1296 "dev": true,
1170 "dev": true,
1297 "requires": {
1171 "requires": {
1298 "isexe": "^2.0.0"
1172 "isexe": "^2.0.0"
1299 }
1173 }
1300 },
1174 },
1301 "word-wrap": {
1175 "word-wrap": {
1302 "version": "1.2.3",
1176 "version": "1.2.3",
1303 "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
1177 "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
1304 "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
1178 "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
1305 "dev": true
1179 "dev": true
1306 },
1180 },
1307 "wrappy": {
1181 "wrappy": {
1308 "version": "1.0.2",
1182 "version": "1.0.2",
1309 "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1183 "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1310 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
1184 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
1311 "dev": true
1185 "dev": true
1312 },
1186 },
1313 "write": {
1187 "write": {
1314 "version": "1.0.3",
1188 "version": "1.0.3",
1315 "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
1189 "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
1316 "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
1190 "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
1317 "dev": true,
1191 "dev": true,
1318 "requires": {
1192 "requires": {
1319 "mkdirp": "^0.5.1"
1193 "mkdirp": "^0.5.1"
1320 }
1194 }
1195 },
1196 "yaml": {
1197 "version": "1.7.2",
1198 "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz",
1199 "integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==",
1200 "dev": true,
1201 "requires": {
1202 "@babel/runtime": "^7.6.3"
1321 }
1203 }
1322 }
1204 }
1323 }
1205 }
1206 }
@@ -1,14 +1,15
1 {
1 {
2 "devDependencies": {
2 "devDependencies": {
3 "@types/node": "8.0.0",
4 "@types/tape": "~4.2.33",
5 "@types/requirejs": "2.1.31",
3 "@types/requirejs": "2.1.31",
6 "dojo": "1.16.0",
4 "dojo": "1.16.0",
7 "dojo-typings": "1.11.9",
5 "dojo-typings": "1.11.9",
8 "tape": "~4.13.0",
9 "typescript": "~3.7.5",
6 "typescript": "~3.7.5",
10 "eslint": "6.8.0",
7 "eslint": "6.8.0",
11 "tslint": "6.0.0",
8 "tslint": "6.0.0",
12 "@implab/core-amd": "^1.3.2"
9 "@implab/core-amd": "^1.3.2",
10 "yaml": "~1.7.2",
11 "@types/yaml": "1.2.0",
12 "chai": "4.2.0",
13 "@types/chai": "4.1.3"
13 }
14 }
14 }
15 }
@@ -1,78 +1,81
1 import { MapOf } from "@implab/core-amd/interfaces";
1 import { MapOf } from "@implab/core-amd/interfaces";
2 import { isPromise, mixin } from "@implab/core-amd/safe";
2 import { isPromise, mixin } from "@implab/core-amd/safe";
3 import { locale as sysLocale } from "dojo/_base/kernel";
3 import { locale as sysLocale } from "dojo/_base/kernel";
4 import { id as mid } from "module";
4 import { id as mid } from "module";
5 import { TraceSource } from "@implab/core-amd/log/TraceSource";
5 import { TraceSource } from "@implab/core-amd/log/TraceSource";
6
6
7 const trace = TraceSource.get(mid);
7 const trace = TraceSource.get(mid);
8
8
9 type PromiseOrValue<T> = PromiseLike<T> | T;
9 type PromiseOrValue<T> = PromiseLike<T> | T;
10 type ResolveCallback<T> = () => PromiseOrValue<T>;
10 type ResolveCallback<T> = () => PromiseOrValue<T>;
11
11
12 trace.debug("Current sysLocale: {0}", sysLocale);
12 trace.debug("Current sysLocale: {0}", sysLocale);
13
13
14 function when<T, T2>(value: PromiseOrValue<T>, cb: (v: T) => PromiseOrValue<T2>): PromiseOrValue<T2> {
14 function when<T, T2>(value: PromiseOrValue<T>, cb: (v: T) => PromiseOrValue<T2>): PromiseOrValue<T2> {
15 return isPromise(value) ?
15 return isPromise(value) ?
16 value.then(cb) :
16 value.then(cb) :
17 cb(value);
17 cb(value);
18 }
18 }
19
19
20 function isCallback<T>(v: ResolveCallback<T> | PromiseOrValue<T>): v is ResolveCallback<T> {
20 function isCallback<T>(v: ResolveCallback<T> | PromiseOrValue<T>): v is ResolveCallback<T> {
21 return typeof v === "function";
21 return typeof v === "function";
22 }
22 }
23
23
24 function chainObjects<T extends object>(o1: T, o2: T) {
24 function chainObjects<T extends object>(o1: T, o2: T) {
25 if (!o1)
25 if (!o1)
26 return o2;
26 return o2;
27 if (!o2)
27 if (!o2)
28 return o1;
28 return o1;
29
29
30 return mixin(Object.create(o1) as T, o2);
30 return mixin(Object.create(o1) as T, o2);
31 }
31 }
32
32
33 export class NlsBundle<T extends object> {
33 export class NlsBundle<T extends object> {
34 _locales: MapOf<ResolveCallback<T> | PromiseOrValue<T>>;
34 _locales: MapOf<ResolveCallback<T> | PromiseOrValue<T>>;
35 default: T;
35 default: T;
36
36
37 _cache: MapOf<PromiseOrValue<T>>;
37 _cache: MapOf<PromiseOrValue<T>>;
38
38
39 constructor(defNls: T, locales: MapOf<any>) {
39 constructor(defNls: T, locales?: MapOf<any>) {
40 this.default = defNls;
40 this.default = defNls;
41 this._locales = locales || {};
41 this._locales = locales || {};
42 this._cache = {};
42 this._cache = {};
43 }
43 }
44
44
45 getLocale(locale: string) {
45 getLocale(locale: string) {
46 const _loc = locale || sysLocale;
46 const _loc = locale || sysLocale;
47
47
48 const locales = new Array<string>();
48 const locales = new Array<string>();
49
49
50 _loc.split("-").reduce((a, x) => {
50 _loc.split("-").reduce((a, x) => {
51 a.push(x);
51 a.push(x);
52 locales.unshift(a.join("-"));
52 locales.unshift(a.join("-"));
53 return a;
53 return a;
54 }, []);
54 }, new Array<string>());
55
55
56 return this._resolveLocale(locales);
56 return this._resolveLocale(locales);
57 }
57 }
58
58
59 _resolveLocale(locales: string[]): PromiseOrValue<T> {
59 _resolveLocale(locales: string[]): PromiseOrValue<T> {
60 if (!locales.length)
60 if (!locales.length)
61 return;
61 return this.default;
62
62
63 const locale = locales.shift();
63 const locale = locales.shift();
64
64
65 if (!locale)
66 return this._resolveLocale(locales);
67
65 if (this._cache[locale])
68 if (this._cache[locale])
66 return this._cache[locale];
69 return this._cache[locale];
67
70
68 let data = this._locales[locale];
71 let data = this._locales[locale];
69 if (isCallback(data))
72 if (isCallback(data))
70 data = data();
73 data = data();
71
74
72 const parent = locales.length ? this._resolveLocale(locales) : this.default;
75 const parent = this._resolveLocale(locales);
73
76
74 return this._cache[locale] = when(data, x => {
77 return this._cache[locale] = when(data, x => {
75 return when(parent, y => this._cache[locale] = chainObjects(y, x));
78 return when(parent, y => this._cache[locale] = chainObjects(y, x));
76 });
79 });
77 }
80 }
78 }
81 }
@@ -1,233 +1,233
1 import declare = require("dojo/_base/declare");
1 import declare = require("dojo/_base/declare");
2 import { each } from "@implab/core-amd/safe";
2 import { each } from "@implab/core-amd/safe";
3 import { Constructor } from "@implab/core-amd/interfaces";
3 import { Constructor } from "@implab/core-amd/interfaces";
4
4
5 export interface AbstractConstructor<T = {}> {
5 export interface AbstractConstructor<T = {}> {
6 prototype: T;
6 prototype: T;
7 }
7 }
8
8
9 interface DjMockConstructor<T = {}> {
9 interface DjMockConstructor<T = {}> {
10 new(...args: any[]): T;
10 new(...args: any[]): T;
11 mock: boolean;
11 mock: boolean;
12 base: AbstractConstructor;
12 base: AbstractConstructor;
13 }
13 }
14
14
15 export function djbase<T>(
15 export function djbase<T>(
16 b0: AbstractConstructor<T>
16 b0: AbstractConstructor<T>
17 ): dojo._base.DeclareConstructor<T>;
17 ): dojo._base.DeclareConstructor<T>;
18
18
19 export function djbase<T0, T1>(
19 export function djbase<T0, T1>(
20 b0: AbstractConstructor<T0>,
20 b0: AbstractConstructor<T0>,
21 b1: AbstractConstructor<T1>
21 b1: AbstractConstructor<T1>
22 ): dojo._base.DeclareConstructor<T0 & T1>;
22 ): dojo._base.DeclareConstructor<T0 & T1>;
23
23
24 export function djbase<T0, T1, T2>(
24 export function djbase<T0, T1, T2>(
25 b0: AbstractConstructor<T0>,
25 b0: AbstractConstructor<T0>,
26 b1: AbstractConstructor<T1>,
26 b1: AbstractConstructor<T1>,
27 b2: AbstractConstructor<T2>
27 b2: AbstractConstructor<T2>
28 ): dojo._base.DeclareConstructor<T0 & T1 & T2>;
28 ): dojo._base.DeclareConstructor<T0 & T1 & T2>;
29
29
30 export function djbase<T0, T1, T2, T3>(
30 export function djbase<T0, T1, T2, T3>(
31 b0: AbstractConstructor<T0>,
31 b0: AbstractConstructor<T0>,
32 b1: AbstractConstructor<T1>,
32 b1: AbstractConstructor<T1>,
33 b2: AbstractConstructor<T2>,
33 b2: AbstractConstructor<T2>,
34 b3: AbstractConstructor<T3>
34 b3: AbstractConstructor<T3>
35 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3>;
35 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3>;
36
36
37 export function djbase<T0, T1, T2, T3, T4>(
37 export function djbase<T0, T1, T2, T3, T4>(
38 b0: AbstractConstructor<T0>,
38 b0: AbstractConstructor<T0>,
39 b1: AbstractConstructor<T1>,
39 b1: AbstractConstructor<T1>,
40 b2: AbstractConstructor<T2>,
40 b2: AbstractConstructor<T2>,
41 b3: AbstractConstructor<T3>,
41 b3: AbstractConstructor<T3>,
42 b4: AbstractConstructor<T4>
42 b4: AbstractConstructor<T4>
43 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4>;
43 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4>;
44
44
45 export function djbase<T0, T1, T2, T3, T4, T5>(
45 export function djbase<T0, T1, T2, T3, T4, T5>(
46 b0: AbstractConstructor<T0>,
46 b0: AbstractConstructor<T0>,
47 b1: AbstractConstructor<T1>,
47 b1: AbstractConstructor<T1>,
48 b2: AbstractConstructor<T2>,
48 b2: AbstractConstructor<T2>,
49 b3: AbstractConstructor<T3>,
49 b3: AbstractConstructor<T3>,
50 b4: AbstractConstructor<T4>,
50 b4: AbstractConstructor<T4>,
51 b5: AbstractConstructor<T5>
51 b5: AbstractConstructor<T5>
52 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5>;
52 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5>;
53
53
54 export function djbase<T0, T1, T2, T3, T4, T5, T6>(
54 export function djbase<T0, T1, T2, T3, T4, T5, T6>(
55 b0: AbstractConstructor<T0>,
55 b0: AbstractConstructor<T0>,
56 b1: AbstractConstructor<T1>,
56 b1: AbstractConstructor<T1>,
57 b2: AbstractConstructor<T2>,
57 b2: AbstractConstructor<T2>,
58 b3: AbstractConstructor<T3>,
58 b3: AbstractConstructor<T3>,
59 b4: AbstractConstructor<T4>,
59 b4: AbstractConstructor<T4>,
60 b5: AbstractConstructor<T5>,
60 b5: AbstractConstructor<T5>,
61 b6: AbstractConstructor<T6>
61 b6: AbstractConstructor<T6>
62 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5 & T6>;
62 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5 & T6>;
63
63
64 export function djbase<T0, T1, T2, T3, T4, T5, T6, T7>(
64 export function djbase<T0, T1, T2, T3, T4, T5, T6, T7>(
65 b0: AbstractConstructor<T0>,
65 b0: AbstractConstructor<T0>,
66 b1: AbstractConstructor<T1>,
66 b1: AbstractConstructor<T1>,
67 b2: AbstractConstructor<T2>,
67 b2: AbstractConstructor<T2>,
68 b3: AbstractConstructor<T3>,
68 b3: AbstractConstructor<T3>,
69 b4: AbstractConstructor<T4>,
69 b4: AbstractConstructor<T4>,
70 b5: AbstractConstructor<T5>,
70 b5: AbstractConstructor<T5>,
71 b6: AbstractConstructor<T6>,
71 b6: AbstractConstructor<T6>,
72 b7: AbstractConstructor<T7>
72 b7: AbstractConstructor<T7>
73 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5 & T6 & T7>;
73 ): dojo._base.DeclareConstructor<T0 & T1 & T2 & T3 & T4 & T5 & T6 & T7>;
74
74
75 /** Создает конструктор-заглушку из списка базовых классов, используется
75 /** Создает конструктор-заглушку из списка базовых классов, используется
76 * для объявления классов при помощи `dojo/_base/declare`.
76 * для объявления классов при помощи `dojo/_base/declare`.
77 *
77 *
78 * Создает пустой конструтор, с пустым стандартным прототипом, это нужно,
78 * Создает пустой конструтор, с пустым стандартным прототипом, это нужно,
79 * поскольку в унаследованном классе конструктор обязательно должен вызвать
79 * поскольку в унаследованном классе конструктор обязательно должен вызвать
80 * `super(...)`, таким образом он вызовет пустую функцию.
80 * `super(...)`, таким образом он вызовет пустую функцию.
81 *
81 *
82 * Созданный конструтор хранит в себе список базовых классов, который будет
82 * Созданный конструтор хранит в себе список базовых классов, который будет
83 * использован декоратором `djclass`, который вернет класс, объявленный при
83 * использован декоратором `djclass`, который вернет класс, объявленный при
84 * помощи `dojo/_base/declare`.
84 * помощи `dojo/_base/declare`.
85 *
85 *
86 * @param bases список базовых классов, от которых требуется унаследовать
86 * @param bases список базовых классов, от которых требуется унаследовать
87 * новый класс.
87 * новый класс.
88 *
88 *
89 */
89 */
90 export function djbase(...bases: any[]): Constructor {
90 export function djbase(...bases: any[]): Constructor {
91
91
92 const t = class {
92 const t = class {
93 static mock: boolean;
93 static mock: boolean;
94 static base: AbstractConstructor;
94 static base: AbstractConstructor;
95 };
95 };
96
96
97 t.mock = true;
97 t.mock = true;
98 t.base = declare(bases);
98 t.base = declare(bases);
99
99
100 return t as any;
100 return t as any;
101 }
101 }
102
102
103 function isMockConstructor<T extends {}>(v: AbstractConstructor<T>): v is DjMockConstructor<T> {
103 function isMockConstructor<T extends {}>(v: AbstractConstructor<T>): v is DjMockConstructor<T> {
104 return v && "mock" in v;
104 return v && "mock" in v;
105 }
105 }
106
106
107 /** Создает класс при помощи `dojo/_base/declare`. Для этого исходный класс
107 /** Создает класс при помощи `dojo/_base/declare`. Для этого исходный класс
108 * должен быть унаследован от `djbase(...)`.
108 * должен быть унаследован от `djbase(...)`.
109 *
109 *
110 * @param target Класс, который нужно объявить при помощи `dojo/_base/declare`
110 * @param target Класс, который нужно объявить при помощи `dojo/_base/declare`
111 */
111 */
112 export function djclass<T extends AbstractConstructor>(target: T): T {
112 export function djclass<T extends AbstractConstructor>(target: T): T {
113 // получаем базовый конструктор и его прототип
113 // получаем базовый конструктор и его прототип
114 let bp = target && target.prototype && Object.getPrototypeOf(target.prototype);
114 let bp = target && target.prototype && Object.getPrototypeOf(target.prototype);
115 const bc = bp && bp.constructor;
115 const bc = bp && bp.constructor;
116
116
117 // проверка того, что класс унаследован от специальной заглушки
117 // проверка того, что класс унаследован от специальной заглушки
118 if (isMockConstructor(bc)) {
118 if (isMockConstructor(bc)) {
119 // t - базовый класс, объявленный при помощи dojo/_base/declare
119 // t - базовый класс, объявленный при помощи dojo/_base/declare
120 const t = bc.base;
120 const t = bc.base;
121
121
122 // bc - базовый класс, bc.prototype используется как super
122 // bc - базовый класс, bc.prototype используется как super
123 // при вызове базовых методов. Нужно создать bc.prototype
123 // при вызове базовых методов. Нужно создать bc.prototype
124 // таким образом, чтобы он вызывал this.inherited().
124 // таким образом, чтобы он вызывал this.inherited().
125
125
126 // создаем новый порототип, он не в цепочке прототипов у текущего
126 // создаем новый порототип, он не в цепочке прототипов у текущего
127 // класса, но super.some_method будет использовать именно его.
127 // класса, но super.some_method будет использовать именно его.
128 // в этом объекте будут размещены прокси для переопределенных
128 // в этом объекте будут размещены прокси для переопределенных
129 // методов.
129 // методов.
130 bp = bc.prototype = Object.create(t.prototype);
130 bp = bc.prototype = Object.create(t.prototype);
131 bp.constructor = bc;
131 bp.constructor = bc;
132
132
133 // proxy - фабрика для создания прокси-методов, которые внутри
133 // proxy - фабрика для создания прокси-методов, которые внутри
134 // себя вызовут this.inherited с правильными параметрами.
134 // себя вызовут this.inherited с правильными параметрами.
135 const proxy = (m: (...args: any[]) => any) => function () {
135 const proxy = (m: (...args: any[]) => any) => function (this: any) {
136 return this.inherited(m, arguments);
136 return this.inherited(m, arguments);
137 };
137 };
138
138
139 // у текущего класса прототип содержит методы, объявленные в этом
139 // у текущего класса прототип содержит методы, объявленные в этом
140 // классе и его конструктор. Нужно пройти по всем методам и
140 // классе и его конструктор. Нужно пройти по всем методам и
141 // создать для них прокси.
141 // создать для них прокси.
142 // При этом только те, методы, которые есть в базовых классах
142 // При этом только те, методы, которые есть в базовых классах
143 // могут быть переопределены.
143 // могут быть переопределены.
144 each(target.prototype, (m: any, p: string | number | symbol) => {
144 each(target.prototype, (m: any, p: string | number | symbol) => {
145 if (typeof m === "function" &&
145 if (typeof m === "function" &&
146 p !== "constructor" &&
146 p !== "constructor" &&
147 target.prototype.hasOwnProperty(p) &&
147 target.prototype.hasOwnProperty(p) &&
148 p in t.prototype
148 p in t.prototype
149 ) {
149 ) {
150 bp[p] = proxy(m);
150 bp[p] = proxy(m);
151 }
151 }
152 });
152 });
153
153
154 const cls = declare(t, target.prototype);
154 const cls = declare(t, target.prototype);
155 // TODO mixin static members
155 // TODO mixin static members
156 return cls as any;
156 return cls as any;
157 } else {
157 } else {
158 return target as any;
158 return target as any;
159 }
159 }
160 }
160 }
161
161
162 function makeSetterName(prop: string) {
162 function makeSetterName(prop: string) {
163 return [
163 return [
164 "_set",
164 "_set",
165 prop.replace(/^./, x => x.toUpperCase()),
165 prop.replace(/^./, x => x.toUpperCase()),
166 "Attr"
166 "Attr"
167 ].join("");
167 ].join("");
168 }
168 }
169
169
170 function makeGetterName(prop: string) {
170 function makeGetterName(prop: string) {
171 return [
171 return [
172 "_get",
172 "_get",
173 prop.replace(/^./, x => x.toUpperCase()),
173 prop.replace(/^./, x => x.toUpperCase()),
174 "Attr"
174 "Attr"
175 ].join("");
175 ].join("");
176 }
176 }
177
177
178 interface NodeBindSpec {
178 interface NodeBindSpec {
179 node: string;
179 node: string;
180 type: string;
180 type: string;
181 }
181 }
182
182
183 /**
183 /**
184 * Описание привязки свойства виджета к свойству внутреннего объекта.
184 * Описание привязки свойства виджета к свойству внутреннего объекта.
185 */
185 */
186 interface MemberBindSpec {
186 interface MemberBindSpec {
187 /**
187 /**
188 * Имя свойства со ссылкой на объект, к которому .
188 * Имя свойства со ссылкой на объект, к которому .
189 */
189 */
190 member: string;
190 member: string;
191 /**
191 /**
192 * Свойство объекта к которому нужно осуществить привязку.
192 * Свойство объекта к которому нужно осуществить привязку.
193 */
193 */
194 property: string;
194 property: string;
195
195
196 /**
196 /**
197 * Привязка осуществляется не только на запись но и на чтение свойства.
197 * Привязка осуществляется не только на запись но и на чтение свойства.
198 */
198 */
199 getter?: boolean;
199 getter?: boolean;
200 }
200 }
201
201
202 function isNodeBindSpec(v): v is NodeBindSpec {
202 function isNodeBindSpec(v: any): v is NodeBindSpec {
203 return "node" in v;
203 return "node" in v;
204 }
204 }
205
205
206 function isMemberBindSpec(v): v is MemberBindSpec {
206 function isMemberBindSpec(v: any): v is MemberBindSpec {
207 return "member" in v;
207 return "member" in v;
208 }
208 }
209
209
210 /** Декорирует свойства виджета для привязки их к внутренним членам, либо DOM
210 /** Декорирует свойства виджета для привязки их к внутренним членам, либо DOM
211 * элементам, либо свойству внутреннего объекта.
211 * элементам, либо свойству внутреннего объекта.
212 *
212 *
213 * @param {NodeBindSpec | MemberBindSpec} params Параметры связывания.
213 * @param {NodeBindSpec | MemberBindSpec} params Параметры связывания.
214 */
214 */
215 export function bind(params: NodeBindSpec | MemberBindSpec) {
215 export function bind(params: NodeBindSpec | MemberBindSpec) {
216 if (isNodeBindSpec(params))
216 if (isNodeBindSpec(params))
217 return (target: any, name: string) => {
217 return (target: any, name: string) => {
218 target[makeSetterName(name)] = params;
218 target[makeSetterName(name)] = params;
219 };
219 };
220 else if (isMemberBindSpec(params)) {
220 else if (isMemberBindSpec(params)) {
221 return (target: any, name: string) => {
221 return (target: any, name: string) => {
222 target[name] = null;
222 target[name] = null;
223 target[makeSetterName(name)] = function (v) {
223 target[makeSetterName(name)] = function (v: any) {
224 this._set(name, v);
224 this._set(name, v);
225 this[params.member].set(params.property, v);
225 this[params.member].set(params.property, v);
226 };
226 };
227 if (params.getter)
227 if (params.getter)
228 target[makeGetterName(name)] = function () {
228 target[makeGetterName(name)] = function () {
229 return this[params.member].get(params.property);
229 return this[params.member].get(params.property);
230 };
230 };
231 };
231 };
232 }
232 }
233 }
233 }
@@ -1,67 +1,64
1 import { isNull, mixin } from "@implab/core-amd/safe";
1 import { isNull, mixin, argumentNotNull } from "@implab/core-amd/safe";
2 import { isPlainObject, isNode, isBuildContext } from "./traits";
2 import { isPlainObject, isNode, isBuildContext } from "./traits";
3
3
4 export abstract class BuildContextBase {
4 export abstract class BuildContextBase {
5 _attrs = {};
5 _attrs = {};
6
6
7 _children = [];
7 _children = new Array();
8
8
9 _created: boolean;
9 _created: boolean = false;
10
10
11 visitNext(v: any) {
11 visitNext(v: any) {
12 if (isNull(v))
12 if (isNull(v))
13 return;
13 return;
14
14
15 if (isPlainObject(v)) {
15 if (isPlainObject(v)) {
16
16
17 if (this._created)
17 if (this._created)
18 this._setAttrs(v);
18 this._setAttrs(v);
19 else
19 else
20 mixin(this._attrs, v);
20 mixin(this._attrs, v);
21
21
22 } else {
22 } else {
23 if (this._created)
23 if (this._created)
24 this._addChild(v);
24 this._addChild(v);
25 else
25 else
26 this._children.push(v);
26 this._children.push(v);
27 }
27 }
28 }
28 }
29
29
30 getChildDom(v: any) {
30 getChildDom(v: any) {
31 if (isNull(v))
32 return;
33
34 const tv = typeof v;
31 const tv = typeof v;
35 if (tv === "string" || tv === "number" || tv === "boolean" || v instanceof RegExp || v instanceof Date) {
32 if (tv === "string" || tv === "number" || tv === "boolean" || v instanceof RegExp || v instanceof Date) {
36 return document.createTextNode(v.toString());
33 return document.createTextNode(v.toString());
37 } else if (isNode(v)) {
34 } else if (isNode(v)) {
38 return v;
35 return v;
39 } else if (isBuildContext(v)) {
36 } else if (isBuildContext(v)) {
40 return v.getDomElement();
37 return v.getDomElement();
41 } else {
38 } else {
42 throw new Error("Invalid parameter");
39 throw new Error("Invalid parameter");
43 }
40 }
44 }
41 }
45
42
46 abstract _getDomElement(): HTMLElement;
43 abstract _getDomElement(): HTMLElement;
47
44
48 ensureCreated() {
45 ensureCreated() {
49 if (!this._created) {
46 if (!this._created) {
50 this._create(this._attrs, this._children);
47 this._create(this._attrs, this._children);
51 this._children = null;
48 this._children = [];
52 this._attrs = null;
49 this._attrs = {};
53 this._created = true;
50 this._created = true;
54 }
51 }
55 }
52 }
56
53
57 getDomElement() {
54 getDomElement() {
58 this.ensureCreated();
55 this.ensureCreated();
59 return this._getDomElement();
56 return this._getDomElement();
60 }
57 }
61
58
62 abstract _addChild(child: any): void;
59 abstract _addChild(child: any): void;
63
60
64 abstract _setAttrs(attrs: object): void;
61 abstract _setAttrs(attrs: object): void;
65
62
66 abstract _create(attrs: object, children: any[]): void;
63 abstract _create(attrs: object, children: any[]): void;
67 }
64 }
@@ -1,44 +1,49
1 import { djbase, djclass } from "../declare";
1 import { djbase, djclass } from "../declare";
2 import _WidgetBase = require("dijit/_WidgetBase");
2 import _WidgetBase = require("dijit/_WidgetBase");
3 import _AttachMixin = require("dijit/_AttachMixin");
3 import _AttachMixin = require("dijit/_AttachMixin");
4 import { BuildContext, isNode } from "./traits";
4 import { BuildContext, isNode } from "./traits";
5 import registry = require("dijit/registry");
5 import registry = require("dijit/registry");
6
6
7 @djclass
7 @djclass
8 export abstract class DjxWidgetBase extends djbase(_WidgetBase, _AttachMixin) {
8 export abstract class DjxWidgetBase extends djbase(_WidgetBase, _AttachMixin) {
9
9
10 buildRendering() {
10 buildRendering() {
11 this.domNode = this.render().getDomElement();
11 this.domNode = this.render().getDomElement();
12 super.buildRendering();
12 super.buildRendering();
13 }
13 }
14
14
15 abstract render(): BuildContext;
15 abstract render(): BuildContext;
16
16
17 _processTemplateNode<T extends (Element | Node | _WidgetBase)>(
17 _processTemplateNode<T extends (Element | Node | _WidgetBase)>(
18 baseNode: T,
18 baseNode: T,
19 getAttrFunc: (baseNode: T, attr: string) => string,
19 getAttrFunc: (baseNode: T, attr: string) => string,
20 attachFunc: (node: T, type: string, func?: (...args: any[]) => any) => dojo.Handle
20 // tslint:disable-next-line: ban-types
21 attachFunc: (node: T, type: string, func?: Function) => dojo.Handle
21 ): boolean {
22 ): boolean {
22 if (isNode(baseNode)) {
23 if (isNode(baseNode)) {
23 const w = registry.byNode(baseNode);
24 const w = registry.byNode(baseNode);
24 if (w) {
25 if (w) {
25 // from dijit/_WidgetsInTemplateMixin
26 // from dijit/_WidgetsInTemplateMixin
26 this._processTemplateNode(w,
27 this._processTemplateNode(w,
27 (n, p) => n[p], // callback to get a property of a widget
28 (n, p) => n.get(p), // callback to get a property of a widget
28 (widget, type, callback) => {
29 (widget, type, callback) => {
30 if (!callback)
31 throw new Error("The callback must be specified");
32
29 // callback to do data-dojo-attach-event to a widget
33 // callback to do data-dojo-attach-event to a widget
30 if (type in widget) {
34 if (type in widget) {
31 // back-compat, remove for 2.0
35 // back-compat, remove for 2.0
32 return widget.connect(widget, type, callback);
36 return widget.connect(widget, type, callback as EventListener);
33 } else {
37 } else {
34 // 1.x may never hit this branch, but it's the default for 2.0
38 // 1.x may never hit this branch, but it's the default for 2.0
35 return widget.on(type, callback);
39 return widget.on(type, callback);
36 }
40 }
41
37 });
42 });
38 // don't process widgets internals
43 // don't process widgets internals
39 return false;
44 return false;
40 }
45 }
41 }
46 }
42 return super._processTemplateNode(baseNode, getAttrFunc, attachFunc);
47 return super._processTemplateNode(baseNode, getAttrFunc, attachFunc);
43 }
48 }
44 }
49 }
@@ -1,37 +1,45
1 import dom = require("dojo/dom-construct");
1 import dom = require("dojo/dom-construct");
2 import attr = require("dojo/dom-attr");
2 import attr = require("dojo/dom-attr");
3 import { argumentNotEmptyString } from "@implab/core-amd/safe";
3 import { argumentNotEmptyString } from "@implab/core-amd/safe";
4 import { BuildContextBase } from "./BuildContextBase";
4 import { BuildContextBase } from "./BuildContextBase";
5
5
6 export class HtmlElementContext extends BuildContextBase {
6 export class HtmlElementContext extends BuildContextBase {
7 elementType: string;
7 elementType: string;
8
8
9 _element: HTMLElement;
9 _element: HTMLElement | undefined;
10
10
11 constructor(elementType: string) {
11 constructor(elementType: string) {
12 argumentNotEmptyString(elementType, "elementType");
12 argumentNotEmptyString(elementType, "elementType");
13 super();
13 super();
14
14
15 this.elementType = elementType;
15 this.elementType = elementType;
16 }
16 }
17
17
18 _addChild(child: any): void {
18 _addChild(child: any): void {
19 if (!this._element)
20 throw new Error("The HTML element isn't created");
19 dom.place(this.getChildDom(child), this._element);
21 dom.place(this.getChildDom(child), this._element);
20 }
22 }
21
23
22 _setAttrs(attrs: object): void {
24 _setAttrs(attrs: object): void {
25 if (!this._element)
26 throw new Error("The HTML element isn't created");
27
23 attr.set(this._element, attrs);
28 attr.set(this._element, attrs);
24 }
29 }
25
30
26 _create(attrs: object, children: any[]) {
31 _create(attrs: object, children: any[]) {
27 this._element = dom.create(this.elementType, attrs);
32 this._element = dom.create(this.elementType, attrs);
28
33
29 if (children)
34 if (children)
30 children.forEach(v => this._addChild(v));
35 children.forEach(v => this._addChild(v));
31 }
36 }
32
37
33 _getDomElement() {
38 _getDomElement() {
39 if (!this._element)
40 throw new Error("The HTML element isn't created");
41
34 return this._element;
42 return this._element;
35 }
43 }
36
44
37 }
45 }
@@ -1,40 +1,42
1 import dom = require("dojo/dom-construct");
1 import dom = require("dojo/dom-construct");
2 import { argumentNotNull, isNull, mixin } from "@implab/core-amd/safe";
2 import { argumentNotNull, isNull, mixin } from "@implab/core-amd/safe";
3 import _WidgetBase = require("dijit/_WidgetBase");
3 import _WidgetBase = require("dijit/_WidgetBase");
4 import { _WidgetBaseConstructor, isNode } from "./traits";
4 import { _WidgetBaseConstructor, isNode } from "./traits";
5 import { BuildContextBase } from "./BuildContextBase";
5 import { BuildContextBase } from "./BuildContextBase";
6
6
7 export class WidgetContext extends BuildContextBase {
7 export class WidgetContext extends BuildContextBase {
8 widgetClass: _WidgetBaseConstructor;
8 widgetClass: _WidgetBaseConstructor;
9
9
10 _instance: _WidgetBase;
10 _instance: _WidgetBase | undefined;
11
11
12 constructor(widgetClass: _WidgetBaseConstructor) {
12 constructor(widgetClass: _WidgetBaseConstructor) {
13 super();
13 super();
14 argumentNotNull(widgetClass, "widgetClass");
14 argumentNotNull(widgetClass, "widgetClass");
15
15
16 this.widgetClass = widgetClass;
16 this.widgetClass = widgetClass;
17 }
17 }
18
18
19 _addChild(child: any): void {
19 _addChild(child: any): void {
20 if (!this._instance.containerNode)
20 if (!this._instance || !this._instance.containerNode)
21 throw new Error("Widget doesn't support adding children");
21 throw new Error("Widget doesn't support adding children");
22
22
23 dom.place(this.getChildDom(child), this._instance.containerNode);
23 dom.place(this.getChildDom(child), this._instance.containerNode);
24 }
24 }
25
25
26 _setAttrs(attrs: object): void {
26 _setAttrs(attrs: object): void {
27 this._instance.set(attrs);
27 this._instance?.set(attrs);
28 }
28 }
29
29
30 _create(attrs: object, children: any[]) {
30 _create(attrs: object, children: any[]) {
31 this._instance = new this.widgetClass(this._attrs);
31 this._instance = new this.widgetClass(this._attrs);
32 if (children)
32 if (children)
33 children.forEach(x => this._addChild(x));
33 children.forEach(x => this._addChild(x));
34 }
34 }
35
35
36 _getDomElement() {
36 _getDomElement() {
37 if (!this._instance)
38 throw new Error("The instance of the widget isn't created");
37 return this._instance.domNode;
39 return this._instance.domNode;
38 }
40 }
39
41
40 }
42 }
@@ -1,74 +1,57
1 import { IObservable, ICancellation, IDestroyable } from "@implab/core-amd/interfaces";
1 import { IObservable, ICancellation, IDestroyable } from "@implab/core-amd/interfaces";
2 import { Cancellation } from "@implab/core-amd/Cancellation";
2 import { Cancellation } from "@implab/core-amd/Cancellation";
3 import { TraceEvent, LogLevel, WarnLevel, DebugLevel, TraceSource } from "@implab/core-amd/log/TraceSource";
3 import { TraceEvent, LogLevel, WarnLevel, DebugLevel, TraceSource } from "@implab/core-amd/log/TraceSource";
4 import * as tape from "tape";
5 import { argumentNotNull, destroy } from "@implab/core-amd/safe";
4 import { argumentNotNull, destroy } from "@implab/core-amd/safe";
5 import { TapWriter } from "./Tap";
6
7
6
8
7 export class TapeWriter implements IDestroyable {
9 export class TapeWriter implements IDestroyable {
8 private readonly _tape: tape.Test;
10
11 private readonly _t: TapWriter;
9
12
10 private readonly _subscriptions = new Array<IDestroyable>();
13 private readonly _subscriptions = new Array<IDestroyable>();
11 private _destroyed;
14 private _destroyed;
12
15
13 constructor(t: tape.Test) {
16 constructor(t: TapWriter) {
14 argumentNotNull(t, "tape");
17 argumentNotNull(t, "test");
15 this._tape = t;
18
16 }
19 }
17
20
18 writeEvents(source: IObservable<TraceEvent>, ct: ICancellation = Cancellation.none) {
21 writeEvents(source: IObservable<TraceEvent>, ct: ICancellation = Cancellation.none) {
19 if (!this._destroyed) {
22 if (!this._destroyed) {
20 const subscription = source.on(this.writeEvent.bind(this));
23 const subscription = source.on(this.writeEvent.bind(this));
21 if (ct.isSupported()) {
24 if (ct.isSupported()) {
22 ct.register(subscription.destroy.bind(subscription));
25 ct.register(subscription.destroy.bind(subscription));
23 }
26 }
24 this._subscriptions.push(subscription);
27 this._subscriptions.push(subscription);
25 }
28 }
26 }
29 }
27
30
28 writeEvent(next: TraceEvent) {
31 writeEvent(next: TraceEvent) {
29 if (next.level >= DebugLevel) {
32 if (next.level >= DebugLevel) {
30 this._tape.comment(`DEBUG ${next.source.id} ${next}`);
33 this._t.comment(`DEBUG ${next.source.id} ${next}`);
31 } else if (next.level >= LogLevel) {
34 } else if (next.level >= LogLevel) {
32 this._tape.comment(`LOG ${next.source.id} ${next}`);
35 this._t.comment(`LOG ${next.source.id} ${next}`);
33 } else if (next.level >= WarnLevel) {
36 } else if (next.level >= WarnLevel) {
34 this._tape.comment(`WARN ${next.source.id} ${next}`);
37 this._t.comment(`WARN ${next.source.id} ${next}`);
35 } else {
38 } else {
36 this._tape.comment(`ERROR ${next.source.id} ${next}`);
39 this._t.comment(`ERROR ${next.source.id} ${next}`);
37 }
40 }
38 }
41 }
39
42
40 destroy() {
43 destroy() {
41 this._subscriptions.forEach(destroy);
44 this._subscriptions.forEach(destroy);
42 }
45 }
43 }
46 }
44
47
45 export function test(name: string, cb: (t: tape.Test, trace: TraceSource) => any) {
48 type TestCallback = (ok: (msg:string) => void, fail: (msg:string) => void, trace: TraceSource) => void;
46 tape(name, async t => {
49 type AsyncTestCallback = (trace: TraceSource) => PromiseLike<void> | void;
47 const writer = new TapeWriter(t);
48
50
49 // this trace is not announced through the TraceSource global registry
51 export function test(name: string, cb: TestCallback | AsyncTestCallback) {
50 const trace = new TraceSource(name);
51 trace.level = DebugLevel;
52 writer.writeEvents(trace.events);
53
54 const h = TraceSource.on(ts => {
55 ts.level = DebugLevel;
56 writer.writeEvents(ts.events);
57 });
58
52
59 try {
53 }
60 await cb(t, trace);
61 } catch (e) {
62
54
63 // verbose error information
55 export function run() {
64 // tslint:disable-next-line
65 console.error(e);
66 t.fail(e);
67
56
68 } finally {
69 t.end();
70 destroy(writer);
71 destroy(h);
72 }
57 }
73 });
74 }
@@ -1,10 +1,16
1 import * as tape from "tape";
1 import { test } from "./TestTraits";
2 import { delay } from "@implab/core-amd/safe";
3 import { assert } from "chai";
2
4
3 tape("simple", t => {
5 test("simple", (ok, fail, log) => {
4 t.pass("sync assert");
5 setTimeout(() => {
6 setTimeout(() => {
6 t.pass("async assert");
7 // end should be called after the last assertion
7 // end should be called after the last assertion
8 t.end();
8 ok("async assert");
9 }, 100);
9 }, 100);
10 });
10 });
11
12 test("simple", async log => {
13 await delay(0);
14
15 assert.ok(true); // everything is fine
16 });
@@ -1,11 +1,12
1 {
1 {
2 "compilerOptions": {
2 "compilerOptions": {
3 "moduleResolution": "node",
3 "moduleResolution": "node",
4 "noEmitOnError": true,
4 "noEmitOnError": true,
5 "strict": true,
5 "types": [],
6 "types": [],
6 "experimentalDecorators": true,
7 "experimentalDecorators": true,
7 "jsxFactory": "createElement",
8 "jsxFactory": "createElement",
8 "jsx": "react",
9 "jsx": "react",
9 "lib": ["es5", "es2015.promise", "es2015.symbol", "es2015.iterable", "dom", "scripthost"]
10 "lib": ["es5", "es2015.promise", "es2015.symbol", "es2015.iterable", "dom", "scripthost"]
10 }
11 }
11 } No newline at end of file
12 }
General Comments 0
You need to be logged in to leave comments. Login now