@michijs/dev-server 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -1,9 +1,9 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2021-present, michijs
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021-present, michijs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
9
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,198 +1,198 @@
1
- # Michijs Dev Server
2
- Development server built on top of esbuild.
3
-
4
- ![npm][version] [![license][github-license]][github-license-url] ![npm][npm-downloads] ![npm][repo-size]
5
- [![CodeQL](https://github.com/michijs/dev-server/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/michijs/dev-server/actions/workflows/codeql-analysis.yml)
6
- [![Tests](https://github.com/michijs/dev-server/actions/workflows/tests.yml/badge.svg)](https://github.com/michijs/dev-server/actions/workflows/tests.yml)
7
-
8
- ## Main features
9
- - Configure esbuild options with Typescript
10
- - First-class PWA support
11
- - Custom environments
12
- - Packages distribution
13
-
14
- ## Getting started
15
-
16
- You can use the following [test project](https://github.com/michijs/michijs-template) or setup a project from scratch:
17
-
18
- npm install -D @michijs/dev-server
19
-
20
- ## CLI commands
21
- You have the following CLI commands:
22
- <table>
23
- <thead>
24
- <tr>
25
- <th>CLI command</th>
26
- <th>Default environment</th>
27
- <th>Description</th>
28
- </tr>
29
- </thead>
30
- <tbody>
31
- <tr>
32
- <td>start</td>
33
- <td>DEVELOPMENT</td>
34
- <td>Allows to start a dev server as a webpage.</td>
35
- </tr>
36
- <tr>
37
- <td>build</td>
38
- <td>PRODUCTION</td>
39
- <td>Allows to build the src code as a webpage.</td>
40
- </tr>
41
- <tr>
42
- <td>dist</td>
43
- <td>DISTRIBUTION</td>
44
- <td>Allows to distribute the src code as a package. At the moment ESBuild does not support .d.ts files so we still use the Typescript compiler with the tsconfig provided by esbuildOptions field.</td>
45
- </tr>
46
- <tr>
47
- <td>generate-icons</td>
48
- <td>-</td>
49
- <td>Allows to generate a full set of icons from a src icon.</td>
50
- </tr>
51
- </tbody>
52
- </table>
53
-
54
-
55
- ## Configure the server
56
- To configure the server you just need to create an optional file called michi.config.ts at the root of your project. This file would look like this:
57
-
58
- ```ts
59
- import { ServerConfig, ServerConfigFactory, DefaultEnvironment } from '@michijs/server';
60
-
61
- export const config: ServerConfigFactory = (environment) => {
62
- const defaultConfig: ServerConfig = {
63
- // Your custom configuration
64
- }
65
- return defaultConfig;
66
- };
67
-
68
- export default config;
69
- ```
70
-
71
- <table>
72
- <thead>
73
- <tr>
74
- <th colspan="3">ServerConfig</th>
75
- <th>Default value</th>
76
- </tr>
77
- </thead>
78
- <tbody>
79
- <tr>
80
- <td>env</td>
81
- <td colspan="2">Allows to add environment variables</td>
82
- <td></td>
83
- </tr>
84
- <tr>
85
- <td>esbuildOptions</td>
86
- <td colspan="2">All the options available at <a href="https://esbuild.github.io/plugins/#build-options">esbuild documentation</a></td>
87
- <td>Can be chequed <a href="#esbuild-default-options">here</a></td>
88
- </tr>
89
- <tr>
90
- <td rowspan="3">manifest</td>
91
- <td rowspan="3">Is a JSON document that contains startup parameters and application defaults for when a web application is launched.</td>
92
- <tr>
93
- <td>name</td>
94
- <td>"manifest.json"</td>
95
- </tr>
96
- <tr>
97
- <td>options</td>
98
- <td></td>
99
- </tr>
100
- </tr>
101
- <tr>
102
- <td>openBrowser</td>
103
- <td colspan="2">If the browser should open at localhost url when server starts</td>
104
- <td>"true"</td>
105
- </tr>
106
- <tr>
107
- <td>port</td>
108
- <td colspan="2">Port to run dev server on</td>
109
- <td>"3000"</td>
110
- </tr>
111
- <tr>
112
- <td rowspan="5">public</td>
113
- <td rowspan="5">Public folder - will be copied at server start</td>
114
- <tr>
115
- <td>indexName</td>
116
- <td>"index.html"</td>
117
- </tr>
118
- <tr>
119
- <td>minify</td>
120
- <td>"true" if environment is PRODUCTION</td>
121
- </tr>
122
- <tr>
123
- <td>path</td>
124
- <td>"public"</td>
125
- </tr>
126
- </tr>
127
- </tbody>
128
- </table>
129
-
130
- ## Esbuild default options
131
-
132
- <table>
133
- <thead>
134
- <tr>
135
- <th>Field</th>
136
- <th>Default value</th>
137
- </tr>
138
- </thead>
139
- <tbody>
140
- <tr>
141
- <td>bundle</td>
142
- <td>"true"</td>
143
- </tr>
144
- <tr>
145
- <td>entryPoints</td>
146
- <td>['src/index.ts']</td>
147
- </tr>
148
- <tr>
149
- <td>format</td>
150
- <td>"esm"</td>
151
- </tr>
152
- <tr>
153
- <td>keepNames</td>
154
- <td>"true" if environment is PRODUCTION</td>
155
- </tr>
156
- <tr>
157
- <td>logLevel</td>
158
- <td>"error"</td>
159
- </tr>
160
- <tr>
161
- <td>minifySyntax</td>
162
- <td>"true" if environment is PRODUCTION</td>
163
- </tr>
164
- <tr>
165
- <td>minifyWhitespace</td>
166
- <td>"true" if environment is PRODUCTION</td>
167
- </tr>
168
- <tr>
169
- <td>outdir</td>
170
- <td>"build"</td>
171
- </tr>
172
- <tr>
173
- <td>sourcemap</td>
174
- <td>"true" if environment is <b>NOT</b> PRODUCTION</td>
175
- </tr>
176
- <tr>
177
- <td>splitting</td>
178
- <td>"true"</td>
179
- </tr>
180
- <tr>
181
- <td>target</td>
182
- <td>"esnext"</td>
183
- </tr>
184
- <tr>
185
- <td>tsconfig</td>
186
- <td>"tsconfig.json"</td>
187
- </tr>
188
- </tbody>
189
- </table>
190
-
191
- ## License
192
- - [MIT](https://github.com/michijs/dev-server/blob/master/LICENSE.md)
193
-
194
- [repo-size]: https://img.shields.io/github/repo-size/michijs/dev-server
195
- [npm-downloads]: https://img.shields.io/npm/dt/@michijs/dev-server
196
- [version]: https://img.shields.io/npm/v/@michijs/dev-server
197
- [github-license]: https://img.shields.io/github/license/michijs/dev-server
198
- [github-license-url]: https://github.com/michijs/dev-server/blob/master/LICENSE.md
1
+ # Michijs Dev Server
2
+ Development server built on top of esbuild.
3
+
4
+ ![npm][version] [![license][github-license]][github-license-url] ![npm][npm-downloads] ![npm][repo-size]
5
+ [![CodeQL](https://github.com/michijs/dev-server/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/michijs/dev-server/actions/workflows/codeql-analysis.yml)
6
+ [![Tests](https://github.com/michijs/dev-server/actions/workflows/tests.yml/badge.svg)](https://github.com/michijs/dev-server/actions/workflows/tests.yml)
7
+
8
+ ## Main features
9
+ - Configure esbuild options with Typescript
10
+ - First-class PWA support
11
+ - Custom environments
12
+ - Packages distribution
13
+
14
+ ## Getting started
15
+
16
+ You can use the following [test project](https://github.com/michijs/michijs-template) or setup a project from scratch:
17
+
18
+ npm install -D @michijs/dev-server
19
+
20
+ ## CLI commands
21
+ You have the following CLI commands:
22
+ <table>
23
+ <thead>
24
+ <tr>
25
+ <th>CLI command</th>
26
+ <th>Default environment</th>
27
+ <th>Description</th>
28
+ </tr>
29
+ </thead>
30
+ <tbody>
31
+ <tr>
32
+ <td>start</td>
33
+ <td>DEVELOPMENT</td>
34
+ <td>Allows to start a dev server as a webpage.</td>
35
+ </tr>
36
+ <tr>
37
+ <td>build</td>
38
+ <td>PRODUCTION</td>
39
+ <td>Allows to build the src code as a webpage.</td>
40
+ </tr>
41
+ <tr>
42
+ <td>dist</td>
43
+ <td>DISTRIBUTION</td>
44
+ <td>Allows to distribute the src code as a package. At the moment ESBuild does not support .d.ts files so we still use the Typescript compiler with the tsconfig provided by esbuildOptions field.</td>
45
+ </tr>
46
+ <tr>
47
+ <td>generate-icons</td>
48
+ <td>-</td>
49
+ <td>Allows to generate a full set of icons from a src icon.</td>
50
+ </tr>
51
+ </tbody>
52
+ </table>
53
+
54
+
55
+ ## Configure the server
56
+ To configure the server you just need to create an optional file called michi.config.ts at the root of your project. This file would look like this:
57
+
58
+ ```ts
59
+ import { ServerConfig, ServerConfigFactory, DefaultEnvironment } from '@michijs/server';
60
+
61
+ export const config: ServerConfigFactory = (environment) => {
62
+ const defaultConfig: ServerConfig = {
63
+ // Your custom configuration
64
+ }
65
+ return defaultConfig;
66
+ };
67
+
68
+ export default config;
69
+ ```
70
+
71
+ <table>
72
+ <thead>
73
+ <tr>
74
+ <th colspan="3">ServerConfig</th>
75
+ <th>Default value</th>
76
+ </tr>
77
+ </thead>
78
+ <tbody>
79
+ <tr>
80
+ <td>env</td>
81
+ <td colspan="2">Allows to add environment variables</td>
82
+ <td></td>
83
+ </tr>
84
+ <tr>
85
+ <td>esbuildOptions</td>
86
+ <td colspan="2">All the options available at <a href="https://esbuild.github.io/plugins/#build-options">esbuild documentation</a></td>
87
+ <td>Can be chequed <a href="#esbuild-default-options">here</a></td>
88
+ </tr>
89
+ <tr>
90
+ <td rowspan="3">manifest</td>
91
+ <td rowspan="3">Is a JSON document that contains startup parameters and application defaults for when a web application is launched.</td>
92
+ <tr>
93
+ <td>name</td>
94
+ <td>"manifest.json"</td>
95
+ </tr>
96
+ <tr>
97
+ <td>options</td>
98
+ <td></td>
99
+ </tr>
100
+ </tr>
101
+ <tr>
102
+ <td>openBrowser</td>
103
+ <td colspan="2">If the browser should open at localhost url when server starts</td>
104
+ <td>"true"</td>
105
+ </tr>
106
+ <tr>
107
+ <td>port</td>
108
+ <td colspan="2">Port to run dev server on</td>
109
+ <td>"3000"</td>
110
+ </tr>
111
+ <tr>
112
+ <td rowspan="5">public</td>
113
+ <td rowspan="5">Public folder - will be copied at server start</td>
114
+ <tr>
115
+ <td>indexName</td>
116
+ <td>"index.html"</td>
117
+ </tr>
118
+ <tr>
119
+ <td>minify</td>
120
+ <td>"true" if environment is PRODUCTION</td>
121
+ </tr>
122
+ <tr>
123
+ <td>path</td>
124
+ <td>"public"</td>
125
+ </tr>
126
+ </tr>
127
+ </tbody>
128
+ </table>
129
+
130
+ ## Esbuild default options
131
+
132
+ <table>
133
+ <thead>
134
+ <tr>
135
+ <th>Field</th>
136
+ <th>Default value</th>
137
+ </tr>
138
+ </thead>
139
+ <tbody>
140
+ <tr>
141
+ <td>bundle</td>
142
+ <td>"true"</td>
143
+ </tr>
144
+ <tr>
145
+ <td>entryPoints</td>
146
+ <td>['src/index.ts']</td>
147
+ </tr>
148
+ <tr>
149
+ <td>format</td>
150
+ <td>"esm"</td>
151
+ </tr>
152
+ <tr>
153
+ <td>keepNames</td>
154
+ <td>"true" if environment is PRODUCTION</td>
155
+ </tr>
156
+ <tr>
157
+ <td>logLevel</td>
158
+ <td>"error"</td>
159
+ </tr>
160
+ <tr>
161
+ <td>minifySyntax</td>
162
+ <td>"true" if environment is PRODUCTION</td>
163
+ </tr>
164
+ <tr>
165
+ <td>minifyWhitespace</td>
166
+ <td>"true" if environment is PRODUCTION</td>
167
+ </tr>
168
+ <tr>
169
+ <td>outdir</td>
170
+ <td>"build"</td>
171
+ </tr>
172
+ <tr>
173
+ <td>sourcemap</td>
174
+ <td>"true" if environment is <b>NOT</b> PRODUCTION</td>
175
+ </tr>
176
+ <tr>
177
+ <td>splitting</td>
178
+ <td>"true"</td>
179
+ </tr>
180
+ <tr>
181
+ <td>target</td>
182
+ <td>"esnext"</td>
183
+ </tr>
184
+ <tr>
185
+ <td>tsconfig</td>
186
+ <td>"tsconfig.json"</td>
187
+ </tr>
188
+ </tbody>
189
+ </table>
190
+
191
+ ## License
192
+ - [MIT](https://github.com/michijs/dev-server/blob/master/LICENSE.md)
193
+
194
+ [repo-size]: https://img.shields.io/github/repo-size/michijs/dev-server
195
+ [npm-downloads]: https://img.shields.io/npm/dt/@michijs/dev-server
196
+ [version]: https://img.shields.io/npm/v/@michijs/dev-server
197
+ [github-license]: https://img.shields.io/github/license/michijs/dev-server
198
+ [github-license-url]: https://github.com/michijs/dev-server/blob/master/LICENSE.md
@@ -1,12 +1,21 @@
1
1
  import { getPath } from '../utils/getPath.js';
2
2
  import { config } from '../config/config.js';
3
- import { mkdirSync, existsSync } from 'fs';
3
+ import { mkdirSync, existsSync, writeFileSync } from 'fs';
4
+ import { pngToIco } from '../utils/pngToIco.js';
5
+ const generateFavicon = async (src, dest) => {
6
+ const { default: sharp } = await import('sharp');
7
+ const image = await sharp(src);
8
+ const iconSizes = [16, 24, 32, 48, 64, 128, 256];
9
+ const resizedBuffers = await Promise.all(iconSizes.map((size) => {
10
+ return image.resize(size, size).png().toBuffer();
11
+ }));
12
+ writeFileSync(dest, await pngToIco(resizedBuffers, iconSizes));
13
+ };
4
14
  export async function generateIcons(callback, src) {
5
15
  const destPath = getPath(`${config.public.path}/assets/generated`);
6
16
  if (!existsSync(destPath))
7
17
  mkdirSync(destPath, { recursive: true });
8
18
  const { default: sharp } = await import('sharp');
9
- const { sharpsToIco } = await import('sharp-ico');
10
19
  const sizes = [24, 48, 72, 96, 128, 256, 512];
11
20
  const image = sharp(src);
12
21
  await Promise.all([
@@ -16,10 +25,7 @@ export async function generateIcons(callback, src) {
16
25
  .webp()
17
26
  .toFile(getPath(`${destPath}/${src.split('/').at(-1)?.split('.')[0]}-${x}.webp`));
18
27
  }),
19
- sharpsToIco([image], getPath(`${config.public.path}/favicon.ico`), {
20
- sizes: [16],
21
- resizeOptions: { width: 16, height: 16 },
22
- }),
28
+ generateFavicon(src, getPath(`${config.public.path}/favicon.ico`)),
23
29
  ]);
24
30
  callback();
25
31
  }
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/utils/coloredstring.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../node_modules/@types/yargs/index.d.mts","../src/classes/timer.ts","../node_modules/@types/yargs/helpers.d.ts","../node_modules/@types/yargs/helpers.d.mts","../src/utils/getpath.ts","../node_modules/esbuild/lib/main.d.ts","../node_modules/@types/web-app-manifest/index.d.ts","../src/types.ts","../src/utils/minify.ts","../src/utils/getallfiles.ts","../src/utils/serviceworkertransformer.ts","../src/utils/transformers.ts","../src/utils/copy.ts","../src/config/getipaddress.ts","../src/config/userconfig.ts","../src/config/config.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/sharp/lib/index.d.ts","../node_modules/sharp-bmp/index.d.ts","../node_modules/sharp-ico/index.d.ts","../src/actions/generateicons.ts","../node_modules/open/index.d.ts","../node_modules/node-watch/lib/watch.d.ts","../src/actions/start.ts","../src/actions/build.ts","../node_modules/typescript/lib/typescript.d.ts","../src/config/tsconfig.ts","../src/actions/dist.ts","../src/cli.ts","../src/index.ts","../src/config/public/client.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"bd5c3fe61b7cad5489bc6145a67984f5bc17008380381dd6b29f29d4c4f4a8d1","signature":"5a3576ed8855e67c68886fdd82d176b7faffe1dd5b3abf4befb6123142ad2475","impliedFormat":99},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750","impliedFormat":1},{"version":"becf7333392f1f7a77aad90767eead03782f2f4402c3231e5aa5a25159361550","impliedFormat":99},{"version":"70483ef7b3dee142e66f22a70dfd9e89659fde477f74cd6c4f34df684bab9634","signature":"df43ac2a510c4a7eb3dc639ea2f6c41373fe0e689b89e80a9aae6cfddcbbe4a5","impliedFormat":99},{"version":"9cc884a6f8547dec935f930b8aad8212aaae876ebeaab5cd42d20b45251860e7","impliedFormat":1},{"version":"5f960daa4f47be359aead717dc66b71c622307cc037ce104cad7ec4743fa5a4c","impliedFormat":99},{"version":"070f9dbb25442b46c8ad99c41f0c349087995ecd56466f0245948e817fe92027","signature":"75c7dd820ff92e5e07931d7ba78bd6b2e14102552edfd1e479588448734c482d","impliedFormat":99},{"version":"99d951629f7096dcd79adbaa83a85e3be57613005533bd23029b3aba4ce9383e","impliedFormat":1},{"version":"2edf0849603b9673588489bbfd2db6b035a2ae3341484dfce5089125ac732a60","impliedFormat":1},{"version":"176de99c709c13c5d16cdb50edb404eb75f24cd4edf038be0615f92264115709","signature":"03ea2125392d8753719e6c5b10fa1bd06fc6673e6317b9bba48c257b9748fbe0","impliedFormat":99},{"version":"fad401e8de4887d99ea8fa9c3cab14f9404fad1fca32435bad15de4ff37e06c1","signature":"e35226acb4d207d378ff9506b1306145149afe1266b071d1c4daa98033c7a569","impliedFormat":99},{"version":"cc4204bfbe82f24c5080c7beed4ca0f20d50952b97221a1428c8a4817642a49e","signature":"efd0f4958c494e39e91a6291abbff412a2665e43b3138ecbf3611e85cd8a264d","impliedFormat":99},{"version":"edda2876685a1b1697dbd436ecf9f0032a3d6b4fd0ea83160d187a6d40243476","signature":"b76d5c0ce8bff4956e18a40fdf6af012fe7b28d466ec45266e788362036b6c9a","impliedFormat":99},{"version":"a25b00cc014ffa2dddbc9f23952c72d18e96351ab7d6b1b2d92bd1778039cbbf","signature":"0b6dd02e161e259c8e0e917add9a9b2d7699e7cad0060bfaceba4cd944b61488","impliedFormat":99},{"version":"895f9f02b98680a15861a408cef583b131d5194027a9c5fd117460052106af9a","signature":"29328117e05b54040699d2b667bc8b77e88782f68e2e324473a3043bb566b4cd","impliedFormat":99},{"version":"7ebb3734c49f1c98d1407bfa12f88eccfb51833c3833dcb95428873c59c1c384","signature":"7a27baf1053443cefab73b720106d1f9d730a50a37f82155d664145663040f20","impliedFormat":99},{"version":"cda6c1004e6665ac343f233c7f699a7b1601ad8162a72dc96dc6ec1c4a3e440f","signature":"b9a8cadfaa9a33ed53d959213b603946f01c35d142faa61dc3d1696655f4766f","impliedFormat":99},{"version":"d2bc6189644ab3641d51334ca743b7ef09c71701f68b5fd17fd7daf0a9557f1e","signature":"f456ef3b841c6bcd75ed4e59dfb147f38b3d5046666807341cf51679209b09e0","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"57b6cb95756d1fe3bfeb20205de27b0c5406e4a86e130c6dfa6bd92af641e09d","affectsGlobalScope":true,"impliedFormat":1},{"version":"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f","impliedFormat":1},{"version":"e193e634a99c9c1d71f1c6e4e1567a4a73584328d21ea02dd5cddbaad6693f61","affectsGlobalScope":true,"impliedFormat":1},{"version":"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"216717f17c095cde1dc19375e1ab3af0a4a485355860c077a4f9d6ea59fab5b5","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"e6c86d83bd526c8bdb5d0bf935b8e72ce983763d600743f74d812fdf4abf4df6","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"7d55d78cd47cf5280643b53434b16c2d9d11d144126932759fbdd51da525eec4","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true,"impliedFormat":1},{"version":"6de4a219df57d2b27274d59b67708f13c2cbf7ed211abe57d8f9ab8b25cde776","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8d555f3d607ecaa18d55de6995ea8f206342ecc93305919eac945c7c78c78c6","impliedFormat":1},{"version":"5acea66178e182f28958d13be6c6bf8a5ab6692f8c9acd8aecc4a630057bb019","impliedFormat":1},{"version":"3388c6652e52b154c1f16634a44d0ee93c76a6cd71332466e8b3425212db7ec6","impliedFormat":1},{"version":"5b1f6e947422533e4b8e79b22641a51fae4a9f600ae5473671b083e1fe0615d5","impliedFormat":1},{"version":"50f1edccf41fb63097aeb467875495c7c8c3fff276d31f0af2db90d8facc6dd6","signature":"9bda31b7c62cd032b5eb78c5ce41092bcd101211d9dfa77501e27379f72c9c6d","impliedFormat":99},{"version":"93a98ba747d8637f2e65250461ff910355f755caf6a29744def94b1c0636843d","impliedFormat":99},{"version":"0623f0b85a159f595d99b06e84bfad75b78c722a55dd7fee6c52952026493345","impliedFormat":1},{"version":"effa5fd9a72f7ea7fa4dbb04893ca068a0a01908f516255d13712a027487a1dc","signature":"e3a5c94a3ecbb59aeda9068f01df05a93b53cc5d2cfe63809b6ec103052c35b9","impliedFormat":99},{"version":"a81d387562a4ba8158302345ee4ccd95876216daafe780249e99e17a94357f15","signature":"c6639f380d643933407420d2fcb5f074984799a24a237bd049b9945b03659a28","impliedFormat":99},{"version":"21c0786dddf52537611499340166278507eb9784628d321c2cb6acc696cba0f6","impliedFormat":1},{"version":"ad90d9e26263340dbcfe6d174688bd9de0ec6ae6bc1919278da062ad02535003","signature":"53e18a9b1bd6a21ca1a0decbeecb6087f2d65bd5728ac6e47da0ccd3f0d92a2d","impliedFormat":99},{"version":"a8d1f7d1a48d372c93d333e6e0e65dd6ea4b66ae3cc765c8ae750680d0de465d","signature":"b9676c103abbcded39e23921ecfef7f65ad5b091ceee5e964a4921331f15a547","impliedFormat":99},{"version":"5f9edca8630c785637725890bb2c4d55392fbf4120edecfc9d3061b229423667","signature":"f1c55f9c94533ef546614eedb041912be0e86df25ff276dfbfa72a5d6d1e9ffb","impliedFormat":99},{"version":"e9ee8040100fc4112ea8b2e422d9f50d7bca1a736b9c07400754c263748c1091","signature":"cd34df45319ff6e5870e588e40f7630745df99cd7aada1755a94100d51f5e26d","impliedFormat":99},{"version":"8ea17c6e71e7f8bd756a0455fa69b9261beef45c2e0faa4c585ba28162bc748e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99}],"root":[45,49,52,[55,63],121,124,125,[127,131]],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"noErrorTruncation":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","strictBindCallApply":true,"strictFunctionTypes":true,"strictNullChecks":true,"target":99},"fileIdsList":[[64,110],[67,110],[68,73,101,110],[69,80,81,88,98,109,110],[69,70,80,88,110],[71,110],[72,73,81,89,110],[73,98,106,110],[74,76,80,88,110],[75,110],[76,77,110],[80,110],[78,80,110],[80,81,82,98,109,110],[80,81,82,95,98,101,110],[110,114],[110],[76,83,88,98,109,110],[80,81,83,84,88,98,106,109,110],[83,85,98,106,109,110],[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],[80,86,110],[87,109,110],[76,80,88,98,110],[89,110],[90,110],[67,91,110],[92,108,110,114],[93,110],[94,110],[80,95,96,110],[95,97,110,112],[68,80,98,99,100,101,110],[68,98,100,110],[98,99,110],[101,110],[102,110],[80,104,105,110],[104,105,110],[73,88,98,106,110],[107,110],[88,108,110],[68,83,94,109,110],[73,110],[98,110,111],[110,112],[110,113],[68,73,80,82,91,98,109,110,112,114],[98,110,115],[50,110],[46,110],[47,110],[81,110],[69,110],[110,118],[110,118,119],[98,110,117],[53,63,110],[63,69,81,110,127],[52,63,81,110,118,120],[45,52,53,59,60,63,81,83,90,110,122,123],[45,48,49,51,110,121,124,125,128],[45,49,52,55,59,60,61,62,81,83,90,109,110],[63,81,110,126],[53,55,81,90,109,110],[55,110,129],[53,54,110],[52,59,81,110],[52,81,110],[53,57,63,110],[56,58,60,63,110],[55,83],[126],[55],[53,54],[53],[60]],"referencedMap":[[64,1],[65,1],[67,2],[68,3],[69,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,11],[79,12],[78,13],[80,12],[81,14],[82,15],[66,16],[116,17],[83,18],[84,19],[85,20],[117,21],[86,22],[87,23],[88,24],[89,25],[90,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,31],[97,32],[98,33],[100,34],[99,35],[101,36],[102,37],[103,17],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[54,17],[46,17],[51,50],[50,51],[48,52],[47,51],[53,17],[123,53],[122,54],[119,55],[120,56],[118,57],[43,17],[44,17],[8,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[22,17],[19,17],[20,17],[21,17],[23,17],[24,17],[25,17],[5,17],[26,17],[27,17],[28,17],[29,17],[6,17],[33,17],[30,17],[31,17],[32,17],[34,17],[7,17],[35,17],[40,17],[41,17],[36,17],[37,17],[38,17],[39,17],[1,17],[42,17],[126,17],[125,58],[128,59],[121,60],[124,61],[49,17],[129,62],[63,63],[61,25],[131,17],[127,64],[62,65],[130,66],[55,67],[45,17],[60,68],[57,69],[52,26],[56,17],[58,70],[59,71]],"exportedModulesMap":[[64,1],[65,1],[67,2],[68,3],[69,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,11],[79,12],[78,13],[80,12],[81,14],[82,15],[66,16],[116,17],[83,18],[84,19],[85,20],[117,21],[86,22],[87,23],[88,24],[89,25],[90,26],[91,27],[92,28],[93,29],[94,30],[95,31],[96,31],[97,32],[98,33],[100,34],[99,35],[101,36],[102,37],[103,17],[104,38],[105,39],[106,40],[107,41],[108,42],[109,43],[110,44],[111,45],[112,46],[113,47],[114,48],[115,49],[54,17],[46,17],[51,50],[50,51],[48,52],[47,51],[53,17],[123,53],[122,54],[119,55],[120,56],[118,57],[43,17],[44,17],[8,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[22,17],[19,17],[20,17],[21,17],[23,17],[24,17],[25,17],[5,17],[26,17],[27,17],[28,17],[29,17],[6,17],[33,17],[30,17],[31,17],[32,17],[34,17],[7,17],[35,17],[40,17],[41,17],[36,17],[37,17],[38,17],[39,17],[1,17],[42,17],[126,17],[63,72],[127,73],[62,74],[130,74],[55,75],[58,76],[59,77]],"semanticDiagnosticsPerFile":[64,65,67,68,69,70,71,72,73,74,75,76,77,79,78,80,81,82,66,116,83,84,85,117,86,87,88,89,90,91,92,93,94,95,96,97,98,100,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,54,46,51,50,48,47,53,123,122,119,120,118,43,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,126,125,128,121,124,49,129,63,61,131,127,62,130,55,45,60,57,52,56,58,59]},"version":"5.0.3"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/utils/coloredString.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts","../node_modules/@types/yargs/index.d.mts","../src/classes/Timer.ts","../node_modules/@types/yargs/helpers.d.ts","../node_modules/@types/yargs/helpers.d.mts","../src/utils/getPath.ts","../node_modules/esbuild/lib/main.d.ts","../node_modules/@types/web-app-manifest/index.d.ts","../src/types.ts","../src/utils/minify.ts","../src/utils/getAllFiles.ts","../src/utils/serviceWorkerTransformer.ts","../src/utils/transformers.ts","../src/utils/copy.ts","../src/config/getIPAddress.ts","../src/config/userConfig.ts","../src/config/config.ts","../src/utils/pngToIco.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/sharp/lib/index.d.ts","../src/actions/generateIcons.ts","../node_modules/open/index.d.ts","../node_modules/node-watch/lib/watch.d.ts","../src/actions/start.ts","../src/actions/build.ts","../node_modules/typescript/lib/typescript.d.ts","../src/config/tsconfig.ts","../src/actions/dist.ts","../src/cli.ts","../src/index.ts","../src/config/public/client.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","impliedFormat":1},{"version":"27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true,"impliedFormat":1},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true,"impliedFormat":1},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true,"impliedFormat":1},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true,"impliedFormat":1},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true,"impliedFormat":1},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true,"impliedFormat":1},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true,"impliedFormat":1},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true,"impliedFormat":1},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"bd5c3fe61b7cad5489bc6145a67984f5bc17008380381dd6b29f29d4c4f4a8d1","signature":"5a3576ed8855e67c68886fdd82d176b7faffe1dd5b3abf4befb6123142ad2475","impliedFormat":99},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"e9eb1b173aa166892f3eddab182e49cfe59aa2e14d33aedb6b49d175ed6a3750","impliedFormat":1},{"version":"becf7333392f1f7a77aad90767eead03782f2f4402c3231e5aa5a25159361550","impliedFormat":99},{"version":"a3111cf4fd2760e8755267f15b4ebb2f2269b68eca185abbaf336758d54a3b8c","signature":"df43ac2a510c4a7eb3dc639ea2f6c41373fe0e689b89e80a9aae6cfddcbbe4a5","impliedFormat":99},{"version":"9cc884a6f8547dec935f930b8aad8212aaae876ebeaab5cd42d20b45251860e7","impliedFormat":1},{"version":"5f960daa4f47be359aead717dc66b71c622307cc037ce104cad7ec4743fa5a4c","impliedFormat":99},{"version":"79ad00c1e018e22201329abe0810c011b185f77e09e3ecb5d9b5a58defe3c8ed","signature":"75c7dd820ff92e5e07931d7ba78bd6b2e14102552edfd1e479588448734c482d","impliedFormat":99},{"version":"99d951629f7096dcd79adbaa83a85e3be57613005533bd23029b3aba4ce9383e","impliedFormat":1},{"version":"2edf0849603b9673588489bbfd2db6b035a2ae3341484dfce5089125ac732a60","impliedFormat":1},{"version":"176de99c709c13c5d16cdb50edb404eb75f24cd4edf038be0615f92264115709","signature":"03ea2125392d8753719e6c5b10fa1bd06fc6673e6317b9bba48c257b9748fbe0","impliedFormat":99},{"version":"196ed037f1dbca35746e81a2617eed0b6bb19c5905eaf38a666802583e309f7e","signature":"e35226acb4d207d378ff9506b1306145149afe1266b071d1c4daa98033c7a569","impliedFormat":99},{"version":"cc4204bfbe82f24c5080c7beed4ca0f20d50952b97221a1428c8a4817642a49e","signature":"efd0f4958c494e39e91a6291abbff412a2665e43b3138ecbf3611e85cd8a264d","impliedFormat":99},{"version":"edda2876685a1b1697dbd436ecf9f0032a3d6b4fd0ea83160d187a6d40243476","signature":"b76d5c0ce8bff4956e18a40fdf6af012fe7b28d466ec45266e788362036b6c9a","impliedFormat":99},{"version":"a25b00cc014ffa2dddbc9f23952c72d18e96351ab7d6b1b2d92bd1778039cbbf","signature":"0b6dd02e161e259c8e0e917add9a9b2d7699e7cad0060bfaceba4cd944b61488","impliedFormat":99},{"version":"895f9f02b98680a15861a408cef583b131d5194027a9c5fd117460052106af9a","signature":"29328117e05b54040699d2b667bc8b77e88782f68e2e324473a3043bb566b4cd","impliedFormat":99},{"version":"cab872ef7156f5d032caf8f6547c5400e8493a7746053728831a5bb7977b77cf","signature":"7a27baf1053443cefab73b720106d1f9d730a50a37f82155d664145663040f20","impliedFormat":99},{"version":"cda6c1004e6665ac343f233c7f699a7b1601ad8162a72dc96dc6ec1c4a3e440f","signature":"b9a8cadfaa9a33ed53d959213b603946f01c35d142faa61dc3d1696655f4766f","impliedFormat":99},{"version":"d2bc6189644ab3641d51334ca743b7ef09c71701f68b5fd17fd7daf0a9557f1e","signature":"f456ef3b841c6bcd75ed4e59dfb147f38b3d5046666807341cf51679209b09e0","impliedFormat":99},{"version":"5409de0378cba8c9199d4604a45c85275a4e7bb4dc15542d6cf9b11cdbe2874c","signature":"52d5ce71c449f1bbcbe7610e66c0fdf7282ca6e5c37d35562d2a93e75cb4bcc1","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"57b6cb95756d1fe3bfeb20205de27b0c5406e4a86e130c6dfa6bd92af641e09d","affectsGlobalScope":true,"impliedFormat":1},{"version":"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f","impliedFormat":1},{"version":"e193e634a99c9c1d71f1c6e4e1567a4a73584328d21ea02dd5cddbaad6693f61","affectsGlobalScope":true,"impliedFormat":1},{"version":"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"216717f17c095cde1dc19375e1ab3af0a4a485355860c077a4f9d6ea59fab5b5","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true,"impliedFormat":1},{"version":"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"e6c86d83bd526c8bdb5d0bf935b8e72ce983763d600743f74d812fdf4abf4df6","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"7d55d78cd47cf5280643b53434b16c2d9d11d144126932759fbdd51da525eec4","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true,"impliedFormat":1},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true,"impliedFormat":1},{"version":"6de4a219df57d2b27274d59b67708f13c2cbf7ed211abe57d8f9ab8b25cde776","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8d555f3d607ecaa18d55de6995ea8f206342ecc93305919eac945c7c78c78c6","impliedFormat":1},{"version":"5acea66178e182f28958d13be6c6bf8a5ab6692f8c9acd8aecc4a630057bb019","impliedFormat":1},{"version":"0cc05cdfe981b056623719642ce73a31aa752a99559c3ad9ee655337136eabe0","signature":"9bda31b7c62cd032b5eb78c5ce41092bcd101211d9dfa77501e27379f72c9c6d","impliedFormat":99},{"version":"93a98ba747d8637f2e65250461ff910355f755caf6a29744def94b1c0636843d","impliedFormat":99},{"version":"0623f0b85a159f595d99b06e84bfad75b78c722a55dd7fee6c52952026493345","impliedFormat":1},{"version":"effa5fd9a72f7ea7fa4dbb04893ca068a0a01908f516255d13712a027487a1dc","signature":"e3a5c94a3ecbb59aeda9068f01df05a93b53cc5d2cfe63809b6ec103052c35b9","impliedFormat":99},{"version":"a81d387562a4ba8158302345ee4ccd95876216daafe780249e99e17a94357f15","signature":"c6639f380d643933407420d2fcb5f074984799a24a237bd049b9945b03659a28","impliedFormat":99},{"version":"21c0786dddf52537611499340166278507eb9784628d321c2cb6acc696cba0f6","impliedFormat":1},{"version":"ad90d9e26263340dbcfe6d174688bd9de0ec6ae6bc1919278da062ad02535003","signature":"53e18a9b1bd6a21ca1a0decbeecb6087f2d65bd5728ac6e47da0ccd3f0d92a2d","impliedFormat":99},{"version":"a8d1f7d1a48d372c93d333e6e0e65dd6ea4b66ae3cc765c8ae750680d0de465d","signature":"b9676c103abbcded39e23921ecfef7f65ad5b091ceee5e964a4921331f15a547","impliedFormat":99},{"version":"5f9edca8630c785637725890bb2c4d55392fbf4120edecfc9d3061b229423667","signature":"f1c55f9c94533ef546614eedb041912be0e86df25ff276dfbfa72a5d6d1e9ffb","impliedFormat":99},{"version":"e9ee8040100fc4112ea8b2e422d9f50d7bca1a736b9c07400754c263748c1091","signature":"cd34df45319ff6e5870e588e40f7630745df99cd7aada1755a94100d51f5e26d","impliedFormat":99},{"version":"8ea17c6e71e7f8bd756a0455fa69b9261beef45c2e0faa4c585ba28162bc748e","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99}],"root":[45,49,52,[55,64],120,123,124,[126,130]],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"declaration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"noErrorTruncation":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","strictBindCallApply":true,"strictFunctionTypes":true,"strictNullChecks":true,"target":99},"fileIdsList":[[65,111],[68,111],[69,74,102,111],[70,81,82,89,99,110,111],[70,71,81,89,111],[72,111],[73,74,82,90,111],[74,99,107,111],[75,77,81,89,111],[76,111],[77,78,111],[81,111],[79,81,111],[81,82,83,99,110,111],[81,82,83,96,99,102,111],[111,115],[111],[77,84,89,99,110,111],[81,82,84,85,89,99,107,110,111],[84,86,99,107,110,111],[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117],[81,87,111],[88,110,111],[77,81,89,99,111],[90,111],[91,111],[68,92,111],[93,109,111,115],[94,111],[95,111],[81,96,97,111],[96,98,111,113],[69,81,99,100,101,102,111],[69,99,101,111],[99,100,111],[102,111],[103,111],[81,105,106,111],[105,106,111],[74,89,99,107,111],[108,111],[89,109,111],[69,84,95,110,111],[74,111],[99,111,112],[111,113],[111,114],[69,74,81,83,92,99,110,111,113,115],[99,111,116],[50,111],[46,111],[47,111],[82,111],[70,111],[99,111,118],[53,63,111],[63,70,82,111,126],[52,63,64,82,111,119],[45,52,53,59,60,63,82,84,91,111,121,122],[45,48,49,51,111,120,123,124,127],[45,49,52,55,59,60,61,62,82,84,91,110,111],[63,82,111,125],[53,55,82,91,110,111],[55,111,128],[53,54,111],[52,59,82,111],[52,82,111],[53,57,63,111],[56,58,60,63,111],[55,84],[125],[55],[53,54],[53],[60]],"referencedMap":[[65,1],[66,1],[68,2],[69,3],[70,4],[71,5],[72,6],[73,7],[74,8],[75,9],[76,10],[77,11],[78,11],[80,12],[79,13],[81,12],[82,14],[83,15],[67,16],[117,17],[84,18],[85,19],[86,20],[118,21],[87,22],[88,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,31],[98,32],[99,33],[101,34],[100,35],[102,36],[103,37],[104,17],[105,38],[106,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[54,17],[46,17],[51,50],[50,51],[48,52],[47,51],[53,17],[122,53],[121,54],[119,55],[43,17],[44,17],[8,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[22,17],[19,17],[20,17],[21,17],[23,17],[24,17],[25,17],[5,17],[26,17],[27,17],[28,17],[29,17],[6,17],[33,17],[30,17],[31,17],[32,17],[34,17],[7,17],[35,17],[40,17],[41,17],[36,17],[37,17],[38,17],[39,17],[1,17],[42,17],[125,17],[124,56],[127,57],[120,58],[123,59],[49,17],[128,60],[63,61],[61,25],[130,17],[126,62],[62,63],[129,64],[55,65],[45,17],[60,66],[57,67],[52,26],[56,17],[64,17],[58,68],[59,69]],"exportedModulesMap":[[65,1],[66,1],[68,2],[69,3],[70,4],[71,5],[72,6],[73,7],[74,8],[75,9],[76,10],[77,11],[78,11],[80,12],[79,13],[81,12],[82,14],[83,15],[67,16],[117,17],[84,18],[85,19],[86,20],[118,21],[87,22],[88,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,31],[98,32],[99,33],[101,34],[100,35],[102,36],[103,37],[104,17],[105,38],[106,39],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[54,17],[46,17],[51,50],[50,51],[48,52],[47,51],[53,17],[122,53],[121,54],[119,55],[43,17],[44,17],[8,17],[10,17],[9,17],[2,17],[11,17],[12,17],[13,17],[14,17],[15,17],[16,17],[17,17],[18,17],[3,17],[4,17],[22,17],[19,17],[20,17],[21,17],[23,17],[24,17],[25,17],[5,17],[26,17],[27,17],[28,17],[29,17],[6,17],[33,17],[30,17],[31,17],[32,17],[34,17],[7,17],[35,17],[40,17],[41,17],[36,17],[37,17],[38,17],[39,17],[1,17],[42,17],[125,17],[63,70],[126,71],[62,72],[129,72],[55,73],[58,74],[59,75]],"semanticDiagnosticsPerFile":[65,66,68,69,70,71,72,73,74,75,76,77,78,80,79,81,82,83,67,117,84,85,86,118,87,88,89,90,91,92,93,94,95,96,97,98,99,101,100,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,54,46,51,50,48,47,53,122,121,119,43,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,125,124,127,120,123,49,128,63,61,130,126,62,129,55,45,60,57,52,56,64,58,59]},"version":"5.0.4"}
@@ -0,0 +1,2 @@
1
+ /// <reference types="node" resolution-mode="require"/>
2
+ export declare function pngToIco(files: Buffer[], iconSizes: number[]): Promise<Buffer>;
@@ -0,0 +1,39 @@
1
+ const MaxSize = 256; // 1 << 8
2
+ const MaxFiles = 65536; // 1 << 16
3
+ export async function pngToIco(files, iconSizes) {
4
+ if (files.length > MaxFiles)
5
+ throw new Error(`It exceeds the maximum amount of files of ${MaxFiles}`);
6
+ if (iconSizes.some((x) => x > MaxSize))
7
+ throw new Error(`It exceeds the maximum icon size of ${MaxSize}`);
8
+ const fileHeader = Buffer.from([0, 0, 1, 0, ...to2Bytes(files.length)]);
9
+ let pngHeaderPos = fileHeader.byteLength + 16 * files.length;
10
+ const icoBuffer = Buffer.concat([
11
+ fileHeader,
12
+ // Every png header
13
+ ...files.map((x, i) => {
14
+ const buffer = Buffer.from([
15
+ iconSizes[i],
16
+ iconSizes[i],
17
+ 0,
18
+ 0,
19
+ 0,
20
+ 0,
21
+ 0,
22
+ 0,
23
+ ...to4Bytes(x.byteLength),
24
+ ...to4Bytes(pngHeaderPos),
25
+ ]);
26
+ pngHeaderPos += x.byteLength;
27
+ return buffer;
28
+ }),
29
+ // Every png file
30
+ ...files,
31
+ ]);
32
+ return icoBuffer;
33
+ }
34
+ function to2Bytes(n) {
35
+ return [n & 255, (n >> 8) & 255];
36
+ }
37
+ function to4Bytes(n) {
38
+ return [...to2Bytes(n), (n >> 16) & 255, (n >> 24) & 255];
39
+ }
@@ -1,2 +1,3 @@
1
+ /// <reference types="node" resolution-mode="require"/>
1
2
  import { Loader } from 'esbuild';
2
3
  export declare const serviceWorkerTransformer: (serviceWorkerCode: string, loader?: Loader) => string | Buffer;
package/package.json CHANGED
@@ -1,76 +1,74 @@
1
- {
2
- "name": "@michijs/dev-server",
3
- "license": "MIT",
4
- "version": "0.3.1",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/michijs/dev-server.git"
8
- },
9
- "main": "bin/index",
10
- "exports": {
11
- "types": "./bin/index.d.ts",
12
- "default": "./bin/index.js"
13
- },
14
- "bin": {
15
- "michi-server": "bin/index.js"
16
- },
17
- "description": "Development server based on esbuild",
18
- "files": [
19
- "bin/"
20
- ],
21
- "type": "module",
22
- "baseUrl": "./src",
23
- "scripts": {
24
- "dist": "tsc",
25
- "link": "npm run dist && npm link --force && tsc -w",
26
- "publish-patch-version": "npm version patch && npm run publish-npm",
27
- "publish-npm": "npm run dist && npm publish --access public"
28
- },
29
- "devDependencies": {
30
- "@types/node": "18.15.11",
31
- "@types/yargs": "17.0.24",
32
- "lint-staged": "13.2.1",
33
- "rome": "12.0.0",
34
- "sharp": "0.32.0",
35
- "simple-git-hooks": "2.8.1"
36
- },
37
- "keywords": [
38
- "react",
39
- "javascript",
40
- "css",
41
- "bundler",
42
- "typescript",
43
- "compiler",
44
- "jsx",
45
- "commonjs",
46
- "minifier",
47
- "tsx",
48
- "esm",
49
- "server",
50
- "development"
51
- ],
52
- "engines": {
53
- "node": ">=14.16"
54
- },
55
- "dependencies": {
56
- "@types/web-app-manifest": "1.0.2",
57
- "esbuild": "0.17.16",
58
- "node-watch": "0.7.3",
59
- "open": "9.1.0",
60
- "sharp-bmp": "0.1.5",
61
- "sharp-ico": "0.1.5",
62
- "yargs": "17.7.1"
63
- },
64
- "peerDependencies": {
65
- "typescript": "5.0.4"
66
- },
67
- "simple-git-hooks": {
68
- "pre-commit": "npx lint-staged"
69
- },
70
- "lint-staged": {
71
- "*.{js,jsx,ts,tsx}": [
72
- "rome check --apply",
73
- "rome format --write"
74
- ]
75
- }
76
- }
1
+ {
2
+ "name": "@michijs/dev-server",
3
+ "license": "MIT",
4
+ "version": "0.3.2",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/michijs/dev-server.git"
8
+ },
9
+ "main": "bin/index",
10
+ "exports": {
11
+ "types": "./bin/index.d.ts",
12
+ "default": "./bin/index.js"
13
+ },
14
+ "bin": {
15
+ "michi-server": "bin/index.js"
16
+ },
17
+ "description": "Development server based on esbuild",
18
+ "files": [
19
+ "bin/"
20
+ ],
21
+ "type": "module",
22
+ "baseUrl": "./src",
23
+ "scripts": {
24
+ "dist": "tsc",
25
+ "link": "npm run dist && npm link --force && tsc -w",
26
+ "publish-patch-version": "npm version patch && npm run publish-npm",
27
+ "publish-npm": "npm run dist && npm publish --access public"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "18.15.11",
31
+ "@types/yargs": "17.0.24",
32
+ "lint-staged": "13.2.1",
33
+ "rome": "12.0.0",
34
+ "simple-git-hooks": "2.8.1"
35
+ },
36
+ "keywords": [
37
+ "react",
38
+ "javascript",
39
+ "css",
40
+ "bundler",
41
+ "typescript",
42
+ "compiler",
43
+ "jsx",
44
+ "commonjs",
45
+ "minifier",
46
+ "tsx",
47
+ "esm",
48
+ "server",
49
+ "development"
50
+ ],
51
+ "engines": {
52
+ "node": ">=14.16"
53
+ },
54
+ "dependencies": {
55
+ "@types/web-app-manifest": "1.0.2",
56
+ "esbuild": "0.17.16",
57
+ "node-watch": "0.7.3",
58
+ "open": "9.1.0",
59
+ "sharp": "0.32.0",
60
+ "yargs": "17.7.1"
61
+ },
62
+ "peerDependencies": {
63
+ "typescript": "5.0.4"
64
+ },
65
+ "simple-git-hooks": {
66
+ "pre-commit": "npx lint-staged"
67
+ },
68
+ "lint-staged": {
69
+ "*.{js,jsx,ts,tsx}": [
70
+ "rome check --apply",
71
+ "rome format --write"
72
+ ]
73
+ }
74
+ }