Pārlūkot izejas kodu

ignore node_modules

master
Daniel Hübleitner 5 gadus atpakaļ
vecāks
revīzija
9086f34f03
100 mainītis faili ar 0 papildinājumiem un 16347 dzēšanām
  1. 0
    1
      node_modules/.bin/acorn
  2. 0
    1
      node_modules/.bin/atob
  3. 0
    1
      node_modules/.bin/errno
  4. 0
    1
      node_modules/.bin/import-local-fixture
  5. 0
    1
      node_modules/.bin/json5
  6. 0
    1
      node_modules/.bin/miller-rabin
  7. 0
    1
      node_modules/.bin/mkdirp
  8. 0
    1
      node_modules/.bin/rimraf
  9. 0
    1
      node_modules/.bin/semver
  10. 0
    1
      node_modules/.bin/sha.js
  11. 0
    1
      node_modules/.bin/terser
  12. 0
    1
      node_modules/.bin/tsc
  13. 0
    1
      node_modules/.bin/tsserver
  14. 0
    1
      node_modules/.bin/uuid
  15. 0
    1
      node_modules/.bin/webpack
  16. 0
    1
      node_modules/.bin/webpack-cli
  17. 0
    1
      node_modules/.bin/which
  18. 0
    21
      node_modules/@types/body-parser/LICENSE
  19. 0
    16
      node_modules/@types/body-parser/README.md
  20. 0
    53
      node_modules/@types/body-parser/index.d.ts
  21. 0
    76
      node_modules/@types/body-parser/package.json
  22. 0
    21
      node_modules/@types/connect/LICENSE
  23. 0
    16
      node_modules/@types/connect/README.md
  24. 0
    94
      node_modules/@types/connect/index.d.ts
  25. 0
    57
      node_modules/@types/connect/package.json
  26. 0
    21
      node_modules/@types/express-serve-static-core/LICENSE
  27. 0
    16
      node_modules/@types/express-serve-static-core/README.md
  28. 0
    1075
      node_modules/@types/express-serve-static-core/index.d.ts
  29. 0
    77
      node_modules/@types/express-serve-static-core/package.json
  30. 0
    21
      node_modules/@types/express/LICENSE
  31. 0
    16
      node_modules/@types/express/README.md
  32. 0
    106
      node_modules/@types/express/index.d.ts
  33. 0
    57
      node_modules/@types/express/package.json
  34. 0
    21
      node_modules/@types/mime/LICENSE
  35. 0
    9
      node_modules/@types/mime/Mime.d.ts
  36. 0
    16
      node_modules/@types/mime/README.md
  37. 0
    15
      node_modules/@types/mime/index.d.ts
  38. 0
    56
      node_modules/@types/mime/package.json
  39. 0
    21
      node_modules/@types/node/LICENSE
  40. 0
    16
      node_modules/@types/node/README.md
  41. 0
    52
      node_modules/@types/node/assert.d.ts
  42. 0
    144
      node_modules/@types/node/async_hooks.d.ts
  43. 0
    41
      node_modules/@types/node/base.d.ts
  44. 0
    16
      node_modules/@types/node/buffer.d.ts
  45. 0
    366
      node_modules/@types/node/child_process.d.ts
  46. 0
    260
      node_modules/@types/node/cluster.d.ts
  47. 0
    3
      node_modules/@types/node/console.d.ts
  48. 0
    279
      node_modules/@types/node/constants.d.ts
  49. 0
    568
      node_modules/@types/node/crypto.d.ts
  50. 0
    102
      node_modules/@types/node/dgram.d.ts
  51. 0
    366
      node_modules/@types/node/dns.d.ts
  52. 0
    16
      node_modules/@types/node/domain.d.ts
  53. 0
    30
      node_modules/@types/node/events.d.ts
  54. 0
    2297
      node_modules/@types/node/fs.d.ts
  55. 0
    1126
      node_modules/@types/node/globals.d.ts
  56. 0
    279
      node_modules/@types/node/http.d.ts
  57. 0
    959
      node_modules/@types/node/http2.d.ts
  58. 0
    53
      node_modules/@types/node/https.d.ts
  59. 0
    100
      node_modules/@types/node/index.d.ts
  60. 0
    3257
      node_modules/@types/node/inspector.d.ts
  61. 0
    3
      node_modules/@types/node/module.d.ts
  62. 0
    249
      node_modules/@types/node/net.d.ts
  63. 0
    201
      node_modules/@types/node/os.d.ts
  64. 0
    211
      node_modules/@types/node/package.json
  65. 0
    159
      node_modules/@types/node/path.d.ts
  66. 0
    304
      node_modules/@types/node/perf_hooks.d.ts
  67. 0
    3
      node_modules/@types/node/process.d.ts
  68. 0
    12
      node_modules/@types/node/punycode.d.ts
  69. 0
    32
      node_modules/@types/node/querystring.d.ts
  70. 0
    136
      node_modules/@types/node/readline.d.ts
  71. 0
    382
      node_modules/@types/node/repl.d.ts
  72. 0
    300
      node_modules/@types/node/stream.d.ts
  73. 0
    9
      node_modules/@types/node/string_decoder.d.ts
  74. 0
    16
      node_modules/@types/node/timers.d.ts
  75. 0
    397
      node_modules/@types/node/tls.d.ts
  76. 0
    61
      node_modules/@types/node/trace_events.d.ts
  77. 0
    8
      node_modules/@types/node/ts3.2/globals.d.ts
  78. 0
    20
      node_modules/@types/node/ts3.2/index.d.ts
  79. 0
    15
      node_modules/@types/node/ts3.2/util.d.ts
  80. 0
    52
      node_modules/@types/node/tty.d.ts
  81. 0
    104
      node_modules/@types/node/url.d.ts
  82. 0
    173
      node_modules/@types/node/util.d.ts
  83. 0
    50
      node_modules/@types/node/v8.d.ts
  84. 0
    64
      node_modules/@types/node/vm.d.ts
  85. 0
    141
      node_modules/@types/node/worker_threads.d.ts
  86. 0
    352
      node_modules/@types/node/zlib.d.ts
  87. 0
    21
      node_modules/@types/range-parser/LICENSE
  88. 0
    16
      node_modules/@types/range-parser/README.md
  89. 0
    35
      node_modules/@types/range-parser/index.d.ts
  90. 0
    52
      node_modules/@types/range-parser/package.json
  91. 0
    21
      node_modules/@types/semver/LICENSE
  92. 0
    16
      node_modules/@types/semver/README.md
  93. 0
    217
      node_modules/@types/semver/index.d.ts
  94. 0
    65
      node_modules/@types/semver/package.json
  95. 0
    21
      node_modules/@types/serve-static/LICENSE
  96. 0
    16
      node_modules/@types/serve-static/README.md
  97. 0
    104
      node_modules/@types/serve-static/index.d.ts
  98. 0
    60
      node_modules/@types/serve-static/package.json
  99. 0
    21
      node_modules/@webassemblyjs/ast/LICENSE
  100. 0
    0
      node_modules/@webassemblyjs/ast/README.md

+ 0
- 1
node_modules/.bin/acorn Parādīt failu

@@ -1 +0,0 @@
1
-../acorn/bin/acorn

+ 0
- 1
node_modules/.bin/atob Parādīt failu

@@ -1 +0,0 @@
1
-../atob/bin/atob.js

+ 0
- 1
node_modules/.bin/errno Parādīt failu

@@ -1 +0,0 @@
1
-../errno/cli.js

+ 0
- 1
node_modules/.bin/import-local-fixture Parādīt failu

@@ -1 +0,0 @@
1
-../import-local/fixtures/cli.js

+ 0
- 1
node_modules/.bin/json5 Parādīt failu

@@ -1 +0,0 @@
1
-../json5/lib/cli.js

+ 0
- 1
node_modules/.bin/miller-rabin Parādīt failu

@@ -1 +0,0 @@
1
-../miller-rabin/bin/miller-rabin

+ 0
- 1
node_modules/.bin/mkdirp Parādīt failu

@@ -1 +0,0 @@
1
-../mkdirp/bin/cmd.js

+ 0
- 1
node_modules/.bin/rimraf Parādīt failu

@@ -1 +0,0 @@
1
-../rimraf/bin.js

+ 0
- 1
node_modules/.bin/semver Parādīt failu

@@ -1 +0,0 @@
1
-../semver/bin/semver

+ 0
- 1
node_modules/.bin/sha.js Parādīt failu

@@ -1 +0,0 @@
1
-../sha.js/bin.js

+ 0
- 1
node_modules/.bin/terser Parādīt failu

@@ -1 +0,0 @@
1
-../terser/bin/terser

+ 0
- 1
node_modules/.bin/tsc Parādīt failu

@@ -1 +0,0 @@
1
-../typescript/bin/tsc

+ 0
- 1
node_modules/.bin/tsserver Parādīt failu

@@ -1 +0,0 @@
1
-../typescript/bin/tsserver

+ 0
- 1
node_modules/.bin/uuid Parādīt failu

@@ -1 +0,0 @@
1
-../uuid/bin/uuid

+ 0
- 1
node_modules/.bin/webpack Parādīt failu

@@ -1 +0,0 @@
1
-../webpack/bin/webpack.js

+ 0
- 1
node_modules/.bin/webpack-cli Parādīt failu

@@ -1 +0,0 @@
1
-../webpack-cli/bin/cli.js

+ 0
- 1
node_modules/.bin/which Parādīt failu

@@ -1 +0,0 @@
1
-../which/bin/which

+ 0
- 21
node_modules/@types/body-parser/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/body-parser/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/body-parser`
3
-
4
-# Summary
5
-This package contains type definitions for body-parser (https://github.com/expressjs/body-parser).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/body-parser
9
-
10
-Additional Details
11
- * Last updated: Mon, 19 Aug 2019 00:51:08 GMT
12
- * Dependencies: @types/connect, @types/node
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Santi Albo <https://github.com/santialbo>, Vilic Vane <https://github.com/vilic>, Jonathan Häberle <https://github.com/dreampulse>, Gevik Babakhani <https://github.com/blendsdk>, Tomasz Łaziuk <https://github.com/tlaziuk>, and Jason Walton <https://github.com/jwalton>.

+ 0
- 53
node_modules/@types/body-parser/index.d.ts Parādīt failu

@@ -1,53 +0,0 @@
1
-// Type definitions for body-parser 1.17
2
-// Project: https://github.com/expressjs/body-parser
3
-// Definitions by: Santi Albo <https://github.com/santialbo>
4
-//                 Vilic Vane <https://github.com/vilic>
5
-//                 Jonathan Häberle <https://github.com/dreampulse>
6
-//                 Gevik Babakhani <https://github.com/blendsdk>
7
-//                 Tomasz Łaziuk <https://github.com/tlaziuk>
8
-//                 Jason Walton <https://github.com/jwalton>
9
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
10
-// TypeScript Version: 2.3
11
-
12
-/// <reference types="node" />
13
-
14
-import { NextHandleFunction } from 'connect';
15
-import * as http from 'http';
16
-
17
-// for docs go to https://github.com/expressjs/body-parser/tree/1.16.0#body-parser
18
-
19
-// @deprecated
20
-declare function bodyParser(options?: bodyParser.OptionsJson & bodyParser.OptionsText & bodyParser.OptionsUrlencoded): NextHandleFunction;
21
-
22
-declare namespace bodyParser {
23
-    interface Options {
24
-        inflate?: boolean;
25
-        limit?: number | string;
26
-        type?: string | string[] | ((req: http.IncomingMessage) => any);
27
-        verify?(req: http.IncomingMessage, res: http.ServerResponse, buf: Buffer, encoding: string): void;
28
-    }
29
-
30
-    interface OptionsJson extends Options {
31
-        reviver?(key: string, value: any): any;
32
-        strict?: boolean;
33
-    }
34
-
35
-    interface OptionsText extends Options {
36
-        defaultCharset?: string;
37
-    }
38
-
39
-    interface OptionsUrlencoded extends Options {
40
-        extended?: boolean;
41
-        parameterLimit?: number;
42
-    }
43
-
44
-    function json(options?: OptionsJson): NextHandleFunction;
45
-
46
-    function raw(options?: Options): NextHandleFunction;
47
-
48
-    function text(options?: OptionsText): NextHandleFunction;
49
-
50
-    function urlencoded(options?: OptionsUrlencoded): NextHandleFunction;
51
-}
52
-
53
-export = bodyParser;

+ 0
- 76
node_modules/@types/body-parser/package.json Parādīt failu

@@ -1,76 +0,0 @@
1
-{
2
-  "_from": "@types/body-parser@*",
3
-  "_id": "@types/body-parser@1.17.1",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-RoX2EZjMiFMjZh9lmYrwgoP9RTpAjSHiJxdp4oidAQVO02T7HER3xj9UKue5534ULWeqVEkujhWcyvUce+d68w==",
6
-  "_location": "/@types/body-parser",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/body-parser@*",
12
-    "name": "@types/body-parser",
13
-    "escapedName": "@types%2fbody-parser",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/express"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.1.tgz",
23
-  "_shasum": "18fcf61768fb5c30ccc508c21d6fd2e8b3bf7897",
24
-  "_spec": "@types/body-parser@*",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/express",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Santi Albo",
33
-      "url": "https://github.com/santialbo"
34
-    },
35
-    {
36
-      "name": "Vilic Vane",
37
-      "url": "https://github.com/vilic"
38
-    },
39
-    {
40
-      "name": "Jonathan Häberle",
41
-      "url": "https://github.com/dreampulse"
42
-    },
43
-    {
44
-      "name": "Gevik Babakhani",
45
-      "url": "https://github.com/blendsdk"
46
-    },
47
-    {
48
-      "name": "Tomasz Łaziuk",
49
-      "url": "https://github.com/tlaziuk"
50
-    },
51
-    {
52
-      "name": "Jason Walton",
53
-      "url": "https://github.com/jwalton"
54
-    }
55
-  ],
56
-  "dependencies": {
57
-    "@types/connect": "*",
58
-    "@types/node": "*"
59
-  },
60
-  "deprecated": false,
61
-  "description": "TypeScript definitions for body-parser",
62
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
63
-  "license": "MIT",
64
-  "main": "",
65
-  "name": "@types/body-parser",
66
-  "repository": {
67
-    "type": "git",
68
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
69
-    "directory": "types/body-parser"
70
-  },
71
-  "scripts": {},
72
-  "typeScriptVersion": "2.3",
73
-  "types": "index",
74
-  "typesPublisherContentHash": "ada1b55777df6de5327f420d23285a5c476895faa88cacf6b80a1a791eef0f67",
75
-  "version": "1.17.1"
76
-}

+ 0
- 21
node_modules/@types/connect/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/connect/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/connect`
3
-
4
-# Summary
5
-This package contains type definitions for connect (https://github.com/senchalabs/connect).
6
-
7
-# Details
8
-Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect
9
-
10
-Additional Details
11
- * Last updated: Tue, 17 Apr 2018 01:01:05 GMT
12
- * Dependencies: http, node
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Maxime LUCE <https://github.com/SomaticIT>, Evan Hahn <https://github.com/EvanHahn>.

+ 0
- 94
node_modules/@types/connect/index.d.ts Parādīt failu

@@ -1,94 +0,0 @@
1
-// Type definitions for connect v3.4.0
2
-// Project: https://github.com/senchalabs/connect
3
-// Definitions by: Maxime LUCE <https://github.com/SomaticIT>
4
-//                 Evan Hahn <https://github.com/EvanHahn>
5
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
-
7
-/// <reference types="node" />
8
-
9
-
10
-import * as http from "http";
11
-
12
-/**
13
- * Create a new connect server.
14
- * @public
15
- */
16
-declare function createServer(): createServer.Server;
17
-
18
-declare namespace createServer {
19
-    export type ServerHandle = HandleFunction | http.Server;
20
-
21
-    type NextFunction = (err?: any) => void;
22
-
23
-    export type SimpleHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse) => void;
24
-    export type NextHandleFunction = (req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
25
-    export type ErrorHandleFunction = (err: any, req: http.IncomingMessage, res: http.ServerResponse, next: NextFunction) => void;
26
-    export type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction;
27
-
28
-    export interface ServerStackItem {
29
-        route: string;
30
-        handle: ServerHandle;
31
-    }
32
-
33
-    export interface Server extends NodeJS.EventEmitter {
34
-        (req: http.IncomingMessage, res: http.ServerResponse, next?: Function): void;
35
-
36
-        route: string;
37
-        stack: ServerStackItem[];
38
-
39
-        /**
40
-        * Utilize the given middleware `handle` to the given `route`,
41
-        * defaulting to _/_. This "route" is the mount-point for the
42
-        * middleware, when given a value other than _/_ the middleware
43
-        * is only effective when that segment is present in the request's
44
-        * pathname.
45
-        *
46
-        * For example if we were to mount a function at _/admin_, it would
47
-        * be invoked on _/admin_, and _/admin/settings_, however it would
48
-        * not be invoked for _/_, or _/posts_.
49
-        *
50
-        * @public
51
-        */
52
-        use(fn: HandleFunction): Server;
53
-        use(route: string, fn: HandleFunction): Server;
54
-
55
-        /**
56
-        * Handle server requests, punting them down
57
-        * the middleware stack.
58
-        *
59
-        * @private
60
-        */
61
-        handle(req: http.IncomingMessage, res: http.ServerResponse, next: Function): void;
62
-
63
-        /**
64
-        * Listen for connections.
65
-        *
66
-        * This method takes the same arguments
67
-        * as node's `http.Server#listen()`.
68
-        *
69
-        * HTTP and HTTPS:
70
-        *
71
-        * If you run your application both as HTTP
72
-        * and HTTPS you may wrap them individually,
73
-        * since your Connect "server" is really just
74
-        * a JavaScript `Function`.
75
-        *
76
-        *      var connect = require('connect')
77
-        *        , http = require('http')
78
-        *        , https = require('https');
79
-        *
80
-        *      var app = connect();
81
-        *
82
-        *      http.createServer(app).listen(80);
83
-        *      https.createServer(options, app).listen(443);
84
-        *
85
-        * @api public
86
-        */
87
-        listen(port: number, hostname?: string, backlog?: number, callback?: Function): http.Server;
88
-        listen(port: number, hostname?: string, callback?: Function): http.Server;
89
-        listen(path: string, callback?: Function): http.Server;
90
-        listen(handle: any, listeningListener?: Function): http.Server;
91
-    }
92
-}
93
-
94
-export = createServer;

+ 0
- 57
node_modules/@types/connect/package.json Parādīt failu

@@ -1,57 +0,0 @@
1
-{
2
-  "_from": "@types/connect@*",
3
-  "_id": "@types/connect@3.4.32",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-4r8qa0quOvh7lGD0pre62CAb1oni1OO6ecJLGCezTmhQ8Fz50Arx9RUszryR8KlgK6avuSXvviL6yWyViQABOg==",
6
-  "_location": "/@types/connect",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/connect@*",
12
-    "name": "@types/connect",
13
-    "escapedName": "@types%2fconnect",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/body-parser"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.32.tgz",
23
-  "_shasum": "aa0e9616b9435ccad02bc52b5b454ffc2c70ba28",
24
-  "_spec": "@types/connect@*",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/body-parser",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Maxime LUCE",
33
-      "url": "https://github.com/SomaticIT"
34
-    },
35
-    {
36
-      "name": "Evan Hahn",
37
-      "url": "https://github.com/EvanHahn"
38
-    }
39
-  ],
40
-  "dependencies": {
41
-    "@types/node": "*"
42
-  },
43
-  "deprecated": false,
44
-  "description": "TypeScript definitions for connect",
45
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
46
-  "license": "MIT",
47
-  "main": "",
48
-  "name": "@types/connect",
49
-  "repository": {
50
-    "type": "git",
51
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
52
-  },
53
-  "scripts": {},
54
-  "typeScriptVersion": "2.0",
55
-  "typesPublisherContentHash": "d988cf1d88b273d694c4fcfe3699c4785f7e60ea0c8e094b598922c43ab3fb4e",
56
-  "version": "3.4.32"
57
-}

+ 0
- 21
node_modules/@types/express-serve-static-core/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/express-serve-static-core/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/express-serve-static-core`
3
-
4
-# Summary
5
-This package contains type definitions for Express (http://expressjs.com).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-serve-static-core
9
-
10
-Additional Details
11
- * Last updated: Mon, 19 Aug 2019 00:51:14 GMT
12
- * Dependencies: @types/range-parser, @types/node
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Boris Yankov <https://github.com/borisyankov>, Michał Lytek <https://github.com/19majkel94>, Kacper Polak <https://github.com/kacepe>, Satana Charuwichitratana <https://github.com/micksatana>, Sami Jaber <https://github.com/samijaber>, and aereal <https://github.com/aereal>.

+ 0
- 1075
node_modules/@types/express-serve-static-core/index.d.ts
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 0
- 77
node_modules/@types/express-serve-static-core/package.json Parādīt failu

@@ -1,77 +0,0 @@
1
-{
2
-  "_from": "@types/express-serve-static-core@*",
3
-  "_id": "@types/express-serve-static-core@4.16.9",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-GqpaVWR0DM8FnRUJYKlWgyARoBUAVfRIeVDZQKOttLFp5SmhhF9YFIYeTPwMd/AXfxlP7xVO2dj1fGu0Q+krKQ==",
6
-  "_location": "/@types/express-serve-static-core",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/express-serve-static-core@*",
12
-    "name": "@types/express-serve-static-core",
13
-    "escapedName": "@types%2fexpress-serve-static-core",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/express",
21
-    "/@types/serve-static"
22
-  ],
23
-  "_resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.16.9.tgz",
24
-  "_shasum": "69e00643b0819b024bdede95ced3ff239bb54558",
25
-  "_spec": "@types/express-serve-static-core@*",
26
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/express",
27
-  "bugs": {
28
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
29
-  },
30
-  "bundleDependencies": false,
31
-  "contributors": [
32
-    {
33
-      "name": "Boris Yankov",
34
-      "url": "https://github.com/borisyankov"
35
-    },
36
-    {
37
-      "name": "Michał Lytek",
38
-      "url": "https://github.com/19majkel94"
39
-    },
40
-    {
41
-      "name": "Kacper Polak",
42
-      "url": "https://github.com/kacepe"
43
-    },
44
-    {
45
-      "name": "Satana Charuwichitratana",
46
-      "url": "https://github.com/micksatana"
47
-    },
48
-    {
49
-      "name": "Sami Jaber",
50
-      "url": "https://github.com/samijaber"
51
-    },
52
-    {
53
-      "name": "aereal",
54
-      "url": "https://github.com/aereal"
55
-    }
56
-  ],
57
-  "dependencies": {
58
-    "@types/node": "*",
59
-    "@types/range-parser": "*"
60
-  },
61
-  "deprecated": false,
62
-  "description": "TypeScript definitions for Express",
63
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
64
-  "license": "MIT",
65
-  "main": "",
66
-  "name": "@types/express-serve-static-core",
67
-  "repository": {
68
-    "type": "git",
69
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
70
-    "directory": "types/express-serve-static-core"
71
-  },
72
-  "scripts": {},
73
-  "typeScriptVersion": "2.3",
74
-  "types": "index",
75
-  "typesPublisherContentHash": "1aa7520ab937b684d55d4d6134d9f894a792398e4db7c4550308361ae771abc0",
76
-  "version": "4.16.9"
77
-}

+ 0
- 21
node_modules/@types/express/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/express/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/express`
3
-
4
-# Summary
5
-This package contains type definitions for Express (http://expressjs.com).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express
9
-
10
-Additional Details
11
- * Last updated: Mon, 19 Aug 2019 00:51:12 GMT
12
- * Dependencies: @types/body-parser, @types/serve-static, @types/express-serve-static-core
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Boris Yankov <https://github.com/borisyankov>.

+ 0
- 106
node_modules/@types/express/index.d.ts Parādīt failu

@@ -1,106 +0,0 @@
1
-// Type definitions for Express 4.17
2
-// Project: http://expressjs.com
3
-// Definitions by: Boris Yankov <https://github.com/borisyankov>
4
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
-// TypeScript Version: 2.3
6
-
7
-/* =================== USAGE ===================
8
-
9
-    import * as express from "express";
10
-    var app = express();
11
-
12
- =============================================== */
13
-
14
-/// <reference types="express-serve-static-core" />
15
-/// <reference types="serve-static" />
16
-
17
-import * as bodyParser from "body-parser";
18
-import serveStatic = require("serve-static");
19
-import * as core from "express-serve-static-core";
20
-
21
-/**
22
- * Creates an Express application. The express() function is a top-level function exported by the express module.
23
- */
24
-declare function e(): core.Express;
25
-
26
-declare namespace e {
27
-    /**
28
-     * This is a built-in middleware function in Express. It parses incoming requests with JSON payloads and is based on body-parser.
29
-     * @since 4.16.0
30
-     */
31
-    var json: typeof bodyParser.json;
32
-
33
-    /**
34
-     * This is a built-in middleware function in Express. It parses incoming requests with Buffer payloads and is based on body-parser.
35
-     * @since 4.17.0
36
-     */
37
-    var raw: typeof bodyParser.raw;
38
-
39
-    /**
40
-     * This is a built-in middleware function in Express. It parses incoming requests with text payloads and is based on body-parser.
41
-     * @since 4.17.0
42
-     */
43
-    var text: typeof bodyParser.text;
44
-
45
-    /**
46
-     * These are the exposed prototypes.
47
-     */
48
-    var application: Application;
49
-    var request: Request;
50
-    var response: Response;
51
-
52
-    /**
53
-     * This is a built-in middleware function in Express. It serves static files and is based on serve-static.
54
-     */
55
-    var static: typeof serveStatic;
56
-
57
-    /**
58
-     * This is a built-in middleware function in Express. It parses incoming requests with urlencoded payloads and is based on body-parser.
59
-     * @since 4.16.0
60
-     */
61
-    var urlencoded: typeof bodyParser.urlencoded;
62
-
63
-    export function Router(options?: RouterOptions): core.Router;
64
-
65
-    interface RouterOptions {
66
-        /**
67
-         * Enable case sensitivity.
68
-         */
69
-        caseSensitive?: boolean;
70
-
71
-        /**
72
-         * Preserve the req.params values from the parent router.
73
-         * If the parent and the child have conflicting param names, the child’s value take precedence.
74
-         *
75
-         * @default false
76
-         * @since 4.5.0
77
-         */
78
-        mergeParams?: boolean;
79
-
80
-        /**
81
-         * Enable strict routing.
82
-         */
83
-        strict?: boolean;
84
-    }
85
-
86
-    interface Application extends core.Application { }
87
-    interface CookieOptions extends core.CookieOptions { }
88
-    interface Errback extends core.Errback { }
89
-    interface ErrorRequestHandler extends core.ErrorRequestHandler { }
90
-    interface Express extends core.Express { }
91
-    interface Handler extends core.Handler { }
92
-    interface IRoute extends core.IRoute { }
93
-    interface IRouter<T> extends core.IRouter { }
94
-    interface IRouterHandler<T> extends core.IRouterHandler<T> { }
95
-    interface IRouterMatcher<T> extends core.IRouterMatcher<T> { }
96
-    interface MediaType extends core.MediaType { }
97
-    interface NextFunction extends core.NextFunction { }
98
-    interface Request extends core.Request { }
99
-    interface RequestHandler extends core.RequestHandler { }
100
-    interface RequestParamHandler extends core.RequestParamHandler { }
101
-    export interface Response extends core.Response { }
102
-    interface Router extends core.Router { }
103
-    interface Send extends core.Send { }
104
-}
105
-
106
-export = e;

+ 0
- 57
node_modules/@types/express/package.json Parādīt failu

@@ -1,57 +0,0 @@
1
-{
2
-  "_from": "@types/express@^4.17.0",
3
-  "_id": "@types/express@4.17.1",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-VfH/XCP0QbQk5B5puLqTLEeFgR8lfCJHZJKkInZ9mkYd+u8byX0kztXEQxEk4wZXJs8HI+7km2ALXjn4YKcX9w==",
6
-  "_location": "/@types/express",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/express@^4.17.0",
12
-    "name": "@types/express",
13
-    "escapedName": "@types%2fexpress",
14
-    "scope": "@types",
15
-    "rawSpec": "^4.17.0",
16
-    "saveSpec": null,
17
-    "fetchSpec": "^4.17.0"
18
-  },
19
-  "_requiredBy": [
20
-    "#DEV:/"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.1.tgz",
23
-  "_shasum": "4cf7849ae3b47125a567dfee18bfca4254b88c5c",
24
-  "_spec": "@types/express@^4.17.0",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Boris Yankov",
33
-      "url": "https://github.com/borisyankov"
34
-    }
35
-  ],
36
-  "dependencies": {
37
-    "@types/body-parser": "*",
38
-    "@types/express-serve-static-core": "*",
39
-    "@types/serve-static": "*"
40
-  },
41
-  "deprecated": false,
42
-  "description": "TypeScript definitions for Express",
43
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
44
-  "license": "MIT",
45
-  "main": "",
46
-  "name": "@types/express",
47
-  "repository": {
48
-    "type": "git",
49
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
50
-    "directory": "types/express"
51
-  },
52
-  "scripts": {},
53
-  "typeScriptVersion": "2.3",
54
-  "types": "index",
55
-  "typesPublisherContentHash": "3326fa16931c66beb8881132d339f23366535f6eeafe3db1f4351d12d84cc64c",
56
-  "version": "4.17.1"
57
-}

+ 0
- 21
node_modules/@types/mime/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 9
node_modules/@types/mime/Mime.d.ts Parādīt failu

@@ -1,9 +0,0 @@
1
-import { TypeMap } from "./index";
2
-
3
-export default class Mime {
4
-	constructor(mimes: TypeMap);
5
-
6
-	getType(path: string): string | null;
7
-    getExtension(mime: string): string | null;
8
-    define(mimes: TypeMap, force?: boolean): void;
9
-}

+ 0
- 16
node_modules/@types/mime/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/mime`
3
-
4
-# Summary
5
-This package contains type definitions for mime ( https://github.com/broofa/node-mime ).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime
9
-
10
-Additional Details
11
- * Last updated: Tue, 05 Feb 2019 22:09:07 GMT
12
- * Dependencies: none
13
- * Global values: mime
14
-
15
-# Credits
16
-These definitions were written by Jeff Goddard <https://github.com/jedigo>, Daniel Hritzkiv <https://github.com/dhritzkiv>.

+ 0
- 15
node_modules/@types/mime/index.d.ts Parādīt failu

@@ -1,15 +0,0 @@
1
-// Type definitions for mime 2.0
2
-// Project: https://github.com/broofa/node-mime
3
-// Definitions by: Jeff Goddard <https://github.com/jedigo>
4
-//                 Daniel Hritzkiv <https://github.com/dhritzkiv>
5
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
-
7
-// Originally imported from: https://github.com/soywiz/typescript-node-definitions/mime.d.ts
8
-
9
-export as namespace mime;
10
-
11
-export interface TypeMap { [key: string]: string[]; }
12
-
13
-export function getType(path: string): string | null;
14
-export function getExtension(mime: string): string | null;
15
-export function define(mimes: TypeMap, force?: boolean): void;

+ 0
- 56
node_modules/@types/mime/package.json Parādīt failu

@@ -1,56 +0,0 @@
1
-{
2
-  "_from": "@types/mime@*",
3
-  "_id": "@types/mime@2.0.1",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw==",
6
-  "_location": "/@types/mime",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/mime@*",
12
-    "name": "@types/mime",
13
-    "escapedName": "@types%2fmime",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/serve-static"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.1.tgz",
23
-  "_shasum": "dc488842312a7f075149312905b5e3c0b054c79d",
24
-  "_spec": "@types/mime@*",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/serve-static",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Jeff Goddard",
33
-      "url": "https://github.com/jedigo"
34
-    },
35
-    {
36
-      "name": "Daniel Hritzkiv",
37
-      "url": "https://github.com/dhritzkiv"
38
-    }
39
-  ],
40
-  "dependencies": {},
41
-  "deprecated": false,
42
-  "description": "TypeScript definitions for mime",
43
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
44
-  "license": "MIT",
45
-  "main": "",
46
-  "name": "@types/mime",
47
-  "repository": {
48
-    "type": "git",
49
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
50
-  },
51
-  "scripts": {},
52
-  "typeScriptVersion": "2.0",
53
-  "types": "index",
54
-  "typesPublisherContentHash": "44440ff7edf5dabbbd9ed5edb3482c642f8167d582192aa9d93b68daaab883cf",
55
-  "version": "2.0.1"
56
-}

+ 0
- 21
node_modules/@types/node/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/node/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/node`
3
-
4
-# Summary
5
-This package contains type definitions for Node.js (http://nodejs.org/).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v11
9
-
10
-Additional Details
11
- * Last updated: Fri, 30 Aug 2019 05:19:12 GMT
12
- * Dependencies: none
13
- * Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
14
-
15
-# Credits
16
-These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Jeremie Rodriguez <https://github.com/jeremiergz>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>, and Ivan Sieder <https://github.com/ivansieder>.

+ 0
- 52
node_modules/@types/node/assert.d.ts Parādīt failu

@@ -1,52 +0,0 @@
1
-declare module "assert" {
2
-    function internal(value: any, message?: string | Error): void;
3
-    namespace internal {
4
-        class AssertionError implements Error {
5
-            name: string;
6
-            message: string;
7
-            actual: any;
8
-            expected: any;
9
-            operator: string;
10
-            generatedMessage: boolean;
11
-            code: 'ERR_ASSERTION';
12
-
13
-            constructor(options?: {
14
-                message?: string; actual?: any; expected?: any;
15
-                operator?: string; stackStartFn?: Function
16
-            });
17
-        }
18
-
19
-        function fail(message?: string | Error): never;
20
-        /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
21
-        function fail(actual: any, expected: any, message?: string | Error, operator?: string, stackStartFn?: Function): never;
22
-        function ok(value: any, message?: string | Error): void;
23
-        /** @deprecated since v9.9.0 - use strictEqual() instead. */
24
-        function equal(actual: any, expected: any, message?: string | Error): void;
25
-        /** @deprecated since v9.9.0 - use notStrictEqual() instead. */
26
-        function notEqual(actual: any, expected: any, message?: string | Error): void;
27
-        /** @deprecated since v9.9.0 - use deepStrictEqual() instead. */
28
-        function deepEqual(actual: any, expected: any, message?: string | Error): void;
29
-        /** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */
30
-        function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
31
-        function strictEqual(actual: any, expected: any, message?: string | Error): void;
32
-        function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
33
-        function deepStrictEqual(actual: any, expected: any, message?: string | Error): void;
34
-        function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;
35
-
36
-        function throws(block: () => any, message?: string | Error): void;
37
-        function throws(block: () => any, error: RegExp | Function | Object | Error, message?: string | Error): void;
38
-        function doesNotThrow(block: () => any, message?: string | Error): void;
39
-        function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void;
40
-
41
-        function ifError(value: any): void;
42
-
43
-        function rejects(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
44
-        function rejects(block: (() => Promise<any>) | Promise<any>, error: RegExp | Function | Object | Error, message?: string | Error): Promise<void>;
45
-        function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
46
-        function doesNotReject(block: (() => Promise<any>) | Promise<any>, error: RegExp | Function, message?: string | Error): Promise<void>;
47
-
48
-        const strict: typeof internal;
49
-    }
50
-
51
-    export = internal;
52
-}

+ 0
- 144
node_modules/@types/node/async_hooks.d.ts Parādīt failu

@@ -1,144 +0,0 @@
1
-/**
2
- * Async Hooks module: https://nodejs.org/api/async_hooks.html
3
- */
4
-declare module "async_hooks" {
5
-    /**
6
-     * Returns the asyncId of the current execution context.
7
-     */
8
-    function executionAsyncId(): number;
9
-
10
-    /**
11
-     * Returns the ID of the resource responsible for calling the callback that is currently being executed.
12
-     */
13
-    function triggerAsyncId(): number;
14
-
15
-    interface HookCallbacks {
16
-        /**
17
-         * Called when a class is constructed that has the possibility to emit an asynchronous event.
18
-         * @param asyncId a unique ID for the async resource
19
-         * @param type the type of the async resource
20
-         * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created
21
-         * @param resource reference to the resource representing the async operation, needs to be released during destroy
22
-         */
23
-        init?(asyncId: number, type: string, triggerAsyncId: number, resource: Object): void;
24
-
25
-        /**
26
-         * When an asynchronous operation is initiated or completes a callback is called to notify the user.
27
-         * The before callback is called just before said callback is executed.
28
-         * @param asyncId the unique identifier assigned to the resource about to execute the callback.
29
-         */
30
-        before?(asyncId: number): void;
31
-
32
-        /**
33
-         * Called immediately after the callback specified in before is completed.
34
-         * @param asyncId the unique identifier assigned to the resource which has executed the callback.
35
-         */
36
-        after?(asyncId: number): void;
37
-
38
-        /**
39
-         * Called when a promise has resolve() called. This may not be in the same execution id
40
-         * as the promise itself.
41
-         * @param asyncId the unique id for the promise that was resolve()d.
42
-         */
43
-        promiseResolve?(asyncId: number): void;
44
-
45
-        /**
46
-         * Called after the resource corresponding to asyncId is destroyed
47
-         * @param asyncId a unique ID for the async resource
48
-         */
49
-        destroy?(asyncId: number): void;
50
-    }
51
-
52
-    interface AsyncHook {
53
-        /**
54
-         * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop.
55
-         */
56
-        enable(): this;
57
-
58
-        /**
59
-         * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.
60
-         */
61
-        disable(): this;
62
-    }
63
-
64
-    /**
65
-     * Registers functions to be called for different lifetime events of each async operation.
66
-     * @param options the callbacks to register
67
-     * @return an AsyncHooks instance used for disabling and enabling hooks
68
-     */
69
-    function createHook(options: HookCallbacks): AsyncHook;
70
-
71
-    interface AsyncResourceOptions {
72
-      /**
73
-       * The ID of the execution context that created this async event.
74
-       * Default: `executionAsyncId()`
75
-       */
76
-      triggerAsyncId?: number;
77
-
78
-      /**
79
-       * Disables automatic `emitDestroy` when the object is garbage collected.
80
-       * This usually does not need to be set (even if `emitDestroy` is called
81
-       * manually), unless the resource's `asyncId` is retrieved and the
82
-       * sensitive API's `emitDestroy` is called with it.
83
-       * Default: `false`
84
-       */
85
-      requireManualDestroy?: boolean;
86
-    }
87
-
88
-    /**
89
-     * The class AsyncResource was designed to be extended by the embedder's async resources.
90
-     * Using this users can easily trigger the lifetime events of their own resources.
91
-     */
92
-    class AsyncResource {
93
-        /**
94
-         * AsyncResource() is meant to be extended. Instantiating a
95
-         * new AsyncResource() also triggers init. If triggerAsyncId is omitted then
96
-         * async_hook.executionAsyncId() is used.
97
-         * @param type The type of async event.
98
-         * @param triggerAsyncId The ID of the execution context that created
99
-         *   this async event (default: `executionAsyncId()`), or an
100
-         *   AsyncResourceOptions object (since 9.3)
101
-         */
102
-        constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions);
103
-
104
-        /**
105
-         * Call AsyncHooks before callbacks.
106
-         * @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
107
-         */
108
-        emitBefore(): void;
109
-
110
-        /**
111
-         * Call AsyncHooks after callbacks.
112
-         * @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
113
-         */
114
-        emitAfter(): void;
115
-
116
-        /**
117
-         * Call the provided function with the provided arguments in the
118
-         * execution context of the async resource. This will establish the
119
-         * context, trigger the AsyncHooks before callbacks, call the function,
120
-         * trigger the AsyncHooks after callbacks, and then restore the original
121
-         * execution context.
122
-         * @param fn The function to call in the execution context of this
123
-         *   async resource.
124
-         * @param thisArg The receiver to be used for the function call.
125
-         * @param args Optional arguments to pass to the function.
126
-         */
127
-        runInAsyncScope<This, Result>(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result;
128
-
129
-        /**
130
-         * Call AsyncHooks destroy callbacks.
131
-         */
132
-        emitDestroy(): void;
133
-
134
-        /**
135
-         * @return the unique ID assigned to this AsyncResource instance.
136
-         */
137
-        asyncId(): number;
138
-
139
-        /**
140
-         * @return the trigger ID for this AsyncResource instance.
141
-         */
142
-        triggerAsyncId(): number;
143
-    }
144
-}

+ 0
- 41
node_modules/@types/node/base.d.ts Parādīt failu

@@ -1,41 +0,0 @@
1
-// base definnitions for all NodeJS modules that are not specific to any version of TypeScript
2
-/// <reference path="globals.d.ts" />
3
-/// <reference path="assert.d.ts" />
4
-/// <reference path="async_hooks.d.ts" />
5
-/// <reference path="buffer.d.ts" />
6
-/// <reference path="child_process.d.ts" />
7
-/// <reference path="cluster.d.ts" />
8
-/// <reference path="console.d.ts" />
9
-/// <reference path="constants.d.ts" />
10
-/// <reference path="crypto.d.ts" />
11
-/// <reference path="dgram.d.ts" />
12
-/// <reference path="dns.d.ts" />
13
-/// <reference path="domain.d.ts" />
14
-/// <reference path="events.d.ts" />
15
-/// <reference path="fs.d.ts" />
16
-/// <reference path="http.d.ts" />
17
-/// <reference path="http2.d.ts" />
18
-/// <reference path="https.d.ts" />
19
-/// <reference path="inspector.d.ts" />
20
-/// <reference path="module.d.ts" />
21
-/// <reference path="net.d.ts" />
22
-/// <reference path="os.d.ts" />
23
-/// <reference path="path.d.ts" />
24
-/// <reference path="perf_hooks.d.ts" />
25
-/// <reference path="process.d.ts" />
26
-/// <reference path="punycode.d.ts" />
27
-/// <reference path="querystring.d.ts" />
28
-/// <reference path="readline.d.ts" />
29
-/// <reference path="repl.d.ts" />
30
-/// <reference path="stream.d.ts" />
31
-/// <reference path="string_decoder.d.ts" />
32
-/// <reference path="timers.d.ts" />
33
-/// <reference path="tls.d.ts" />
34
-/// <reference path="trace_events.d.ts" />
35
-/// <reference path="tty.d.ts" />
36
-/// <reference path="url.d.ts" />
37
-/// <reference path="util.d.ts" />
38
-/// <reference path="v8.d.ts" />
39
-/// <reference path="vm.d.ts" />
40
-/// <reference path="worker_threads.d.ts" />
41
-/// <reference path="zlib.d.ts" />

+ 0
- 16
node_modules/@types/node/buffer.d.ts Parādīt failu

@@ -1,16 +0,0 @@
1
-declare module "buffer" {
2
-    export const INSPECT_MAX_BYTES: number;
3
-    const BuffType: typeof Buffer;
4
-
5
-    export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";
6
-
7
-    export function transcode(source: Buffer | Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
8
-
9
-    export const SlowBuffer: {
10
-        /** @deprecated since v6.0.0, use Buffer.allocUnsafeSlow() */
11
-        new(size: number): Buffer;
12
-        prototype: Buffer;
13
-    };
14
-
15
-    export { BuffType as Buffer };
16
-}

+ 0
- 366
node_modules/@types/node/child_process.d.ts Parādīt failu

@@ -1,366 +0,0 @@
1
-declare module "child_process" {
2
-    import * as events from "events";
3
-    import * as net from "net";
4
-    import { Writable, Readable, Stream, Pipe } from "stream";
5
-
6
-    interface ChildProcess extends events.EventEmitter {
7
-        stdin: Writable | null;
8
-        stdout: Readable | null;
9
-        stderr: Readable | null;
10
-        readonly channel?: Pipe | null;
11
-        readonly stdio: [
12
-            Writable | null, // stdin
13
-            Readable | null, // stdout
14
-            Readable | null, // stderr
15
-            Readable | Writable | null | undefined, // extra
16
-            Readable | Writable | null | undefined // extra
17
-        ];
18
-        readonly killed: boolean;
19
-        readonly pid: number;
20
-        readonly connected: boolean;
21
-        kill(signal?: string): void;
22
-        send(message: any, callback?: (error: Error | null) => void): boolean;
23
-        send(message: any, sendHandle?: net.Socket | net.Server, callback?: (error: Error | null) => void): boolean;
24
-        send(message: any, sendHandle?: net.Socket | net.Server, options?: MessageOptions, callback?: (error: Error | null) => void): boolean;
25
-        disconnect(): void;
26
-        unref(): void;
27
-        ref(): void;
28
-
29
-        /**
30
-         * events.EventEmitter
31
-         * 1. close
32
-         * 2. disconnect
33
-         * 3. error
34
-         * 4. exit
35
-         * 5. message
36
-         */
37
-
38
-        addListener(event: string, listener: (...args: any[]) => void): this;
39
-        addListener(event: "close", listener: (code: number, signal: string) => void): this;
40
-        addListener(event: "disconnect", listener: () => void): this;
41
-        addListener(event: "error", listener: (err: Error) => void): this;
42
-        addListener(event: "exit", listener: (code: number | null, signal: string | null) => void): this;
43
-        addListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
44
-
45
-        emit(event: string | symbol, ...args: any[]): boolean;
46
-        emit(event: "close", code: number, signal: string): boolean;
47
-        emit(event: "disconnect"): boolean;
48
-        emit(event: "error", err: Error): boolean;
49
-        emit(event: "exit", code: number | null, signal: string | null): boolean;
50
-        emit(event: "message", message: any, sendHandle: net.Socket | net.Server): boolean;
51
-
52
-        on(event: string, listener: (...args: any[]) => void): this;
53
-        on(event: "close", listener: (code: number, signal: string) => void): this;
54
-        on(event: "disconnect", listener: () => void): this;
55
-        on(event: "error", listener: (err: Error) => void): this;
56
-        on(event: "exit", listener: (code: number | null, signal: string | null) => void): this;
57
-        on(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
58
-
59
-        once(event: string, listener: (...args: any[]) => void): this;
60
-        once(event: "close", listener: (code: number, signal: string) => void): this;
61
-        once(event: "disconnect", listener: () => void): this;
62
-        once(event: "error", listener: (err: Error) => void): this;
63
-        once(event: "exit", listener: (code: number | null, signal: string | null) => void): this;
64
-        once(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
65
-
66
-        prependListener(event: string, listener: (...args: any[]) => void): this;
67
-        prependListener(event: "close", listener: (code: number, signal: string) => void): this;
68
-        prependListener(event: "disconnect", listener: () => void): this;
69
-        prependListener(event: "error", listener: (err: Error) => void): this;
70
-        prependListener(event: "exit", listener: (code: number | null, signal: string | null) => void): this;
71
-        prependListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
72
-
73
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
74
-        prependOnceListener(event: "close", listener: (code: number, signal: string) => void): this;
75
-        prependOnceListener(event: "disconnect", listener: () => void): this;
76
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
77
-        prependOnceListener(event: "exit", listener: (code: number | null, signal: string | null) => void): this;
78
-        prependOnceListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
79
-    }
80
-
81
-    // return this object when stdio option is undefined or not specified
82
-    interface ChildProcessWithoutNullStreams extends ChildProcess {
83
-        stdin: Writable;
84
-        stdout: Readable;
85
-        stderr: Readable;
86
-        readonly stdio: [
87
-            Writable, // stdin
88
-            Readable, // stdout
89
-            Readable, // stderr
90
-            Readable | Writable | null | undefined, // extra, no modification
91
-            Readable | Writable | null | undefined // extra, no modification
92
-        ];
93
-    }
94
-
95
-    interface MessageOptions {
96
-        keepOpen?: boolean;
97
-    }
98
-
99
-    type StdioOptions = "pipe" | "ignore" | "inherit" | Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>;
100
-
101
-    interface ProcessEnvOptions {
102
-        uid?: number;
103
-        gid?: number;
104
-        cwd?: string;
105
-        env?: NodeJS.ProcessEnv;
106
-    }
107
-
108
-    interface CommonOptions extends ProcessEnvOptions {
109
-        /**
110
-         * @default true
111
-         */
112
-        windowsHide?: boolean;
113
-        /**
114
-         * @default 0
115
-         */
116
-        timeout?: number;
117
-    }
118
-
119
-    interface SpawnOptions extends CommonOptions {
120
-        argv0?: string;
121
-        stdio?: StdioOptions;
122
-        detached?: boolean;
123
-        shell?: boolean | string;
124
-        windowsVerbatimArguments?: boolean;
125
-    }
126
-
127
-    interface SpawnOptionsWithoutStdio extends SpawnOptions {
128
-        stdio?: 'pipe' | Array<null | undefined | 'pipe'>;
129
-    }
130
-
131
-    function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
132
-    function spawn(command: string, options: SpawnOptions): ChildProcess;
133
-    function spawn(command: string, args?: ReadonlyArray<string>, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
134
-    function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
135
-
136
-    interface ExecOptions extends CommonOptions {
137
-        shell?: string;
138
-        maxBuffer?: number;
139
-        killSignal?: string;
140
-    }
141
-
142
-    interface ExecOptionsWithStringEncoding extends ExecOptions {
143
-        encoding: BufferEncoding;
144
-    }
145
-
146
-    interface ExecOptionsWithBufferEncoding extends ExecOptions {
147
-        encoding: string | null; // specify `null`.
148
-    }
149
-
150
-    interface ExecException extends Error {
151
-        cmd?: string;
152
-        killed?: boolean;
153
-        code?: number;
154
-        signal?: string;
155
-    }
156
-
157
-    // no `options` definitely means stdout/stderr are `string`.
158
-    function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
159
-
160
-    // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
161
-    function exec(command: string, options: { encoding: "buffer" | null } & ExecOptions, callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
162
-
163
-    // `options` with well known `encoding` means stdout/stderr are definitely `string`.
164
-    function exec(command: string, options: { encoding: BufferEncoding } & ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
165
-
166
-    // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
167
-    // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
168
-    function exec(command: string, options: { encoding: string } & ExecOptions, callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void): ChildProcess;
169
-
170
-    // `options` without an `encoding` means stdout/stderr are definitely `string`.
171
-    function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess;
172
-
173
-    // fallback if nothing else matches. Worst case is always `string | Buffer`.
174
-    function exec(
175
-        command: string,
176
-        options: ({ encoding?: string | null } & ExecOptions) | undefined | null,
177
-        callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void,
178
-    ): ChildProcess;
179
-
180
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
181
-    namespace exec {
182
-        function __promisify__(command: string): Promise<{ stdout: string, stderr: string }>;
183
-        function __promisify__(command: string, options: { encoding: "buffer" | null } & ExecOptions): Promise<{ stdout: Buffer, stderr: Buffer }>;
184
-        function __promisify__(command: string, options: { encoding: BufferEncoding } & ExecOptions): Promise<{ stdout: string, stderr: string }>;
185
-        function __promisify__(command: string, options: ExecOptions): Promise<{ stdout: string, stderr: string }>;
186
-        function __promisify__(command: string, options?: ({ encoding?: string | null } & ExecOptions) | null): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
187
-    }
188
-
189
-    interface ExecFileOptions extends CommonOptions {
190
-        maxBuffer?: number;
191
-        killSignal?: string;
192
-        windowsVerbatimArguments?: boolean;
193
-        shell?: boolean | string;
194
-    }
195
-    interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
196
-        encoding: BufferEncoding;
197
-    }
198
-    interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
199
-        encoding: 'buffer' | null;
200
-    }
201
-    interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
202
-        encoding: string;
203
-    }
204
-
205
-    function execFile(file: string): ChildProcess;
206
-    function execFile(file: string, options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null): ChildProcess;
207
-    function execFile(file: string, args?: ReadonlyArray<string> | null): ChildProcess;
208
-    function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null): ChildProcess;
209
-
210
-    // no `options` definitely means stdout/stderr are `string`.
211
-    function execFile(file: string, callback: (error: Error | null, stdout: string, stderr: string) => void): ChildProcess;
212
-    function execFile(file: string, args: ReadonlyArray<string> | undefined | null, callback: (error: Error | null, stdout: string, stderr: string) => void): ChildProcess;
213
-
214
-    // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
215
-    function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: Error | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess;
216
-    function execFile(
217
-        file: string,
218
-        args: ReadonlyArray<string> | undefined | null,
219
-        options: ExecFileOptionsWithBufferEncoding,
220
-        callback: (error: Error | null, stdout: Buffer, stderr: Buffer) => void,
221
-    ): ChildProcess;
222
-
223
-    // `options` with well known `encoding` means stdout/stderr are definitely `string`.
224
-    function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: Error | null, stdout: string, stderr: string) => void): ChildProcess;
225
-    function execFile(
226
-        file: string,
227
-        args: ReadonlyArray<string> | undefined | null,
228
-        options: ExecFileOptionsWithStringEncoding,
229
-        callback: (error: Error | null, stdout: string, stderr: string) => void,
230
-    ): ChildProcess;
231
-
232
-    // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`.
233
-    // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`.
234
-    function execFile(
235
-        file: string,
236
-        options: ExecFileOptionsWithOtherEncoding,
237
-        callback: (error: Error | null, stdout: string | Buffer, stderr: string | Buffer) => void,
238
-    ): ChildProcess;
239
-    function execFile(
240
-        file: string,
241
-        args: ReadonlyArray<string> | undefined | null,
242
-        options: ExecFileOptionsWithOtherEncoding,
243
-        callback: (error: Error | null, stdout: string | Buffer, stderr: string | Buffer) => void,
244
-    ): ChildProcess;
245
-
246
-    // `options` without an `encoding` means stdout/stderr are definitely `string`.
247
-    function execFile(file: string, options: ExecFileOptions, callback: (error: Error | null, stdout: string, stderr: string) => void): ChildProcess;
248
-    function execFile(file: string, args: ReadonlyArray<string> | undefined | null, options: ExecFileOptions, callback: (error: Error | null, stdout: string, stderr: string) => void): ChildProcess;
249
-
250
-    // fallback if nothing else matches. Worst case is always `string | Buffer`.
251
-    function execFile(
252
-        file: string,
253
-        options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
254
-        callback: ((error: Error | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
255
-    ): ChildProcess;
256
-    function execFile(
257
-        file: string,
258
-        args: ReadonlyArray<string> | undefined | null,
259
-        options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
260
-        callback: ((error: Error | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null,
261
-    ): ChildProcess;
262
-
263
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
264
-    namespace execFile {
265
-        function __promisify__(file: string): Promise<{ stdout: string, stderr: string }>;
266
-        function __promisify__(file: string, args: string[] | undefined | null): Promise<{ stdout: string, stderr: string }>;
267
-        function __promisify__(file: string, options: ExecFileOptionsWithBufferEncoding): Promise<{ stdout: Buffer, stderr: Buffer }>;
268
-        function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithBufferEncoding): Promise<{ stdout: Buffer, stderr: Buffer }>;
269
-        function __promisify__(file: string, options: ExecFileOptionsWithStringEncoding): Promise<{ stdout: string, stderr: string }>;
270
-        function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithStringEncoding): Promise<{ stdout: string, stderr: string }>;
271
-        function __promisify__(file: string, options: ExecFileOptionsWithOtherEncoding): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
272
-        function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithOtherEncoding): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
273
-        function __promisify__(file: string, options: ExecFileOptions): Promise<{ stdout: string, stderr: string }>;
274
-        function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptions): Promise<{ stdout: string, stderr: string }>;
275
-        function __promisify__(file: string, options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
276
-        function __promisify__(
277
-            file: string,
278
-            args: string[] | undefined | null,
279
-            options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
280
-        ): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
281
-    }
282
-
283
-    interface ForkOptions extends ProcessEnvOptions {
284
-        execPath?: string;
285
-        execArgv?: string[];
286
-        silent?: boolean;
287
-        stdio?: StdioOptions;
288
-        detached?: boolean;
289
-        windowsVerbatimArguments?: boolean;
290
-    }
291
-    function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess;
292
-
293
-    interface SpawnSyncOptions extends CommonOptions {
294
-        argv0?: string; // Not specified in the docs
295
-        input?: string | Buffer | NodeJS.TypedArray | DataView;
296
-        stdio?: StdioOptions;
297
-        killSignal?: string | number;
298
-        maxBuffer?: number;
299
-        encoding?: string;
300
-        shell?: boolean | string;
301
-        windowsVerbatimArguments?: boolean;
302
-    }
303
-    interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
304
-        encoding: BufferEncoding;
305
-    }
306
-    interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
307
-        encoding: string; // specify `null`.
308
-    }
309
-    interface SpawnSyncReturns<T> {
310
-        pid: number;
311
-        output: string[];
312
-        stdout: T;
313
-        stderr: T;
314
-        status: number | null;
315
-        signal: string | null;
316
-        error?: Error;
317
-    }
318
-    function spawnSync(command: string): SpawnSyncReturns<Buffer>;
319
-    function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
320
-    function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
321
-    function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
322
-    function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
323
-    function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
324
-    function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
325
-
326
-    interface ExecSyncOptions extends CommonOptions {
327
-        input?: string | Buffer | Uint8Array;
328
-        stdio?: StdioOptions;
329
-        shell?: string;
330
-        killSignal?: string | number;
331
-        maxBuffer?: number;
332
-        encoding?: string;
333
-    }
334
-    interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
335
-        encoding: BufferEncoding;
336
-    }
337
-    interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
338
-        encoding: string; // specify `null`.
339
-    }
340
-    function execSync(command: string): Buffer;
341
-    function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string;
342
-    function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer;
343
-    function execSync(command: string, options?: ExecSyncOptions): Buffer;
344
-
345
-    interface ExecFileSyncOptions extends CommonOptions {
346
-        input?: string | Buffer | NodeJS.TypedArray | DataView;
347
-        stdio?: StdioOptions;
348
-        killSignal?: string | number;
349
-        maxBuffer?: number;
350
-        encoding?: string;
351
-        shell?: boolean | string;
352
-    }
353
-    interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
354
-        encoding: BufferEncoding;
355
-    }
356
-    interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
357
-        encoding: string; // specify `null`.
358
-    }
359
-    function execFileSync(command: string): Buffer;
360
-    function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string;
361
-    function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
362
-    function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer;
363
-    function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithStringEncoding): string;
364
-    function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
365
-    function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): Buffer;
366
-}

+ 0
- 260
node_modules/@types/node/cluster.d.ts Parādīt failu

@@ -1,260 +0,0 @@
1
-declare module "cluster" {
2
-    import * as child from "child_process";
3
-    import * as events from "events";
4
-    import * as net from "net";
5
-
6
-    // interfaces
7
-    interface ClusterSettings {
8
-        execArgv?: string[]; // default: process.execArgv
9
-        exec?: string;
10
-        args?: string[];
11
-        silent?: boolean;
12
-        stdio?: any[];
13
-        uid?: number;
14
-        gid?: number;
15
-        inspectPort?: number | (() => number);
16
-    }
17
-
18
-    interface Address {
19
-        address: string;
20
-        port: number;
21
-        addressType: number | "udp4" | "udp6";  // 4, 6, -1, "udp4", "udp6"
22
-    }
23
-
24
-    class Worker extends events.EventEmitter {
25
-        id: number;
26
-        process: child.ChildProcess;
27
-        send(message: any, sendHandle?: any, callback?: (error: Error | null) => void): boolean;
28
-        kill(signal?: string): void;
29
-        destroy(signal?: string): void;
30
-        disconnect(): void;
31
-        isConnected(): boolean;
32
-        isDead(): boolean;
33
-        exitedAfterDisconnect: boolean;
34
-
35
-        /**
36
-         * events.EventEmitter
37
-         *   1. disconnect
38
-         *   2. error
39
-         *   3. exit
40
-         *   4. listening
41
-         *   5. message
42
-         *   6. online
43
-         */
44
-        addListener(event: string, listener: (...args: any[]) => void): this;
45
-        addListener(event: "disconnect", listener: () => void): this;
46
-        addListener(event: "error", listener: (error: Error) => void): this;
47
-        addListener(event: "exit", listener: (code: number, signal: string) => void): this;
48
-        addListener(event: "listening", listener: (address: Address) => void): this;
49
-        addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
50
-        addListener(event: "online", listener: () => void): this;
51
-
52
-        emit(event: string | symbol, ...args: any[]): boolean;
53
-        emit(event: "disconnect"): boolean;
54
-        emit(event: "error", error: Error): boolean;
55
-        emit(event: "exit", code: number, signal: string): boolean;
56
-        emit(event: "listening", address: Address): boolean;
57
-        emit(event: "message", message: any, handle: net.Socket | net.Server): boolean;
58
-        emit(event: "online"): boolean;
59
-
60
-        on(event: string, listener: (...args: any[]) => void): this;
61
-        on(event: "disconnect", listener: () => void): this;
62
-        on(event: "error", listener: (error: Error) => void): this;
63
-        on(event: "exit", listener: (code: number, signal: string) => void): this;
64
-        on(event: "listening", listener: (address: Address) => void): this;
65
-        on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
66
-        on(event: "online", listener: () => void): this;
67
-
68
-        once(event: string, listener: (...args: any[]) => void): this;
69
-        once(event: "disconnect", listener: () => void): this;
70
-        once(event: "error", listener: (error: Error) => void): this;
71
-        once(event: "exit", listener: (code: number, signal: string) => void): this;
72
-        once(event: "listening", listener: (address: Address) => void): this;
73
-        once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
74
-        once(event: "online", listener: () => void): this;
75
-
76
-        prependListener(event: string, listener: (...args: any[]) => void): this;
77
-        prependListener(event: "disconnect", listener: () => void): this;
78
-        prependListener(event: "error", listener: (error: Error) => void): this;
79
-        prependListener(event: "exit", listener: (code: number, signal: string) => void): this;
80
-        prependListener(event: "listening", listener: (address: Address) => void): this;
81
-        prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
82
-        prependListener(event: "online", listener: () => void): this;
83
-
84
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
85
-        prependOnceListener(event: "disconnect", listener: () => void): this;
86
-        prependOnceListener(event: "error", listener: (error: Error) => void): this;
87
-        prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this;
88
-        prependOnceListener(event: "listening", listener: (address: Address) => void): this;
89
-        prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
90
-        prependOnceListener(event: "online", listener: () => void): this;
91
-    }
92
-
93
-    interface Cluster extends events.EventEmitter {
94
-        Worker: Worker;
95
-        disconnect(callback?: () => void): void;
96
-        fork(env?: any): Worker;
97
-        isMaster: boolean;
98
-        isWorker: boolean;
99
-        // TODO: cluster.schedulingPolicy
100
-        settings: ClusterSettings;
101
-        setupMaster(settings?: ClusterSettings): void;
102
-        worker?: Worker;
103
-        workers?: {
104
-            [index: string]: Worker | undefined
105
-        };
106
-
107
-        /**
108
-         * events.EventEmitter
109
-         *   1. disconnect
110
-         *   2. exit
111
-         *   3. fork
112
-         *   4. listening
113
-         *   5. message
114
-         *   6. online
115
-         *   7. setup
116
-         */
117
-        addListener(event: string, listener: (...args: any[]) => void): this;
118
-        addListener(event: "disconnect", listener: (worker: Worker) => void): this;
119
-        addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
120
-        addListener(event: "fork", listener: (worker: Worker) => void): this;
121
-        addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
122
-        addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
123
-        addListener(event: "online", listener: (worker: Worker) => void): this;
124
-        addListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
125
-
126
-        emit(event: string | symbol, ...args: any[]): boolean;
127
-        emit(event: "disconnect", worker: Worker): boolean;
128
-        emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
129
-        emit(event: "fork", worker: Worker): boolean;
130
-        emit(event: "listening", worker: Worker, address: Address): boolean;
131
-        emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
132
-        emit(event: "online", worker: Worker): boolean;
133
-        emit(event: "setup", settings: ClusterSettings): boolean;
134
-
135
-        on(event: string, listener: (...args: any[]) => void): this;
136
-        on(event: "disconnect", listener: (worker: Worker) => void): this;
137
-        on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
138
-        on(event: "fork", listener: (worker: Worker) => void): this;
139
-        on(event: "listening", listener: (worker: Worker, address: Address) => void): this;
140
-        on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
141
-        on(event: "online", listener: (worker: Worker) => void): this;
142
-        on(event: "setup", listener: (settings: ClusterSettings) => void): this;
143
-
144
-        once(event: string, listener: (...args: any[]) => void): this;
145
-        once(event: "disconnect", listener: (worker: Worker) => void): this;
146
-        once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
147
-        once(event: "fork", listener: (worker: Worker) => void): this;
148
-        once(event: "listening", listener: (worker: Worker, address: Address) => void): this;
149
-        once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
150
-        once(event: "online", listener: (worker: Worker) => void): this;
151
-        once(event: "setup", listener: (settings: ClusterSettings) => void): this;
152
-
153
-        prependListener(event: string, listener: (...args: any[]) => void): this;
154
-        prependListener(event: "disconnect", listener: (worker: Worker) => void): this;
155
-        prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
156
-        prependListener(event: "fork", listener: (worker: Worker) => void): this;
157
-        prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
158
-        prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;  // the handle is a net.Socket or net.Server object, or undefined.
159
-        prependListener(event: "online", listener: (worker: Worker) => void): this;
160
-        prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
161
-
162
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
163
-        prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this;
164
-        prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
165
-        prependOnceListener(event: "fork", listener: (worker: Worker) => void): this;
166
-        prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
167
-        // the handle is a net.Socket or net.Server object, or undefined.
168
-        prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;
169
-        prependOnceListener(event: "online", listener: (worker: Worker) => void): this;
170
-        prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
171
-    }
172
-
173
-    function disconnect(callback?: () => void): void;
174
-    function fork(env?: any): Worker;
175
-    const isMaster: boolean;
176
-    const isWorker: boolean;
177
-    // TODO: cluster.schedulingPolicy
178
-    const settings: ClusterSettings;
179
-    function setupMaster(settings?: ClusterSettings): void;
180
-    const worker: Worker;
181
-    const workers: {
182
-        [index: string]: Worker | undefined
183
-    };
184
-
185
-    /**
186
-     * events.EventEmitter
187
-     *   1. disconnect
188
-     *   2. exit
189
-     *   3. fork
190
-     *   4. listening
191
-     *   5. message
192
-     *   6. online
193
-     *   7. setup
194
-     */
195
-    function addListener(event: string, listener: (...args: any[]) => void): Cluster;
196
-    function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
197
-    function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
198
-    function addListener(event: "fork", listener: (worker: Worker) => void): Cluster;
199
-    function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
200
-     // the handle is a net.Socket or net.Server object, or undefined.
201
-    function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
202
-    function addListener(event: "online", listener: (worker: Worker) => void): Cluster;
203
-    function addListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
204
-
205
-    function emit(event: string | symbol, ...args: any[]): boolean;
206
-    function emit(event: "disconnect", worker: Worker): boolean;
207
-    function emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
208
-    function emit(event: "fork", worker: Worker): boolean;
209
-    function emit(event: "listening", worker: Worker, address: Address): boolean;
210
-    function emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
211
-    function emit(event: "online", worker: Worker): boolean;
212
-    function emit(event: "setup", settings: ClusterSettings): boolean;
213
-
214
-    function on(event: string, listener: (...args: any[]) => void): Cluster;
215
-    function on(event: "disconnect", listener: (worker: Worker) => void): Cluster;
216
-    function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
217
-    function on(event: "fork", listener: (worker: Worker) => void): Cluster;
218
-    function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
219
-    function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
220
-    function on(event: "online", listener: (worker: Worker) => void): Cluster;
221
-    function on(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
222
-
223
-    function once(event: string, listener: (...args: any[]) => void): Cluster;
224
-    function once(event: "disconnect", listener: (worker: Worker) => void): Cluster;
225
-    function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
226
-    function once(event: "fork", listener: (worker: Worker) => void): Cluster;
227
-    function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
228
-    function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;  // the handle is a net.Socket or net.Server object, or undefined.
229
-    function once(event: "online", listener: (worker: Worker) => void): Cluster;
230
-    function once(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
231
-
232
-    function removeListener(event: string, listener: (...args: any[]) => void): Cluster;
233
-    function removeAllListeners(event?: string): Cluster;
234
-    function setMaxListeners(n: number): Cluster;
235
-    function getMaxListeners(): number;
236
-    function listeners(event: string): Function[];
237
-    function listenerCount(type: string): number;
238
-
239
-    function prependListener(event: string, listener: (...args: any[]) => void): Cluster;
240
-    function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
241
-    function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
242
-    function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster;
243
-    function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
244
-     // the handle is a net.Socket or net.Server object, or undefined.
245
-    function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
246
-    function prependListener(event: "online", listener: (worker: Worker) => void): Cluster;
247
-    function prependListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
248
-
249
-    function prependOnceListener(event: string, listener: (...args: any[]) => void): Cluster;
250
-    function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
251
-    function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
252
-    function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster;
253
-    function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
254
-     // the handle is a net.Socket or net.Server object, or undefined.
255
-    function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
256
-    function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster;
257
-    function prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
258
-
259
-    function eventNames(): string[];
260
-}

+ 0
- 3
node_modules/@types/node/console.d.ts Parādīt failu

@@ -1,3 +0,0 @@
1
-declare module "console" {
2
-    export = console;
3
-}

+ 0
- 279
node_modules/@types/node/constants.d.ts Parādīt failu

@@ -1,279 +0,0 @@
1
-declare module "constants" {
2
-    const E2BIG: number;
3
-    const EACCES: number;
4
-    const EADDRINUSE: number;
5
-    const EADDRNOTAVAIL: number;
6
-    const EAFNOSUPPORT: number;
7
-    const EAGAIN: number;
8
-    const EALREADY: number;
9
-    const EBADF: number;
10
-    const EBADMSG: number;
11
-    const EBUSY: number;
12
-    const ECANCELED: number;
13
-    const ECHILD: number;
14
-    const ECONNABORTED: number;
15
-    const ECONNREFUSED: number;
16
-    const ECONNRESET: number;
17
-    const EDEADLK: number;
18
-    const EDESTADDRREQ: number;
19
-    const EDOM: number;
20
-    const EEXIST: number;
21
-    const EFAULT: number;
22
-    const EFBIG: number;
23
-    const EHOSTUNREACH: number;
24
-    const EIDRM: number;
25
-    const EILSEQ: number;
26
-    const EINPROGRESS: number;
27
-    const EINTR: number;
28
-    const EINVAL: number;
29
-    const EIO: number;
30
-    const EISCONN: number;
31
-    const EISDIR: number;
32
-    const ELOOP: number;
33
-    const EMFILE: number;
34
-    const EMLINK: number;
35
-    const EMSGSIZE: number;
36
-    const ENAMETOOLONG: number;
37
-    const ENETDOWN: number;
38
-    const ENETRESET: number;
39
-    const ENETUNREACH: number;
40
-    const ENFILE: number;
41
-    const ENOBUFS: number;
42
-    const ENODATA: number;
43
-    const ENODEV: number;
44
-    const ENOENT: number;
45
-    const ENOEXEC: number;
46
-    const ENOLCK: number;
47
-    const ENOLINK: number;
48
-    const ENOMEM: number;
49
-    const ENOMSG: number;
50
-    const ENOPROTOOPT: number;
51
-    const ENOSPC: number;
52
-    const ENOSR: number;
53
-    const ENOSTR: number;
54
-    const ENOSYS: number;
55
-    const ENOTCONN: number;
56
-    const ENOTDIR: number;
57
-    const ENOTEMPTY: number;
58
-    const ENOTSOCK: number;
59
-    const ENOTSUP: number;
60
-    const ENOTTY: number;
61
-    const ENXIO: number;
62
-    const EOPNOTSUPP: number;
63
-    const EOVERFLOW: number;
64
-    const EPERM: number;
65
-    const EPIPE: number;
66
-    const EPROTO: number;
67
-    const EPROTONOSUPPORT: number;
68
-    const EPROTOTYPE: number;
69
-    const ERANGE: number;
70
-    const EROFS: number;
71
-    const ESPIPE: number;
72
-    const ESRCH: number;
73
-    const ETIME: number;
74
-    const ETIMEDOUT: number;
75
-    const ETXTBSY: number;
76
-    const EWOULDBLOCK: number;
77
-    const EXDEV: number;
78
-    const WSAEINTR: number;
79
-    const WSAEBADF: number;
80
-    const WSAEACCES: number;
81
-    const WSAEFAULT: number;
82
-    const WSAEINVAL: number;
83
-    const WSAEMFILE: number;
84
-    const WSAEWOULDBLOCK: number;
85
-    const WSAEINPROGRESS: number;
86
-    const WSAEALREADY: number;
87
-    const WSAENOTSOCK: number;
88
-    const WSAEDESTADDRREQ: number;
89
-    const WSAEMSGSIZE: number;
90
-    const WSAEPROTOTYPE: number;
91
-    const WSAENOPROTOOPT: number;
92
-    const WSAEPROTONOSUPPORT: number;
93
-    const WSAESOCKTNOSUPPORT: number;
94
-    const WSAEOPNOTSUPP: number;
95
-    const WSAEPFNOSUPPORT: number;
96
-    const WSAEAFNOSUPPORT: number;
97
-    const WSAEADDRINUSE: number;
98
-    const WSAEADDRNOTAVAIL: number;
99
-    const WSAENETDOWN: number;
100
-    const WSAENETUNREACH: number;
101
-    const WSAENETRESET: number;
102
-    const WSAECONNABORTED: number;
103
-    const WSAECONNRESET: number;
104
-    const WSAENOBUFS: number;
105
-    const WSAEISCONN: number;
106
-    const WSAENOTCONN: number;
107
-    const WSAESHUTDOWN: number;
108
-    const WSAETOOMANYREFS: number;
109
-    const WSAETIMEDOUT: number;
110
-    const WSAECONNREFUSED: number;
111
-    const WSAELOOP: number;
112
-    const WSAENAMETOOLONG: number;
113
-    const WSAEHOSTDOWN: number;
114
-    const WSAEHOSTUNREACH: number;
115
-    const WSAENOTEMPTY: number;
116
-    const WSAEPROCLIM: number;
117
-    const WSAEUSERS: number;
118
-    const WSAEDQUOT: number;
119
-    const WSAESTALE: number;
120
-    const WSAEREMOTE: number;
121
-    const WSASYSNOTREADY: number;
122
-    const WSAVERNOTSUPPORTED: number;
123
-    const WSANOTINITIALISED: number;
124
-    const WSAEDISCON: number;
125
-    const WSAENOMORE: number;
126
-    const WSAECANCELLED: number;
127
-    const WSAEINVALIDPROCTABLE: number;
128
-    const WSAEINVALIDPROVIDER: number;
129
-    const WSAEPROVIDERFAILEDINIT: number;
130
-    const WSASYSCALLFAILURE: number;
131
-    const WSASERVICE_NOT_FOUND: number;
132
-    const WSATYPE_NOT_FOUND: number;
133
-    const WSA_E_NO_MORE: number;
134
-    const WSA_E_CANCELLED: number;
135
-    const WSAEREFUSED: number;
136
-    const SIGHUP: number;
137
-    const SIGINT: number;
138
-    const SIGILL: number;
139
-    const SIGABRT: number;
140
-    const SIGFPE: number;
141
-    const SIGKILL: number;
142
-    const SIGSEGV: number;
143
-    const SIGTERM: number;
144
-    const SIGBREAK: number;
145
-    const SIGWINCH: number;
146
-    const SSL_OP_ALL: number;
147
-    const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
148
-    const SSL_OP_CIPHER_SERVER_PREFERENCE: number;
149
-    const SSL_OP_CISCO_ANYCONNECT: number;
150
-    const SSL_OP_COOKIE_EXCHANGE: number;
151
-    const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number;
152
-    const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number;
153
-    const SSL_OP_EPHEMERAL_RSA: number;
154
-    const SSL_OP_LEGACY_SERVER_CONNECT: number;
155
-    const SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number;
156
-    const SSL_OP_MICROSOFT_SESS_ID_BUG: number;
157
-    const SSL_OP_MSIE_SSLV2_RSA_PADDING: number;
158
-    const SSL_OP_NETSCAPE_CA_DN_BUG: number;
159
-    const SSL_OP_NETSCAPE_CHALLENGE_BUG: number;
160
-    const SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number;
161
-    const SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number;
162
-    const SSL_OP_NO_COMPRESSION: number;
163
-    const SSL_OP_NO_QUERY_MTU: number;
164
-    const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number;
165
-    const SSL_OP_NO_SSLv2: number;
166
-    const SSL_OP_NO_SSLv3: number;
167
-    const SSL_OP_NO_TICKET: number;
168
-    const SSL_OP_NO_TLSv1: number;
169
-    const SSL_OP_NO_TLSv1_1: number;
170
-    const SSL_OP_NO_TLSv1_2: number;
171
-    const SSL_OP_PKCS1_CHECK_1: number;
172
-    const SSL_OP_PKCS1_CHECK_2: number;
173
-    const SSL_OP_SINGLE_DH_USE: number;
174
-    const SSL_OP_SINGLE_ECDH_USE: number;
175
-    const SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number;
176
-    const SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number;
177
-    const SSL_OP_TLS_BLOCK_PADDING_BUG: number;
178
-    const SSL_OP_TLS_D5_BUG: number;
179
-    const SSL_OP_TLS_ROLLBACK_BUG: number;
180
-    const ENGINE_METHOD_DSA: number;
181
-    const ENGINE_METHOD_DH: number;
182
-    const ENGINE_METHOD_RAND: number;
183
-    const ENGINE_METHOD_ECDH: number;
184
-    const ENGINE_METHOD_ECDSA: number;
185
-    const ENGINE_METHOD_CIPHERS: number;
186
-    const ENGINE_METHOD_DIGESTS: number;
187
-    const ENGINE_METHOD_STORE: number;
188
-    const ENGINE_METHOD_PKEY_METHS: number;
189
-    const ENGINE_METHOD_PKEY_ASN1_METHS: number;
190
-    const ENGINE_METHOD_ALL: number;
191
-    const ENGINE_METHOD_NONE: number;
192
-    const DH_CHECK_P_NOT_SAFE_PRIME: number;
193
-    const DH_CHECK_P_NOT_PRIME: number;
194
-    const DH_UNABLE_TO_CHECK_GENERATOR: number;
195
-    const DH_NOT_SUITABLE_GENERATOR: number;
196
-    const NPN_ENABLED: number;
197
-    const RSA_PKCS1_PADDING: number;
198
-    const RSA_SSLV23_PADDING: number;
199
-    const RSA_NO_PADDING: number;
200
-    const RSA_PKCS1_OAEP_PADDING: number;
201
-    const RSA_X931_PADDING: number;
202
-    const RSA_PKCS1_PSS_PADDING: number;
203
-    const POINT_CONVERSION_COMPRESSED: number;
204
-    const POINT_CONVERSION_UNCOMPRESSED: number;
205
-    const POINT_CONVERSION_HYBRID: number;
206
-    const O_RDONLY: number;
207
-    const O_WRONLY: number;
208
-    const O_RDWR: number;
209
-    const S_IFMT: number;
210
-    const S_IFREG: number;
211
-    const S_IFDIR: number;
212
-    const S_IFCHR: number;
213
-    const S_IFBLK: number;
214
-    const S_IFIFO: number;
215
-    const S_IFSOCK: number;
216
-    const S_IRWXU: number;
217
-    const S_IRUSR: number;
218
-    const S_IWUSR: number;
219
-    const S_IXUSR: number;
220
-    const S_IRWXG: number;
221
-    const S_IRGRP: number;
222
-    const S_IWGRP: number;
223
-    const S_IXGRP: number;
224
-    const S_IRWXO: number;
225
-    const S_IROTH: number;
226
-    const S_IWOTH: number;
227
-    const S_IXOTH: number;
228
-    const S_IFLNK: number;
229
-    const O_CREAT: number;
230
-    const O_EXCL: number;
231
-    const O_NOCTTY: number;
232
-    const O_DIRECTORY: number;
233
-    const O_NOATIME: number;
234
-    const O_NOFOLLOW: number;
235
-    const O_SYNC: number;
236
-    const O_DSYNC: number;
237
-    const O_SYMLINK: number;
238
-    const O_DIRECT: number;
239
-    const O_NONBLOCK: number;
240
-    const O_TRUNC: number;
241
-    const O_APPEND: number;
242
-    const F_OK: number;
243
-    const R_OK: number;
244
-    const W_OK: number;
245
-    const X_OK: number;
246
-    const COPYFILE_EXCL: number;
247
-    const COPYFILE_FICLONE: number;
248
-    const COPYFILE_FICLONE_FORCE: number;
249
-    const UV_UDP_REUSEADDR: number;
250
-    const SIGQUIT: number;
251
-    const SIGTRAP: number;
252
-    const SIGIOT: number;
253
-    const SIGBUS: number;
254
-    const SIGUSR1: number;
255
-    const SIGUSR2: number;
256
-    const SIGPIPE: number;
257
-    const SIGALRM: number;
258
-    const SIGCHLD: number;
259
-    const SIGSTKFLT: number;
260
-    const SIGCONT: number;
261
-    const SIGSTOP: number;
262
-    const SIGTSTP: number;
263
-    const SIGTTIN: number;
264
-    const SIGTTOU: number;
265
-    const SIGURG: number;
266
-    const SIGXCPU: number;
267
-    const SIGXFSZ: number;
268
-    const SIGVTALRM: number;
269
-    const SIGPROF: number;
270
-    const SIGIO: number;
271
-    const SIGPOLL: number;
272
-    const SIGPWR: number;
273
-    const SIGSYS: number;
274
-    const SIGUNUSED: number;
275
-    const defaultCoreCipherList: string;
276
-    const defaultCipherList: string;
277
-    const ENGINE_METHOD_RSA: number;
278
-    const ALPN_ENABLED: number;
279
-}

+ 0
- 568
node_modules/@types/node/crypto.d.ts Parādīt failu

@@ -1,568 +0,0 @@
1
-declare module "crypto" {
2
-    import * as stream from "stream";
3
-
4
-    interface Certificate {
5
-        exportChallenge(spkac: BinaryLike): Buffer;
6
-        exportPublicKey(spkac: BinaryLike): Buffer;
7
-        verifySpkac(spkac: Binary): boolean;
8
-    }
9
-    const Certificate: {
10
-        new(): Certificate;
11
-        (): Certificate;
12
-    };
13
-
14
-    namespace constants { // https://nodejs.org/dist/latest-v10.x/docs/api/crypto.html#crypto_crypto_constants
15
-        const OPENSSL_VERSION_NUMBER: number;
16
-
17
-        /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */
18
-        const SSL_OP_ALL: number;
19
-        /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */
20
-        const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
21
-        /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */
22
-        const SSL_OP_CIPHER_SERVER_PREFERENCE: number;
23
-        /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */
24
-        const SSL_OP_CISCO_ANYCONNECT: number;
25
-        /** Instructs OpenSSL to turn on cookie exchange. */
26
-        const SSL_OP_COOKIE_EXCHANGE: number;
27
-        /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */
28
-        const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number;
29
-        /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */
30
-        const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number;
31
-        /** Instructs OpenSSL to always use the tmp_rsa key when performing RSA operations. */
32
-        const SSL_OP_EPHEMERAL_RSA: number;
33
-        /** Allows initial connection to servers that do not support RI. */
34
-        const SSL_OP_LEGACY_SERVER_CONNECT: number;
35
-        const SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number;
36
-        const SSL_OP_MICROSOFT_SESS_ID_BUG: number;
37
-        /** Instructs OpenSSL to disable the workaround for a man-in-the-middle protocol-version vulnerability in the SSL 2.0 server implementation. */
38
-        const SSL_OP_MSIE_SSLV2_RSA_PADDING: number;
39
-        const SSL_OP_NETSCAPE_CA_DN_BUG: number;
40
-        const SSL_OP_NETSCAPE_CHALLENGE_BUG: number;
41
-        const SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number;
42
-        const SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number;
43
-        /** Instructs OpenSSL to disable support for SSL/TLS compression. */
44
-        const SSL_OP_NO_COMPRESSION: number;
45
-        const SSL_OP_NO_QUERY_MTU: number;
46
-        /** Instructs OpenSSL to always start a new session when performing renegotiation. */
47
-        const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number;
48
-        const SSL_OP_NO_SSLv2: number;
49
-        const SSL_OP_NO_SSLv3: number;
50
-        const SSL_OP_NO_TICKET: number;
51
-        const SSL_OP_NO_TLSv1: number;
52
-        const SSL_OP_NO_TLSv1_1: number;
53
-        const SSL_OP_NO_TLSv1_2: number;
54
-        const SSL_OP_PKCS1_CHECK_1: number;
55
-        const SSL_OP_PKCS1_CHECK_2: number;
56
-        /** Instructs OpenSSL to always create a new key when using temporary/ephemeral DH parameters. */
57
-        const SSL_OP_SINGLE_DH_USE: number;
58
-        /** Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters. */
59
-        const SSL_OP_SINGLE_ECDH_USE: number;
60
-        const SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number;
61
-        const SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number;
62
-        const SSL_OP_TLS_BLOCK_PADDING_BUG: number;
63
-        const SSL_OP_TLS_D5_BUG: number;
64
-        /** Instructs OpenSSL to disable version rollback attack detection. */
65
-        const SSL_OP_TLS_ROLLBACK_BUG: number;
66
-
67
-        const ENGINE_METHOD_RSA: number;
68
-        const ENGINE_METHOD_DSA: number;
69
-        const ENGINE_METHOD_DH: number;
70
-        const ENGINE_METHOD_RAND: number;
71
-        const ENGINE_METHOD_EC: number;
72
-        const ENGINE_METHOD_CIPHERS: number;
73
-        const ENGINE_METHOD_DIGESTS: number;
74
-        const ENGINE_METHOD_PKEY_METHS: number;
75
-        const ENGINE_METHOD_PKEY_ASN1_METHS: number;
76
-        const ENGINE_METHOD_ALL: number;
77
-        const ENGINE_METHOD_NONE: number;
78
-
79
-        const DH_CHECK_P_NOT_SAFE_PRIME: number;
80
-        const DH_CHECK_P_NOT_PRIME: number;
81
-        const DH_UNABLE_TO_CHECK_GENERATOR: number;
82
-        const DH_NOT_SUITABLE_GENERATOR: number;
83
-
84
-        const ALPN_ENABLED: number;
85
-
86
-        const RSA_PKCS1_PADDING: number;
87
-        const RSA_SSLV23_PADDING: number;
88
-        const RSA_NO_PADDING: number;
89
-        const RSA_PKCS1_OAEP_PADDING: number;
90
-        const RSA_X931_PADDING: number;
91
-        const RSA_PKCS1_PSS_PADDING: number;
92
-        /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */
93
-        const RSA_PSS_SALTLEN_DIGEST: number;
94
-        /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */
95
-        const RSA_PSS_SALTLEN_MAX_SIGN: number;
96
-        /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */
97
-        const RSA_PSS_SALTLEN_AUTO: number;
98
-
99
-        const POINT_CONVERSION_COMPRESSED: number;
100
-        const POINT_CONVERSION_UNCOMPRESSED: number;
101
-        const POINT_CONVERSION_HYBRID: number;
102
-
103
-        /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */
104
-        const defaultCoreCipherList: string;
105
-        /** Specifies the active default cipher list used by the current Node.js process  (colon-separated values). */
106
-        const defaultCipherList: string;
107
-    }
108
-
109
-    /** @deprecated since v10.0.0 */
110
-    const fips: boolean;
111
-
112
-    function createHash(algorithm: string, options?: stream.TransformOptions): Hash;
113
-    function createHmac(algorithm: string, key: BinaryLike, options?: stream.TransformOptions): Hmac;
114
-
115
-    type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1";
116
-    type HexBase64Latin1Encoding = "latin1" | "hex" | "base64";
117
-    type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary";
118
-    type HexBase64BinaryEncoding = "binary" | "base64" | "hex";
119
-    type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid";
120
-
121
-    class Hash extends stream.Transform {
122
-        private constructor();
123
-        update(data: BinaryLike): Hash;
124
-        update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hash;
125
-        digest(): Buffer;
126
-        digest(encoding: HexBase64Latin1Encoding): string;
127
-    }
128
-    class Hmac extends stream.Transform {
129
-        private constructor();
130
-        update(data: BinaryLike): Hmac;
131
-        update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hmac;
132
-        digest(): Buffer;
133
-        digest(encoding: HexBase64Latin1Encoding): string;
134
-    }
135
-
136
-    export type KeyObjectType = 'secret' | 'public' | 'private';
137
-
138
-    interface KeyExportOptions<T extends KeyFormat> {
139
-        type: 'pkcs1' | 'spki' | 'pkcs8' | 'sec1';
140
-        format: T;
141
-        cipher?: string;
142
-        passphrase?: string | Buffer;
143
-    }
144
-
145
-    class KeyObject {
146
-        private constructor();
147
-        asymmetricKeyType?: KeyType;
148
-        export(options: KeyExportOptions<'pem'>): string | Buffer;
149
-        export(options?: KeyExportOptions<'der'>): Buffer;
150
-        symmetricSize?: number;
151
-        type: KeyObjectType;
152
-    }
153
-
154
-    type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm';
155
-    type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm';
156
-
157
-    type Binary = Buffer | NodeJS.TypedArray | DataView;
158
-    type BinaryLike = string | Binary;
159
-
160
-    type CipherKey = BinaryLike | KeyObject;
161
-
162
-    interface CipherCCMOptions extends stream.TransformOptions {
163
-        authTagLength: number;
164
-    }
165
-    interface CipherGCMOptions extends stream.TransformOptions {
166
-        authTagLength?: number;
167
-    }
168
-    /** @deprecated since v10.0.0 use createCipheriv() */
169
-    function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM;
170
-    /** @deprecated since v10.0.0 use createCipheriv() */
171
-    function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM;
172
-    /** @deprecated since v10.0.0 use createCipheriv() */
173
-    function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher;
174
-
175
-    function createCipheriv(
176
-        algorithm: CipherCCMTypes,
177
-        key: CipherKey,
178
-        iv: BinaryLike | null,
179
-        options: CipherCCMOptions
180
-    ): CipherCCM;
181
-    function createCipheriv(
182
-        algorithm: CipherGCMTypes,
183
-        key: CipherKey,
184
-        iv: BinaryLike | null,
185
-        options?: CipherGCMOptions
186
-    ): CipherGCM;
187
-    function createCipheriv(
188
-        algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions
189
-    ): Cipher;
190
-
191
-    class Cipher extends stream.Transform {
192
-        private constructor();
193
-        update(data: BinaryLike): Buffer;
194
-        update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer;
195
-        update(data: Binary, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string;
196
-        update(data: string, input_encoding: Utf8AsciiBinaryEncoding | undefined, output_encoding: HexBase64BinaryEncoding): string;
197
-        final(): Buffer;
198
-        final(output_encoding: string): string;
199
-        setAutoPadding(auto_padding?: boolean): this;
200
-        // getAuthTag(): Buffer;
201
-        // setAAD(buffer: Buffer): this; // docs only say buffer
202
-    }
203
-    interface CipherCCM extends Cipher {
204
-        setAAD(buffer: Buffer, options: { plaintextLength: number }): this;
205
-        getAuthTag(): Buffer;
206
-    }
207
-    interface CipherGCM extends Cipher {
208
-        setAAD(buffer: Buffer, options?: { plaintextLength: number }): this;
209
-        getAuthTag(): Buffer;
210
-    }
211
-    /** @deprecated since v10.0.0 use createCipheriv() */
212
-    function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM;
213
-    /** @deprecated since v10.0.0 use createCipheriv() */
214
-    function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM;
215
-    /** @deprecated since v10.0.0 use createCipheriv() */
216
-    function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher;
217
-
218
-    function createDecipheriv(
219
-        algorithm: CipherCCMTypes,
220
-        key: BinaryLike,
221
-        iv: BinaryLike | null,
222
-        options: CipherCCMOptions,
223
-    ): DecipherCCM;
224
-    function createDecipheriv(
225
-        algorithm: CipherGCMTypes,
226
-        key: BinaryLike,
227
-        iv: BinaryLike | null,
228
-        options?: CipherGCMOptions,
229
-    ): DecipherGCM;
230
-    function createDecipheriv(algorithm: string, key: BinaryLike, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher;
231
-
232
-    class Decipher extends stream.Transform {
233
-        private constructor();
234
-        update(data: Binary): Buffer;
235
-        update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer;
236
-        update(data: Binary, input_encoding: undefined, output_encoding: Utf8AsciiBinaryEncoding): string;
237
-        update(data: string, input_encoding: HexBase64BinaryEncoding | undefined, output_encoding: Utf8AsciiBinaryEncoding): string;
238
-        final(): Buffer;
239
-        final(output_encoding: string): string;
240
-        setAutoPadding(auto_padding?: boolean): this;
241
-        // setAuthTag(tag: Binary): this;
242
-        // setAAD(buffer: Binary): this;
243
-    }
244
-    interface DecipherCCM extends Decipher {
245
-        setAuthTag(buffer: Binary): this;
246
-        setAAD(buffer: Binary, options: { plaintextLength: number }): this;
247
-    }
248
-    interface DecipherGCM extends Decipher {
249
-        setAuthTag(buffer: Binary): this;
250
-        setAAD(buffer: Binary, options?: { plaintextLength: number }): this;
251
-    }
252
-
253
-    interface PrivateKeyInput {
254
-        key: string | Buffer;
255
-        format?: KeyFormat;
256
-        type?: 'pkcs1' | 'pkcs8' | 'sec1';
257
-        passphrase?: string | Buffer;
258
-    }
259
-
260
-    interface PublicKeyInput {
261
-        key: string | Buffer;
262
-        format?: KeyFormat;
263
-        type?: 'pkcs1' | 'spki';
264
-    }
265
-
266
-    function createPrivateKey(key: PrivateKeyInput | string | Buffer): KeyObject;
267
-    function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject): KeyObject;
268
-    function createSecretKey(key: Buffer): KeyObject;
269
-
270
-    function createSign(algorithm: string, options?: stream.WritableOptions): Signer;
271
-
272
-    interface SignPrivateKeyInput extends PrivateKeyInput {
273
-        padding?: number;
274
-        saltLength?: number;
275
-    }
276
-
277
-    type KeyLike = string | Buffer | KeyObject;
278
-
279
-    class Signer extends stream.Writable {
280
-        private constructor();
281
-
282
-        update(data: BinaryLike): Signer;
283
-        update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Signer;
284
-        sign(private_key: SignPrivateKeyInput | KeyLike): Buffer;
285
-        sign(private_key: SignPrivateKeyInput | KeyLike, output_format: HexBase64Latin1Encoding): string;
286
-    }
287
-
288
-    function createVerify(algorith: string, options?: stream.WritableOptions): Verify;
289
-    class Verify extends stream.Writable {
290
-        private constructor();
291
-
292
-        update(data: BinaryLike): Verify;
293
-        update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Verify;
294
-        verify(object: Object | KeyLike, signature: Binary): boolean;
295
-        verify(object: Object | KeyLike, signature: string, signature_format?: HexBase64Latin1Encoding): boolean;
296
-        // https://nodejs.org/api/crypto.html#crypto_verifier_verify_object_signature_signature_format
297
-        // The signature field accepts a TypedArray type, but it is only available starting ES2017
298
-    }
299
-    function createDiffieHellman(prime_length: number, generator?: number | Binary): DiffieHellman;
300
-    function createDiffieHellman(prime: Binary): DiffieHellman;
301
-    function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman;
302
-    function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | Binary): DiffieHellman;
303
-    function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman;
304
-    class DiffieHellman {
305
-        private constructor();
306
-        generateKeys(): Buffer;
307
-        generateKeys(encoding: HexBase64Latin1Encoding): string;
308
-        computeSecret(other_public_key: Binary): Buffer;
309
-        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer;
310
-        computeSecret(other_public_key: Binary, output_encoding: HexBase64Latin1Encoding): string;
311
-        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string;
312
-        getPrime(): Buffer;
313
-        getPrime(encoding: HexBase64Latin1Encoding): string;
314
-        getGenerator(): Buffer;
315
-        getGenerator(encoding: HexBase64Latin1Encoding): string;
316
-        getPublicKey(): Buffer;
317
-        getPublicKey(encoding: HexBase64Latin1Encoding): string;
318
-        getPrivateKey(): Buffer;
319
-        getPrivateKey(encoding: HexBase64Latin1Encoding): string;
320
-        setPublicKey(public_key: Binary): void;
321
-        setPublicKey(public_key: string, encoding: string): void;
322
-        setPrivateKey(private_key: Binary): void;
323
-        setPrivateKey(private_key: string, encoding: string): void;
324
-        verifyError: number;
325
-    }
326
-    function getDiffieHellman(group_name: string): DiffieHellman;
327
-    function pbkdf2(
328
-        password: BinaryLike,
329
-        salt: BinaryLike,
330
-        iterations: number,
331
-        keylen: number,
332
-        digest: string,
333
-        callback: (err: Error | null, derivedKey: Buffer) => any,
334
-    ): void;
335
-    function pbkdf2Sync(password: BinaryLike, salt: BinaryLike, iterations: number, keylen: number, digest: string): Buffer;
336
-
337
-    function randomBytes(size: number): Buffer;
338
-    function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void;
339
-    function pseudoRandomBytes(size: number): Buffer;
340
-    function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void;
341
-
342
-    function randomFillSync<T extends Binary>(buffer: T, offset?: number, size?: number): T;
343
-    function randomFill<T extends Binary>(buffer: T, callback: (err: Error | null, buf: T) => void): void;
344
-    function randomFill<T extends Binary>(buffer: T, offset: number, callback: (err: Error | null, buf: T) => void): void;
345
-    function randomFill<T extends Binary>(buffer: T, offset: number, size: number, callback: (err: Error | null, buf: T) => void): void;
346
-
347
-    interface ScryptOptions {
348
-        N?: number;
349
-        r?: number;
350
-        p?: number;
351
-        maxmem?: number;
352
-    }
353
-    function scrypt(
354
-        password: BinaryLike,
355
-        salt: BinaryLike,
356
-        keylen: number, callback: (err: Error | null, derivedKey: Buffer) => void,
357
-    ): void;
358
-    function scrypt(
359
-        password: BinaryLike,
360
-        salt: BinaryLike,
361
-        keylen: number,
362
-        options: ScryptOptions,
363
-        callback: (err: Error | null, derivedKey: Buffer) => void,
364
-    ): void;
365
-    function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer;
366
-
367
-    interface RsaPublicKey {
368
-        key: KeyLike;
369
-        padding?: number;
370
-    }
371
-    interface RsaPrivateKey {
372
-        key: KeyLike;
373
-        passphrase?: string;
374
-        padding?: number;
375
-    }
376
-    function publicEncrypt(public_key: RsaPublicKey | KeyLike, buffer: Binary): Buffer;
377
-    function privateDecrypt(private_key: RsaPrivateKey | KeyLike, buffer: Binary): Buffer;
378
-    function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: Binary): Buffer;
379
-    function publicDecrypt(public_key: RsaPublicKey | KeyLike, buffer: Binary): Buffer;
380
-    function getCiphers(): string[];
381
-    function getCurves(): string[];
382
-    function getHashes(): string[];
383
-    class ECDH {
384
-        private constructor();
385
-        static convertKey(
386
-            key: BinaryLike,
387
-            curve: string,
388
-            inputEncoding?: HexBase64Latin1Encoding,
389
-            outputEncoding?: "latin1" | "hex" | "base64",
390
-            format?: "uncompressed" | "compressed" | "hybrid",
391
-        ): Buffer | string;
392
-        generateKeys(): Buffer;
393
-        generateKeys(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string;
394
-        computeSecret(other_public_key: Binary): Buffer;
395
-        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer;
396
-        computeSecret(other_public_key: Binary, output_encoding: HexBase64Latin1Encoding): string;
397
-        computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string;
398
-        getPrivateKey(): Buffer;
399
-        getPrivateKey(encoding: HexBase64Latin1Encoding): string;
400
-        getPublicKey(): Buffer;
401
-        getPublicKey(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string;
402
-        setPrivateKey(private_key: Binary): void;
403
-        setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void;
404
-    }
405
-    function createECDH(curve_name: string): ECDH;
406
-    function timingSafeEqual(a: Binary, b: Binary): boolean;
407
-    /** @deprecated since v10.0.0 */
408
-    const DEFAULT_ENCODING: string;
409
-
410
-    export type KeyType = 'rsa' | 'dsa' | 'ec';
411
-    export type KeyFormat = 'pem' | 'der';
412
-
413
-    interface BasePrivateKeyEncodingOptions<T extends KeyFormat> {
414
-        format: T;
415
-        cipher: string;
416
-        passphrase: string;
417
-    }
418
-
419
-    interface KeyPairKeyObjectResult {
420
-        publicKey: KeyObject;
421
-        privateKey: KeyObject;
422
-    }
423
-
424
-    interface ECKeyPairKeyObjectOptions {
425
-        /**
426
-         * Name of the curve to use.
427
-         */
428
-        namedCurve: string;
429
-    }
430
-
431
-    interface RSAKeyPairKeyObjectOptions {
432
-        /**
433
-         * Key size in bits
434
-         */
435
-        modulusLength: number;
436
-
437
-        /**
438
-         * @default 0x10001
439
-         */
440
-        publicExponent?: number;
441
-    }
442
-
443
-    interface DSAKeyPairKeyObjectOptions {
444
-        /**
445
-         * Key size in bits
446
-         */
447
-        modulusLength: number;
448
-
449
-        /**
450
-         * Size of q in bits
451
-         */
452
-        divisorLength: number;
453
-    }
454
-
455
-    interface RSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
456
-        /**
457
-         * Key size in bits
458
-         */
459
-        modulusLength: number;
460
-        /**
461
-         * @default 0x10001
462
-         */
463
-        publicExponent?: number;
464
-
465
-        publicKeyEncoding: {
466
-            type: 'pkcs1' | 'spki';
467
-            format: PubF;
468
-        };
469
-        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
470
-            type: 'pkcs1' | 'pkcs8';
471
-        };
472
-    }
473
-
474
-    interface DSAKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
475
-        /**
476
-         * Key size in bits
477
-         */
478
-        modulusLength: number;
479
-        /**
480
-         * Size of q in bits
481
-         */
482
-        divisorLength: number;
483
-
484
-        publicKeyEncoding: {
485
-            type: 'spki';
486
-            format: PubF;
487
-        };
488
-        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
489
-            type: 'pkcs8';
490
-        };
491
-    }
492
-
493
-    interface ECKeyPairOptions<PubF extends KeyFormat, PrivF extends KeyFormat> {
494
-        /**
495
-         * Name of the curve to use.
496
-         */
497
-        namedCurve: string;
498
-
499
-        publicKeyEncoding: {
500
-            type: 'pkcs1' | 'spki';
501
-            format: PubF;
502
-        };
503
-        privateKeyEncoding: BasePrivateKeyEncodingOptions<PrivF> & {
504
-            type: 'sec1' | 'pkcs8';
505
-        };
506
-    }
507
-
508
-    interface KeyPairSyncResult<T1 extends string | Buffer, T2 extends string | Buffer> {
509
-        publicKey: T1;
510
-        privateKey: T2;
511
-    }
512
-
513
-    function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult<string, string>;
514
-    function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult<string, Buffer>;
515
-    function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult<Buffer, string>;
516
-    function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult<Buffer, Buffer>;
517
-    function generateKeyPairSync(type: 'rsa', options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
518
-
519
-    function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult<string, string>;
520
-    function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult<string, Buffer>;
521
-    function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult<Buffer, string>;
522
-    function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult<Buffer, Buffer>;
523
-    function generateKeyPairSync(type: 'dsa', options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
524
-
525
-    function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult<string, string>;
526
-    function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>): KeyPairSyncResult<string, Buffer>;
527
-    function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>): KeyPairSyncResult<Buffer, string>;
528
-    function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'der'>): KeyPairSyncResult<Buffer, Buffer>;
529
-    function generateKeyPairSync(type: 'ec', options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult;
530
-
531
-    function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void;
532
-    function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void;
533
-    function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void;
534
-    function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void;
535
-    function generateKeyPair(type: 'rsa', options: RSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void;
536
-
537
-    function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void;
538
-    function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void;
539
-    function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void;
540
-    function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void;
541
-    function generateKeyPair(type: 'dsa', options: DSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void;
542
-
543
-    function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void;
544
-    function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void;
545
-    function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void;
546
-    function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void;
547
-    function generateKeyPair(type: 'ec', options: ECKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void;
548
-
549
-    namespace generateKeyPair {
550
-        function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>;
551
-        function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>;
552
-        function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>;
553
-        function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>;
554
-        function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
555
-
556
-        function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>;
557
-        function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>;
558
-        function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>;
559
-        function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>;
560
-        function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
561
-
562
-        function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>;
563
-        function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>;
564
-        function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>;
565
-        function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>;
566
-        function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise<KeyPairKeyObjectResult>;
567
-    }
568
-}

+ 0
- 102
node_modules/@types/node/dgram.d.ts Parādīt failu

@@ -1,102 +0,0 @@
1
-declare module "dgram" {
2
-    import { AddressInfo } from "net";
3
-    import * as dns from "dns";
4
-    import * as events from "events";
5
-
6
-    interface RemoteInfo {
7
-        address: string;
8
-        family: 'IPv4' | 'IPv6';
9
-        port: number;
10
-        size: number;
11
-    }
12
-
13
-    interface BindOptions {
14
-        port: number;
15
-        address?: string;
16
-        exclusive?: boolean;
17
-    }
18
-
19
-    type SocketType = "udp4" | "udp6";
20
-
21
-    interface SocketOptions {
22
-        type: SocketType;
23
-        reuseAddr?: boolean;
24
-        /**
25
-         * @default false
26
-         */
27
-        ipv6Only?: boolean;
28
-        recvBufferSize?: number;
29
-        sendBufferSize?: number;
30
-        lookup?: (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void;
31
-    }
32
-
33
-    function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
34
-    function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
35
-
36
-    class Socket extends events.EventEmitter {
37
-        send(msg: Buffer | string | Uint8Array | any[], port: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
38
-        send(msg: Buffer | string | Uint8Array, offset: number, length: number, port: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
39
-        bind(port?: number, address?: string, callback?: () => void): void;
40
-        bind(port?: number, callback?: () => void): void;
41
-        bind(callback?: () => void): void;
42
-        bind(options: BindOptions, callback?: () => void): void;
43
-        close(callback?: () => void): void;
44
-        address(): AddressInfo | string;
45
-        setBroadcast(flag: boolean): void;
46
-        setTTL(ttl: number): void;
47
-        setMulticastTTL(ttl: number): void;
48
-        setMulticastInterface(multicastInterface: string): void;
49
-        setMulticastLoopback(flag: boolean): void;
50
-        addMembership(multicastAddress: string, multicastInterface?: string): void;
51
-        dropMembership(multicastAddress: string, multicastInterface?: string): void;
52
-        ref(): this;
53
-        unref(): this;
54
-        setRecvBufferSize(size: number): void;
55
-        setSendBufferSize(size: number): void;
56
-        getRecvBufferSize(): number;
57
-        getSendBufferSize(): number;
58
-
59
-        /**
60
-         * events.EventEmitter
61
-         * 1. close
62
-         * 2. error
63
-         * 3. listening
64
-         * 4. message
65
-         */
66
-        addListener(event: string, listener: (...args: any[]) => void): this;
67
-        addListener(event: "close", listener: () => void): this;
68
-        addListener(event: "error", listener: (err: Error) => void): this;
69
-        addListener(event: "listening", listener: () => void): this;
70
-        addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
71
-
72
-        emit(event: string | symbol, ...args: any[]): boolean;
73
-        emit(event: "close"): boolean;
74
-        emit(event: "error", err: Error): boolean;
75
-        emit(event: "listening"): boolean;
76
-        emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean;
77
-
78
-        on(event: string, listener: (...args: any[]) => void): this;
79
-        on(event: "close", listener: () => void): this;
80
-        on(event: "error", listener: (err: Error) => void): this;
81
-        on(event: "listening", listener: () => void): this;
82
-        on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
83
-
84
-        once(event: string, listener: (...args: any[]) => void): this;
85
-        once(event: "close", listener: () => void): this;
86
-        once(event: "error", listener: (err: Error) => void): this;
87
-        once(event: "listening", listener: () => void): this;
88
-        once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
89
-
90
-        prependListener(event: string, listener: (...args: any[]) => void): this;
91
-        prependListener(event: "close", listener: () => void): this;
92
-        prependListener(event: "error", listener: (err: Error) => void): this;
93
-        prependListener(event: "listening", listener: () => void): this;
94
-        prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
95
-
96
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
97
-        prependOnceListener(event: "close", listener: () => void): this;
98
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
99
-        prependOnceListener(event: "listening", listener: () => void): this;
100
-        prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
101
-    }
102
-}

+ 0
- 366
node_modules/@types/node/dns.d.ts Parādīt failu

@@ -1,366 +0,0 @@
1
-declare module "dns" {
2
-    // Supported getaddrinfo flags.
3
-    const ADDRCONFIG: number;
4
-    const V4MAPPED: number;
5
-
6
-    interface LookupOptions {
7
-        family?: number;
8
-        hints?: number;
9
-        all?: boolean;
10
-        verbatim?: boolean;
11
-    }
12
-
13
-    interface LookupOneOptions extends LookupOptions {
14
-        all?: false;
15
-    }
16
-
17
-    interface LookupAllOptions extends LookupOptions {
18
-        all: true;
19
-    }
20
-
21
-    interface LookupAddress {
22
-        address: string;
23
-        family: number;
24
-    }
25
-
26
-    function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
27
-    function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
28
-    function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void): void;
29
-    function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void): void;
30
-    function lookup(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
31
-
32
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
33
-    namespace lookup {
34
-        function __promisify__(hostname: string, options: LookupAllOptions): Promise<{ address: LookupAddress[] }>;
35
-        function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise<{ address: string, family: number }>;
36
-        function __promisify__(hostname: string, options?: LookupOptions | number): Promise<{ address: string | LookupAddress[], family?: number }>;
37
-    }
38
-
39
-    function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void): void;
40
-
41
-    namespace lookupService {
42
-        function __promisify__(address: string, port: number): Promise<{ hostname: string, service: string }>;
43
-    }
44
-
45
-    interface ResolveOptions {
46
-        ttl: boolean;
47
-    }
48
-
49
-    interface ResolveWithTtlOptions extends ResolveOptions {
50
-        ttl: true;
51
-    }
52
-
53
-    interface RecordWithTtl {
54
-        address: string;
55
-        ttl: number;
56
-    }
57
-
58
-    /** @deprecated Use AnyARecord or AnyAaaaRecord instead. */
59
-    type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord;
60
-
61
-    interface AnyARecord extends RecordWithTtl {
62
-        type: "A";
63
-    }
64
-
65
-    interface AnyAaaaRecord extends RecordWithTtl {
66
-        type: "AAAA";
67
-    }
68
-
69
-    interface MxRecord {
70
-        priority: number;
71
-        exchange: string;
72
-    }
73
-
74
-    interface AnyMxRecord extends MxRecord {
75
-        type: "MX";
76
-    }
77
-
78
-    interface NaptrRecord {
79
-        flags: string;
80
-        service: string;
81
-        regexp: string;
82
-        replacement: string;
83
-        order: number;
84
-        preference: number;
85
-    }
86
-
87
-    interface AnyNaptrRecord extends NaptrRecord {
88
-        type: "NAPTR";
89
-    }
90
-
91
-    interface SoaRecord {
92
-        nsname: string;
93
-        hostmaster: string;
94
-        serial: number;
95
-        refresh: number;
96
-        retry: number;
97
-        expire: number;
98
-        minttl: number;
99
-    }
100
-
101
-    interface AnySoaRecord extends SoaRecord {
102
-        type: "SOA";
103
-    }
104
-
105
-    interface SrvRecord {
106
-        priority: number;
107
-        weight: number;
108
-        port: number;
109
-        name: string;
110
-    }
111
-
112
-    interface AnySrvRecord extends SrvRecord {
113
-        type: "SRV";
114
-    }
115
-
116
-    interface AnyTxtRecord {
117
-        type: "TXT";
118
-        entries: string[];
119
-    }
120
-
121
-    interface AnyNsRecord {
122
-        type: "NS";
123
-        value: string;
124
-    }
125
-
126
-    interface AnyPtrRecord {
127
-        type: "PTR";
128
-        value: string;
129
-    }
130
-
131
-    interface AnyCnameRecord {
132
-        type: "CNAME";
133
-        value: string;
134
-    }
135
-
136
-    type AnyRecord = AnyARecord |
137
-        AnyAaaaRecord |
138
-        AnyCnameRecord |
139
-        AnyMxRecord |
140
-        AnyNaptrRecord |
141
-        AnyNsRecord |
142
-        AnyPtrRecord |
143
-        AnySoaRecord |
144
-        AnySrvRecord |
145
-        AnyTxtRecord;
146
-
147
-    function resolve(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
148
-    function resolve(hostname: string, rrtype: "A", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
149
-    function resolve(hostname: string, rrtype: "AAAA", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
150
-    function resolve(hostname: string, rrtype: "ANY", callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void;
151
-    function resolve(hostname: string, rrtype: "CNAME", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
152
-    function resolve(hostname: string, rrtype: "MX", callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void;
153
-    function resolve(hostname: string, rrtype: "NAPTR", callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void;
154
-    function resolve(hostname: string, rrtype: "NS", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
155
-    function resolve(hostname: string, rrtype: "PTR", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
156
-    function resolve(hostname: string, rrtype: "SOA", callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void): void;
157
-    function resolve(hostname: string, rrtype: "SRV", callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void;
158
-    function resolve(hostname: string, rrtype: "TXT", callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void;
159
-    function resolve(
160
-        hostname: string,
161
-        rrtype: string,
162
-        callback: (err: NodeJS.ErrnoException | null, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]) => void,
163
-    ): void;
164
-
165
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
166
-    namespace resolve {
167
-        function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise<string[]>;
168
-        function __promisify__(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
169
-        function __promisify__(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
170
-        function __promisify__(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
171
-        function __promisify__(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
172
-        function __promisify__(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
173
-        function __promisify__(hostname: string, rrtype: "TXT"): Promise<string[][]>;
174
-        function __promisify__(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
175
-    }
176
-
177
-    function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
178
-    function resolve4(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void;
179
-    function resolve4(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void;
180
-
181
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
182
-    namespace resolve4 {
183
-        function __promisify__(hostname: string): Promise<string[]>;
184
-        function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
185
-        function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
186
-    }
187
-
188
-    function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
189
-    function resolve6(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void;
190
-    function resolve6(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void;
191
-
192
-    // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
193
-    namespace resolve6 {
194
-        function __promisify__(hostname: string): Promise<string[]>;
195
-        function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
196
-        function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
197
-    }
198
-
199
-    function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
200
-    namespace resolveCname {
201
-        function __promisify__(hostname: string): Promise<string[]>;
202
-    }
203
-
204
-    function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void;
205
-    namespace resolveMx {
206
-        function __promisify__(hostname: string): Promise<MxRecord[]>;
207
-    }
208
-
209
-    function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void;
210
-    namespace resolveNaptr {
211
-        function __promisify__(hostname: string): Promise<NaptrRecord[]>;
212
-    }
213
-
214
-    function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
215
-    namespace resolveNs {
216
-        function __promisify__(hostname: string): Promise<string[]>;
217
-    }
218
-
219
-    function resolvePtr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
220
-    namespace resolvePtr {
221
-        function __promisify__(hostname: string): Promise<string[]>;
222
-    }
223
-
224
-    function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void): void;
225
-    namespace resolveSoa {
226
-        function __promisify__(hostname: string): Promise<SoaRecord>;
227
-    }
228
-
229
-    function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void;
230
-    namespace resolveSrv {
231
-        function __promisify__(hostname: string): Promise<SrvRecord[]>;
232
-    }
233
-
234
-    function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void;
235
-    namespace resolveTxt {
236
-        function __promisify__(hostname: string): Promise<string[][]>;
237
-    }
238
-
239
-    function resolveAny(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void;
240
-    namespace resolveAny {
241
-        function __promisify__(hostname: string): Promise<AnyRecord[]>;
242
-    }
243
-
244
-    function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void;
245
-    function setServers(servers: ReadonlyArray<string>): void;
246
-    function getServers(): string[];
247
-
248
-    // Error codes
249
-    const NODATA: string;
250
-    const FORMERR: string;
251
-    const SERVFAIL: string;
252
-    const NOTFOUND: string;
253
-    const NOTIMP: string;
254
-    const REFUSED: string;
255
-    const BADQUERY: string;
256
-    const BADNAME: string;
257
-    const BADFAMILY: string;
258
-    const BADRESP: string;
259
-    const CONNREFUSED: string;
260
-    const TIMEOUT: string;
261
-    const EOF: string;
262
-    const FILE: string;
263
-    const NOMEM: string;
264
-    const DESTRUCTION: string;
265
-    const BADSTR: string;
266
-    const BADFLAGS: string;
267
-    const NONAME: string;
268
-    const BADHINTS: string;
269
-    const NOTINITIALIZED: string;
270
-    const LOADIPHLPAPI: string;
271
-    const ADDRGETNETWORKPARAMS: string;
272
-    const CANCELLED: string;
273
-
274
-    class Resolver {
275
-        getServers: typeof getServers;
276
-        setServers: typeof setServers;
277
-        resolve: typeof resolve;
278
-        resolve4: typeof resolve4;
279
-        resolve6: typeof resolve6;
280
-        resolveAny: typeof resolveAny;
281
-        resolveCname: typeof resolveCname;
282
-        resolveMx: typeof resolveMx;
283
-        resolveNaptr: typeof resolveNaptr;
284
-        resolveNs: typeof resolveNs;
285
-        resolvePtr: typeof resolvePtr;
286
-        resolveSoa: typeof resolveSoa;
287
-        resolveSrv: typeof resolveSrv;
288
-        resolveTxt: typeof resolveTxt;
289
-        reverse: typeof reverse;
290
-        cancel(): void;
291
-    }
292
-
293
-    namespace promises {
294
-        function getServers(): string[];
295
-
296
-        function lookup(hostname: string, family: number): Promise<LookupAddress>;
297
-        function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
298
-        function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
299
-        function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
300
-        function lookup(hostname: string): Promise<LookupAddress>;
301
-
302
-        function lookupService(address: string, port: number): Promise<{ hostname: string, service: string }>;
303
-
304
-        function resolve(hostname: string): Promise<string[]>;
305
-        function resolve(hostname: string, rrtype: "A"): Promise<string[]>;
306
-        function resolve(hostname: string, rrtype: "AAAA"): Promise<string[]>;
307
-        function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
308
-        function resolve(hostname: string, rrtype: "CNAME"): Promise<string[]>;
309
-        function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
310
-        function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
311
-        function resolve(hostname: string, rrtype: "NS"): Promise<string[]>;
312
-        function resolve(hostname: string, rrtype: "PTR"): Promise<string[]>;
313
-        function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
314
-        function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
315
-        function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>;
316
-        function resolve(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
317
-
318
-        function resolve4(hostname: string): Promise<string[]>;
319
-        function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
320
-        function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
321
-
322
-        function resolve6(hostname: string): Promise<string[]>;
323
-        function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
324
-        function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
325
-
326
-        function resolveAny(hostname: string): Promise<AnyRecord[]>;
327
-
328
-        function resolveCname(hostname: string): Promise<string[]>;
329
-
330
-        function resolveMx(hostname: string): Promise<MxRecord[]>;
331
-
332
-        function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
333
-
334
-        function resolveNs(hostname: string): Promise<string[]>;
335
-
336
-        function resolvePtr(hostname: string): Promise<string[]>;
337
-
338
-        function resolveSoa(hostname: string): Promise<SoaRecord>;
339
-
340
-        function resolveSrv(hostname: string): Promise<SrvRecord[]>;
341
-
342
-        function resolveTxt(hostname: string): Promise<string[][]>;
343
-
344
-        function reverse(ip: string): Promise<string[]>;
345
-
346
-        function setServers(servers: ReadonlyArray<string>): void;
347
-
348
-        class Resolver {
349
-            getServers: typeof getServers;
350
-            resolve: typeof resolve;
351
-            resolve4: typeof resolve4;
352
-            resolve6: typeof resolve6;
353
-            resolveAny: typeof resolveAny;
354
-            resolveCname: typeof resolveCname;
355
-            resolveMx: typeof resolveMx;
356
-            resolveNaptr: typeof resolveNaptr;
357
-            resolveNs: typeof resolveNs;
358
-            resolvePtr: typeof resolvePtr;
359
-            resolveSoa: typeof resolveSoa;
360
-            resolveSrv: typeof resolveSrv;
361
-            resolveTxt: typeof resolveTxt;
362
-            reverse: typeof reverse;
363
-            setServers: typeof setServers;
364
-        }
365
-    }
366
-}

+ 0
- 16
node_modules/@types/node/domain.d.ts Parādīt failu

@@ -1,16 +0,0 @@
1
-declare module "domain" {
2
-    import * as events from "events";
3
-
4
-    class Domain extends events.EventEmitter implements NodeJS.Domain {
5
-        run<T>(fn: (...args: any[]) => T, ...args: any[]): T;
6
-        add(emitter: events.EventEmitter | NodeJS.Timer): void;
7
-        remove(emitter: events.EventEmitter | NodeJS.Timer): void;
8
-        bind<T extends Function>(cb: T): T;
9
-        intercept<T extends Function>(cb: T): T;
10
-        members: Array<events.EventEmitter | NodeJS.Timer>;
11
-        enter(): void;
12
-        exit(): void;
13
-    }
14
-
15
-    function create(): Domain;
16
-}

+ 0
- 30
node_modules/@types/node/events.d.ts Parādīt failu

@@ -1,30 +0,0 @@
1
-declare module "events" {
2
-    class internal extends NodeJS.EventEmitter { }
3
-
4
-    namespace internal {
5
-        function once(emitter: EventEmitter, event: string | symbol): Promise<any>;
6
-         class EventEmitter extends internal {
7
-            /** @deprecated since v4.0.0 */
8
-            static listenerCount(emitter: EventEmitter, event: string | symbol): number;
9
-            static defaultMaxListeners: number;
10
-
11
-            addListener(event: string | symbol, listener: (...args: any[]) => void): this;
12
-            on(event: string | symbol, listener: (...args: any[]) => void): this;
13
-            once(event: string | symbol, listener: (...args: any[]) => void): this;
14
-            prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
15
-            prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
16
-            removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
17
-            off(event: string | symbol, listener: (...args: any[]) => void): this;
18
-            removeAllListeners(event?: string | symbol): this;
19
-            setMaxListeners(n: number): this;
20
-            getMaxListeners(): number;
21
-            listeners(event: string | symbol): Function[];
22
-            rawListeners(event: string | symbol): Function[];
23
-            emit(event: string | symbol, ...args: any[]): boolean;
24
-            eventNames(): Array<string | symbol>;
25
-            listenerCount(type: string | symbol): number;
26
-        }
27
-    }
28
-
29
-    export = internal;
30
-}

+ 0
- 2297
node_modules/@types/node/fs.d.ts
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 0
- 1126
node_modules/@types/node/globals.d.ts
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 0
- 279
node_modules/@types/node/http.d.ts Parādīt failu

@@ -1,279 +0,0 @@
1
-declare module "http" {
2
-    import * as events from "events";
3
-    import * as stream from "stream";
4
-    import { URL } from "url";
5
-    import { Socket, Server as NetServer } from "net";
6
-
7
-    // incoming headers will never contain number
8
-    interface IncomingHttpHeaders {
9
-        'accept'?: string;
10
-        'accept-language'?: string;
11
-        'accept-patch'?: string;
12
-        'accept-ranges'?: string;
13
-        'access-control-allow-credentials'?: string;
14
-        'access-control-allow-headers'?: string;
15
-        'access-control-allow-methods'?: string;
16
-        'access-control-allow-origin'?: string;
17
-        'access-control-expose-headers'?: string;
18
-        'access-control-max-age'?: string;
19
-        'age'?: string;
20
-        'allow'?: string;
21
-        'alt-svc'?: string;
22
-        'authorization'?: string;
23
-        'cache-control'?: string;
24
-        'connection'?: string;
25
-        'content-disposition'?: string;
26
-        'content-encoding'?: string;
27
-        'content-language'?: string;
28
-        'content-length'?: string;
29
-        'content-location'?: string;
30
-        'content-range'?: string;
31
-        'content-type'?: string;
32
-        'cookie'?: string;
33
-        'date'?: string;
34
-        'expect'?: string;
35
-        'expires'?: string;
36
-        'forwarded'?: string;
37
-        'from'?: string;
38
-        'host'?: string;
39
-        'if-match'?: string;
40
-        'if-modified-since'?: string;
41
-        'if-none-match'?: string;
42
-        'if-unmodified-since'?: string;
43
-        'last-modified'?: string;
44
-        'location'?: string;
45
-        'pragma'?: string;
46
-        'proxy-authenticate'?: string;
47
-        'proxy-authorization'?: string;
48
-        'public-key-pins'?: string;
49
-        'range'?: string;
50
-        'referer'?: string;
51
-        'retry-after'?: string;
52
-        'set-cookie'?: string[];
53
-        'strict-transport-security'?: string;
54
-        'tk'?: string;
55
-        'trailer'?: string;
56
-        'transfer-encoding'?: string;
57
-        'upgrade'?: string;
58
-        'user-agent'?: string;
59
-        'vary'?: string;
60
-        'via'?: string;
61
-        'warning'?: string;
62
-        'www-authenticate'?: string;
63
-        [header: string]: string | string[] | undefined;
64
-    }
65
-
66
-    // outgoing headers allows numbers (as they are converted internally to strings)
67
-    interface OutgoingHttpHeaders {
68
-        [header: string]: number | string | string[] | undefined;
69
-    }
70
-
71
-    interface ClientRequestArgs {
72
-        protocol?: string;
73
-        host?: string;
74
-        hostname?: string;
75
-        family?: number;
76
-        port?: number | string;
77
-        defaultPort?: number | string;
78
-        localAddress?: string;
79
-        socketPath?: string;
80
-        method?: string;
81
-        path?: string;
82
-        headers?: OutgoingHttpHeaders;
83
-        auth?: string;
84
-        agent?: Agent | boolean;
85
-        _defaultAgent?: Agent;
86
-        timeout?: number;
87
-        setHost?: boolean;
88
-        // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
89
-        createConnection?: (options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket;
90
-    }
91
-
92
-    interface ServerOptions {
93
-        IncomingMessage?: typeof IncomingMessage;
94
-        ServerResponse?: typeof ServerResponse;
95
-    }
96
-
97
-    type RequestListener = (req: IncomingMessage, res: ServerResponse) => void;
98
-
99
-    class Server extends NetServer {
100
-        constructor(requestListener?: RequestListener);
101
-        constructor(options: ServerOptions, requestListener?: RequestListener);
102
-
103
-        setTimeout(msecs?: number, callback?: () => void): this;
104
-        setTimeout(callback: () => void): this;
105
-        /**
106
-         * Limits maximum incoming headers count. If set to 0, no limit will be applied.
107
-         * @default 2000
108
-         * {@link https://nodejs.org/api/http.html#http_server_maxheaderscount}
109
-         */
110
-        maxHeadersCount: number | null;
111
-        timeout: number;
112
-        /**
113
-         * Limit the amount of time the parser will wait to receive the complete HTTP headers.
114
-         * @default 40000
115
-         * {@link https://nodejs.org/api/http.html#http_server_headerstimeout}
116
-         */
117
-        headersTimeout: number;
118
-        keepAliveTimeout: number;
119
-    }
120
-
121
-    // https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js
122
-    class OutgoingMessage extends stream.Writable {
123
-        upgrading: boolean;
124
-        chunkedEncoding: boolean;
125
-        shouldKeepAlive: boolean;
126
-        useChunkedEncodingByDefault: boolean;
127
-        sendDate: boolean;
128
-        finished: boolean;
129
-        headersSent: boolean;
130
-        connection: Socket;
131
-
132
-        constructor();
133
-
134
-        setTimeout(msecs: number, callback?: () => void): this;
135
-        setHeader(name: string, value: number | string | string[]): void;
136
-        getHeader(name: string): number | string | string[] | undefined;
137
-        getHeaders(): OutgoingHttpHeaders;
138
-        getHeaderNames(): string[];
139
-        hasHeader(name: string): boolean;
140
-        removeHeader(name: string): void;
141
-        addTrailers(headers: OutgoingHttpHeaders | Array<[string, string]>): void;
142
-        flushHeaders(): void;
143
-    }
144
-
145
-    // https://github.com/nodejs/node/blob/master/lib/_http_server.js#L108-L256
146
-    class ServerResponse extends OutgoingMessage {
147
-        statusCode: number;
148
-        statusMessage: string;
149
-
150
-        constructor(req: IncomingMessage);
151
-
152
-        assignSocket(socket: Socket): void;
153
-        detachSocket(socket: Socket): void;
154
-        // https://github.com/nodejs/node/blob/master/test/parallel/test-http-write-callbacks.js#L53
155
-        // no args in writeContinue callback
156
-        writeContinue(callback?: () => void): void;
157
-        writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders): this;
158
-        writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this;
159
-    }
160
-
161
-    // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L77
162
-    class ClientRequest extends OutgoingMessage {
163
-        connection: Socket;
164
-        socket: Socket;
165
-        aborted: number;
166
-
167
-        constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
168
-
169
-        readonly path: string;
170
-        abort(): void;
171
-        onSocket(socket: Socket): void;
172
-        setTimeout(timeout: number, callback?: () => void): this;
173
-        setNoDelay(noDelay?: boolean): void;
174
-        setSocketKeepAlive(enable?: boolean, initialDelay?: number): void;
175
-    }
176
-
177
-    class IncomingMessage extends stream.Readable {
178
-        constructor(socket: Socket);
179
-
180
-        httpVersion: string;
181
-        httpVersionMajor: number;
182
-        httpVersionMinor: number;
183
-        complete: boolean;
184
-        connection: Socket;
185
-        headers: IncomingHttpHeaders;
186
-        rawHeaders: string[];
187
-        trailers: { [key: string]: string | undefined };
188
-        rawTrailers: string[];
189
-        setTimeout(msecs: number, callback: () => void): this;
190
-        /**
191
-         * Only valid for request obtained from http.Server.
192
-         */
193
-        method?: string;
194
-        /**
195
-         * Only valid for request obtained from http.Server.
196
-         */
197
-        url?: string;
198
-        /**
199
-         * Only valid for response obtained from http.ClientRequest.
200
-         */
201
-        statusCode?: number;
202
-        /**
203
-         * Only valid for response obtained from http.ClientRequest.
204
-         */
205
-        statusMessage?: string;
206
-        socket: Socket;
207
-        destroy(error?: Error): void;
208
-    }
209
-
210
-    interface AgentOptions {
211
-        /**
212
-         * Keep sockets around in a pool to be used by other requests in the future. Default = false
213
-         */
214
-        keepAlive?: boolean;
215
-        /**
216
-         * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000.
217
-         * Only relevant if keepAlive is set to true.
218
-         */
219
-        keepAliveMsecs?: number;
220
-        /**
221
-         * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
222
-         */
223
-        maxSockets?: number;
224
-        /**
225
-         * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
226
-         */
227
-        maxFreeSockets?: number;
228
-        /**
229
-         * Socket timeout in milliseconds. This will set the timeout after the socket is connected.
230
-         */
231
-        timeout?: number;
232
-    }
233
-
234
-    class Agent {
235
-        maxFreeSockets: number;
236
-        maxSockets: number;
237
-        readonly sockets: {
238
-            readonly [key: string]: Socket[];
239
-        };
240
-        readonly requests: {
241
-            readonly [key: string]: IncomingMessage[];
242
-        };
243
-
244
-        constructor(opts?: AgentOptions);
245
-
246
-        /**
247
-         * Destroy any sockets that are currently in use by the agent.
248
-         * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled,
249
-         * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise,
250
-         * sockets may hang open for quite a long time before the server terminates them.
251
-         */
252
-        destroy(): void;
253
-    }
254
-
255
-    const METHODS: string[];
256
-
257
-    const STATUS_CODES: {
258
-        [errorCode: number]: string | undefined;
259
-        [errorCode: string]: string | undefined;
260
-    };
261
-
262
-    function createServer(requestListener?: RequestListener): Server;
263
-    function createServer(options: ServerOptions, requestListener?: RequestListener): Server;
264
-
265
-    // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly,
266
-    // create interface RequestOptions would make the naming more clear to developers
267
-    interface RequestOptions extends ClientRequestArgs { }
268
-    function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
269
-    function request(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
270
-    function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
271
-    function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
272
-    let globalAgent: Agent;
273
-
274
-    /**
275
-     * Read-only property specifying the maximum allowed size of HTTP headers in bytes.
276
-     * Defaults to 8KB. Configurable using the [`--max-http-header-size`][] CLI option.
277
-     */
278
-    const maxHeaderSize: number;
279
-}

+ 0
- 959
node_modules/@types/node/http2.d.ts Parādīt failu

@@ -1,959 +0,0 @@
1
-declare module "http2" {
2
-    import * as events from "events";
3
-    import * as fs from "fs";
4
-    import * as net from "net";
5
-    import * as stream from "stream";
6
-    import * as tls from "tls";
7
-    import * as url from "url";
8
-
9
-    import { IncomingHttpHeaders as Http1IncomingHttpHeaders, OutgoingHttpHeaders, IncomingMessage, ServerResponse } from "http";
10
-    export { OutgoingHttpHeaders } from "http";
11
-
12
-    export interface IncomingHttpStatusHeader {
13
-        ":status"?: number;
14
-    }
15
-
16
-    export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
17
-        ":path"?: string;
18
-        ":method"?: string;
19
-        ":authority"?: string;
20
-        ":scheme"?: string;
21
-    }
22
-
23
-    // Http2Stream
24
-
25
-    export interface StreamPriorityOptions {
26
-        exclusive?: boolean;
27
-        parent?: number;
28
-        weight?: number;
29
-        silent?: boolean;
30
-    }
31
-
32
-    export interface StreamState {
33
-        localWindowSize?: number;
34
-        state?: number;
35
-        localClose?: number;
36
-        remoteClose?: number;
37
-        sumDependencyWeight?: number;
38
-        weight?: number;
39
-    }
40
-
41
-    export interface ServerStreamResponseOptions {
42
-        endStream?: boolean;
43
-        waitForTrailers?: boolean;
44
-    }
45
-
46
-    export interface StatOptions {
47
-        offset: number;
48
-        length: number;
49
-    }
50
-
51
-    export interface ServerStreamFileResponseOptions {
52
-        statCheck?: (stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void | boolean;
53
-        waitForTrailers?: boolean;
54
-        offset?: number;
55
-        length?: number;
56
-    }
57
-
58
-    export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions {
59
-        onError?: (err: NodeJS.ErrnoException) => void;
60
-    }
61
-
62
-    export class Http2Stream extends stream.Duplex {
63
-        protected constructor();
64
-
65
-        readonly aborted: boolean;
66
-        readonly bufferSize: number;
67
-        readonly closed: boolean;
68
-        readonly destroyed: boolean;
69
-        /**
70
-         * Set the true if the END_STREAM flag was set in the request or response HEADERS frame received,
71
-         * indicating that no additional data should be received and the readable side of the Http2Stream will be closed.
72
-         */
73
-        readonly endAfterHeaders: boolean;
74
-        readonly pending: boolean;
75
-        readonly rstCode: number;
76
-        readonly sentHeaders: OutgoingHttpHeaders;
77
-        readonly sentInfoHeaders?: OutgoingHttpHeaders[];
78
-        readonly sentTrailers?: OutgoingHttpHeaders;
79
-        readonly session: Http2Session;
80
-        readonly state: StreamState;
81
-
82
-        close(code?: number, callback?: () => void): void;
83
-        priority(options: StreamPriorityOptions): void;
84
-        setTimeout(msecs: number, callback?: () => void): void;
85
-        sendTrailers(headers: OutgoingHttpHeaders): void;
86
-
87
-        addListener(event: "aborted", listener: () => void): this;
88
-        addListener(event: "close", listener: () => void): this;
89
-        addListener(event: "data", listener: (chunk: Buffer | string) => void): this;
90
-        addListener(event: "drain", listener: () => void): this;
91
-        addListener(event: "end", listener: () => void): this;
92
-        addListener(event: "error", listener: (err: Error) => void): this;
93
-        addListener(event: "finish", listener: () => void): this;
94
-        addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
95
-        addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
96
-        addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
97
-        addListener(event: "streamClosed", listener: (code: number) => void): this;
98
-        addListener(event: "timeout", listener: () => void): this;
99
-        addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
100
-        addListener(event: "wantTrailers", listener: () => void): this;
101
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
102
-
103
-        emit(event: "aborted"): boolean;
104
-        emit(event: "close"): boolean;
105
-        emit(event: "data", chunk: Buffer | string): boolean;
106
-        emit(event: "drain"): boolean;
107
-        emit(event: "end"): boolean;
108
-        emit(event: "error", err: Error): boolean;
109
-        emit(event: "finish"): boolean;
110
-        emit(event: "frameError", frameType: number, errorCode: number): boolean;
111
-        emit(event: "pipe", src: stream.Readable): boolean;
112
-        emit(event: "unpipe", src: stream.Readable): boolean;
113
-        emit(event: "streamClosed", code: number): boolean;
114
-        emit(event: "timeout"): boolean;
115
-        emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean;
116
-        emit(event: "wantTrailers"): boolean;
117
-        emit(event: string | symbol, ...args: any[]): boolean;
118
-
119
-        on(event: "aborted", listener: () => void): this;
120
-        on(event: "close", listener: () => void): this;
121
-        on(event: "data", listener: (chunk: Buffer | string) => void): this;
122
-        on(event: "drain", listener: () => void): this;
123
-        on(event: "end", listener: () => void): this;
124
-        on(event: "error", listener: (err: Error) => void): this;
125
-        on(event: "finish", listener: () => void): this;
126
-        on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
127
-        on(event: "pipe", listener: (src: stream.Readable) => void): this;
128
-        on(event: "unpipe", listener: (src: stream.Readable) => void): this;
129
-        on(event: "streamClosed", listener: (code: number) => void): this;
130
-        on(event: "timeout", listener: () => void): this;
131
-        on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
132
-        on(event: "wantTrailers", listener: () => void): this;
133
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
134
-
135
-        once(event: "aborted", listener: () => void): this;
136
-        once(event: "close", listener: () => void): this;
137
-        once(event: "data", listener: (chunk: Buffer | string) => void): this;
138
-        once(event: "drain", listener: () => void): this;
139
-        once(event: "end", listener: () => void): this;
140
-        once(event: "error", listener: (err: Error) => void): this;
141
-        once(event: "finish", listener: () => void): this;
142
-        once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
143
-        once(event: "pipe", listener: (src: stream.Readable) => void): this;
144
-        once(event: "unpipe", listener: (src: stream.Readable) => void): this;
145
-        once(event: "streamClosed", listener: (code: number) => void): this;
146
-        once(event: "timeout", listener: () => void): this;
147
-        once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
148
-        once(event: "wantTrailers", listener: () => void): this;
149
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
150
-
151
-        prependListener(event: "aborted", listener: () => void): this;
152
-        prependListener(event: "close", listener: () => void): this;
153
-        prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
154
-        prependListener(event: "drain", listener: () => void): this;
155
-        prependListener(event: "end", listener: () => void): this;
156
-        prependListener(event: "error", listener: (err: Error) => void): this;
157
-        prependListener(event: "finish", listener: () => void): this;
158
-        prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
159
-        prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
160
-        prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
161
-        prependListener(event: "streamClosed", listener: (code: number) => void): this;
162
-        prependListener(event: "timeout", listener: () => void): this;
163
-        prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
164
-        prependListener(event: "wantTrailers", listener: () => void): this;
165
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
166
-
167
-        prependOnceListener(event: "aborted", listener: () => void): this;
168
-        prependOnceListener(event: "close", listener: () => void): this;
169
-        prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
170
-        prependOnceListener(event: "drain", listener: () => void): this;
171
-        prependOnceListener(event: "end", listener: () => void): this;
172
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
173
-        prependOnceListener(event: "finish", listener: () => void): this;
174
-        prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
175
-        prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
176
-        prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
177
-        prependOnceListener(event: "streamClosed", listener: (code: number) => void): this;
178
-        prependOnceListener(event: "timeout", listener: () => void): this;
179
-        prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
180
-        prependOnceListener(event: "wantTrailers", listener: () => void): this;
181
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
182
-    }
183
-
184
-    export class ClientHttp2Stream extends Http2Stream {
185
-        private constructor();
186
-
187
-        addListener(event: "continue", listener: () => {}): this;
188
-        addListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
189
-        addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
190
-        addListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
191
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
192
-
193
-        emit(event: "continue"): boolean;
194
-        emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
195
-        emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean;
196
-        emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
197
-        emit(event: string | symbol, ...args: any[]): boolean;
198
-
199
-        on(event: "continue", listener: () => {}): this;
200
-        on(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
201
-        on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
202
-        on(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
203
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
204
-
205
-        once(event: "continue", listener: () => {}): this;
206
-        once(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
207
-        once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
208
-        once(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
209
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
210
-
211
-        prependListener(event: "continue", listener: () => {}): this;
212
-        prependListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
213
-        prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
214
-        prependListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
215
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
216
-
217
-        prependOnceListener(event: "continue", listener: () => {}): this;
218
-        prependOnceListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
219
-        prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
220
-        prependOnceListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
221
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
222
-    }
223
-
224
-    export class ServerHttp2Stream extends Http2Stream {
225
-        private constructor();
226
-
227
-        additionalHeaders(headers: OutgoingHttpHeaders): void;
228
-        readonly headersSent: boolean;
229
-        readonly pushAllowed: boolean;
230
-        pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
231
-        pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
232
-        respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void;
233
-        respondWithFD(fd: number, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void;
234
-        respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void;
235
-    }
236
-
237
-    // Http2Session
238
-
239
-    export interface Settings {
240
-        headerTableSize?: number;
241
-        enablePush?: boolean;
242
-        initialWindowSize?: number;
243
-        maxFrameSize?: number;
244
-        maxConcurrentStreams?: number;
245
-        maxHeaderListSize?: number;
246
-        enableConnectProtocol?: boolean;
247
-    }
248
-
249
-    export interface ClientSessionRequestOptions {
250
-        endStream?: boolean;
251
-        exclusive?: boolean;
252
-        parent?: number;
253
-        weight?: number;
254
-        waitForTrailers?: boolean;
255
-    }
256
-
257
-    export interface SessionState {
258
-        effectiveLocalWindowSize?: number;
259
-        effectiveRecvDataLength?: number;
260
-        nextStreamID?: number;
261
-        localWindowSize?: number;
262
-        lastProcStreamID?: number;
263
-        remoteWindowSize?: number;
264
-        outboundQueueSize?: number;
265
-        deflateDynamicTableSize?: number;
266
-        inflateDynamicTableSize?: number;
267
-    }
268
-
269
-    export class Http2Session extends events.EventEmitter {
270
-        protected constructor();
271
-
272
-        readonly alpnProtocol?: string;
273
-        close(callback?: () => void): void;
274
-        readonly closed: boolean;
275
-        readonly connecting: boolean;
276
-        destroy(error?: Error, code?: number): void;
277
-        readonly destroyed: boolean;
278
-        readonly encrypted?: boolean;
279
-        goaway(code?: number, lastStreamID?: number, opaqueData?: Buffer | DataView | NodeJS.TypedArray): void;
280
-        readonly localSettings: Settings;
281
-        readonly originSet?: string[];
282
-        readonly pendingSettingsAck: boolean;
283
-        ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
284
-        ping(payload: Buffer | DataView | NodeJS.TypedArray , callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
285
-        ref(): void;
286
-        readonly remoteSettings: Settings;
287
-        setTimeout(msecs: number, callback?: () => void): void;
288
-        readonly socket: net.Socket | tls.TLSSocket;
289
-        readonly state: SessionState;
290
-        settings(settings: Settings): void;
291
-        readonly type: number;
292
-        unref(): void;
293
-
294
-        addListener(event: "close", listener: () => void): this;
295
-        addListener(event: "error", listener: (err: Error) => void): this;
296
-        addListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
297
-        addListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
298
-        addListener(event: "localSettings", listener: (settings: Settings) => void): this;
299
-        addListener(event: "ping", listener: () => void): this;
300
-        addListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
301
-        addListener(event: "timeout", listener: () => void): this;
302
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
303
-
304
-        emit(event: "close"): boolean;
305
-        emit(event: "error", err: Error): boolean;
306
-        emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean;
307
-        emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean;
308
-        emit(event: "localSettings", settings: Settings): boolean;
309
-        emit(event: "ping"): boolean;
310
-        emit(event: "remoteSettings", settings: Settings): boolean;
311
-        emit(event: "timeout"): boolean;
312
-        emit(event: string | symbol, ...args: any[]): boolean;
313
-
314
-        on(event: "close", listener: () => void): this;
315
-        on(event: "error", listener: (err: Error) => void): this;
316
-        on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
317
-        on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
318
-        on(event: "localSettings", listener: (settings: Settings) => void): this;
319
-        on(event: "ping", listener: () => void): this;
320
-        on(event: "remoteSettings", listener: (settings: Settings) => void): this;
321
-        on(event: "timeout", listener: () => void): this;
322
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
323
-
324
-        once(event: "close", listener: () => void): this;
325
-        once(event: "error", listener: (err: Error) => void): this;
326
-        once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
327
-        once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
328
-        once(event: "localSettings", listener: (settings: Settings) => void): this;
329
-        once(event: "ping", listener: () => void): this;
330
-        once(event: "remoteSettings", listener: (settings: Settings) => void): this;
331
-        once(event: "timeout", listener: () => void): this;
332
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
333
-
334
-        prependListener(event: "close", listener: () => void): this;
335
-        prependListener(event: "error", listener: (err: Error) => void): this;
336
-        prependListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
337
-        prependListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
338
-        prependListener(event: "localSettings", listener: (settings: Settings) => void): this;
339
-        prependListener(event: "ping", listener: () => void): this;
340
-        prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
341
-        prependListener(event: "timeout", listener: () => void): this;
342
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
343
-
344
-        prependOnceListener(event: "close", listener: () => void): this;
345
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
346
-        prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
347
-        prependOnceListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
348
-        prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this;
349
-        prependOnceListener(event: "ping", listener: () => void): this;
350
-        prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
351
-        prependOnceListener(event: "timeout", listener: () => void): this;
352
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
353
-    }
354
-
355
-    export class ClientHttp2Session extends Http2Session {
356
-        private constructor();
357
-
358
-        request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream;
359
-
360
-        addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
361
-        addListener(event: "origin", listener: (origins: string[]) => void): this;
362
-        addListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
363
-        addListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
364
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
365
-
366
-        emit(event: "altsvc", alt: string, origin: string, stream: number): boolean;
367
-        emit(event: "origin", origins: string[]): boolean;
368
-        emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
369
-        emit(event: "stream", stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
370
-        emit(event: string | symbol, ...args: any[]): boolean;
371
-
372
-        on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
373
-        on(event: "origin", listener: (origins: string[]) => void): this;
374
-        on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
375
-        on(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
376
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
377
-
378
-        once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
379
-        once(event: "origin", listener: (origins: string[]) => void): this;
380
-        once(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
381
-        once(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
382
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
383
-
384
-        prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
385
-        prependListener(event: "origin", listener: (origins: string[]) => void): this;
386
-        prependListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
387
-        prependListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
388
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
389
-
390
-        prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
391
-        prependOnceListener(event: "origin", listener: (origins: string[]) => void): this;
392
-        prependOnceListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
393
-        prependOnceListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
394
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
395
-    }
396
-
397
-    export interface AlternativeServiceOptions {
398
-        origin: number | string | url.URL;
399
-    }
400
-
401
-    export class ServerHttp2Session extends Http2Session {
402
-        private constructor();
403
-
404
-        altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void;
405
-        origin(...args: Array<string | url.URL | { origin: string }>): void;
406
-        readonly server: Http2Server | Http2SecureServer;
407
-
408
-        addListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
409
-        addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
410
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
411
-
412
-        emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
413
-        emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
414
-        emit(event: string | symbol, ...args: any[]): boolean;
415
-
416
-        on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
417
-        on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
418
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
419
-
420
-        once(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
421
-        once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
422
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
423
-
424
-        prependListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
425
-        prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
426
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
427
-
428
-        prependOnceListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
429
-        prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
430
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
431
-    }
432
-
433
-    // Http2Server
434
-
435
-    export interface SessionOptions {
436
-        maxDeflateDynamicTableSize?: number;
437
-        maxSessionMemory?: number;
438
-        maxHeaderListPairs?: number;
439
-        maxOutstandingPings?: number;
440
-        maxSendHeaderBlockLength?: number;
441
-        paddingStrategy?: number;
442
-        peerMaxConcurrentStreams?: number;
443
-        selectPadding?: (frameLen: number, maxFrameLen: number) => number;
444
-        settings?: Settings;
445
-        createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
446
-    }
447
-
448
-    export interface ClientSessionOptions extends SessionOptions {
449
-        maxReservedRemoteStreams?: number;
450
-        createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex;
451
-    }
452
-
453
-    export interface ServerSessionOptions extends SessionOptions {
454
-        Http1IncomingMessage?: typeof IncomingMessage;
455
-        Http1ServerResponse?: typeof ServerResponse;
456
-        Http2ServerRequest?: typeof Http2ServerRequest;
457
-        Http2ServerResponse?: typeof Http2ServerResponse;
458
-    }
459
-
460
-    export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { }
461
-    export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { }
462
-
463
-    export interface ServerOptions extends ServerSessionOptions { }
464
-
465
-    export interface SecureServerOptions extends SecureServerSessionOptions {
466
-        allowHTTP1?: boolean;
467
-        origins?: string[];
468
-    }
469
-
470
-    export class Http2Server extends net.Server {
471
-        private constructor();
472
-
473
-        addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
474
-        addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
475
-        addListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
476
-        addListener(event: "sessionError", listener: (err: Error) => void): this;
477
-        addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
478
-        addListener(event: "timeout", listener: () => void): this;
479
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
480
-
481
-        emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
482
-        emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
483
-        emit(event: "session", session: ServerHttp2Session): boolean;
484
-        emit(event: "sessionError", err: Error): boolean;
485
-        emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
486
-        emit(event: "timeout"): boolean;
487
-        emit(event: string | symbol, ...args: any[]): boolean;
488
-
489
-        on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
490
-        on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
491
-        on(event: "session", listener: (session: ServerHttp2Session) => void): this;
492
-        on(event: "sessionError", listener: (err: Error) => void): this;
493
-        on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
494
-        on(event: "timeout", listener: () => void): this;
495
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
496
-
497
-        once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
498
-        once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
499
-        once(event: "session", listener: (session: ServerHttp2Session) => void): this;
500
-        once(event: "sessionError", listener: (err: Error) => void): this;
501
-        once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
502
-        once(event: "timeout", listener: () => void): this;
503
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
504
-
505
-        prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
506
-        prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
507
-        prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
508
-        prependListener(event: "sessionError", listener: (err: Error) => void): this;
509
-        prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
510
-        prependListener(event: "timeout", listener: () => void): this;
511
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
512
-
513
-        prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
514
-        prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
515
-        prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
516
-        prependOnceListener(event: "sessionError", listener: (err: Error) => void): this;
517
-        prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
518
-        prependOnceListener(event: "timeout", listener: () => void): this;
519
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
520
-
521
-        setTimeout(msec?: number, callback?: () => void): this;
522
-    }
523
-
524
-    export class Http2SecureServer extends tls.Server {
525
-        private constructor();
526
-
527
-        addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
528
-        addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
529
-        addListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
530
-        addListener(event: "sessionError", listener: (err: Error) => void): this;
531
-        addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
532
-        addListener(event: "timeout", listener: () => void): this;
533
-        addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
534
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
535
-
536
-        emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
537
-        emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
538
-        emit(event: "session", session: ServerHttp2Session): boolean;
539
-        emit(event: "sessionError", err: Error): boolean;
540
-        emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
541
-        emit(event: "timeout"): boolean;
542
-        emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean;
543
-        emit(event: string | symbol, ...args: any[]): boolean;
544
-
545
-        on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
546
-        on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
547
-        on(event: "session", listener: (session: ServerHttp2Session) => void): this;
548
-        on(event: "sessionError", listener: (err: Error) => void): this;
549
-        on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
550
-        on(event: "timeout", listener: () => void): this;
551
-        on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
552
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
553
-
554
-        once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
555
-        once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
556
-        once(event: "session", listener: (session: ServerHttp2Session) => void): this;
557
-        once(event: "sessionError", listener: (err: Error) => void): this;
558
-        once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
559
-        once(event: "timeout", listener: () => void): this;
560
-        once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
561
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
562
-
563
-        prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
564
-        prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
565
-        prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
566
-        prependListener(event: "sessionError", listener: (err: Error) => void): this;
567
-        prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
568
-        prependListener(event: "timeout", listener: () => void): this;
569
-        prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
570
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
571
-
572
-        prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
573
-        prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
574
-        prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
575
-        prependOnceListener(event: "sessionError", listener: (err: Error) => void): this;
576
-        prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
577
-        prependOnceListener(event: "timeout", listener: () => void): this;
578
-        prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
579
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
580
-
581
-        setTimeout(msec?: number, callback?: () => void): this;
582
-    }
583
-
584
-    export class Http2ServerRequest extends stream.Readable {
585
-        private constructor();
586
-
587
-        readonly aborted: boolean;
588
-        readonly authority: string;
589
-        readonly headers: IncomingHttpHeaders;
590
-        readonly httpVersion: string;
591
-        readonly method: string;
592
-        readonly rawHeaders: string[];
593
-        readonly rawTrailers: string[];
594
-        readonly scheme: string;
595
-        setTimeout(msecs: number, callback?: () => void): void;
596
-        readonly socket: net.Socket | tls.TLSSocket;
597
-        readonly stream: ServerHttp2Stream;
598
-        readonly trailers: IncomingHttpHeaders;
599
-        readonly url: string;
600
-
601
-        read(size?: number): Buffer | string | null;
602
-
603
-        addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
604
-        addListener(event: "close", listener: () => void): this;
605
-        addListener(event: "data", listener: (chunk: Buffer | string) => void): this;
606
-        addListener(event: "end", listener: () => void): this;
607
-        addListener(event: "readable", listener: () => void): this;
608
-        addListener(event: "error", listener: (err: Error) => void): this;
609
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
610
-
611
-        emit(event: "aborted", hadError: boolean, code: number): boolean;
612
-        emit(event: "close"): boolean;
613
-        emit(event: "data", chunk: Buffer | string): boolean;
614
-        emit(event: "end"): boolean;
615
-        emit(event: "readable"): boolean;
616
-        emit(event: "error", err: Error): boolean;
617
-        emit(event: string | symbol, ...args: any[]): boolean;
618
-
619
-        on(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
620
-        on(event: "close", listener: () => void): this;
621
-        on(event: "data", listener: (chunk: Buffer | string) => void): this;
622
-        on(event: "end", listener: () => void): this;
623
-        on(event: "readable", listener: () => void): this;
624
-        on(event: "error", listener: (err: Error) => void): this;
625
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
626
-
627
-        once(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
628
-        once(event: "close", listener: () => void): this;
629
-        once(event: "data", listener: (chunk: Buffer | string) => void): this;
630
-        once(event: "end", listener: () => void): this;
631
-        once(event: "readable", listener: () => void): this;
632
-        once(event: "error", listener: (err: Error) => void): this;
633
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
634
-
635
-        prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
636
-        prependListener(event: "close", listener: () => void): this;
637
-        prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
638
-        prependListener(event: "end", listener: () => void): this;
639
-        prependListener(event: "readable", listener: () => void): this;
640
-        prependListener(event: "error", listener: (err: Error) => void): this;
641
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
642
-
643
-        prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
644
-        prependOnceListener(event: "close", listener: () => void): this;
645
-        prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
646
-        prependOnceListener(event: "end", listener: () => void): this;
647
-        prependOnceListener(event: "readable", listener: () => void): this;
648
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
649
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
650
-    }
651
-
652
-    export class Http2ServerResponse extends stream.Stream {
653
-        private constructor();
654
-
655
-        addTrailers(trailers: OutgoingHttpHeaders): void;
656
-        readonly connection: net.Socket | tls.TLSSocket;
657
-        end(callback?: () => void): void;
658
-        end(data: string | Buffer | Uint8Array, callback?: () => void): void;
659
-        end(data: string | Buffer | Uint8Array, encoding: string, callback?: () => void): void;
660
-        readonly finished: boolean;
661
-        getHeader(name: string): string;
662
-        getHeaderNames(): string[];
663
-        getHeaders(): OutgoingHttpHeaders;
664
-        hasHeader(name: string): boolean;
665
-        readonly headersSent: boolean;
666
-        removeHeader(name: string): void;
667
-        sendDate: boolean;
668
-        setHeader(name: string, value: number | string | string[]): void;
669
-        setTimeout(msecs: number, callback?: () => void): void;
670
-        readonly socket: net.Socket | tls.TLSSocket;
671
-        statusCode: number;
672
-        statusMessage: '';
673
-        readonly stream: ServerHttp2Stream;
674
-        write(chunk: string | Buffer | Uint8Array, callback?: (err: Error) => void): boolean;
675
-        write(chunk: string | Buffer | Uint8Array, encoding: string, callback?: (err: Error) => void): boolean;
676
-        writeContinue(): void;
677
-        writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this;
678
-        writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this;
679
-        createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void;
680
-
681
-        addListener(event: "close", listener: () => void): this;
682
-        addListener(event: "drain", listener: () => void): this;
683
-        addListener(event: "error", listener: (error: Error) => void): this;
684
-        addListener(event: "finish", listener: () => void): this;
685
-        addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
686
-        addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
687
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
688
-
689
-        emit(event: "close"): boolean;
690
-        emit(event: "drain"): boolean;
691
-        emit(event: "error", error: Error): boolean;
692
-        emit(event: "finish"): boolean;
693
-        emit(event: "pipe", src: stream.Readable): boolean;
694
-        emit(event: "unpipe", src: stream.Readable): boolean;
695
-        emit(event: string | symbol, ...args: any[]): boolean;
696
-
697
-        on(event: "close", listener: () => void): this;
698
-        on(event: "drain", listener: () => void): this;
699
-        on(event: "error", listener: (error: Error) => void): this;
700
-        on(event: "finish", listener: () => void): this;
701
-        on(event: "pipe", listener: (src: stream.Readable) => void): this;
702
-        on(event: "unpipe", listener: (src: stream.Readable) => void): this;
703
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
704
-
705
-        once(event: "close", listener: () => void): this;
706
-        once(event: "drain", listener: () => void): this;
707
-        once(event: "error", listener: (error: Error) => void): this;
708
-        once(event: "finish", listener: () => void): this;
709
-        once(event: "pipe", listener: (src: stream.Readable) => void): this;
710
-        once(event: "unpipe", listener: (src: stream.Readable) => void): this;
711
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
712
-
713
-        prependListener(event: "close", listener: () => void): this;
714
-        prependListener(event: "drain", listener: () => void): this;
715
-        prependListener(event: "error", listener: (error: Error) => void): this;
716
-        prependListener(event: "finish", listener: () => void): this;
717
-        prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
718
-        prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
719
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
720
-
721
-        prependOnceListener(event: "close", listener: () => void): this;
722
-        prependOnceListener(event: "drain", listener: () => void): this;
723
-        prependOnceListener(event: "error", listener: (error: Error) => void): this;
724
-        prependOnceListener(event: "finish", listener: () => void): this;
725
-        prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
726
-        prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
727
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
728
-    }
729
-
730
-    // Public API
731
-
732
-    export namespace constants {
733
-        const NGHTTP2_SESSION_SERVER: number;
734
-        const NGHTTP2_SESSION_CLIENT: number;
735
-        const NGHTTP2_STREAM_STATE_IDLE: number;
736
-        const NGHTTP2_STREAM_STATE_OPEN: number;
737
-        const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number;
738
-        const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number;
739
-        const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number;
740
-        const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number;
741
-        const NGHTTP2_STREAM_STATE_CLOSED: number;
742
-        const NGHTTP2_NO_ERROR: number;
743
-        const NGHTTP2_PROTOCOL_ERROR: number;
744
-        const NGHTTP2_INTERNAL_ERROR: number;
745
-        const NGHTTP2_FLOW_CONTROL_ERROR: number;
746
-        const NGHTTP2_SETTINGS_TIMEOUT: number;
747
-        const NGHTTP2_STREAM_CLOSED: number;
748
-        const NGHTTP2_FRAME_SIZE_ERROR: number;
749
-        const NGHTTP2_REFUSED_STREAM: number;
750
-        const NGHTTP2_CANCEL: number;
751
-        const NGHTTP2_COMPRESSION_ERROR: number;
752
-        const NGHTTP2_CONNECT_ERROR: number;
753
-        const NGHTTP2_ENHANCE_YOUR_CALM: number;
754
-        const NGHTTP2_INADEQUATE_SECURITY: number;
755
-        const NGHTTP2_HTTP_1_1_REQUIRED: number;
756
-        const NGHTTP2_ERR_FRAME_SIZE_ERROR: number;
757
-        const NGHTTP2_FLAG_NONE: number;
758
-        const NGHTTP2_FLAG_END_STREAM: number;
759
-        const NGHTTP2_FLAG_END_HEADERS: number;
760
-        const NGHTTP2_FLAG_ACK: number;
761
-        const NGHTTP2_FLAG_PADDED: number;
762
-        const NGHTTP2_FLAG_PRIORITY: number;
763
-        const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number;
764
-        const DEFAULT_SETTINGS_ENABLE_PUSH: number;
765
-        const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number;
766
-        const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number;
767
-        const MAX_MAX_FRAME_SIZE: number;
768
-        const MIN_MAX_FRAME_SIZE: number;
769
-        const MAX_INITIAL_WINDOW_SIZE: number;
770
-        const NGHTTP2_DEFAULT_WEIGHT: number;
771
-        const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number;
772
-        const NGHTTP2_SETTINGS_ENABLE_PUSH: number;
773
-        const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number;
774
-        const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number;
775
-        const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number;
776
-        const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number;
777
-        const PADDING_STRATEGY_NONE: number;
778
-        const PADDING_STRATEGY_MAX: number;
779
-        const PADDING_STRATEGY_CALLBACK: number;
780
-        const HTTP2_HEADER_STATUS: string;
781
-        const HTTP2_HEADER_METHOD: string;
782
-        const HTTP2_HEADER_AUTHORITY: string;
783
-        const HTTP2_HEADER_SCHEME: string;
784
-        const HTTP2_HEADER_PATH: string;
785
-        const HTTP2_HEADER_ACCEPT_CHARSET: string;
786
-        const HTTP2_HEADER_ACCEPT_ENCODING: string;
787
-        const HTTP2_HEADER_ACCEPT_LANGUAGE: string;
788
-        const HTTP2_HEADER_ACCEPT_RANGES: string;
789
-        const HTTP2_HEADER_ACCEPT: string;
790
-        const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string;
791
-        const HTTP2_HEADER_AGE: string;
792
-        const HTTP2_HEADER_ALLOW: string;
793
-        const HTTP2_HEADER_AUTHORIZATION: string;
794
-        const HTTP2_HEADER_CACHE_CONTROL: string;
795
-        const HTTP2_HEADER_CONNECTION: string;
796
-        const HTTP2_HEADER_CONTENT_DISPOSITION: string;
797
-        const HTTP2_HEADER_CONTENT_ENCODING: string;
798
-        const HTTP2_HEADER_CONTENT_LANGUAGE: string;
799
-        const HTTP2_HEADER_CONTENT_LENGTH: string;
800
-        const HTTP2_HEADER_CONTENT_LOCATION: string;
801
-        const HTTP2_HEADER_CONTENT_MD5: string;
802
-        const HTTP2_HEADER_CONTENT_RANGE: string;
803
-        const HTTP2_HEADER_CONTENT_TYPE: string;
804
-        const HTTP2_HEADER_COOKIE: string;
805
-        const HTTP2_HEADER_DATE: string;
806
-        const HTTP2_HEADER_ETAG: string;
807
-        const HTTP2_HEADER_EXPECT: string;
808
-        const HTTP2_HEADER_EXPIRES: string;
809
-        const HTTP2_HEADER_FROM: string;
810
-        const HTTP2_HEADER_HOST: string;
811
-        const HTTP2_HEADER_IF_MATCH: string;
812
-        const HTTP2_HEADER_IF_MODIFIED_SINCE: string;
813
-        const HTTP2_HEADER_IF_NONE_MATCH: string;
814
-        const HTTP2_HEADER_IF_RANGE: string;
815
-        const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string;
816
-        const HTTP2_HEADER_LAST_MODIFIED: string;
817
-        const HTTP2_HEADER_LINK: string;
818
-        const HTTP2_HEADER_LOCATION: string;
819
-        const HTTP2_HEADER_MAX_FORWARDS: string;
820
-        const HTTP2_HEADER_PREFER: string;
821
-        const HTTP2_HEADER_PROXY_AUTHENTICATE: string;
822
-        const HTTP2_HEADER_PROXY_AUTHORIZATION: string;
823
-        const HTTP2_HEADER_RANGE: string;
824
-        const HTTP2_HEADER_REFERER: string;
825
-        const HTTP2_HEADER_REFRESH: string;
826
-        const HTTP2_HEADER_RETRY_AFTER: string;
827
-        const HTTP2_HEADER_SERVER: string;
828
-        const HTTP2_HEADER_SET_COOKIE: string;
829
-        const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string;
830
-        const HTTP2_HEADER_TRANSFER_ENCODING: string;
831
-        const HTTP2_HEADER_TE: string;
832
-        const HTTP2_HEADER_UPGRADE: string;
833
-        const HTTP2_HEADER_USER_AGENT: string;
834
-        const HTTP2_HEADER_VARY: string;
835
-        const HTTP2_HEADER_VIA: string;
836
-        const HTTP2_HEADER_WWW_AUTHENTICATE: string;
837
-        const HTTP2_HEADER_HTTP2_SETTINGS: string;
838
-        const HTTP2_HEADER_KEEP_ALIVE: string;
839
-        const HTTP2_HEADER_PROXY_CONNECTION: string;
840
-        const HTTP2_METHOD_ACL: string;
841
-        const HTTP2_METHOD_BASELINE_CONTROL: string;
842
-        const HTTP2_METHOD_BIND: string;
843
-        const HTTP2_METHOD_CHECKIN: string;
844
-        const HTTP2_METHOD_CHECKOUT: string;
845
-        const HTTP2_METHOD_CONNECT: string;
846
-        const HTTP2_METHOD_COPY: string;
847
-        const HTTP2_METHOD_DELETE: string;
848
-        const HTTP2_METHOD_GET: string;
849
-        const HTTP2_METHOD_HEAD: string;
850
-        const HTTP2_METHOD_LABEL: string;
851
-        const HTTP2_METHOD_LINK: string;
852
-        const HTTP2_METHOD_LOCK: string;
853
-        const HTTP2_METHOD_MERGE: string;
854
-        const HTTP2_METHOD_MKACTIVITY: string;
855
-        const HTTP2_METHOD_MKCALENDAR: string;
856
-        const HTTP2_METHOD_MKCOL: string;
857
-        const HTTP2_METHOD_MKREDIRECTREF: string;
858
-        const HTTP2_METHOD_MKWORKSPACE: string;
859
-        const HTTP2_METHOD_MOVE: string;
860
-        const HTTP2_METHOD_OPTIONS: string;
861
-        const HTTP2_METHOD_ORDERPATCH: string;
862
-        const HTTP2_METHOD_PATCH: string;
863
-        const HTTP2_METHOD_POST: string;
864
-        const HTTP2_METHOD_PRI: string;
865
-        const HTTP2_METHOD_PROPFIND: string;
866
-        const HTTP2_METHOD_PROPPATCH: string;
867
-        const HTTP2_METHOD_PUT: string;
868
-        const HTTP2_METHOD_REBIND: string;
869
-        const HTTP2_METHOD_REPORT: string;
870
-        const HTTP2_METHOD_SEARCH: string;
871
-        const HTTP2_METHOD_TRACE: string;
872
-        const HTTP2_METHOD_UNBIND: string;
873
-        const HTTP2_METHOD_UNCHECKOUT: string;
874
-        const HTTP2_METHOD_UNLINK: string;
875
-        const HTTP2_METHOD_UNLOCK: string;
876
-        const HTTP2_METHOD_UPDATE: string;
877
-        const HTTP2_METHOD_UPDATEREDIRECTREF: string;
878
-        const HTTP2_METHOD_VERSION_CONTROL: string;
879
-        const HTTP_STATUS_CONTINUE: number;
880
-        const HTTP_STATUS_SWITCHING_PROTOCOLS: number;
881
-        const HTTP_STATUS_PROCESSING: number;
882
-        const HTTP_STATUS_OK: number;
883
-        const HTTP_STATUS_CREATED: number;
884
-        const HTTP_STATUS_ACCEPTED: number;
885
-        const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number;
886
-        const HTTP_STATUS_NO_CONTENT: number;
887
-        const HTTP_STATUS_RESET_CONTENT: number;
888
-        const HTTP_STATUS_PARTIAL_CONTENT: number;
889
-        const HTTP_STATUS_MULTI_STATUS: number;
890
-        const HTTP_STATUS_ALREADY_REPORTED: number;
891
-        const HTTP_STATUS_IM_USED: number;
892
-        const HTTP_STATUS_MULTIPLE_CHOICES: number;
893
-        const HTTP_STATUS_MOVED_PERMANENTLY: number;
894
-        const HTTP_STATUS_FOUND: number;
895
-        const HTTP_STATUS_SEE_OTHER: number;
896
-        const HTTP_STATUS_NOT_MODIFIED: number;
897
-        const HTTP_STATUS_USE_PROXY: number;
898
-        const HTTP_STATUS_TEMPORARY_REDIRECT: number;
899
-        const HTTP_STATUS_PERMANENT_REDIRECT: number;
900
-        const HTTP_STATUS_BAD_REQUEST: number;
901
-        const HTTP_STATUS_UNAUTHORIZED: number;
902
-        const HTTP_STATUS_PAYMENT_REQUIRED: number;
903
-        const HTTP_STATUS_FORBIDDEN: number;
904
-        const HTTP_STATUS_NOT_FOUND: number;
905
-        const HTTP_STATUS_METHOD_NOT_ALLOWED: number;
906
-        const HTTP_STATUS_NOT_ACCEPTABLE: number;
907
-        const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number;
908
-        const HTTP_STATUS_REQUEST_TIMEOUT: number;
909
-        const HTTP_STATUS_CONFLICT: number;
910
-        const HTTP_STATUS_GONE: number;
911
-        const HTTP_STATUS_LENGTH_REQUIRED: number;
912
-        const HTTP_STATUS_PRECONDITION_FAILED: number;
913
-        const HTTP_STATUS_PAYLOAD_TOO_LARGE: number;
914
-        const HTTP_STATUS_URI_TOO_LONG: number;
915
-        const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number;
916
-        const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number;
917
-        const HTTP_STATUS_EXPECTATION_FAILED: number;
918
-        const HTTP_STATUS_TEAPOT: number;
919
-        const HTTP_STATUS_MISDIRECTED_REQUEST: number;
920
-        const HTTP_STATUS_UNPROCESSABLE_ENTITY: number;
921
-        const HTTP_STATUS_LOCKED: number;
922
-        const HTTP_STATUS_FAILED_DEPENDENCY: number;
923
-        const HTTP_STATUS_UNORDERED_COLLECTION: number;
924
-        const HTTP_STATUS_UPGRADE_REQUIRED: number;
925
-        const HTTP_STATUS_PRECONDITION_REQUIRED: number;
926
-        const HTTP_STATUS_TOO_MANY_REQUESTS: number;
927
-        const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number;
928
-        const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number;
929
-        const HTTP_STATUS_INTERNAL_SERVER_ERROR: number;
930
-        const HTTP_STATUS_NOT_IMPLEMENTED: number;
931
-        const HTTP_STATUS_BAD_GATEWAY: number;
932
-        const HTTP_STATUS_SERVICE_UNAVAILABLE: number;
933
-        const HTTP_STATUS_GATEWAY_TIMEOUT: number;
934
-        const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number;
935
-        const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number;
936
-        const HTTP_STATUS_INSUFFICIENT_STORAGE: number;
937
-        const HTTP_STATUS_LOOP_DETECTED: number;
938
-        const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number;
939
-        const HTTP_STATUS_NOT_EXTENDED: number;
940
-        const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number;
941
-    }
942
-
943
-    export function getDefaultSettings(): Settings;
944
-    export function getPackedSettings(settings: Settings): Buffer;
945
-    export function getUnpackedSettings(buf: Buffer | Uint8Array): Settings;
946
-
947
-    export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
948
-    export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
949
-
950
-    export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
951
-    export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
952
-
953
-    export function connect(authority: string | url.URL, listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session;
954
-    export function connect(
955
-        authority: string | url.URL,
956
-        options?: ClientSessionOptions | SecureClientSessionOptions,
957
-        listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void,
958
-    ): ClientHttp2Session;
959
-}

+ 0
- 53
node_modules/@types/node/https.d.ts Parādīt failu

@@ -1,53 +0,0 @@
1
-declare module "https" {
2
-    import * as tls from "tls";
3
-    import * as events from "events";
4
-    import * as http from "http";
5
-    import { URL } from "url";
6
-
7
-    type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions;
8
-
9
-    type RequestOptions = http.RequestOptions & tls.SecureContextOptions & {
10
-        rejectUnauthorized?: boolean; // Defaults to true
11
-        servername?: string; // SNI TLS Extension
12
-    };
13
-
14
-    interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
15
-        rejectUnauthorized?: boolean;
16
-        maxCachedSessions?: number;
17
-    }
18
-
19
-    class Agent extends http.Agent {
20
-        constructor(options?: AgentOptions);
21
-        options: AgentOptions;
22
-    }
23
-
24
-    class Server extends tls.Server {
25
-        constructor(requestListener?: http.RequestListener);
26
-        constructor(options: ServerOptions, requestListener?: http.RequestListener);
27
-
28
-        setTimeout(callback: () => void): this;
29
-        setTimeout(msecs?: number, callback?: () => void): this;
30
-        /**
31
-         * Limits maximum incoming headers count. If set to 0, no limit will be applied.
32
-         * @default 2000
33
-         * {@link https://nodejs.org/api/http.html#http_server_maxheaderscount}
34
-         */
35
-        maxHeadersCount: number | null;
36
-        timeout: number;
37
-        /**
38
-         * Limit the amount of time the parser will wait to receive the complete HTTP headers.
39
-         * @default 40000
40
-         * {@link https://nodejs.org/api/http.html#http_server_headerstimeout}
41
-         */
42
-        headersTimeout: number;
43
-        keepAliveTimeout: number;
44
-    }
45
-
46
-    function createServer(requestListener?: http.RequestListener): Server;
47
-    function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server;
48
-    function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
49
-    function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
50
-    function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
51
-    function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
52
-    let globalAgent: Agent;
53
-}

+ 0
- 100
node_modules/@types/node/index.d.ts Parādīt failu

@@ -1,100 +0,0 @@
1
-// Type definitions for non-npm package Node.js 11.13
2
-// Project: http://nodejs.org/
3
-// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4
-//                 DefinitelyTyped <https://github.com/DefinitelyTyped>
5
-//                 Alberto Schiabel <https://github.com/jkomyno>
6
-//                 Alexander T. <https://github.com/a-tarasyuk>
7
-//                 Alvis HT Tang <https://github.com/alvis>
8
-//                 Andrew Makarov <https://github.com/r3nya>
9
-//                 Benjamin Toueg <https://github.com/btoueg>
10
-//                 Bruno Scheufler <https://github.com/brunoscheufler>
11
-//                 Chigozirim C. <https://github.com/smac89>
12
-//                 Christian Vaagland Tellnes <https://github.com/tellnes>
13
-//                 David Junger <https://github.com/touffy>
14
-//                 Deividas Bakanas <https://github.com/DeividasBakanas>
15
-//                 Eugene Y. Q. Shen <https://github.com/eyqs>
16
-//                 Flarna <https://github.com/Flarna>
17
-//                 Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
18
-//                 Hoàng Văn Khải <https://github.com/KSXGitHub>
19
-//                 Huw <https://github.com/hoo29>
20
-//                 Kelvin Jin <https://github.com/kjin>
21
-//                 Klaus Meinhardt <https://github.com/ajafff>
22
-//                 Lishude <https://github.com/islishude>
23
-//                 Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
24
-//                 Matthieu Sieben <https://github.com/matthieusieben>
25
-//                 Mohsen Azimi <https://github.com/mohsen1>
26
-//                 Nicolas Even <https://github.com/n-e>
27
-//                 Nicolas Voigt <https://github.com/octo-sniffle>
28
-//                 Parambir Singh <https://github.com/parambirs>
29
-//                 Sebastian Silbermann <https://github.com/eps1lon>
30
-//                 Simon Schick <https://github.com/SimonSchick>
31
-//                 Thomas den Hollander <https://github.com/ThomasdenH>
32
-//                 Wilco Bakker <https://github.com/WilcoBakker>
33
-//                 wwwy3y3 <https://github.com/wwwy3y3>
34
-//                 Zane Hannan AU <https://github.com/ZaneHannanAU>
35
-//                 Jeremie Rodriguez <https://github.com/jeremiergz>
36
-//                 Samuel Ainsworth <https://github.com/samuela>
37
-//                 Kyle Uehlein <https://github.com/kuehlein>
38
-//                 Jordi Oliveras Rovira <https://github.com/j-oliveras>
39
-//                 Thanik Bhongbhibhat <https://github.com/bhongy>
40
-//                 Ivan Sieder <https://github.com/ivansieder>
41
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
42
-
43
-// NOTE: These definitions support NodeJS and TypeScript 3.2.
44
-
45
-// NOTE: TypeScript version-specific augmentations can be found in the following paths:
46
-//          - ~/base.d.ts         - Shared definitions common to all TypeScript versions
47
-//          - ~/index.d.ts        - Definitions specific to TypeScript 2.1
48
-//          - ~/ts3.2/index.d.ts  - Definitions specific to TypeScript 3.2
49
-
50
-// NOTE: Augmentations for TypeScript 3.2 and later should use individual files for overrides
51
-//       within the respective ~/ts3.2 (or later) folder. However, this is disallowed for versions
52
-//       prior to TypeScript 3.2, so the older definitions will be found here.
53
-
54
-// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
55
-/// <reference path="base.d.ts" />
56
-
57
-// TypeScript 2.1-specific augmentations:
58
-
59
-// Forward-declarations for needed types from es2015 and later (in case users are using `--lib es5`)
60
-// Empty interfaces are used here which merge fine with the real declarations in the lib XXX files
61
-// just to ensure the names are known and node typings can be sued without importing these libs.
62
-// if someone really needs these types the libs need to be added via --lib or in tsconfig.json
63
-interface MapConstructor { }
64
-interface WeakMapConstructor { }
65
-interface SetConstructor { }
66
-interface WeakSetConstructor { }
67
-interface Set<T> {}
68
-interface Map<K, V> {}
69
-interface ReadonlySet<T> {}
70
-interface IteratorResult<T> { }
71
-interface Iterable<T> { }
72
-interface Iterator<T> {
73
-    next(value?: any): IteratorResult<T>;
74
-}
75
-interface IterableIterator<T> { }
76
-interface AsyncIterableIterator<T> {}
77
-interface SymbolConstructor {
78
-    readonly iterator: symbol;
79
-    readonly asyncIterator: symbol;
80
-}
81
-declare var Symbol: SymbolConstructor;
82
-// even this is just a forward declaration some properties are added otherwise
83
-// it would be allowed to pass anything to e.g. Buffer.from()
84
-interface SharedArrayBuffer {
85
-    readonly byteLength: number;
86
-    slice(begin?: number, end?: number): SharedArrayBuffer;
87
-}
88
-
89
-declare module "util" {
90
-    namespace inspect {
91
-        const custom: symbol;
92
-    }
93
-    namespace promisify {
94
-        const custom: symbol;
95
-    }
96
-    namespace types {
97
-        function isBigInt64Array(value: any): boolean;
98
-        function isBigUint64Array(value: any): boolean;
99
-    }
100
-}

+ 0
- 3257
node_modules/@types/node/inspector.d.ts
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 0
- 3
node_modules/@types/node/module.d.ts Parādīt failu

@@ -1,3 +0,0 @@
1
-declare module "module" {
2
-    export = NodeJS.Module;
3
-}

+ 0
- 249
node_modules/@types/node/net.d.ts Parādīt failu

@@ -1,249 +0,0 @@
1
-declare module "net" {
2
-    import * as stream from "stream";
3
-    import * as events from "events";
4
-    import * as dns from "dns";
5
-
6
-    type LookupFunction = (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void;
7
-
8
-    interface AddressInfo {
9
-        address: string;
10
-        family: string;
11
-        port: number;
12
-    }
13
-
14
-    interface SocketConstructorOpts {
15
-        fd?: number;
16
-        allowHalfOpen?: boolean;
17
-        readable?: boolean;
18
-        writable?: boolean;
19
-    }
20
-
21
-    interface TcpSocketConnectOpts {
22
-        port: number;
23
-        host?: string;
24
-        localAddress?: string;
25
-        localPort?: number;
26
-        hints?: number;
27
-        family?: number;
28
-        lookup?: LookupFunction;
29
-    }
30
-
31
-    interface IpcSocketConnectOpts {
32
-        path: string;
33
-    }
34
-
35
-    type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
36
-
37
-    class Socket extends stream.Duplex {
38
-        constructor(options?: SocketConstructorOpts);
39
-
40
-        // Extended base methods
41
-        write(buffer: Buffer | Uint8Array | string, cb?: (err?: Error) => void): boolean;
42
-        write(str: Buffer | Uint8Array | string, encoding?: string, cb?: (err?: Error) => void): boolean;
43
-
44
-        connect(options: SocketConnectOpts, connectionListener?: () => void): this;
45
-        connect(port: number, host: string, connectionListener?: () => void): this;
46
-        connect(port: number, connectionListener?: () => void): this;
47
-        connect(path: string, connectionListener?: () => void): this;
48
-
49
-        setEncoding(encoding?: string): this;
50
-        pause(): this;
51
-        resume(): this;
52
-        setTimeout(timeout: number, callback?: () => void): this;
53
-        setNoDelay(noDelay?: boolean): this;
54
-        setKeepAlive(enable?: boolean, initialDelay?: number): this;
55
-        address(): AddressInfo | string;
56
-        unref(): void;
57
-        ref(): void;
58
-
59
-        readonly bufferSize: number;
60
-        readonly bytesRead: number;
61
-        readonly bytesWritten: number;
62
-        readonly connecting: boolean;
63
-        readonly destroyed: boolean;
64
-        readonly localAddress: string;
65
-        readonly localPort: number;
66
-        readonly remoteAddress?: string;
67
-        readonly remoteFamily?: string;
68
-        readonly remotePort?: number;
69
-
70
-        // Extended base methods
71
-        end(cb?: () => void): void;
72
-        end(buffer: Buffer | Uint8Array | string, cb?: () => void): void;
73
-        end(str: Buffer | Uint8Array | string, encoding?: string, cb?: () => void): void;
74
-
75
-        /**
76
-         * events.EventEmitter
77
-         *   1. close
78
-         *   2. connect
79
-         *   3. data
80
-         *   4. drain
81
-         *   5. end
82
-         *   6. error
83
-         *   7. lookup
84
-         *   8. timeout
85
-         */
86
-        addListener(event: string, listener: (...args: any[]) => void): this;
87
-        addListener(event: "close", listener: (had_error: boolean) => void): this;
88
-        addListener(event: "connect", listener: () => void): this;
89
-        addListener(event: "data", listener: (data: Buffer) => void): this;
90
-        addListener(event: "drain", listener: () => void): this;
91
-        addListener(event: "end", listener: () => void): this;
92
-        addListener(event: "error", listener: (err: Error) => void): this;
93
-        addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
94
-        addListener(event: "timeout", listener: () => void): this;
95
-
96
-        emit(event: string | symbol, ...args: any[]): boolean;
97
-        emit(event: "close", had_error: boolean): boolean;
98
-        emit(event: "connect"): boolean;
99
-        emit(event: "data", data: Buffer): boolean;
100
-        emit(event: "drain"): boolean;
101
-        emit(event: "end"): boolean;
102
-        emit(event: "error", err: Error): boolean;
103
-        emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean;
104
-        emit(event: "timeout"): boolean;
105
-
106
-        on(event: string, listener: (...args: any[]) => void): this;
107
-        on(event: "close", listener: (had_error: boolean) => void): this;
108
-        on(event: "connect", listener: () => void): this;
109
-        on(event: "data", listener: (data: Buffer) => void): this;
110
-        on(event: "drain", listener: () => void): this;
111
-        on(event: "end", listener: () => void): this;
112
-        on(event: "error", listener: (err: Error) => void): this;
113
-        on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
114
-        on(event: "timeout", listener: () => void): this;
115
-
116
-        once(event: string, listener: (...args: any[]) => void): this;
117
-        once(event: "close", listener: (had_error: boolean) => void): this;
118
-        once(event: "connect", listener: () => void): this;
119
-        once(event: "data", listener: (data: Buffer) => void): this;
120
-        once(event: "drain", listener: () => void): this;
121
-        once(event: "end", listener: () => void): this;
122
-        once(event: "error", listener: (err: Error) => void): this;
123
-        once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
124
-        once(event: "timeout", listener: () => void): this;
125
-
126
-        prependListener(event: string, listener: (...args: any[]) => void): this;
127
-        prependListener(event: "close", listener: (had_error: boolean) => void): this;
128
-        prependListener(event: "connect", listener: () => void): this;
129
-        prependListener(event: "data", listener: (data: Buffer) => void): this;
130
-        prependListener(event: "drain", listener: () => void): this;
131
-        prependListener(event: "end", listener: () => void): this;
132
-        prependListener(event: "error", listener: (err: Error) => void): this;
133
-        prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
134
-        prependListener(event: "timeout", listener: () => void): this;
135
-
136
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
137
-        prependOnceListener(event: "close", listener: (had_error: boolean) => void): this;
138
-        prependOnceListener(event: "connect", listener: () => void): this;
139
-        prependOnceListener(event: "data", listener: (data: Buffer) => void): this;
140
-        prependOnceListener(event: "drain", listener: () => void): this;
141
-        prependOnceListener(event: "end", listener: () => void): this;
142
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
143
-        prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this;
144
-        prependOnceListener(event: "timeout", listener: () => void): this;
145
-    }
146
-
147
-    interface ListenOptions {
148
-        port?: number;
149
-        host?: string;
150
-        backlog?: number;
151
-        path?: string;
152
-        exclusive?: boolean;
153
-        readableAll?: boolean;
154
-        writableAll?: boolean;
155
-        /**
156
-         * @default false
157
-         */
158
-        ipv6Only?: boolean;
159
-    }
160
-
161
-    // https://github.com/nodejs/node/blob/master/lib/net.js
162
-    class Server extends events.EventEmitter {
163
-        constructor(connectionListener?: (socket: Socket) => void);
164
-        constructor(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void);
165
-
166
-        listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;
167
-        listen(port?: number, hostname?: string, listeningListener?: () => void): this;
168
-        listen(port?: number, backlog?: number, listeningListener?: () => void): this;
169
-        listen(port?: number, listeningListener?: () => void): this;
170
-        listen(path: string, backlog?: number, listeningListener?: () => void): this;
171
-        listen(path: string, listeningListener?: () => void): this;
172
-        listen(options: ListenOptions, listeningListener?: () => void): this;
173
-        listen(handle: any, backlog?: number, listeningListener?: () => void): this;
174
-        listen(handle: any, listeningListener?: () => void): this;
175
-        close(callback?: (err?: Error) => void): this;
176
-        address(): AddressInfo | string | null;
177
-        getConnections(cb: (error: Error | null, count: number) => void): void;
178
-        ref(): this;
179
-        unref(): this;
180
-        maxConnections: number;
181
-        connections: number;
182
-        listening: boolean;
183
-
184
-        /**
185
-         * events.EventEmitter
186
-         *   1. close
187
-         *   2. connection
188
-         *   3. error
189
-         *   4. listening
190
-         */
191
-        addListener(event: string, listener: (...args: any[]) => void): this;
192
-        addListener(event: "close", listener: () => void): this;
193
-        addListener(event: "connection", listener: (socket: Socket) => void): this;
194
-        addListener(event: "error", listener: (err: Error) => void): this;
195
-        addListener(event: "listening", listener: () => void): this;
196
-
197
-        emit(event: string | symbol, ...args: any[]): boolean;
198
-        emit(event: "close"): boolean;
199
-        emit(event: "connection", socket: Socket): boolean;
200
-        emit(event: "error", err: Error): boolean;
201
-        emit(event: "listening"): boolean;
202
-
203
-        on(event: string, listener: (...args: any[]) => void): this;
204
-        on(event: "close", listener: () => void): this;
205
-        on(event: "connection", listener: (socket: Socket) => void): this;
206
-        on(event: "error", listener: (err: Error) => void): this;
207
-        on(event: "listening", listener: () => void): this;
208
-
209
-        once(event: string, listener: (...args: any[]) => void): this;
210
-        once(event: "close", listener: () => void): this;
211
-        once(event: "connection", listener: (socket: Socket) => void): this;
212
-        once(event: "error", listener: (err: Error) => void): this;
213
-        once(event: "listening", listener: () => void): this;
214
-
215
-        prependListener(event: string, listener: (...args: any[]) => void): this;
216
-        prependListener(event: "close", listener: () => void): this;
217
-        prependListener(event: "connection", listener: (socket: Socket) => void): this;
218
-        prependListener(event: "error", listener: (err: Error) => void): this;
219
-        prependListener(event: "listening", listener: () => void): this;
220
-
221
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
222
-        prependOnceListener(event: "close", listener: () => void): this;
223
-        prependOnceListener(event: "connection", listener: (socket: Socket) => void): this;
224
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
225
-        prependOnceListener(event: "listening", listener: () => void): this;
226
-    }
227
-
228
-    interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
229
-        timeout?: number;
230
-    }
231
-
232
-    interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts {
233
-        timeout?: number;
234
-    }
235
-
236
-    type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts;
237
-
238
-    function createServer(connectionListener?: (socket: Socket) => void): Server;
239
-    function createServer(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void): Server;
240
-    function connect(options: NetConnectOpts, connectionListener?: () => void): Socket;
241
-    function connect(port: number, host?: string, connectionListener?: () => void): Socket;
242
-    function connect(path: string, connectionListener?: () => void): Socket;
243
-    function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket;
244
-    function createConnection(port: number, host?: string, connectionListener?: () => void): Socket;
245
-    function createConnection(path: string, connectionListener?: () => void): Socket;
246
-    function isIP(input: string): number;
247
-    function isIPv4(input: string): boolean;
248
-    function isIPv6(input: string): boolean;
249
-}

+ 0
- 201
node_modules/@types/node/os.d.ts Parādīt failu

@@ -1,201 +0,0 @@
1
-declare module "os" {
2
-    interface CpuInfo {
3
-        model: string;
4
-        speed: number;
5
-        times: {
6
-            user: number;
7
-            nice: number;
8
-            sys: number;
9
-            idle: number;
10
-            irq: number;
11
-        };
12
-    }
13
-
14
-    interface NetworkInterfaceBase {
15
-        address: string;
16
-        netmask: string;
17
-        mac: string;
18
-        internal: boolean;
19
-        cidr: string | null;
20
-    }
21
-
22
-    interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
23
-        family: "IPv4";
24
-    }
25
-
26
-    interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
27
-        family: "IPv6";
28
-        scopeid: number;
29
-    }
30
-
31
-    interface UserInfo<T> {
32
-        username: T;
33
-        uid: number;
34
-        gid: number;
35
-        shell: T;
36
-        homedir: T;
37
-    }
38
-
39
-    type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
40
-
41
-    function hostname(): string;
42
-    function loadavg(): number[];
43
-    function uptime(): number;
44
-    function freemem(): number;
45
-    function totalmem(): number;
46
-    function cpus(): CpuInfo[];
47
-    function type(): string;
48
-    function release(): string;
49
-    function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] };
50
-    function homedir(): string;
51
-    function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
52
-    function userInfo(options?: { encoding: string }): UserInfo<string>;
53
-    const constants: {
54
-        UV_UDP_REUSEADDR: number;
55
-        signals: {
56
-            SIGHUP: number;
57
-            SIGINT: number;
58
-            SIGQUIT: number;
59
-            SIGILL: number;
60
-            SIGTRAP: number;
61
-            SIGABRT: number;
62
-            SIGIOT: number;
63
-            SIGBUS: number;
64
-            SIGFPE: number;
65
-            SIGKILL: number;
66
-            SIGUSR1: number;
67
-            SIGSEGV: number;
68
-            SIGUSR2: number;
69
-            SIGPIPE: number;
70
-            SIGALRM: number;
71
-            SIGTERM: number;
72
-            SIGCHLD: number;
73
-            SIGSTKFLT: number;
74
-            SIGCONT: number;
75
-            SIGSTOP: number;
76
-            SIGTSTP: number;
77
-            SIGTTIN: number;
78
-            SIGTTOU: number;
79
-            SIGURG: number;
80
-            SIGXCPU: number;
81
-            SIGXFSZ: number;
82
-            SIGVTALRM: number;
83
-            SIGPROF: number;
84
-            SIGWINCH: number;
85
-            SIGIO: number;
86
-            SIGPOLL: number;
87
-            SIGPWR: number;
88
-            SIGSYS: number;
89
-            SIGUNUSED: number;
90
-        };
91
-        errno: {
92
-            E2BIG: number;
93
-            EACCES: number;
94
-            EADDRINUSE: number;
95
-            EADDRNOTAVAIL: number;
96
-            EAFNOSUPPORT: number;
97
-            EAGAIN: number;
98
-            EALREADY: number;
99
-            EBADF: number;
100
-            EBADMSG: number;
101
-            EBUSY: number;
102
-            ECANCELED: number;
103
-            ECHILD: number;
104
-            ECONNABORTED: number;
105
-            ECONNREFUSED: number;
106
-            ECONNRESET: number;
107
-            EDEADLK: number;
108
-            EDESTADDRREQ: number;
109
-            EDOM: number;
110
-            EDQUOT: number;
111
-            EEXIST: number;
112
-            EFAULT: number;
113
-            EFBIG: number;
114
-            EHOSTUNREACH: number;
115
-            EIDRM: number;
116
-            EILSEQ: number;
117
-            EINPROGRESS: number;
118
-            EINTR: number;
119
-            EINVAL: number;
120
-            EIO: number;
121
-            EISCONN: number;
122
-            EISDIR: number;
123
-            ELOOP: number;
124
-            EMFILE: number;
125
-            EMLINK: number;
126
-            EMSGSIZE: number;
127
-            EMULTIHOP: number;
128
-            ENAMETOOLONG: number;
129
-            ENETDOWN: number;
130
-            ENETRESET: number;
131
-            ENETUNREACH: number;
132
-            ENFILE: number;
133
-            ENOBUFS: number;
134
-            ENODATA: number;
135
-            ENODEV: number;
136
-            ENOENT: number;
137
-            ENOEXEC: number;
138
-            ENOLCK: number;
139
-            ENOLINK: number;
140
-            ENOMEM: number;
141
-            ENOMSG: number;
142
-            ENOPROTOOPT: number;
143
-            ENOSPC: number;
144
-            ENOSR: number;
145
-            ENOSTR: number;
146
-            ENOSYS: number;
147
-            ENOTCONN: number;
148
-            ENOTDIR: number;
149
-            ENOTEMPTY: number;
150
-            ENOTSOCK: number;
151
-            ENOTSUP: number;
152
-            ENOTTY: number;
153
-            ENXIO: number;
154
-            EOPNOTSUPP: number;
155
-            EOVERFLOW: number;
156
-            EPERM: number;
157
-            EPIPE: number;
158
-            EPROTO: number;
159
-            EPROTONOSUPPORT: number;
160
-            EPROTOTYPE: number;
161
-            ERANGE: number;
162
-            EROFS: number;
163
-            ESPIPE: number;
164
-            ESRCH: number;
165
-            ESTALE: number;
166
-            ETIME: number;
167
-            ETIMEDOUT: number;
168
-            ETXTBSY: number;
169
-            EWOULDBLOCK: number;
170
-            EXDEV: number;
171
-        };
172
-        priority: {
173
-            PRIORITY_LOW: number;
174
-            PRIORITY_BELOW_NORMAL: number;
175
-            PRIORITY_NORMAL: number;
176
-            PRIORITY_ABOVE_NORMAL: number;
177
-            PRIORITY_HIGH: number;
178
-            PRIORITY_HIGHEST: number;
179
-        }
180
-    };
181
-    function arch(): string;
182
-    function platform(): NodeJS.Platform;
183
-    function tmpdir(): string;
184
-    const EOL: string;
185
-    function endianness(): "BE" | "LE";
186
-    /**
187
-     * Gets the priority of a process.
188
-     * Defaults to current process.
189
-     */
190
-    function getPriority(pid?: number): number;
191
-    /**
192
-     * Sets the priority of the current process.
193
-     * @param priority Must be in range of -20 to 19
194
-     */
195
-    function setPriority(priority: number): void;
196
-    /**
197
-     * Sets the priority of the process specified process.
198
-     * @param priority Must be in range of -20 to 19
199
-     */
200
-    function setPriority(pid: number, priority: number): void;
201
-}

+ 0
- 211
node_modules/@types/node/package.json Parādīt failu

@@ -1,211 +0,0 @@
1
-{
2
-  "_from": "@types/node@^11.13.19",
3
-  "_id": "@types/node@11.13.20",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-JE0UpLWZTV1sGcaj0hN+Q0760OEjpgyFJ06DOMVW6qKBducKdJQaIw0TGL6ccj7VXRduIOHLWQi+tHwulZJHVQ==",
6
-  "_location": "/@types/node",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/node@^11.13.19",
12
-    "name": "@types/node",
13
-    "escapedName": "@types%2fnode",
14
-    "scope": "@types",
15
-    "rawSpec": "^11.13.19",
16
-    "saveSpec": null,
17
-    "fetchSpec": "^11.13.19"
18
-  },
19
-  "_requiredBy": [
20
-    "#DEV:/",
21
-    "/@types/body-parser",
22
-    "/@types/connect",
23
-    "/@types/express-serve-static-core"
24
-  ],
25
-  "_resolved": "https://registry.npmjs.org/@types/node/-/node-11.13.20.tgz",
26
-  "_shasum": "da42fe93d6599f80b35ffeb5006f4c31f40d89ea",
27
-  "_spec": "@types/node@^11.13.19",
28
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib",
29
-  "bugs": {
30
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
31
-  },
32
-  "bundleDependencies": false,
33
-  "contributors": [
34
-    {
35
-      "name": "Microsoft TypeScript",
36
-      "url": "https://github.com/Microsoft"
37
-    },
38
-    {
39
-      "name": "DefinitelyTyped",
40
-      "url": "https://github.com/DefinitelyTyped"
41
-    },
42
-    {
43
-      "name": "Alberto Schiabel",
44
-      "url": "https://github.com/jkomyno"
45
-    },
46
-    {
47
-      "name": "Alexander T.",
48
-      "url": "https://github.com/a-tarasyuk"
49
-    },
50
-    {
51
-      "name": "Alvis HT Tang",
52
-      "url": "https://github.com/alvis"
53
-    },
54
-    {
55
-      "name": "Andrew Makarov",
56
-      "url": "https://github.com/r3nya"
57
-    },
58
-    {
59
-      "name": "Benjamin Toueg",
60
-      "url": "https://github.com/btoueg"
61
-    },
62
-    {
63
-      "name": "Bruno Scheufler",
64
-      "url": "https://github.com/brunoscheufler"
65
-    },
66
-    {
67
-      "name": "Chigozirim C.",
68
-      "url": "https://github.com/smac89"
69
-    },
70
-    {
71
-      "name": "Christian Vaagland Tellnes",
72
-      "url": "https://github.com/tellnes"
73
-    },
74
-    {
75
-      "name": "David Junger",
76
-      "url": "https://github.com/touffy"
77
-    },
78
-    {
79
-      "name": "Deividas Bakanas",
80
-      "url": "https://github.com/DeividasBakanas"
81
-    },
82
-    {
83
-      "name": "Eugene Y. Q. Shen",
84
-      "url": "https://github.com/eyqs"
85
-    },
86
-    {
87
-      "name": "Flarna",
88
-      "url": "https://github.com/Flarna"
89
-    },
90
-    {
91
-      "name": "Hannes Magnusson",
92
-      "url": "https://github.com/Hannes-Magnusson-CK"
93
-    },
94
-    {
95
-      "name": "Hoàng Văn Khải",
96
-      "url": "https://github.com/KSXGitHub"
97
-    },
98
-    {
99
-      "name": "Huw",
100
-      "url": "https://github.com/hoo29"
101
-    },
102
-    {
103
-      "name": "Kelvin Jin",
104
-      "url": "https://github.com/kjin"
105
-    },
106
-    {
107
-      "name": "Klaus Meinhardt",
108
-      "url": "https://github.com/ajafff"
109
-    },
110
-    {
111
-      "name": "Lishude",
112
-      "url": "https://github.com/islishude"
113
-    },
114
-    {
115
-      "name": "Mariusz Wiktorczyk",
116
-      "url": "https://github.com/mwiktorczyk"
117
-    },
118
-    {
119
-      "name": "Matthieu Sieben",
120
-      "url": "https://github.com/matthieusieben"
121
-    },
122
-    {
123
-      "name": "Mohsen Azimi",
124
-      "url": "https://github.com/mohsen1"
125
-    },
126
-    {
127
-      "name": "Nicolas Even",
128
-      "url": "https://github.com/n-e"
129
-    },
130
-    {
131
-      "name": "Nicolas Voigt",
132
-      "url": "https://github.com/octo-sniffle"
133
-    },
134
-    {
135
-      "name": "Parambir Singh",
136
-      "url": "https://github.com/parambirs"
137
-    },
138
-    {
139
-      "name": "Sebastian Silbermann",
140
-      "url": "https://github.com/eps1lon"
141
-    },
142
-    {
143
-      "name": "Simon Schick",
144
-      "url": "https://github.com/SimonSchick"
145
-    },
146
-    {
147
-      "name": "Thomas den Hollander",
148
-      "url": "https://github.com/ThomasdenH"
149
-    },
150
-    {
151
-      "name": "Wilco Bakker",
152
-      "url": "https://github.com/WilcoBakker"
153
-    },
154
-    {
155
-      "name": "wwwy3y3",
156
-      "url": "https://github.com/wwwy3y3"
157
-    },
158
-    {
159
-      "name": "Zane Hannan AU",
160
-      "url": "https://github.com/ZaneHannanAU"
161
-    },
162
-    {
163
-      "name": "Jeremie Rodriguez",
164
-      "url": "https://github.com/jeremiergz"
165
-    },
166
-    {
167
-      "name": "Samuel Ainsworth",
168
-      "url": "https://github.com/samuela"
169
-    },
170
-    {
171
-      "name": "Kyle Uehlein",
172
-      "url": "https://github.com/kuehlein"
173
-    },
174
-    {
175
-      "name": "Jordi Oliveras Rovira",
176
-      "url": "https://github.com/j-oliveras"
177
-    },
178
-    {
179
-      "name": "Thanik Bhongbhibhat",
180
-      "url": "https://github.com/bhongy"
181
-    },
182
-    {
183
-      "name": "Ivan Sieder",
184
-      "url": "https://github.com/ivansieder"
185
-    }
186
-  ],
187
-  "dependencies": {},
188
-  "deprecated": false,
189
-  "description": "TypeScript definitions for Node.js",
190
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
191
-  "license": "MIT",
192
-  "main": "",
193
-  "name": "@types/node",
194
-  "repository": {
195
-    "type": "git",
196
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
197
-    "directory": "types/node"
198
-  },
199
-  "scripts": {},
200
-  "typeScriptVersion": "2.0",
201
-  "types": "index",
202
-  "typesPublisherContentHash": "345816b363d46fa9250244ba187375be42918db565089617c0a2c4e8d6eb3ad2",
203
-  "typesVersions": {
204
-    ">=3.2.0-0": {
205
-      "*": [
206
-        "ts3.2/*"
207
-      ]
208
-    }
209
-  },
210
-  "version": "11.13.20"
211
-}

+ 0
- 159
node_modules/@types/node/path.d.ts Parādīt failu

@@ -1,159 +0,0 @@
1
-declare module "path" {
2
-    /**
3
-     * A parsed path object generated by path.parse() or consumed by path.format().
4
-     */
5
-    interface ParsedPath {
6
-        /**
7
-         * The root of the path such as '/' or 'c:\'
8
-         */
9
-        root: string;
10
-        /**
11
-         * The full directory path such as '/home/user/dir' or 'c:\path\dir'
12
-         */
13
-        dir: string;
14
-        /**
15
-         * The file name including extension (if any) such as 'index.html'
16
-         */
17
-        base: string;
18
-        /**
19
-         * The file extension (if any) such as '.html'
20
-         */
21
-        ext: string;
22
-        /**
23
-         * The file name without extension (if any) such as 'index'
24
-         */
25
-        name: string;
26
-    }
27
-    interface FormatInputPathObject {
28
-        /**
29
-         * The root of the path such as '/' or 'c:\'
30
-         */
31
-        root?: string;
32
-        /**
33
-         * The full directory path such as '/home/user/dir' or 'c:\path\dir'
34
-         */
35
-        dir?: string;
36
-        /**
37
-         * The file name including extension (if any) such as 'index.html'
38
-         */
39
-        base?: string;
40
-        /**
41
-         * The file extension (if any) such as '.html'
42
-         */
43
-        ext?: string;
44
-        /**
45
-         * The file name without extension (if any) such as 'index'
46
-         */
47
-        name?: string;
48
-    }
49
-
50
-    /**
51
-     * Normalize a string path, reducing '..' and '.' parts.
52
-     * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
53
-     *
54
-     * @param p string path to normalize.
55
-     */
56
-    function normalize(p: string): string;
57
-    /**
58
-     * Join all arguments together and normalize the resulting path.
59
-     * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
60
-     *
61
-     * @param paths paths to join.
62
-     */
63
-    function join(...paths: string[]): string;
64
-    /**
65
-     * The right-most parameter is considered {to}.  Other parameters are considered an array of {from}.
66
-     *
67
-     * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
68
-     *
69
-     * If {to} isn't already absolute, {from} arguments are prepended in right to left order,
70
-     * until an absolute path is found. If after using all {from} paths still no absolute path is found,
71
-     * the current working directory is used as well. The resulting path is normalized,
72
-     * and trailing slashes are removed unless the path gets resolved to the root directory.
73
-     *
74
-     * @param pathSegments string paths to join.  Non-string arguments are ignored.
75
-     */
76
-    function resolve(...pathSegments: string[]): string;
77
-    /**
78
-     * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
79
-     *
80
-     * @param path path to test.
81
-     */
82
-    function isAbsolute(path: string): boolean;
83
-    /**
84
-     * Solve the relative path from {from} to {to}.
85
-     * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
86
-     */
87
-    function relative(from: string, to: string): string;
88
-    /**
89
-     * Return the directory name of a path. Similar to the Unix dirname command.
90
-     *
91
-     * @param p the path to evaluate.
92
-     */
93
-    function dirname(p: string): string;
94
-    /**
95
-     * Return the last portion of a path. Similar to the Unix basename command.
96
-     * Often used to extract the file name from a fully qualified path.
97
-     *
98
-     * @param p the path to evaluate.
99
-     * @param ext optionally, an extension to remove from the result.
100
-     */
101
-    function basename(p: string, ext?: string): string;
102
-    /**
103
-     * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
104
-     * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
105
-     *
106
-     * @param p the path to evaluate.
107
-     */
108
-    function extname(p: string): string;
109
-    /**
110
-     * The platform-specific file separator. '\\' or '/'.
111
-     */
112
-    const sep: '\\' | '/';
113
-    /**
114
-     * The platform-specific file delimiter. ';' or ':'.
115
-     */
116
-    const delimiter: ';' | ':';
117
-    /**
118
-     * Returns an object from a path string - the opposite of format().
119
-     *
120
-     * @param pathString path to evaluate.
121
-     */
122
-    function parse(pathString: string): ParsedPath;
123
-    /**
124
-     * Returns a path string from an object - the opposite of parse().
125
-     *
126
-     * @param pathString path to evaluate.
127
-     */
128
-    function format(pathObject: FormatInputPathObject): string;
129
-
130
-    namespace posix {
131
-        function normalize(p: string): string;
132
-        function join(...paths: string[]): string;
133
-        function resolve(...pathSegments: string[]): string;
134
-        function isAbsolute(p: string): boolean;
135
-        function relative(from: string, to: string): string;
136
-        function dirname(p: string): string;
137
-        function basename(p: string, ext?: string): string;
138
-        function extname(p: string): string;
139
-        const sep: string;
140
-        const delimiter: string;
141
-        function parse(p: string): ParsedPath;
142
-        function format(pP: FormatInputPathObject): string;
143
-    }
144
-
145
-    namespace win32 {
146
-        function normalize(p: string): string;
147
-        function join(...paths: string[]): string;
148
-        function resolve(...pathSegments: string[]): string;
149
-        function isAbsolute(p: string): boolean;
150
-        function relative(from: string, to: string): string;
151
-        function dirname(p: string): string;
152
-        function basename(p: string, ext?: string): string;
153
-        function extname(p: string): string;
154
-        const sep: string;
155
-        const delimiter: string;
156
-        function parse(p: string): ParsedPath;
157
-        function format(pP: FormatInputPathObject): string;
158
-    }
159
-}

+ 0
- 304
node_modules/@types/node/perf_hooks.d.ts Parādīt failu

@@ -1,304 +0,0 @@
1
-declare module "perf_hooks" {
2
-    import { AsyncResource } from "async_hooks";
3
-
4
-    interface PerformanceEntry {
5
-        /**
6
-         * The total number of milliseconds elapsed for this entry.
7
-         * This value will not be meaningful for all Performance Entry types.
8
-         */
9
-        readonly duration: number;
10
-
11
-        /**
12
-         * The name of the performance entry.
13
-         */
14
-        readonly name: string;
15
-
16
-        /**
17
-         * The high resolution millisecond timestamp marking the starting time of the Performance Entry.
18
-         */
19
-        readonly startTime: number;
20
-
21
-        /**
22
-         * The type of the performance entry.
23
-         * Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'.
24
-         */
25
-        readonly entryType: string;
26
-
27
-        /**
28
-         * When performanceEntry.entryType is equal to 'gc', the performance.kind property identifies
29
-         * the type of garbage collection operation that occurred.
30
-         * The value may be one of perf_hooks.constants.
31
-         */
32
-        readonly kind?: number;
33
-    }
34
-
35
-    interface PerformanceNodeTiming extends PerformanceEntry {
36
-        /**
37
-         * The high resolution millisecond timestamp at which the Node.js process completed bootstrap.
38
-         */
39
-        readonly bootstrapComplete: number;
40
-
41
-        /**
42
-         * The high resolution millisecond timestamp at which cluster processing ended.
43
-         */
44
-        readonly clusterSetupEnd: number;
45
-
46
-        /**
47
-         * The high resolution millisecond timestamp at which cluster processing started.
48
-         */
49
-        readonly clusterSetupStart: number;
50
-
51
-        /**
52
-         * The high resolution millisecond timestamp at which the Node.js event loop exited.
53
-         */
54
-        readonly loopExit: number;
55
-
56
-        /**
57
-         * The high resolution millisecond timestamp at which the Node.js event loop started.
58
-         */
59
-        readonly loopStart: number;
60
-
61
-        /**
62
-         * The high resolution millisecond timestamp at which main module load ended.
63
-         */
64
-        readonly moduleLoadEnd: number;
65
-
66
-        /**
67
-         * The high resolution millisecond timestamp at which main module load started.
68
-         */
69
-        readonly moduleLoadStart: number;
70
-
71
-        /**
72
-         * The high resolution millisecond timestamp at which the Node.js process was initialized.
73
-         */
74
-        readonly nodeStart: number;
75
-
76
-        /**
77
-         * The high resolution millisecond timestamp at which preload module load ended.
78
-         */
79
-        readonly preloadModuleLoadEnd: number;
80
-
81
-        /**
82
-         * The high resolution millisecond timestamp at which preload module load started.
83
-         */
84
-        readonly preloadModuleLoadStart: number;
85
-
86
-        /**
87
-         * The high resolution millisecond timestamp at which third_party_main processing ended.
88
-         */
89
-        readonly thirdPartyMainEnd: number;
90
-
91
-        /**
92
-         * The high resolution millisecond timestamp at which third_party_main processing started.
93
-         */
94
-        readonly thirdPartyMainStart: number;
95
-
96
-        /**
97
-         * The high resolution millisecond timestamp at which the V8 platform was initialized.
98
-         */
99
-        readonly v8Start: number;
100
-    }
101
-
102
-    interface Performance {
103
-        /**
104
-         * If name is not provided, removes all PerformanceFunction objects from the Performance Timeline.
105
-         * If name is provided, removes entries with name.
106
-         * @param name
107
-         */
108
-        clearFunctions(name?: string): void;
109
-
110
-        /**
111
-         * If name is not provided, removes all PerformanceMark objects from the Performance Timeline.
112
-         * If name is provided, removes only the named mark.
113
-         * @param name
114
-         */
115
-        clearMarks(name?: string): void;
116
-
117
-        /**
118
-         * If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline.
119
-         * If name is provided, removes only objects whose performanceEntry.name matches name.
120
-         */
121
-        clearMeasures(name?: string): void;
122
-
123
-        /**
124
-         * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.
125
-         * @return list of all PerformanceEntry objects
126
-         */
127
-        getEntries(): PerformanceEntry[];
128
-
129
-        /**
130
-         * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
131
-         * whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
132
-         * @param name
133
-         * @param type
134
-         * @return list of all PerformanceEntry objects
135
-         */
136
-        getEntriesByName(name: string, type?: string): PerformanceEntry[];
137
-
138
-        /**
139
-         * Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
140
-         * whose performanceEntry.entryType is equal to type.
141
-         * @param type
142
-         * @return list of all PerformanceEntry objects
143
-         */
144
-        getEntriesByType(type: string): PerformanceEntry[];
145
-
146
-        /**
147
-         * Creates a new PerformanceMark entry in the Performance Timeline.
148
-         * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark',
149
-         * and whose performanceEntry.duration is always 0.
150
-         * Performance marks are used to mark specific significant moments in the Performance Timeline.
151
-         * @param name
152
-         */
153
-        mark(name?: string): void;
154
-
155
-        /**
156
-         * Creates a new PerformanceMeasure entry in the Performance Timeline.
157
-         * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
158
-         * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.
159
-         *
160
-         * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify
161
-         * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist,
162
-         * then startMark is set to timeOrigin by default.
163
-         *
164
-         * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp
165
-         * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.
166
-         * @param name
167
-         * @param startMark
168
-         * @param endMark
169
-         */
170
-        measure(name: string, startMark: string, endMark: string): void;
171
-
172
-        /**
173
-         * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
174
-         */
175
-        readonly nodeTiming: PerformanceNodeTiming;
176
-
177
-        /**
178
-         * @return the current high resolution millisecond timestamp
179
-         */
180
-        now(): number;
181
-
182
-        /**
183
-         * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.
184
-         */
185
-        readonly timeOrigin: number;
186
-
187
-        /**
188
-         * Wraps a function within a new function that measures the running time of the wrapped function.
189
-         * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.
190
-         * @param fn
191
-         */
192
-        timerify<T extends (...optionalParams: any[]) => any>(fn: T): T;
193
-    }
194
-
195
-    interface PerformanceObserverEntryList {
196
-        /**
197
-         * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.
198
-         */
199
-        getEntries(): PerformanceEntry[];
200
-
201
-        /**
202
-         * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
203
-         * whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
204
-         */
205
-        getEntriesByName(name: string, type?: string): PerformanceEntry[];
206
-
207
-        /**
208
-         * @return Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
209
-         * whose performanceEntry.entryType is equal to type.
210
-         */
211
-        getEntriesByType(type: string): PerformanceEntry[];
212
-    }
213
-
214
-    type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void;
215
-
216
-    class PerformanceObserver extends AsyncResource {
217
-        constructor(callback: PerformanceObserverCallback);
218
-
219
-        /**
220
-         * Disconnects the PerformanceObserver instance from all notifications.
221
-         */
222
-        disconnect(): void;
223
-
224
-        /**
225
-         * Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes.
226
-         * When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance.
227
-         * Property buffered defaults to false.
228
-         * @param options
229
-         */
230
-        observe(options: { entryTypes: string[], buffered?: boolean }): void;
231
-    }
232
-
233
-    namespace constants {
234
-        const NODE_PERFORMANCE_GC_MAJOR: number;
235
-        const NODE_PERFORMANCE_GC_MINOR: number;
236
-        const NODE_PERFORMANCE_GC_INCREMENTAL: number;
237
-        const NODE_PERFORMANCE_GC_WEAKCB: number;
238
-    }
239
-
240
-    const performance: Performance;
241
-
242
-    interface EventLoopMonitorOptions {
243
-        /**
244
-         * The sampling rate in milliseconds.
245
-         * Must be greater than zero.
246
-         * @default 10
247
-         */
248
-        resolution?: number;
249
-    }
250
-
251
-    interface EventLoopDelayMonitor {
252
-        /**
253
-         * Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started.
254
-         */
255
-        enable(): boolean;
256
-        /**
257
-         * Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped.
258
-         */
259
-        disable(): boolean;
260
-
261
-        /**
262
-         * Resets the collected histogram data.
263
-         */
264
-        reset(): void;
265
-
266
-        /**
267
-         * Returns the value at the given percentile.
268
-         * @param percentile A percentile value between 1 and 100.
269
-         */
270
-        percentile(percentile: number): number;
271
-
272
-        /**
273
-         * A `Map` object detailing the accumulated percentile distribution.
274
-         */
275
-        readonly percentiles: Map<number, number>;
276
-
277
-        /**
278
-         * The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold.
279
-         */
280
-        readonly exceeds: number;
281
-
282
-        /**
283
-         * The minimum recorded event loop delay.
284
-         */
285
-        readonly min: number;
286
-
287
-        /**
288
-         * The maximum recorded event loop delay.
289
-         */
290
-        readonly max: number;
291
-
292
-        /**
293
-         * The mean of the recorded event loop delays.
294
-         */
295
-        readonly mean: number;
296
-
297
-        /**
298
-         * The standard deviation of the recorded event loop delays.
299
-         */
300
-        readonly stddev: number;
301
-    }
302
-
303
-    function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor;
304
-}

+ 0
- 3
node_modules/@types/node/process.d.ts Parādīt failu

@@ -1,3 +0,0 @@
1
-declare module "process" {
2
-    export = process;
3
-}

+ 0
- 12
node_modules/@types/node/punycode.d.ts Parādīt failu

@@ -1,12 +0,0 @@
1
-declare module "punycode" {
2
-    function decode(string: string): string;
3
-    function encode(string: string): string;
4
-    function toUnicode(domain: string): string;
5
-    function toASCII(domain: string): string;
6
-    const ucs2: ucs2;
7
-    interface ucs2 {
8
-        decode(string: string): number[];
9
-        encode(codePoints: number[]): string;
10
-    }
11
-    const version: string;
12
-}

+ 0
- 32
node_modules/@types/node/querystring.d.ts Parādīt failu

@@ -1,32 +0,0 @@
1
-declare module "querystring" {
2
-    interface StringifyOptions {
3
-        encodeURIComponent?: (str: string) => string;
4
-    }
5
-
6
-    interface ParseOptions {
7
-        maxKeys?: number;
8
-        decodeURIComponent?: (str: string) => string;
9
-    }
10
-
11
-    interface ParsedUrlQuery { [key: string]: string | string[]; }
12
-
13
-    interface ParsedUrlQueryInput {
14
-        [key: string]:
15
-        // The value type here is a "poor man's `unknown`". When these types support TypeScript
16
-        // 3.0+, we can replace this with `unknown`.
17
-        {} | null | undefined;
18
-    }
19
-
20
-    function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
21
-    function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
22
-    /**
23
-     * The querystring.encode() function is an alias for querystring.stringify().
24
-     */
25
-    const encode: typeof stringify;
26
-    /**
27
-     * The querystring.decode() function is an alias for querystring.parse().
28
-     */
29
-    const decode: typeof parse;
30
-    function escape(str: string): string;
31
-    function unescape(str: string): string;
32
-}

+ 0
- 136
node_modules/@types/node/readline.d.ts Parādīt failu

@@ -1,136 +0,0 @@
1
-declare module "readline" {
2
-    import * as events from "events";
3
-    import * as stream from "stream";
4
-
5
-    interface Key {
6
-        sequence?: string;
7
-        name?: string;
8
-        ctrl?: boolean;
9
-        meta?: boolean;
10
-        shift?: boolean;
11
-    }
12
-
13
-    class Interface extends events.EventEmitter {
14
-        readonly terminal: boolean;
15
-
16
-        /**
17
-         * NOTE: According to the documentation:
18
-         *
19
-         * > Instances of the `readline.Interface` class are constructed using the
20
-         * > `readline.createInterface()` method.
21
-         *
22
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
23
-         */
24
-        protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean);
25
-        /**
26
-         * NOTE: According to the documentation:
27
-         *
28
-         * > Instances of the `readline.Interface` class are constructed using the
29
-         * > `readline.createInterface()` method.
30
-         *
31
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
32
-         */
33
-        protected constructor(options: ReadLineOptions);
34
-
35
-        setPrompt(prompt: string): void;
36
-        prompt(preserveCursor?: boolean): void;
37
-        question(query: string, callback: (answer: string) => void): void;
38
-        pause(): this;
39
-        resume(): this;
40
-        close(): void;
41
-        write(data: string | Buffer, key?: Key): void;
42
-
43
-        /**
44
-         * events.EventEmitter
45
-         * 1. close
46
-         * 2. line
47
-         * 3. pause
48
-         * 4. resume
49
-         * 5. SIGCONT
50
-         * 6. SIGINT
51
-         * 7. SIGTSTP
52
-         */
53
-
54
-        addListener(event: string, listener: (...args: any[]) => void): this;
55
-        addListener(event: "close", listener: () => void): this;
56
-        addListener(event: "line", listener: (input: string) => void): this;
57
-        addListener(event: "pause", listener: () => void): this;
58
-        addListener(event: "resume", listener: () => void): this;
59
-        addListener(event: "SIGCONT", listener: () => void): this;
60
-        addListener(event: "SIGINT", listener: () => void): this;
61
-        addListener(event: "SIGTSTP", listener: () => void): this;
62
-
63
-        emit(event: string | symbol, ...args: any[]): boolean;
64
-        emit(event: "close"): boolean;
65
-        emit(event: "line", input: string): boolean;
66
-        emit(event: "pause"): boolean;
67
-        emit(event: "resume"): boolean;
68
-        emit(event: "SIGCONT"): boolean;
69
-        emit(event: "SIGINT"): boolean;
70
-        emit(event: "SIGTSTP"): boolean;
71
-
72
-        on(event: string, listener: (...args: any[]) => void): this;
73
-        on(event: "close", listener: () => void): this;
74
-        on(event: "line", listener: (input: string) => void): this;
75
-        on(event: "pause", listener: () => void): this;
76
-        on(event: "resume", listener: () => void): this;
77
-        on(event: "SIGCONT", listener: () => void): this;
78
-        on(event: "SIGINT", listener: () => void): this;
79
-        on(event: "SIGTSTP", listener: () => void): this;
80
-
81
-        once(event: string, listener: (...args: any[]) => void): this;
82
-        once(event: "close", listener: () => void): this;
83
-        once(event: "line", listener: (input: string) => void): this;
84
-        once(event: "pause", listener: () => void): this;
85
-        once(event: "resume", listener: () => void): this;
86
-        once(event: "SIGCONT", listener: () => void): this;
87
-        once(event: "SIGINT", listener: () => void): this;
88
-        once(event: "SIGTSTP", listener: () => void): this;
89
-
90
-        prependListener(event: string, listener: (...args: any[]) => void): this;
91
-        prependListener(event: "close", listener: () => void): this;
92
-        prependListener(event: "line", listener: (input: string) => void): this;
93
-        prependListener(event: "pause", listener: () => void): this;
94
-        prependListener(event: "resume", listener: () => void): this;
95
-        prependListener(event: "SIGCONT", listener: () => void): this;
96
-        prependListener(event: "SIGINT", listener: () => void): this;
97
-        prependListener(event: "SIGTSTP", listener: () => void): this;
98
-
99
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
100
-        prependOnceListener(event: "close", listener: () => void): this;
101
-        prependOnceListener(event: "line", listener: (input: string) => void): this;
102
-        prependOnceListener(event: "pause", listener: () => void): this;
103
-        prependOnceListener(event: "resume", listener: () => void): this;
104
-        prependOnceListener(event: "SIGCONT", listener: () => void): this;
105
-        prependOnceListener(event: "SIGINT", listener: () => void): this;
106
-        prependOnceListener(event: "SIGTSTP", listener: () => void): this;
107
-        [Symbol.asyncIterator](): AsyncIterableIterator<string>;
108
-    }
109
-
110
-    type ReadLine = Interface; // type forwarded for backwards compatiblity
111
-
112
-    type Completer = (line: string) => CompleterResult;
113
-    type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => any;
114
-
115
-    type CompleterResult = [string[], string];
116
-
117
-    interface ReadLineOptions {
118
-        input: NodeJS.ReadableStream;
119
-        output?: NodeJS.WritableStream;
120
-        completer?: Completer | AsyncCompleter;
121
-        terminal?: boolean;
122
-        historySize?: number;
123
-        prompt?: string;
124
-        crlfDelay?: number;
125
-        removeHistoryDuplicates?: boolean;
126
-    }
127
-
128
-    function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
129
-    function createInterface(options: ReadLineOptions): Interface;
130
-
131
-    function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void;
132
-    function emitKeypressEvents(stream: NodeJS.ReadableStream, interface?: Interface): void;
133
-    function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
134
-    function clearLine(stream: NodeJS.WritableStream, dir: number): void;
135
-    function clearScreenDown(stream: NodeJS.WritableStream): void;
136
-}

+ 0
- 382
node_modules/@types/node/repl.d.ts Parādīt failu

@@ -1,382 +0,0 @@
1
-declare module "repl" {
2
-    import { Interface, Completer, AsyncCompleter } from "readline";
3
-    import { Context } from "vm";
4
-    import { InspectOptions } from "util";
5
-
6
-    interface ReplOptions {
7
-        /**
8
-         * The input prompt to display.
9
-         * Default: `"> "`
10
-         */
11
-        prompt?: string;
12
-        /**
13
-         * The `Readable` stream from which REPL input will be read.
14
-         * Default: `process.stdin`
15
-         */
16
-        input?: NodeJS.ReadableStream;
17
-        /**
18
-         * The `Writable` stream to which REPL output will be written.
19
-         * Default: `process.stdout`
20
-         */
21
-        output?: NodeJS.WritableStream;
22
-        /**
23
-         * If `true`, specifies that the output should be treated as a TTY terminal, and have
24
-         * ANSI/VT100 escape codes written to it.
25
-         * Default: checking the value of the `isTTY` property on the output stream upon
26
-         * instantiation.
27
-         */
28
-        terminal?: boolean;
29
-        /**
30
-         * The function to be used when evaluating each given line of input.
31
-         * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can
32
-         * error with `repl.Recoverable` to indicate the input was incomplete and prompt for
33
-         * additional lines.
34
-         *
35
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_default_evaluation
36
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_custom_evaluation_functions
37
-         */
38
-        eval?: REPLEval;
39
-        /**
40
-         * If `true`, specifies that the default `writer` function should include ANSI color
41
-         * styling to REPL output. If a custom `writer` function is provided then this has no
42
-         * effect.
43
-         * Default: the REPL instance's `terminal` value.
44
-         */
45
-        useColors?: boolean;
46
-        /**
47
-         * If `true`, specifies that the default evaluation function will use the JavaScript
48
-         * `global` as the context as opposed to creating a new separate context for the REPL
49
-         * instance. The node CLI REPL sets this value to `true`.
50
-         * Default: `false`.
51
-         */
52
-        useGlobal?: boolean;
53
-        /**
54
-         * If `true`, specifies that the default writer will not output the return value of a
55
-         * command if it evaluates to `undefined`.
56
-         * Default: `false`.
57
-         */
58
-        ignoreUndefined?: boolean;
59
-        /**
60
-         * The function to invoke to format the output of each command before writing to `output`.
61
-         * Default: a wrapper for `util.inspect`.
62
-         *
63
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_customizing_repl_output
64
-         */
65
-        writer?: REPLWriter;
66
-        /**
67
-         * An optional function used for custom Tab auto completion.
68
-         *
69
-         * @see https://nodejs.org/dist/latest-v11.x/docs/api/readline.html#readline_use_of_the_completer_function
70
-         */
71
-        completer?: Completer | AsyncCompleter;
72
-        /**
73
-         * A flag that specifies whether the default evaluator executes all JavaScript commands in
74
-         * strict mode or default (sloppy) mode.
75
-         * Accepted values are:
76
-         * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
77
-         * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
78
-         *   prefacing every repl statement with `'use strict'`.
79
-         */
80
-        replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT;
81
-        /**
82
-         * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is
83
-         * pressed. This cannot be used together with a custom `eval` function.
84
-         * Default: `false`.
85
-         */
86
-        breakEvalOnSigint?: boolean;
87
-    }
88
-
89
-    type REPLEval = (this: REPLServer, evalCmd: string, context: Context, file: string, cb: (err: Error | null, result: any) => void) => void;
90
-    type REPLWriter = (this: REPLServer, obj: any) => string;
91
-
92
-    /**
93
-     * This is the default "writer" value, if none is passed in the REPL options,
94
-     * and it can be overridden by custom print functions.
95
-     */
96
-    const writer: REPLWriter & { options: InspectOptions };
97
-
98
-    type REPLCommandAction = (this: REPLServer, text: string) => void;
99
-
100
-    interface REPLCommand {
101
-        /**
102
-         * Help text to be displayed when `.help` is entered.
103
-         */
104
-        help?: string;
105
-        /**
106
-         * The function to execute, optionally accepting a single string argument.
107
-         */
108
-        action: REPLCommandAction;
109
-    }
110
-
111
-    /**
112
-     * Provides a customizable Read-Eval-Print-Loop (REPL).
113
-     *
114
-     * Instances of `repl.REPLServer` will accept individual lines of user input, evaluate those
115
-     * according to a user-defined evaluation function, then output the result. Input and output
116
-     * may be from `stdin` and `stdout`, respectively, or may be connected to any Node.js `stream`.
117
-     *
118
-     * Instances of `repl.REPLServer` support automatic completion of inputs, simplistic Emacs-style
119
-     * line editing, multi-line inputs, ANSI-styled output, saving and restoring current REPL session
120
-     * state, error recovery, and customizable evaluation functions.
121
-     *
122
-     * Instances of `repl.REPLServer` are created using the `repl.start()` method and _should not_
123
-     * be created directly using the JavaScript `new` keyword.
124
-     *
125
-     * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_repl
126
-     */
127
-    class REPLServer extends Interface {
128
-        /**
129
-         * The `vm.Context` provided to the `eval` function to be used for JavaScript
130
-         * evaluation.
131
-         */
132
-        readonly context: Context;
133
-        /**
134
-         * The `Readable` stream from which REPL input will be read.
135
-         */
136
-        readonly inputStream: NodeJS.ReadableStream;
137
-        /**
138
-         * The `Writable` stream to which REPL output will be written.
139
-         */
140
-        readonly outputStream: NodeJS.WritableStream;
141
-        /**
142
-         * The commands registered via `replServer.defineCommand()`.
143
-         */
144
-        readonly commands: { readonly [name: string]: REPLCommand | undefined };
145
-        /**
146
-         * A value indicating whether the REPL is currently in "editor mode".
147
-         *
148
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_commands_and_special_keys
149
-         */
150
-        readonly editorMode: boolean;
151
-        /**
152
-         * A value indicating whether the `_` variable has been assigned.
153
-         *
154
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
155
-         */
156
-        readonly underscoreAssigned: boolean;
157
-        /**
158
-         * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
159
-         *
160
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
161
-         */
162
-        readonly last: any;
163
-        /**
164
-         * A value indicating whether the `_error` variable has been assigned.
165
-         *
166
-         * @since v9.8.0
167
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
168
-         */
169
-        readonly underscoreErrAssigned: boolean;
170
-        /**
171
-         * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
172
-         *
173
-         * @since v9.8.0
174
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
175
-         */
176
-        readonly lastError: any;
177
-        /**
178
-         * Specified in the REPL options, this is the function to be used when evaluating each
179
-         * given line of input. If not specified in the REPL options, this is an async wrapper
180
-         * for the JavaScript `eval()` function.
181
-         */
182
-        readonly eval: REPLEval;
183
-        /**
184
-         * Specified in the REPL options, this is a value indicating whether the default
185
-         * `writer` function should include ANSI color styling to REPL output.
186
-         */
187
-        readonly useColors: boolean;
188
-        /**
189
-         * Specified in the REPL options, this is a value indicating whether the default `eval`
190
-         * function will use the JavaScript `global` as the context as opposed to creating a new
191
-         * separate context for the REPL instance.
192
-         */
193
-        readonly useGlobal: boolean;
194
-        /**
195
-         * Specified in the REPL options, this is a value indicating whether the default `writer`
196
-         * function should output the result of a command if it evaluates to `undefined`.
197
-         */
198
-        readonly ignoreUndefined: boolean;
199
-        /**
200
-         * Specified in the REPL options, this is the function to invoke to format the output of
201
-         * each command before writing to `outputStream`. If not specified in the REPL options,
202
-         * this will be a wrapper for `util.inspect`.
203
-         */
204
-        readonly writer: REPLWriter;
205
-        /**
206
-         * Specified in the REPL options, this is the function to use for custom Tab auto-completion.
207
-         */
208
-        readonly completer: Completer | AsyncCompleter;
209
-        /**
210
-         * Specified in the REPL options, this is a flag that specifies whether the default `eval`
211
-         * function should execute all JavaScript commands in strict mode or default (sloppy) mode.
212
-         * Possible values are:
213
-         * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
214
-         * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
215
-         *    prefacing every repl statement with `'use strict'`.
216
-         */
217
-        readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT;
218
-
219
-        /**
220
-         * NOTE: According to the documentation:
221
-         *
222
-         * > Instances of `repl.REPLServer` are created using the `repl.start()` method and
223
-         * > _should not_ be created directly using the JavaScript `new` keyword.
224
-         *
225
-         * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
226
-         *
227
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_class_replserver
228
-         */
229
-        private constructor();
230
-
231
-        /**
232
-         * Used to add new `.`-prefixed commands to the REPL instance. Such commands are invoked
233
-         * by typing a `.` followed by the `keyword`.
234
-         *
235
-         * @param keyword The command keyword (_without_ a leading `.` character).
236
-         * @param cmd The function to invoke when the command is processed.
237
-         *
238
-         * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_replserver_definecommand_keyword_cmd
239
-         */
240
-        defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void;
241
-        /**
242
-         * Readies the REPL instance for input from the user, printing the configured `prompt` to a
243
-         * new line in the `output` and resuming the `input` to accept new input.
244
-         *
245
-         * When multi-line input is being entered, an ellipsis is printed rather than the 'prompt'.
246
-         *
247
-         * This method is primarily intended to be called from within the action function for
248
-         * commands registered using the `replServer.defineCommand()` method.
249
-         *
250
-         * @param preserveCursor When `true`, the cursor placement will not be reset to `0`.
251
-         */
252
-        displayPrompt(preserveCursor?: boolean): void;
253
-        /**
254
-         * Clears any command that has been buffered but not yet executed.
255
-         *
256
-         * This method is primarily intended to be called from within the action function for
257
-         * commands registered using the `replServer.defineCommand()` method.
258
-         *
259
-         * @since v9.0.0
260
-         */
261
-        clearBufferedCommand(): void;
262
-
263
-        /**
264
-         * Initializes a history log file for the REPL instance. When executing the
265
-         * Node.js binary and using the command line REPL, a history file is initialized
266
-         * by default. However, this is not the case when creating a REPL
267
-         * programmatically. Use this method to initialize a history log file when working
268
-         * with REPL instances programmatically.
269
-         * @param path The path to the history file
270
-         */
271
-        setupHistory(path: string, cb: (err: Error | null, repl: this) => void): void;
272
-
273
-        /**
274
-         * events.EventEmitter
275
-         * 1. close - inherited from `readline.Interface`
276
-         * 2. line - inherited from `readline.Interface`
277
-         * 3. pause - inherited from `readline.Interface`
278
-         * 4. resume - inherited from `readline.Interface`
279
-         * 5. SIGCONT - inherited from `readline.Interface`
280
-         * 6. SIGINT - inherited from `readline.Interface`
281
-         * 7. SIGTSTP - inherited from `readline.Interface`
282
-         * 8. exit
283
-         * 9. reset
284
-         */
285
-
286
-        addListener(event: string, listener: (...args: any[]) => void): this;
287
-        addListener(event: "close", listener: () => void): this;
288
-        addListener(event: "line", listener: (input: string) => void): this;
289
-        addListener(event: "pause", listener: () => void): this;
290
-        addListener(event: "resume", listener: () => void): this;
291
-        addListener(event: "SIGCONT", listener: () => void): this;
292
-        addListener(event: "SIGINT", listener: () => void): this;
293
-        addListener(event: "SIGTSTP", listener: () => void): this;
294
-        addListener(event: "exit", listener: () => void): this;
295
-        addListener(event: "reset", listener: (context: Context) => void): this;
296
-
297
-        emit(event: string | symbol, ...args: any[]): boolean;
298
-        emit(event: "close"): boolean;
299
-        emit(event: "line", input: string): boolean;
300
-        emit(event: "pause"): boolean;
301
-        emit(event: "resume"): boolean;
302
-        emit(event: "SIGCONT"): boolean;
303
-        emit(event: "SIGINT"): boolean;
304
-        emit(event: "SIGTSTP"): boolean;
305
-        emit(event: "exit"): boolean;
306
-        emit(event: "reset", context: Context): boolean;
307
-
308
-        on(event: string, listener: (...args: any[]) => void): this;
309
-        on(event: "close", listener: () => void): this;
310
-        on(event: "line", listener: (input: string) => void): this;
311
-        on(event: "pause", listener: () => void): this;
312
-        on(event: "resume", listener: () => void): this;
313
-        on(event: "SIGCONT", listener: () => void): this;
314
-        on(event: "SIGINT", listener: () => void): this;
315
-        on(event: "SIGTSTP", listener: () => void): this;
316
-        on(event: "exit", listener: () => void): this;
317
-        on(event: "reset", listener: (context: Context) => void): this;
318
-
319
-        once(event: string, listener: (...args: any[]) => void): this;
320
-        once(event: "close", listener: () => void): this;
321
-        once(event: "line", listener: (input: string) => void): this;
322
-        once(event: "pause", listener: () => void): this;
323
-        once(event: "resume", listener: () => void): this;
324
-        once(event: "SIGCONT", listener: () => void): this;
325
-        once(event: "SIGINT", listener: () => void): this;
326
-        once(event: "SIGTSTP", listener: () => void): this;
327
-        once(event: "exit", listener: () => void): this;
328
-        once(event: "reset", listener: (context: Context) => void): this;
329
-
330
-        prependListener(event: string, listener: (...args: any[]) => void): this;
331
-        prependListener(event: "close", listener: () => void): this;
332
-        prependListener(event: "line", listener: (input: string) => void): this;
333
-        prependListener(event: "pause", listener: () => void): this;
334
-        prependListener(event: "resume", listener: () => void): this;
335
-        prependListener(event: "SIGCONT", listener: () => void): this;
336
-        prependListener(event: "SIGINT", listener: () => void): this;
337
-        prependListener(event: "SIGTSTP", listener: () => void): this;
338
-        prependListener(event: "exit", listener: () => void): this;
339
-        prependListener(event: "reset", listener: (context: Context) => void): this;
340
-
341
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
342
-        prependOnceListener(event: "close", listener: () => void): this;
343
-        prependOnceListener(event: "line", listener: (input: string) => void): this;
344
-        prependOnceListener(event: "pause", listener: () => void): this;
345
-        prependOnceListener(event: "resume", listener: () => void): this;
346
-        prependOnceListener(event: "SIGCONT", listener: () => void): this;
347
-        prependOnceListener(event: "SIGINT", listener: () => void): this;
348
-        prependOnceListener(event: "SIGTSTP", listener: () => void): this;
349
-        prependOnceListener(event: "exit", listener: () => void): this;
350
-        prependOnceListener(event: "reset", listener: (context: Context) => void): this;
351
-    }
352
-
353
-    /**
354
-     * A flag passed in the REPL options. Evaluates expressions in sloppy mode.
355
-     */
356
-    export const REPL_MODE_SLOPPY: symbol; // TODO: unique symbol
357
-
358
-    /**
359
-     * A flag passed in the REPL options. Evaluates expressions in strict mode.
360
-     * This is equivalent to prefacing every repl statement with `'use strict'`.
361
-     */
362
-    export const REPL_MODE_STRICT: symbol; // TODO: unique symbol
363
-
364
-    /**
365
-     * Creates and starts a `repl.REPLServer` instance.
366
-     *
367
-     * @param options The options for the `REPLServer`. If `options` is a string, then it specifies
368
-     * the input prompt.
369
-     */
370
-    function start(options?: string | ReplOptions): REPLServer;
371
-
372
-    /**
373
-     * Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
374
-     *
375
-     * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_recoverable_errors
376
-     */
377
-    class Recoverable extends SyntaxError {
378
-        err: Error;
379
-
380
-        constructor(err: Error);
381
-    }
382
-}

+ 0
- 300
node_modules/@types/node/stream.d.ts Parādīt failu

@@ -1,300 +0,0 @@
1
-declare module "stream" {
2
-    import * as events from "events";
3
-
4
-    class internal extends events.EventEmitter {
5
-        pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
6
-    }
7
-
8
-    namespace internal {
9
-        class Stream extends internal { }
10
-
11
-        interface ReadableOptions {
12
-            highWaterMark?: number;
13
-            encoding?: string;
14
-            objectMode?: boolean;
15
-            read?(this: Readable, size: number): void;
16
-            destroy?(this: Readable, error: Error | null, callback: (error: Error | null) => void): void;
17
-            autoDestroy?: boolean;
18
-        }
19
-
20
-        class Readable extends Stream implements NodeJS.ReadableStream {
21
-            readable: boolean;
22
-            readonly readableHighWaterMark: number;
23
-            readonly readableLength: number;
24
-            constructor(opts?: ReadableOptions);
25
-            _read(size: number): void;
26
-            read(size?: number): any;
27
-            setEncoding(encoding: string): this;
28
-            pause(): this;
29
-            resume(): this;
30
-            isPaused(): boolean;
31
-            unpipe(destination?: NodeJS.WritableStream): this;
32
-            unshift(chunk: any): void;
33
-            wrap(oldStream: NodeJS.ReadableStream): this;
34
-            push(chunk: any, encoding?: string): boolean;
35
-            _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
36
-            destroy(error?: Error): void;
37
-
38
-            /**
39
-             * Event emitter
40
-             * The defined events on documents including:
41
-             * 1. close
42
-             * 2. data
43
-             * 3. end
44
-             * 4. readable
45
-             * 5. error
46
-             */
47
-            addListener(event: "close", listener: () => void): this;
48
-            addListener(event: "data", listener: (chunk: any) => void): this;
49
-            addListener(event: "end", listener: () => void): this;
50
-            addListener(event: "readable", listener: () => void): this;
51
-            addListener(event: "error", listener: (err: Error) => void): this;
52
-            addListener(event: string | symbol, listener: (...args: any[]) => void): this;
53
-
54
-            emit(event: "close"): boolean;
55
-            emit(event: "data", chunk: any): boolean;
56
-            emit(event: "end"): boolean;
57
-            emit(event: "readable"): boolean;
58
-            emit(event: "error", err: Error): boolean;
59
-            emit(event: string | symbol, ...args: any[]): boolean;
60
-
61
-            on(event: "close", listener: () => void): this;
62
-            on(event: "data", listener: (chunk: any) => void): this;
63
-            on(event: "end", listener: () => void): this;
64
-            on(event: "readable", listener: () => void): this;
65
-            on(event: "error", listener: (err: Error) => void): this;
66
-            on(event: string | symbol, listener: (...args: any[]) => void): this;
67
-
68
-            once(event: "close", listener: () => void): this;
69
-            once(event: "data", listener: (chunk: any) => void): this;
70
-            once(event: "end", listener: () => void): this;
71
-            once(event: "readable", listener: () => void): this;
72
-            once(event: "error", listener: (err: Error) => void): this;
73
-            once(event: string | symbol, listener: (...args: any[]) => void): this;
74
-
75
-            prependListener(event: "close", listener: () => void): this;
76
-            prependListener(event: "data", listener: (chunk: any) => void): this;
77
-            prependListener(event: "end", listener: () => void): this;
78
-            prependListener(event: "readable", listener: () => void): this;
79
-            prependListener(event: "error", listener: (err: Error) => void): this;
80
-            prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
81
-
82
-            prependOnceListener(event: "close", listener: () => void): this;
83
-            prependOnceListener(event: "data", listener: (chunk: any) => void): this;
84
-            prependOnceListener(event: "end", listener: () => void): this;
85
-            prependOnceListener(event: "readable", listener: () => void): this;
86
-            prependOnceListener(event: "error", listener: (err: Error) => void): this;
87
-            prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
88
-
89
-            removeListener(event: "close", listener: () => void): this;
90
-            removeListener(event: "data", listener: (chunk: any) => void): this;
91
-            removeListener(event: "end", listener: () => void): this;
92
-            removeListener(event: "readable", listener: () => void): this;
93
-            removeListener(event: "error", listener: (err: Error) => void): this;
94
-            removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
95
-
96
-            [Symbol.asyncIterator](): AsyncIterableIterator<any>;
97
-        }
98
-
99
-        interface WritableOptions {
100
-            highWaterMark?: number;
101
-            decodeStrings?: boolean;
102
-            defaultEncoding?: string;
103
-            objectMode?: boolean;
104
-            emitClose?: boolean;
105
-            write?(this: Writable, chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
106
-            writev?(this: Writable, chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
107
-            destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void;
108
-            final?(this: Writable, callback: (error?: Error | null) => void): void;
109
-            autoDestroy?: boolean;
110
-        }
111
-
112
-        class Writable extends Stream implements NodeJS.WritableStream {
113
-            writable: boolean;
114
-            readonly writableHighWaterMark: number;
115
-            readonly writableLength: number;
116
-            constructor(opts?: WritableOptions);
117
-            _write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
118
-            _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
119
-            _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
120
-            _final(callback: (error?: Error | null) => void): void;
121
-            write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
122
-            write(chunk: any, encoding: string, cb?: (error: Error | null | undefined) => void): boolean;
123
-            setDefaultEncoding(encoding: string): this;
124
-            end(cb?: () => void): void;
125
-            end(chunk: any, cb?: () => void): void;
126
-            end(chunk: any, encoding: string, cb?: () => void): void;
127
-            cork(): void;
128
-            uncork(): void;
129
-            destroy(error?: Error): void;
130
-
131
-            /**
132
-             * Event emitter
133
-             * The defined events on documents including:
134
-             * 1. close
135
-             * 2. drain
136
-             * 3. error
137
-             * 4. finish
138
-             * 5. pipe
139
-             * 6. unpipe
140
-             */
141
-            addListener(event: "close", listener: () => void): this;
142
-            addListener(event: "drain", listener: () => void): this;
143
-            addListener(event: "error", listener: (err: Error) => void): this;
144
-            addListener(event: "finish", listener: () => void): this;
145
-            addListener(event: "pipe", listener: (src: Readable) => void): this;
146
-            addListener(event: "unpipe", listener: (src: Readable) => void): this;
147
-            addListener(event: string | symbol, listener: (...args: any[]) => void): this;
148
-
149
-            emit(event: "close"): boolean;
150
-            emit(event: "drain"): boolean;
151
-            emit(event: "error", err: Error): boolean;
152
-            emit(event: "finish"): boolean;
153
-            emit(event: "pipe", src: Readable): boolean;
154
-            emit(event: "unpipe", src: Readable): boolean;
155
-            emit(event: string | symbol, ...args: any[]): boolean;
156
-
157
-            on(event: "close", listener: () => void): this;
158
-            on(event: "drain", listener: () => void): this;
159
-            on(event: "error", listener: (err: Error) => void): this;
160
-            on(event: "finish", listener: () => void): this;
161
-            on(event: "pipe", listener: (src: Readable) => void): this;
162
-            on(event: "unpipe", listener: (src: Readable) => void): this;
163
-            on(event: string | symbol, listener: (...args: any[]) => void): this;
164
-
165
-            once(event: "close", listener: () => void): this;
166
-            once(event: "drain", listener: () => void): this;
167
-            once(event: "error", listener: (err: Error) => void): this;
168
-            once(event: "finish", listener: () => void): this;
169
-            once(event: "pipe", listener: (src: Readable) => void): this;
170
-            once(event: "unpipe", listener: (src: Readable) => void): this;
171
-            once(event: string | symbol, listener: (...args: any[]) => void): this;
172
-
173
-            prependListener(event: "close", listener: () => void): this;
174
-            prependListener(event: "drain", listener: () => void): this;
175
-            prependListener(event: "error", listener: (err: Error) => void): this;
176
-            prependListener(event: "finish", listener: () => void): this;
177
-            prependListener(event: "pipe", listener: (src: Readable) => void): this;
178
-            prependListener(event: "unpipe", listener: (src: Readable) => void): this;
179
-            prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
180
-
181
-            prependOnceListener(event: "close", listener: () => void): this;
182
-            prependOnceListener(event: "drain", listener: () => void): this;
183
-            prependOnceListener(event: "error", listener: (err: Error) => void): this;
184
-            prependOnceListener(event: "finish", listener: () => void): this;
185
-            prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
186
-            prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
187
-            prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
188
-
189
-            removeListener(event: "close", listener: () => void): this;
190
-            removeListener(event: "drain", listener: () => void): this;
191
-            removeListener(event: "error", listener: (err: Error) => void): this;
192
-            removeListener(event: "finish", listener: () => void): this;
193
-            removeListener(event: "pipe", listener: (src: Readable) => void): this;
194
-            removeListener(event: "unpipe", listener: (src: Readable) => void): this;
195
-            removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
196
-        }
197
-
198
-        interface DuplexOptions extends ReadableOptions, WritableOptions {
199
-            allowHalfOpen?: boolean;
200
-            readableObjectMode?: boolean;
201
-            writableObjectMode?: boolean;
202
-            read?(this: Duplex, size: number): void;
203
-            write?(this: Duplex, chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
204
-            writev?(this: Duplex, chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
205
-            final?(this: Duplex, callback: (error?: Error | null) => void): void;
206
-            destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void;
207
-        }
208
-
209
-        // Note: Duplex extends both Readable and Writable.
210
-        class Duplex extends Readable implements Writable {
211
-            writable: boolean;
212
-            readonly writableHighWaterMark: number;
213
-            readonly writableLength: number;
214
-            constructor(opts?: DuplexOptions);
215
-            _write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
216
-            _writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
217
-            _destroy(error: Error | null, callback: (error: Error | null) => void): void;
218
-            _final(callback: (error?: Error | null) => void): void;
219
-            write(chunk: any, encoding?: string, cb?: (error: Error | null | undefined) => void): boolean;
220
-            write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
221
-            setDefaultEncoding(encoding: string): this;
222
-            end(cb?: () => void): void;
223
-            end(chunk: any, cb?: () => void): void;
224
-            end(chunk: any, encoding?: string, cb?: () => void): void;
225
-            cork(): void;
226
-            uncork(): void;
227
-        }
228
-
229
-        type TransformCallback = (error?: Error | null, data?: any) => void;
230
-
231
-        interface TransformOptions extends DuplexOptions {
232
-            read?(this: Transform, size: number): void;
233
-            write?(this: Transform, chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
234
-            writev?(this: Transform, chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
235
-            final?(this: Transform, callback: (error?: Error | null) => void): void;
236
-            destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void;
237
-            transform?(this: Transform, chunk: any, encoding: string, callback: TransformCallback): void;
238
-            flush?(this: Transform, callback: TransformCallback): void;
239
-        }
240
-
241
-        class Transform extends Duplex {
242
-            constructor(opts?: TransformOptions);
243
-            _transform(chunk: any, encoding: string, callback: TransformCallback): void;
244
-            _flush(callback: TransformCallback): void;
245
-        }
246
-
247
-        class PassThrough extends Transform { }
248
-
249
-        function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException | null) => void): () => void;
250
-        namespace finished {
251
-            function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream): Promise<void>;
252
-        }
253
-
254
-        function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException | null) => void): T;
255
-        function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException | null) => void): T;
256
-        function pipeline<T extends NodeJS.WritableStream>(
257
-            stream1: NodeJS.ReadableStream,
258
-            stream2: NodeJS.ReadWriteStream,
259
-            stream3: NodeJS.ReadWriteStream,
260
-            stream4: T,
261
-            callback?: (err: NodeJS.ErrnoException | null) => void,
262
-        ): T;
263
-        function pipeline<T extends NodeJS.WritableStream>(
264
-            stream1: NodeJS.ReadableStream,
265
-            stream2: NodeJS.ReadWriteStream,
266
-            stream3: NodeJS.ReadWriteStream,
267
-            stream4: NodeJS.ReadWriteStream,
268
-            stream5: T,
269
-            callback?: (err: NodeJS.ErrnoException | null) => void,
270
-        ): T;
271
-        function pipeline(streams: Array<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>, callback?: (err: NodeJS.ErrnoException | null) => void): NodeJS.WritableStream;
272
-        function pipeline(
273
-            stream1: NodeJS.ReadableStream,
274
-            stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
275
-            ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void)>,
276
-        ): NodeJS.WritableStream;
277
-        namespace pipeline {
278
-            function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise<void>;
279
-            function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.WritableStream): Promise<void>;
280
-            function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: NodeJS.WritableStream): Promise<void>;
281
-            function __promisify__(
282
-                stream1: NodeJS.ReadableStream,
283
-                stream2: NodeJS.ReadWriteStream,
284
-                stream3: NodeJS.ReadWriteStream,
285
-                stream4: NodeJS.ReadWriteStream,
286
-                stream5: NodeJS.WritableStream,
287
-            ): Promise<void>;
288
-            function __promisify__(streams: Array<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>): Promise<void>;
289
-            function __promisify__(
290
-                stream1: NodeJS.ReadableStream,
291
-                stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
292
-                ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream>,
293
-            ): Promise<void>;
294
-        }
295
-
296
-        interface Pipe { }
297
-    }
298
-
299
-    export = internal;
300
-}

+ 0
- 9
node_modules/@types/node/string_decoder.d.ts Parādīt failu

@@ -1,9 +0,0 @@
1
-declare module "string_decoder" {
2
-    interface NodeStringDecoder {
3
-        write(buffer: Buffer): string;
4
-        end(buffer?: Buffer): string;
5
-    }
6
-    const StringDecoder: {
7
-        new(encoding?: string): NodeStringDecoder;
8
-    };
9
-}

+ 0
- 16
node_modules/@types/node/timers.d.ts Parādīt failu

@@ -1,16 +0,0 @@
1
-declare module "timers" {
2
-    function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
3
-    namespace setTimeout {
4
-        function __promisify__(ms: number): Promise<void>;
5
-        function __promisify__<T>(ms: number, value: T): Promise<T>;
6
-    }
7
-    function clearTimeout(timeoutId: NodeJS.Timeout): void;
8
-    function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout;
9
-    function clearInterval(intervalId: NodeJS.Timeout): void;
10
-    function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
11
-    namespace setImmediate {
12
-        function __promisify__(): Promise<void>;
13
-        function __promisify__<T>(value: T): Promise<T>;
14
-    }
15
-    function clearImmediate(immediateId: NodeJS.Immediate): void;
16
-}

+ 0
- 397
node_modules/@types/node/tls.d.ts Parādīt failu

@@ -1,397 +0,0 @@
1
-declare module "tls" {
2
-    import * as crypto from "crypto";
3
-    import * as dns from "dns";
4
-    import * as net from "net";
5
-    import * as stream from "stream";
6
-
7
-    const CLIENT_RENEG_LIMIT: number;
8
-    const CLIENT_RENEG_WINDOW: number;
9
-
10
-    interface Certificate {
11
-        /**
12
-         * Country code.
13
-         */
14
-        C: string;
15
-        /**
16
-         * Street.
17
-         */
18
-        ST: string;
19
-        /**
20
-         * Locality.
21
-         */
22
-        L: string;
23
-        /**
24
-         * Organization.
25
-         */
26
-        O: string;
27
-        /**
28
-         * Organizational unit.
29
-         */
30
-        OU: string;
31
-        /**
32
-         * Common name.
33
-         */
34
-        CN: string;
35
-    }
36
-
37
-    interface PeerCertificate {
38
-        subject: Certificate;
39
-        issuer: Certificate;
40
-        subjectaltname: string;
41
-        infoAccess: { [index: string]: string[] | undefined };
42
-        modulus: string;
43
-        exponent: string;
44
-        valid_from: string;
45
-        valid_to: string;
46
-        fingerprint: string;
47
-        ext_key_usage: string[];
48
-        serialNumber: string;
49
-        raw: Buffer;
50
-    }
51
-
52
-    interface DetailedPeerCertificate extends PeerCertificate {
53
-        issuerCertificate: DetailedPeerCertificate;
54
-    }
55
-
56
-    interface CipherNameAndProtocol {
57
-        /**
58
-         * The cipher name.
59
-         */
60
-        name: string;
61
-        /**
62
-         * SSL/TLS protocol version.
63
-         */
64
-        version: string;
65
-    }
66
-
67
-    class TLSSocket extends net.Socket {
68
-        /**
69
-         * Construct a new tls.TLSSocket object from an existing TCP socket.
70
-         */
71
-        constructor(socket: net.Socket, options?: {
72
-            /**
73
-             * An optional TLS context object from tls.createSecureContext()
74
-             */
75
-            secureContext?: SecureContext,
76
-            /**
77
-             * If true the TLS socket will be instantiated in server-mode.
78
-             * Defaults to false.
79
-             */
80
-            isServer?: boolean,
81
-            /**
82
-             * An optional net.Server instance.
83
-             */
84
-            server?: net.Server,
85
-            /**
86
-             * If true the server will request a certificate from clients that
87
-             * connect and attempt to verify that certificate. Defaults to
88
-             * false.
89
-             */
90
-            requestCert?: boolean,
91
-            /**
92
-             * If true the server will reject any connection which is not
93
-             * authorized with the list of supplied CAs. This option only has an
94
-             * effect if requestCert is true. Defaults to false.
95
-             */
96
-            rejectUnauthorized?: boolean,
97
-            /**
98
-             * An array of strings or a Buffer naming possible NPN protocols.
99
-             * (Protocols should be ordered by their priority.)
100
-             */
101
-            NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array,
102
-            /**
103
-             * An array of strings or a Buffer naming possible ALPN protocols.
104
-             * (Protocols should be ordered by their priority.) When the server
105
-             * receives both NPN and ALPN extensions from the client, ALPN takes
106
-             * precedence over NPN and the server does not send an NPN extension
107
-             * to the client.
108
-             */
109
-            ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array,
110
-            /**
111
-             * SNICallback(servername, cb) <Function> A function that will be
112
-             * called if the client supports SNI TLS extension. Two arguments
113
-             * will be passed when called: servername and cb. SNICallback should
114
-             * invoke cb(null, ctx), where ctx is a SecureContext instance.
115
-             * (tls.createSecureContext(...) can be used to get a proper
116
-             * SecureContext.) If SNICallback wasn't provided the default callback
117
-             * with high-level API will be used (see below).
118
-             */
119
-            SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void,
120
-            /**
121
-             * An optional Buffer instance containing a TLS session.
122
-             */
123
-            session?: Buffer,
124
-            /**
125
-             * If true, specifies that the OCSP status request extension will be
126
-             * added to the client hello and an 'OCSPResponse' event will be
127
-             * emitted on the socket before establishing a secure communication
128
-             */
129
-            requestOCSP?: boolean
130
-        });
131
-
132
-        /**
133
-         * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false.
134
-         */
135
-        authorized: boolean;
136
-        /**
137
-         * The reason why the peer's certificate has not been verified.
138
-         * This property becomes available only when tlsSocket.authorized === false.
139
-         */
140
-        authorizationError: Error;
141
-        /**
142
-         * Static boolean value, always true.
143
-         * May be used to distinguish TLS sockets from regular ones.
144
-         */
145
-        encrypted: boolean;
146
-
147
-        /**
148
-         * String containing the selected ALPN protocol.
149
-         * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false.
150
-         */
151
-        alpnProtocol?: string;
152
-
153
-        /**
154
-         * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection.
155
-         * @returns Returns an object representing the cipher name
156
-         * and the SSL/TLS protocol version of the current connection.
157
-         */
158
-        getCipher(): CipherNameAndProtocol;
159
-        /**
160
-         * Returns an object representing the peer's certificate.
161
-         * The returned object has some properties corresponding to the field of the certificate.
162
-         * If detailed argument is true the full chain with issuer property will be returned,
163
-         * if false only the top certificate without issuer property.
164
-         * If the peer does not provide a certificate, it returns null or an empty object.
165
-         * @param detailed - If true; the full chain with issuer property will be returned.
166
-         * @returns An object representing the peer's certificate.
167
-         */
168
-        getPeerCertificate(detailed: true): DetailedPeerCertificate;
169
-        getPeerCertificate(detailed?: false): PeerCertificate;
170
-        getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate;
171
-        /**
172
-         * Returns a string containing the negotiated SSL/TLS protocol version of the current connection.
173
-         * The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process.
174
-         * The value `null` will be returned for server sockets or disconnected client sockets.
175
-         * See https://www.openssl.org/docs/man1.0.2/ssl/SSL_get_version.html for more information.
176
-         * @returns negotiated SSL/TLS protocol version of the current connection
177
-         */
178
-        getProtocol(): string | null;
179
-        /**
180
-         * Could be used to speed up handshake establishment when reconnecting to the server.
181
-         * @returns ASN.1 encoded TLS session or undefined if none was negotiated.
182
-         */
183
-        getSession(): Buffer | undefined;
184
-        /**
185
-         * NOTE: Works only with client TLS sockets.
186
-         * Useful only for debugging, for session reuse provide session option to tls.connect().
187
-         * @returns TLS session ticket or undefined if none was negotiated.
188
-         */
189
-        getTLSTicket(): Buffer | undefined;
190
-        /**
191
-         * Initiate TLS renegotiation process.
192
-         *
193
-         * NOTE: Can be used to request peer's certificate after the secure connection has been established.
194
-         * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout.
195
-         * @param options - The options may contain the following fields: rejectUnauthorized,
196
-         * requestCert (See tls.createServer() for details).
197
-         * @param callback - callback(err) will be executed with null as err, once the renegotiation
198
-         * is successfully completed.
199
-         * @return `undefined` when socket is destroy, `false` if negotiaion can't be initiated.
200
-         */
201
-        renegotiate(options: { rejectUnauthorized?: boolean, requestCert?: boolean }, callback: (err: Error | null) => void): undefined | boolean;
202
-        /**
203
-         * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512).
204
-         * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by
205
-         * the TLS layer until the entire fragment is received and its integrity is verified;
206
-         * large fragments can span multiple roundtrips, and their processing can be delayed due to packet
207
-         * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead,
208
-         * which may decrease overall server throughput.
209
-         * @param size - TLS fragment size (default and maximum value is: 16384, minimum is: 512).
210
-         * @returns Returns true on success, false otherwise.
211
-         */
212
-        setMaxSendFragment(size: number): boolean;
213
-
214
-        /**
215
-         * events.EventEmitter
216
-         * 1. OCSPResponse
217
-         * 2. secureConnect
218
-         */
219
-        addListener(event: string, listener: (...args: any[]) => void): this;
220
-        addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
221
-        addListener(event: "secureConnect", listener: () => void): this;
222
-        addListener(event: "session", listener: (session: Buffer) => void): this;
223
-
224
-        emit(event: string | symbol, ...args: any[]): boolean;
225
-        emit(event: "OCSPResponse", response: Buffer): boolean;
226
-        emit(event: "secureConnect"): boolean;
227
-        emit(event: "session", session: Buffer): boolean;
228
-
229
-        on(event: string, listener: (...args: any[]) => void): this;
230
-        on(event: "OCSPResponse", listener: (response: Buffer) => void): this;
231
-        on(event: "secureConnect", listener: () => void): this;
232
-        on(event: "session", listener: (session: Buffer) => void): this;
233
-
234
-        once(event: string, listener: (...args: any[]) => void): this;
235
-        once(event: "OCSPResponse", listener: (response: Buffer) => void): this;
236
-        once(event: "secureConnect", listener: () => void): this;
237
-        once(event: "session", listener: (session: Buffer) => void): this;
238
-
239
-        prependListener(event: string, listener: (...args: any[]) => void): this;
240
-        prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
241
-        prependListener(event: "secureConnect", listener: () => void): this;
242
-        prependListener(event: "session", listener: (session: Buffer) => void): this;
243
-
244
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
245
-        prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
246
-        prependOnceListener(event: "secureConnect", listener: () => void): this;
247
-        prependOnceListener(event: "session", listener: (session: Buffer) => void): this;
248
-    }
249
-
250
-    interface TlsOptions extends SecureContextOptions {
251
-        handshakeTimeout?: number;
252
-        requestCert?: boolean;
253
-        rejectUnauthorized?: boolean;
254
-        NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array;
255
-        ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array;
256
-        SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void;
257
-        sessionTimeout?: number;
258
-        ticketKeys?: Buffer;
259
-    }
260
-
261
-    interface ConnectionOptions extends SecureContextOptions {
262
-        host?: string;
263
-        port?: number;
264
-        path?: string; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
265
-        socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket
266
-        rejectUnauthorized?: boolean; // Defaults to true
267
-        NPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array;
268
-        ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array;
269
-        checkServerIdentity?: typeof checkServerIdentity;
270
-        servername?: string; // SNI TLS Extension
271
-        session?: Buffer;
272
-        minDHSize?: number;
273
-        secureContext?: SecureContext; // If not provided, the entire ConnectionOptions object will be passed to tls.createSecureContext()
274
-        lookup?: net.LookupFunction;
275
-        timeout?: number;
276
-    }
277
-
278
-    class Server extends net.Server {
279
-        addContext(hostName: string, credentials: SecureContextOptions): void;
280
-
281
-        /**
282
-         * events.EventEmitter
283
-         * 1. tlsClientError
284
-         * 2. newSession
285
-         * 3. OCSPRequest
286
-         * 4. resumeSession
287
-         * 5. secureConnection
288
-         */
289
-        addListener(event: string, listener: (...args: any[]) => void): this;
290
-        addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
291
-        addListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
292
-        addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
293
-        addListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
294
-        addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
295
-
296
-        emit(event: string | symbol, ...args: any[]): boolean;
297
-        emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean;
298
-        emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean;
299
-        emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean;
300
-        emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean;
301
-        emit(event: "secureConnection", tlsSocket: TLSSocket): boolean;
302
-
303
-        on(event: string, listener: (...args: any[]) => void): this;
304
-        on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
305
-        on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
306
-        on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
307
-        on(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
308
-        on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
309
-
310
-        once(event: string, listener: (...args: any[]) => void): this;
311
-        once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
312
-        once(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
313
-        once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
314
-        once(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
315
-        once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
316
-
317
-        prependListener(event: string, listener: (...args: any[]) => void): this;
318
-        prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
319
-        prependListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
320
-        prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
321
-        prependListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
322
-        prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
323
-
324
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
325
-        prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
326
-        prependOnceListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
327
-        prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
328
-        prependOnceListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
329
-        prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
330
-    }
331
-
332
-    interface SecurePair {
333
-        encrypted: TLSSocket;
334
-        cleartext: TLSSocket;
335
-    }
336
-
337
-    type SecureVersion = 'TLSv1.2' | 'TLSv1.1' | 'TLSv1';
338
-
339
-    interface SecureContextOptions {
340
-        pfx?: string | Buffer | Array<string | Buffer | Object>;
341
-        key?: string | Buffer | Array<Buffer | Object>;
342
-        passphrase?: string;
343
-        cert?: string | Buffer | Array<string | Buffer>;
344
-        ca?: string | Buffer | Array<string | Buffer>;
345
-        ciphers?: string;
346
-        honorCipherOrder?: boolean;
347
-        ecdhCurve?: string;
348
-        clientCertEngine?: string;
349
-        crl?: string | Buffer | Array<string | Buffer>;
350
-        dhparam?: string | Buffer;
351
-        secureOptions?: number; // Value is a numeric bitmask of the `SSL_OP_*` options
352
-        secureProtocol?: string; // SSL Method, e.g. SSLv23_method
353
-        sessionIdContext?: string;
354
-        /**
355
-         * Optionally set the maximum TLS version to allow. One
356
-         * of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
357
-         * `secureProtocol` option, use one or the other.  **Default:** `'TLSv1.2'`.
358
-         */
359
-        maxVersion?: SecureVersion;
360
-        /**
361
-         * Optionally set the minimum TLS version to allow. One
362
-         * of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
363
-         * `secureProtocol` option, use one or the other.  It is not recommended to use
364
-         * less than TLSv1.2, but it may be required for interoperability.
365
-         * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using
366
-         * `--tls-v1.0` changes the default to `'TLSv1'`. Using `--tls-v1.1` changes
367
-         * the default to `'TLSv1.1'`.
368
-         */
369
-        minVersion?: SecureVersion;
370
-    }
371
-
372
-    interface SecureContext {
373
-        context: any;
374
-    }
375
-
376
-    /*
377
-     * Verifies the certificate `cert` is issued to host `host`.
378
-     * @host The hostname to verify the certificate against
379
-     * @cert PeerCertificate representing the peer's certificate
380
-     *
381
-     * Returns Error object, populating it with the reason, host and cert on failure.  On success, returns undefined.
382
-     */
383
-    function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined;
384
-    function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server;
385
-    function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server;
386
-    function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
387
-    function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
388
-    function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
389
-    /**
390
-     * @deprecated
391
-     */
392
-    function createSecurePair(credentials?: SecureContext, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair;
393
-    function createSecureContext(details: SecureContextOptions): SecureContext;
394
-    function getCiphers(): string[];
395
-
396
-    const DEFAULT_ECDH_CURVE: string;
397
-}

+ 0
- 61
node_modules/@types/node/trace_events.d.ts Parādīt failu

@@ -1,61 +0,0 @@
1
-declare module "trace_events" {
2
-    /**
3
-     * The `Tracing` object is used to enable or disable tracing for sets of
4
-     * categories. Instances are created using the
5
-     * `trace_events.createTracing()` method.
6
-     *
7
-     * When created, the `Tracing` object is disabled. Calling the
8
-     * `tracing.enable()` method adds the categories to the set of enabled trace
9
-     * event categories. Calling `tracing.disable()` will remove the categories
10
-     * from the set of enabled trace event categories.
11
-     */
12
-    export interface Tracing {
13
-        /**
14
-         * A comma-separated list of the trace event categories covered by this
15
-         * `Tracing` object.
16
-         */
17
-        readonly categories: string;
18
-
19
-        /**
20
-         * Disables this `Tracing` object.
21
-         *
22
-         * Only trace event categories _not_ covered by other enabled `Tracing`
23
-         * objects and _not_ specified by the `--trace-event-categories` flag
24
-         * will be disabled.
25
-         */
26
-        disable(): void;
27
-
28
-        /**
29
-         * Enables this `Tracing` object for the set of categories covered by
30
-         * the `Tracing` object.
31
-         */
32
-        enable(): void;
33
-
34
-        /**
35
-         * `true` only if the `Tracing` object has been enabled.
36
-         */
37
-        readonly enabled: boolean;
38
-    }
39
-
40
-    interface CreateTracingOptions {
41
-        /**
42
-         * An array of trace category names. Values included in the array are
43
-         * coerced to a string when possible. An error will be thrown if the
44
-         * value cannot be coerced.
45
-         */
46
-        categories: string[];
47
-    }
48
-
49
-    /**
50
-     * Creates and returns a Tracing object for the given set of categories.
51
-     */
52
-    export function createTracing(options: CreateTracingOptions): Tracing;
53
-
54
-    /**
55
-     * Returns a comma-separated list of all currently-enabled trace event
56
-     * categories. The current set of enabled trace event categories is
57
-     * determined by the union of all currently-enabled `Tracing` objects and
58
-     * any categories enabled using the `--trace-event-categories` flag.
59
-     */
60
-    export function getEnabledCategories(): string;
61
-}

+ 0
- 8
node_modules/@types/node/ts3.2/globals.d.ts Parādīt failu

@@ -1,8 +0,0 @@
1
-// tslint:disable-next-line:no-bad-reference
2
-/// <reference path="../globals.d.ts" />
3
-
4
-declare namespace NodeJS {
5
-    interface HRTime {
6
-        bigint(): bigint;
7
-    }
8
-}

+ 0
- 20
node_modules/@types/node/ts3.2/index.d.ts Parādīt failu

@@ -1,20 +0,0 @@
1
-// NOTE: These definitions support NodeJS and TypeScript 3.2.
2
-
3
-// NOTE: TypeScript version-specific augmentations can be found in the following paths:
4
-//          - ~/base.d.ts         - Shared definitions common to all TypeScript versions
5
-//          - ~/index.d.ts        - Definitions specific to TypeScript 2.1
6
-//          - ~/ts3.2/index.d.ts  - Definitions specific to TypeScript 3.2
7
-
8
-// Reference required types from the default lib:
9
-/// <reference lib="es2018" />
10
-/// <reference lib="esnext.asynciterable" />
11
-/// <reference lib="esnext.intl" />
12
-/// <reference lib="esnext.bigint" />
13
-
14
-// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
15
-// tslint:disable-next-line:no-bad-reference
16
-/// <reference path="../base.d.ts" />
17
-
18
-// TypeScript 3.2-specific augmentations:
19
-/// <reference path="util.d.ts" />
20
-/// <reference path="globals.d.ts" />

+ 0
- 15
node_modules/@types/node/ts3.2/util.d.ts Parādīt failu

@@ -1,15 +0,0 @@
1
-// tslint:disable-next-line:no-bad-reference
2
-/// <reference path="../util.d.ts" />
3
-
4
-declare module "util" {
5
-    namespace inspect {
6
-        const custom: unique symbol;
7
-    }
8
-    namespace promisify {
9
-        const custom: unique symbol;
10
-    }
11
-    namespace types {
12
-        function isBigInt64Array(value: any): value is BigInt64Array;
13
-        function isBigUint64Array(value: any): value is BigUint64Array;
14
-    }
15
-}

+ 0
- 52
node_modules/@types/node/tty.d.ts Parādīt failu

@@ -1,52 +0,0 @@
1
-declare module "tty" {
2
-    import * as net from "net";
3
-
4
-    function isatty(fd: number): boolean;
5
-    class ReadStream extends net.Socket {
6
-        constructor(fd: number, options?: net.SocketConstructorOpts);
7
-        isRaw: boolean;
8
-        setRawMode(mode: boolean): void;
9
-        isTTY: boolean;
10
-    }
11
-    /**
12
-     * -1 - to the left from cursor
13
-     *  0 - the entire line
14
-     *  1 - to the right from cursor
15
-     */
16
-    type Direction = -1 | 0 | 1;
17
-    class WriteStream extends net.Socket {
18
-        constructor(fd: number);
19
-        addListener(event: string, listener: (...args: any[]) => void): this;
20
-        addListener(event: "resize", listener: () => void): this;
21
-
22
-        emit(event: string | symbol, ...args: any[]): boolean;
23
-        emit(event: "resize"): boolean;
24
-
25
-        on(event: string, listener: (...args: any[]) => void): this;
26
-        on(event: "resize", listener: () => void): this;
27
-
28
-        once(event: string, listener: (...args: any[]) => void): this;
29
-        once(event: "resize", listener: () => void): this;
30
-
31
-        prependListener(event: string, listener: (...args: any[]) => void): this;
32
-        prependListener(event: "resize", listener: () => void): this;
33
-
34
-        prependOnceListener(event: string, listener: (...args: any[]) => void): this;
35
-        prependOnceListener(event: "resize", listener: () => void): this;
36
-
37
-        clearLine(dir: Direction): void;
38
-        clearScreenDown(): void;
39
-        cursorTo(x: number, y: number): void;
40
-        /**
41
-         * @default `process.env`
42
-         */
43
-        getColorDepth(env?: {}): number;
44
-        hasColors(depth?: number): boolean;
45
-        hasColors(env?: {}): boolean;
46
-        hasColors(depth: number, env?: {}): boolean;
47
-        getWindowSize(): [number, number];
48
-        columns: number;
49
-        rows: number;
50
-        isTTY: boolean;
51
-    }
52
-}

+ 0
- 104
node_modules/@types/node/url.d.ts Parādīt failu

@@ -1,104 +0,0 @@
1
-declare module "url" {
2
-    import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring';
3
-
4
-    interface UrlObjectCommon {
5
-        auth?: string;
6
-        hash?: string;
7
-        host?: string;
8
-        hostname?: string;
9
-        href?: string;
10
-        path?: string;
11
-        pathname?: string;
12
-        protocol?: string;
13
-        search?: string;
14
-        slashes?: boolean;
15
-    }
16
-
17
-    // Input to `url.format`
18
-    interface UrlObject extends UrlObjectCommon {
19
-        port?: string | number;
20
-        query?: string | null | ParsedUrlQueryInput;
21
-    }
22
-
23
-    // Output of `url.parse`
24
-    interface Url extends UrlObjectCommon {
25
-        port?: string;
26
-        query?: string | null | ParsedUrlQuery;
27
-    }
28
-
29
-    interface UrlWithParsedQuery extends Url {
30
-        query: ParsedUrlQuery;
31
-    }
32
-
33
-    interface UrlWithStringQuery extends Url {
34
-        query: string | null;
35
-    }
36
-
37
-    function parse(urlStr: string): UrlWithStringQuery;
38
-    function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
39
-    function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
40
-    function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
41
-
42
-    function format(URL: URL, options?: URLFormatOptions): string;
43
-    function format(urlObject: UrlObject | string): string;
44
-    function resolve(from: string, to: string): string;
45
-
46
-    function domainToASCII(domain: string): string;
47
-    function domainToUnicode(domain: string): string;
48
-
49
-    /**
50
-     * This function ensures the correct decodings of percent-encoded characters as
51
-     * well as ensuring a cross-platform valid absolute path string.
52
-     * @param url The file URL string or URL object to convert to a path.
53
-     */
54
-    function fileURLToPath(url: string | URL): string;
55
-
56
-    /**
57
-     * This function ensures that path is resolved absolutely, and that the URL
58
-     * control characters are correctly encoded when converting into a File URL.
59
-     * @param url The path to convert to a File URL.
60
-     */
61
-    function pathToFileURL(url: string): URL;
62
-
63
-    interface URLFormatOptions {
64
-        auth?: boolean;
65
-        fragment?: boolean;
66
-        search?: boolean;
67
-        unicode?: boolean;
68
-    }
69
-
70
-    class URL {
71
-        constructor(input: string, base?: string | URL);
72
-        hash: string;
73
-        host: string;
74
-        hostname: string;
75
-        href: string;
76
-        readonly origin: string;
77
-        password: string;
78
-        pathname: string;
79
-        port: string;
80
-        protocol: string;
81
-        search: string;
82
-        readonly searchParams: URLSearchParams;
83
-        username: string;
84
-        toString(): string;
85
-        toJSON(): string;
86
-    }
87
-
88
-    class URLSearchParams implements Iterable<[string, string]> {
89
-        constructor(init?: URLSearchParams | string | { [key: string]: string | string[] | undefined } | Iterable<[string, string]> | Array<[string, string]>);
90
-        append(name: string, value: string): void;
91
-        delete(name: string): void;
92
-        entries(): IterableIterator<[string, string]>;
93
-        forEach(callback: (value: string, name: string, searchParams: this) => void): void;
94
-        get(name: string): string | null;
95
-        getAll(name: string): string[];
96
-        has(name: string): boolean;
97
-        keys(): IterableIterator<string>;
98
-        set(name: string, value: string): void;
99
-        sort(): void;
100
-        toString(): string;
101
-        values(): IterableIterator<string>;
102
-        [Symbol.iterator](): IterableIterator<[string, string]>;
103
-    }
104
-}

+ 0
- 173
node_modules/@types/node/util.d.ts Parādīt failu

@@ -1,173 +0,0 @@
1
-declare module "util" {
2
-    interface InspectOptions extends NodeJS.InspectOptions { }
3
-    function format(format: any, ...param: any[]): string;
4
-    function formatWithOptions(inspectOptions: InspectOptions, format: string, ...param: any[]): string;
5
-    /** @deprecated since v0.11.3 - use `console.error()` instead. */
6
-    function debug(string: string): void;
7
-    /** @deprecated since v0.11.3 - use `console.error()` instead. */
8
-    function error(...param: any[]): void;
9
-    /** @deprecated since v0.11.3 - use `console.log()` instead. */
10
-    function puts(...param: any[]): void;
11
-    /** @deprecated since v0.11.3 - use `console.log()` instead. */
12
-    function print(...param: any[]): void;
13
-    /** @deprecated since v0.11.3 - use a third party module instead. */
14
-    function log(string: string): void;
15
-    function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
16
-    function inspect(object: any, options: InspectOptions): string;
17
-    namespace inspect {
18
-        let colors: {
19
-            [color: string]: [number, number] | undefined
20
-        };
21
-        let styles: {
22
-            [style: string]: string | undefined
23
-        };
24
-        let defaultOptions: InspectOptions;
25
-        /**
26
-         * Allows changing inspect settings from the repl.
27
-         */
28
-        let replDefaults: InspectOptions;
29
-    }
30
-    /** @deprecated since v4.0.0 - use `Array.isArray()` instead. */
31
-    function isArray(object: any): object is any[];
32
-    /** @deprecated since v4.0.0 - use `util.types.isRegExp()` instead. */
33
-    function isRegExp(object: any): object is RegExp;
34
-    /** @deprecated since v4.0.0 - use `util.types.isDate()` instead. */
35
-    function isDate(object: any): object is Date;
36
-    /** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
37
-    function isError(object: any): object is Error;
38
-    function inherits(constructor: any, superConstructor: any): void;
39
-    function debuglog(key: string): (msg: string, ...param: any[]) => void;
40
-    /** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
41
-    function isBoolean(object: any): object is boolean;
42
-    /** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
43
-    function isBuffer(object: any): object is Buffer;
44
-    /** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */
45
-    function isFunction(object: any): boolean;
46
-    /** @deprecated since v4.0.0 - use `value === null` instead. */
47
-    function isNull(object: any): object is null;
48
-    /** @deprecated since v4.0.0 - use `value === null || value === undefined` instead. */
49
-    function isNullOrUndefined(object: any): object is null | undefined;
50
-    /** @deprecated since v4.0.0 - use `typeof value === 'number'` instead. */
51
-    function isNumber(object: any): object is number;
52
-    /** @deprecated since v4.0.0 - use `value !== null && typeof value === 'object'` instead. */
53
-    function isObject(object: any): boolean;
54
-    /** @deprecated since v4.0.0 - use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. */
55
-    function isPrimitive(object: any): boolean;
56
-    /** @deprecated since v4.0.0 - use `typeof value === 'string'` instead. */
57
-    function isString(object: any): object is string;
58
-    /** @deprecated since v4.0.0 - use `typeof value === 'symbol'` instead. */
59
-    function isSymbol(object: any): object is symbol;
60
-    /** @deprecated since v4.0.0 - use `value === undefined` instead. */
61
-    function isUndefined(object: any): object is undefined;
62
-    function deprecate<T extends Function>(fn: T, message: string): T;
63
-    function isDeepStrictEqual(val1: any, val2: any): boolean;
64
-
65
-    interface CustomPromisify<TCustom extends Function> extends Function {
66
-        __promisify__: TCustom;
67
-    }
68
-
69
-    function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
70
-    function callbackify<TResult>(fn: () => Promise<TResult>): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
71
-    function callbackify<T1>(fn: (arg1: T1) => Promise<void>): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
72
-    function callbackify<T1, TResult>(fn: (arg1: T1) => Promise<TResult>): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
73
-    function callbackify<T1, T2>(fn: (arg1: T1, arg2: T2) => Promise<void>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
74
-    function callbackify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2) => Promise<TResult>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
75
-    function callbackify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
76
-    function callbackify<T1, T2, T3, TResult>(
77
-        fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
78
-    function callbackify<T1, T2, T3, T4>(
79
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
80
-    function callbackify<T1, T2, T3, T4, TResult>(
81
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
82
-    function callbackify<T1, T2, T3, T4, T5>(
83
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
84
-    function callbackify<T1, T2, T3, T4, T5, TResult>(
85
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
86
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
87
-    function callbackify<T1, T2, T3, T4, T5, T6>(
88
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
89
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void;
90
-    function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
91
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>
92
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
93
-
94
-    function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
95
-    function promisify<TResult>(fn: (callback: (err: Error | null, result: TResult) => void) => void): () => Promise<TResult>;
96
-    function promisify(fn: (callback: (err?: Error) => void) => void): () => Promise<void>;
97
-    function promisify<T1, TResult>(fn: (arg1: T1, callback: (err: Error | null, result: TResult) => void) => void): (arg1: T1) => Promise<TResult>;
98
-    function promisify<T1>(fn: (arg1: T1, callback: (err?: Error) => void) => void): (arg1: T1) => Promise<void>;
99
-    function promisify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2, callback: (err: Error | null, result: TResult) => void) => void): (arg1: T1, arg2: T2) => Promise<TResult>;
100
-    function promisify<T1, T2>(fn: (arg1: T1, arg2: T2, callback: (err?: Error) => void) => void): (arg1: T1, arg2: T2) => Promise<void>;
101
-    function promisify<T1, T2, T3, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: Error | null, result: TResult) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
102
-    function promisify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: Error) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
103
-    function promisify<T1, T2, T3, T4, TResult>(
104
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: Error | null, result: TResult) => void) => void,
105
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
106
-    function promisify<T1, T2, T3, T4>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: Error) => void) => void): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
107
-    function promisify<T1, T2, T3, T4, T5, TResult>(
108
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: Error | null, result: TResult) => void) => void,
109
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
110
-    function promisify<T1, T2, T3, T4, T5>(
111
-        fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: Error) => void) => void,
112
-    ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
113
-    function promisify(fn: Function): Function;
114
-
115
-    namespace types {
116
-        function isAnyArrayBuffer(object: any): boolean;
117
-        function isArgumentsObject(object: any): object is IArguments;
118
-        function isArrayBuffer(object: any): object is ArrayBuffer;
119
-        function isAsyncFunction(object: any): boolean;
120
-        function isBooleanObject(object: any): object is Boolean;
121
-        function isBoxedPrimitive(object: any): object is (Number | Boolean | String | Symbol /* | Object(BigInt) | Object(Symbol) */);
122
-        function isDataView(object: any): object is DataView;
123
-        function isDate(object: any): object is Date;
124
-        function isExternal(object: any): boolean;
125
-        function isFloat32Array(object: any): object is Float32Array;
126
-        function isFloat64Array(object: any): object is Float64Array;
127
-        function isGeneratorFunction(object: any): boolean;
128
-        function isGeneratorObject(object: any): boolean;
129
-        function isInt8Array(object: any): object is Int8Array;
130
-        function isInt16Array(object: any): object is Int16Array;
131
-        function isInt32Array(object: any): object is Int32Array;
132
-        function isMap(object: any): boolean;
133
-        function isMapIterator(object: any): boolean;
134
-        function isModuleNamespaceObject(value: any): boolean;
135
-        function isNativeError(object: any): object is Error;
136
-        function isNumberObject(object: any): object is Number;
137
-        function isPromise(object: any): boolean;
138
-        function isProxy(object: any): boolean;
139
-        function isRegExp(object: any): object is RegExp;
140
-        function isSet(object: any): boolean;
141
-        function isSetIterator(object: any): boolean;
142
-        function isSharedArrayBuffer(object: any): boolean;
143
-        function isStringObject(object: any): boolean;
144
-        function isSymbolObject(object: any): boolean;
145
-        function isTypedArray(object: any): object is NodeJS.TypedArray;
146
-        function isUint8Array(object: any): object is Uint8Array;
147
-        function isUint8ClampedArray(object: any): object is Uint8ClampedArray;
148
-        function isUint16Array(object: any): object is Uint16Array;
149
-        function isUint32Array(object: any): object is Uint32Array;
150
-        function isWeakMap(object: any): boolean;
151
-        function isWeakSet(object: any): boolean;
152
-        function isWebAssemblyCompiledModule(object: any): boolean;
153
-    }
154
-
155
-    class TextDecoder {
156
-        readonly encoding: string;
157
-        readonly fatal: boolean;
158
-        readonly ignoreBOM: boolean;
159
-        constructor(
160
-          encoding?: string,
161
-          options?: { fatal?: boolean; ignoreBOM?: boolean }
162
-        );
163
-        decode(
164
-          input?: NodeJS.TypedArray | DataView | ArrayBuffer | null,
165
-          options?: { stream?: boolean }
166
-        ): string;
167
-    }
168
-
169
-    class TextEncoder {
170
-        readonly encoding: string;
171
-        encode(input?: string): Uint8Array;
172
-    }
173
-}

+ 0
- 50
node_modules/@types/node/v8.d.ts Parādīt failu

@@ -1,50 +0,0 @@
1
-declare module "v8" {
2
-    import { Readable } from "stream";
3
-
4
-    interface HeapSpaceInfo {
5
-        space_name: string;
6
-        space_size: number;
7
-        space_used_size: number;
8
-        space_available_size: number;
9
-        physical_space_size: number;
10
-    }
11
-
12
-    // ** Signifies if the --zap_code_space option is enabled or not.  1 == enabled, 0 == disabled. */
13
-    type DoesZapCodeSpaceFlag = 0 | 1;
14
-
15
-    interface HeapInfo {
16
-        total_heap_size: number;
17
-        total_heap_size_executable: number;
18
-        total_physical_size: number;
19
-        total_available_size: number;
20
-        used_heap_size: number;
21
-        heap_size_limit: number;
22
-        malloced_memory: number;
23
-        peak_malloced_memory: number;
24
-        does_zap_garbage: DoesZapCodeSpaceFlag;
25
-    }
26
-
27
-    function getHeapStatistics(): HeapInfo;
28
-    function getHeapSpaceStatistics(): HeapSpaceInfo[];
29
-    function setFlagsFromString(flags: string): void;
30
-    /**
31
-     * Generates a snapshot of the current V8 heap and returns a Readable
32
-     * Stream that may be used to read the JSON serialized representation.
33
-     * This conversation was marked as resolved by joyeecheung
34
-     * This JSON stream format is intended to be used with tools such as
35
-     * Chrome DevTools. The JSON schema is undocumented and specific to the
36
-     * V8 engine, and may change from one version of V8 to the next.
37
-     */
38
-    function getHeapSnapshot(): Readable;
39
-
40
-    /**
41
-     *
42
-     * @param fileName The file path where the V8 heap snapshot is to be
43
-     * saved. If not specified, a file name with the pattern
44
-     * `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be
45
-     * generated, where `{pid}` will be the PID of the Node.js process,
46
-     * `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from
47
-     * the main Node.js thread or the id of a worker thread.
48
-     */
49
-    function writeHeapSnapshot(fileName?: string): string;
50
-}

+ 0
- 64
node_modules/@types/node/vm.d.ts Parādīt failu

@@ -1,64 +0,0 @@
1
-declare module "vm" {
2
-    interface Context {
3
-        [key: string]: any;
4
-    }
5
-    interface BaseOptions {
6
-        /**
7
-         * Specifies the filename used in stack traces produced by this script.
8
-         * Default: `''`.
9
-         */
10
-        filename?: string;
11
-        /**
12
-         * Specifies the line number offset that is displayed in stack traces produced by this script.
13
-         * Default: `0`.
14
-         */
15
-        lineOffset?: number;
16
-        /**
17
-         * Specifies the column number offset that is displayed in stack traces produced by this script.
18
-         * Default: `0`
19
-         */
20
-        columnOffset?: number;
21
-    }
22
-    interface ScriptOptions extends BaseOptions {
23
-        displayErrors?: boolean;
24
-        timeout?: number;
25
-        cachedData?: Buffer;
26
-        produceCachedData?: boolean;
27
-    }
28
-    interface RunningScriptOptions extends BaseOptions {
29
-        displayErrors?: boolean;
30
-        timeout?: number;
31
-    }
32
-    interface CompileFunctionOptions extends BaseOptions {
33
-        /**
34
-         * Provides an optional data with V8's code cache data for the supplied source.
35
-         */
36
-        cachedData?: Buffer;
37
-        /**
38
-         * Specifies whether to produce new cache data.
39
-         * Default: `false`,
40
-         */
41
-        produceCachedData?: boolean;
42
-        /**
43
-         * The sandbox/context in which the said function should be compiled in.
44
-         */
45
-        parsingContext?: Context;
46
-
47
-        /**
48
-         * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
49
-         */
50
-        contextExtensions?: Object[];
51
-    }
52
-    class Script {
53
-        constructor(code: string, options?: ScriptOptions);
54
-        runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
55
-        runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
56
-        runInThisContext(options?: RunningScriptOptions): any;
57
-    }
58
-    function createContext(sandbox?: Context): Context;
59
-    function isContext(sandbox: Context): boolean;
60
-    function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
61
-    function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
62
-    function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
63
-    function compileFunction(code: string, params: string[], options: CompileFunctionOptions): Function;
64
-}

+ 0
- 141
node_modules/@types/node/worker_threads.d.ts Parādīt failu

@@ -1,141 +0,0 @@
1
-declare module "worker_threads" {
2
-    import { Context } from "vm";
3
-    import { EventEmitter } from "events";
4
-    import { Readable, Writable } from "stream";
5
-
6
-    const isMainThread: boolean;
7
-    const parentPort: null | MessagePort;
8
-    const threadId: number;
9
-    const workerData: any;
10
-
11
-    class MessageChannel {
12
-        readonly port1: MessagePort;
13
-        readonly port2: MessagePort;
14
-    }
15
-
16
-    class MessagePort extends EventEmitter {
17
-        close(): void;
18
-        postMessage(value: any, transferList?: Array<ArrayBuffer | MessagePort>): void;
19
-        ref(): void;
20
-        unref(): void;
21
-        start(): void;
22
-
23
-        addListener(event: "close", listener: () => void): this;
24
-        addListener(event: "message", listener: (value: any) => void): this;
25
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
26
-
27
-        emit(event: "close"): boolean;
28
-        emit(event: "message", value: any): boolean;
29
-        emit(event: string | symbol, ...args: any[]): boolean;
30
-
31
-        on(event: "close", listener: () => void): this;
32
-        on(event: "message", listener: (value: any) => void): this;
33
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
34
-
35
-        once(event: "close", listener: () => void): this;
36
-        once(event: "message", listener: (value: any) => void): this;
37
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
38
-
39
-        prependListener(event: "close", listener: () => void): this;
40
-        prependListener(event: "message", listener: (value: any) => void): this;
41
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
42
-
43
-        prependOnceListener(event: "close", listener: () => void): this;
44
-        prependOnceListener(event: "message", listener: (value: any) => void): this;
45
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
46
-
47
-        removeListener(event: "close", listener: () => void): this;
48
-        removeListener(event: "message", listener: (value: any) => void): this;
49
-        removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
50
-
51
-        off(event: "close", listener: () => void): this;
52
-        off(event: "message", listener: (value: any) => void): this;
53
-        off(event: string | symbol, listener: (...args: any[]) => void): this;
54
-    }
55
-
56
-    interface WorkerOptions {
57
-        eval?: boolean;
58
-        workerData?: any;
59
-        stdin?: boolean;
60
-        stdout?: boolean;
61
-        stderr?: boolean;
62
-        execArgv?: string[];
63
-    }
64
-
65
-    class Worker extends EventEmitter {
66
-        readonly stdin: Writable | null;
67
-        readonly stdout: Readable;
68
-        readonly stderr: Readable;
69
-        readonly threadId: number;
70
-
71
-        constructor(filename: string, options?: WorkerOptions);
72
-
73
-        postMessage(value: any, transferList?: Array<ArrayBuffer | MessagePort>): void;
74
-        ref(): void;
75
-        unref(): void;
76
-        terminate(callback?: (err: Error, exitCode: number) => void): void;
77
-        /**
78
-         * Transfer a `MessagePort` to a different `vm` Context. The original `port`
79
-         * object will be rendered unusable, and the returned `MessagePort` instance will
80
-         * take its place.
81
-         *
82
-         * The returned `MessagePort` will be an object in the target context, and will
83
-         * inherit from its global `Object` class. Objects passed to the
84
-         * `port.onmessage()` listener will also be created in the target context
85
-         * and inherit from its global `Object` class.
86
-         *
87
-         * However, the created `MessagePort` will no longer inherit from
88
-         * `EventEmitter`, and only `port.onmessage()` can be used to receive
89
-         * events using it.
90
-         */
91
-        moveMessagePortToContext(port: MessagePort, context: Context): MessagePort;
92
-
93
-        addListener(event: "error", listener: (err: Error) => void): this;
94
-        addListener(event: "exit", listener: (exitCode: number) => void): this;
95
-        addListener(event: "message", listener: (value: any) => void): this;
96
-        addListener(event: "online", listener: () => void): this;
97
-        addListener(event: string | symbol, listener: (...args: any[]) => void): this;
98
-
99
-        emit(event: "error", err: Error): boolean;
100
-        emit(event: "exit", exitCode: number): boolean;
101
-        emit(event: "message", value: any): boolean;
102
-        emit(event: "online"): boolean;
103
-        emit(event: string | symbol, ...args: any[]): boolean;
104
-
105
-        on(event: "error", listener: (err: Error) => void): this;
106
-        on(event: "exit", listener: (exitCode: number) => void): this;
107
-        on(event: "message", listener: (value: any) => void): this;
108
-        on(event: "online", listener: () => void): this;
109
-        on(event: string | symbol, listener: (...args: any[]) => void): this;
110
-
111
-        once(event: "error", listener: (err: Error) => void): this;
112
-        once(event: "exit", listener: (exitCode: number) => void): this;
113
-        once(event: "message", listener: (value: any) => void): this;
114
-        once(event: "online", listener: () => void): this;
115
-        once(event: string | symbol, listener: (...args: any[]) => void): this;
116
-
117
-        prependListener(event: "error", listener: (err: Error) => void): this;
118
-        prependListener(event: "exit", listener: (exitCode: number) => void): this;
119
-        prependListener(event: "message", listener: (value: any) => void): this;
120
-        prependListener(event: "online", listener: () => void): this;
121
-        prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
122
-
123
-        prependOnceListener(event: "error", listener: (err: Error) => void): this;
124
-        prependOnceListener(event: "exit", listener: (exitCode: number) => void): this;
125
-        prependOnceListener(event: "message", listener: (value: any) => void): this;
126
-        prependOnceListener(event: "online", listener: () => void): this;
127
-        prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
128
-
129
-        removeListener(event: "error", listener: (err: Error) => void): this;
130
-        removeListener(event: "exit", listener: (exitCode: number) => void): this;
131
-        removeListener(event: "message", listener: (value: any) => void): this;
132
-        removeListener(event: "online", listener: () => void): this;
133
-        removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
134
-
135
-        off(event: "error", listener: (err: Error) => void): this;
136
-        off(event: "exit", listener: (exitCode: number) => void): this;
137
-        off(event: "message", listener: (value: any) => void): this;
138
-        off(event: "online", listener: () => void): this;
139
-        off(event: string | symbol, listener: (...args: any[]) => void): this;
140
-    }
141
-}

+ 0
- 352
node_modules/@types/node/zlib.d.ts Parādīt failu

@@ -1,352 +0,0 @@
1
-declare module "zlib" {
2
-    import * as stream from "stream";
3
-
4
-    interface ZlibOptions {
5
-        /**
6
-         * @default constants.Z_NO_FLUSH
7
-         */
8
-        flush?: number;
9
-        /**
10
-         * @default constants.Z_FINISH
11
-         */
12
-        finishFlush?: number;
13
-        /**
14
-         * @default 16*1024
15
-         */
16
-        chunkSize?: number;
17
-        windowBits?: number;
18
-        level?: number; // compression only
19
-        memLevel?: number; // compression only
20
-        strategy?: number; // compression only
21
-        dictionary?: Buffer | NodeJS.TypedArray | DataView | ArrayBuffer; // deflate/inflate only, empty dictionary by default
22
-    }
23
-
24
-    interface BrotliOptions {
25
-        /**
26
-         * @default constants.BROTLI_OPERATION_PROCESS
27
-         */
28
-        flush?: number;
29
-        /**
30
-         * @default constants.BROTLI_OPERATION_FINISH
31
-         */
32
-        finishFlush?: number;
33
-        /**
34
-         * @default 16*1024
35
-         */
36
-        chunkSize?: number;
37
-        params?: {
38
-            /**
39
-             * Each key is a `constants.BROTLI_*` constant.
40
-             */
41
-            [key: number]: boolean | number;
42
-        };
43
-    }
44
-
45
-    interface Zlib {
46
-        /** @deprecated Use bytesWritten instead. */
47
-        readonly bytesRead: number;
48
-        readonly bytesWritten: number;
49
-        shell?: boolean | string;
50
-        close(callback?: () => void): void;
51
-        flush(kind?: number | (() => void), callback?: () => void): void;
52
-    }
53
-
54
-    interface ZlibParams {
55
-        params(level: number, strategy: number, callback: () => void): void;
56
-    }
57
-
58
-    interface ZlibReset {
59
-        reset(): void;
60
-    }
61
-
62
-    interface BrotliCompress extends stream.Transform, Zlib { }
63
-    interface BrotliDecompress extends stream.Transform, Zlib { }
64
-    interface Gzip extends stream.Transform, Zlib { }
65
-    interface Gunzip extends stream.Transform, Zlib { }
66
-    interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams { }
67
-    interface Inflate extends stream.Transform, Zlib, ZlibReset { }
68
-    interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams { }
69
-    interface InflateRaw extends stream.Transform, Zlib, ZlibReset { }
70
-    interface Unzip extends stream.Transform, Zlib { }
71
-
72
-    function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
73
-    function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
74
-    function createGzip(options?: ZlibOptions): Gzip;
75
-    function createGunzip(options?: ZlibOptions): Gunzip;
76
-    function createDeflate(options?: ZlibOptions): Deflate;
77
-    function createInflate(options?: ZlibOptions): Inflate;
78
-    function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
79
-    function createInflateRaw(options?: ZlibOptions): InflateRaw;
80
-    function createUnzip(options?: ZlibOptions): Unzip;
81
-
82
-    type InputType = string | Buffer | DataView | ArrayBuffer | NodeJS.TypedArray;
83
-
84
-    type CompressCallback = (error: Error | null, result: Buffer) => void;
85
-
86
-    function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
87
-    function brotliCompress(buf: InputType, callback: CompressCallback): void;
88
-    function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer;
89
-    function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
90
-    function brotliDecompress(buf: InputType, callback: CompressCallback): void;
91
-    function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer;
92
-    function deflate(buf: InputType, callback: CompressCallback): void;
93
-    function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
94
-    function deflateSync(buf: InputType, options?: ZlibOptions): Buffer;
95
-    function deflateRaw(buf: InputType, callback: CompressCallback): void;
96
-    function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
97
-    function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
98
-    function gzip(buf: InputType, callback: CompressCallback): void;
99
-    function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
100
-    function gzipSync(buf: InputType, options?: ZlibOptions): Buffer;
101
-    function gunzip(buf: InputType, callback: CompressCallback): void;
102
-    function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
103
-    function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer;
104
-    function inflate(buf: InputType, callback: CompressCallback): void;
105
-    function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
106
-    function inflateSync(buf: InputType, options?: ZlibOptions): Buffer;
107
-    function inflateRaw(buf: InputType, callback: CompressCallback): void;
108
-    function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
109
-    function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
110
-    function unzip(buf: InputType, callback: CompressCallback): void;
111
-    function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
112
-    function unzipSync(buf: InputType, options?: ZlibOptions): Buffer;
113
-
114
-    namespace constants {
115
-        const BROTLI_DECODE: number;
116
-        const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
117
-        const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
118
-        const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
119
-        const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
120
-        const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
121
-        const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
122
-        const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
123
-        const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
124
-        const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
125
-        const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
126
-        const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
127
-        const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
128
-        const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
129
-        const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
130
-        const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
131
-        const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
132
-        const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
133
-        const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
134
-        const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
135
-        const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
136
-        const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
137
-        const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
138
-        const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
139
-        const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
140
-        const BROTLI_DECODER_ERROR_UNREACHABLE: number;
141
-        const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
142
-        const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
143
-        const BROTLI_DECODER_NO_ERROR: number;
144
-        const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
145
-        const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
146
-        const BROTLI_DECODER_RESULT_ERROR: number;
147
-        const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
148
-        const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
149
-        const BROTLI_DECODER_RESULT_SUCCESS: number;
150
-        const BROTLI_DECODER_SUCCESS: number;
151
-
152
-        const BROTLI_DEFAULT_MODE: number;
153
-        const BROTLI_DEFAULT_QUALITY: number;
154
-        const BROTLI_DEFAULT_WINDOW: number;
155
-        const BROTLI_ENCODE: number;
156
-        const BROTLI_LARGE_MAX_WINDOW_BITS: number;
157
-        const BROTLI_MAX_INPUT_BLOCK_BITS: number;
158
-        const BROTLI_MAX_QUALITY: number;
159
-        const BROTLI_MAX_WINDOW_BITS: number;
160
-        const BROTLI_MIN_INPUT_BLOCK_BITS: number;
161
-        const BROTLI_MIN_QUALITY: number;
162
-        const BROTLI_MIN_WINDOW_BITS: number;
163
-
164
-        const BROTLI_MODE_FONT: number;
165
-        const BROTLI_MODE_GENERIC: number;
166
-        const BROTLI_MODE_TEXT: number;
167
-
168
-        const BROTLI_OPERATION_EMIT_METADATA: number;
169
-        const BROTLI_OPERATION_FINISH: number;
170
-        const BROTLI_OPERATION_FLUSH: number;
171
-        const BROTLI_OPERATION_PROCESS: number;
172
-
173
-        const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
174
-        const BROTLI_PARAM_LARGE_WINDOW: number;
175
-        const BROTLI_PARAM_LGBLOCK: number;
176
-        const BROTLI_PARAM_LGWIN: number;
177
-        const BROTLI_PARAM_MODE: number;
178
-        const BROTLI_PARAM_NDIRECT: number;
179
-        const BROTLI_PARAM_NPOSTFIX: number;
180
-        const BROTLI_PARAM_QUALITY: number;
181
-        const BROTLI_PARAM_SIZE_HINT: number;
182
-
183
-        const DEFLATE: number;
184
-        const DEFLATERAW: number;
185
-        const GUNZIP: number;
186
-        const GZIP: number;
187
-        const INFLATE: number;
188
-        const INFLATERAW: number;
189
-        const UNZIP: number;
190
-
191
-        const Z_BEST_COMPRESSION: number;
192
-        const Z_BEST_SPEED: number;
193
-        const Z_BLOCK: number;
194
-        const Z_BUF_ERROR: number;
195
-        const Z_DATA_ERROR: number;
196
-
197
-        const Z_DEFAULT_CHUNK: number;
198
-        const Z_DEFAULT_COMPRESSION: number;
199
-        const Z_DEFAULT_LEVEL: number;
200
-        const Z_DEFAULT_MEMLEVEL: number;
201
-        const Z_DEFAULT_STRATEGY: number;
202
-        const Z_DEFAULT_WINDOWBITS: number;
203
-
204
-        const Z_ERRNO: number;
205
-        const Z_FILTERED: number;
206
-        const Z_FINISH: number;
207
-        const Z_FIXED: number;
208
-        const Z_FULL_FLUSH: number;
209
-        const Z_HUFFMAN_ONLY: number;
210
-        const Z_MAX_CHUNK: number;
211
-        const Z_MAX_LEVEL: number;
212
-        const Z_MAX_MEMLEVEL: number;
213
-        const Z_MAX_WINDOWBITS: number;
214
-        const Z_MEM_ERROR: number;
215
-        const Z_MIN_CHUNK: number;
216
-        const Z_MIN_LEVEL: number;
217
-        const Z_MIN_MEMLEVEL: number;
218
-        const Z_MIN_WINDOWBITS: number;
219
-        const Z_NEED_DICT: number;
220
-        const Z_NO_COMPRESSION: number;
221
-        const Z_NO_FLUSH: number;
222
-        const Z_OK: number;
223
-        const Z_PARTIAL_FLUSH: number;
224
-        const Z_RLE: number;
225
-        const Z_STREAM_END: number;
226
-        const Z_STREAM_ERROR: number;
227
-        const Z_SYNC_FLUSH: number;
228
-        const Z_VERSION_ERROR: number;
229
-        const ZLIB_VERNUM: number;
230
-    }
231
-
232
-    /**
233
-     * @deprecated
234
-     */
235
-    const Z_NO_FLUSH: number;
236
-    /**
237
-     * @deprecated
238
-     */
239
-    const Z_PARTIAL_FLUSH: number;
240
-    /**
241
-     * @deprecated
242
-     */
243
-    const Z_SYNC_FLUSH: number;
244
-    /**
245
-     * @deprecated
246
-     */
247
-    const Z_FULL_FLUSH: number;
248
-    /**
249
-     * @deprecated
250
-     */
251
-    const Z_FINISH: number;
252
-    /**
253
-     * @deprecated
254
-     */
255
-    const Z_BLOCK: number;
256
-    /**
257
-     * @deprecated
258
-     */
259
-    const Z_TREES: number;
260
-    /**
261
-     * @deprecated
262
-     */
263
-    const Z_OK: number;
264
-    /**
265
-     * @deprecated
266
-     */
267
-    const Z_STREAM_END: number;
268
-    /**
269
-     * @deprecated
270
-     */
271
-    const Z_NEED_DICT: number;
272
-    /**
273
-     * @deprecated
274
-     */
275
-    const Z_ERRNO: number;
276
-    /**
277
-     * @deprecated
278
-     */
279
-    const Z_STREAM_ERROR: number;
280
-    /**
281
-     * @deprecated
282
-     */
283
-    const Z_DATA_ERROR: number;
284
-    /**
285
-     * @deprecated
286
-     */
287
-    const Z_MEM_ERROR: number;
288
-    /**
289
-     * @deprecated
290
-     */
291
-    const Z_BUF_ERROR: number;
292
-    /**
293
-     * @deprecated
294
-     */
295
-    const Z_VERSION_ERROR: number;
296
-    /**
297
-     * @deprecated
298
-     */
299
-    const Z_NO_COMPRESSION: number;
300
-    /**
301
-     * @deprecated
302
-     */
303
-    const Z_BEST_SPEED: number;
304
-    /**
305
-     * @deprecated
306
-     */
307
-    const Z_BEST_COMPRESSION: number;
308
-    /**
309
-     * @deprecated
310
-     */
311
-    const Z_DEFAULT_COMPRESSION: number;
312
-    /**
313
-     * @deprecated
314
-     */
315
-    const Z_FILTERED: number;
316
-    /**
317
-     * @deprecated
318
-     */
319
-    const Z_HUFFMAN_ONLY: number;
320
-    /**
321
-     * @deprecated
322
-     */
323
-    const Z_RLE: number;
324
-    /**
325
-     * @deprecated
326
-     */
327
-    const Z_FIXED: number;
328
-    /**
329
-     * @deprecated
330
-     */
331
-    const Z_DEFAULT_STRATEGY: number;
332
-    /**
333
-     * @deprecated
334
-     */
335
-    const Z_BINARY: number;
336
-    /**
337
-     * @deprecated
338
-     */
339
-    const Z_TEXT: number;
340
-    /**
341
-     * @deprecated
342
-     */
343
-    const Z_ASCII: number;
344
-    /**
345
-     * @deprecated
346
-     */
347
-    const Z_UNKNOWN: number;
348
-    /**
349
-     * @deprecated
350
-     */
351
-    const Z_DEFLATED: number;
352
-}

+ 0
- 21
node_modules/@types/range-parser/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/range-parser/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/range-parser`
3
-
4
-# Summary
5
-This package contains type definitions for range-parser (https://github.com/jshttp/range-parser).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser
9
-
10
-Additional Details
11
- * Last updated: Fri, 07 Dec 2018 19:21:52 GMT
12
- * Dependencies: none
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Tomek Łaziuk <https://github.com/tlaziuk>.

+ 0
- 35
node_modules/@types/range-parser/index.d.ts Parādīt failu

@@ -1,35 +0,0 @@
1
-// Type definitions for range-parser 1.2
2
-// Project: https://github.com/jshttp/range-parser
3
-// Definitions by: Tomek Łaziuk <https://github.com/tlaziuk>
4
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
-
6
-/**
7
- * When ranges are returned, the array has a "type" property which is the type of
8
- * range that is required (most commonly, "bytes"). Each array element is an object
9
- * with a "start" and "end" property for the portion of the range.
10
- *
11
- * @returns `-1` when unsatisfiable and `-2` when syntactically invalid, ranges otherwise.
12
- */
13
-declare function RangeParser(size: number, str: string, options?: RangeParser.Options): RangeParser.Result | RangeParser.Ranges;
14
-
15
-declare namespace RangeParser {
16
-    interface Ranges extends Array<Range> {
17
-        type: string;
18
-    }
19
-    interface Range {
20
-        start: number;
21
-        end: number;
22
-    }
23
-    interface Options {
24
-        /**
25
-         * The "combine" option can be set to `true` and overlapping & adjacent ranges
26
-         * will be combined into a single range.
27
-         */
28
-        combine?: boolean;
29
-    }
30
-    type ResultUnsatisfiable = -1;
31
-    type ResultInvalid = -2;
32
-    type Result = ResultUnsatisfiable | ResultInvalid;
33
-}
34
-
35
-export = RangeParser;

+ 0
- 52
node_modules/@types/range-parser/package.json Parādīt failu

@@ -1,52 +0,0 @@
1
-{
2
-  "_from": "@types/range-parser@*",
3
-  "_id": "@types/range-parser@1.2.3",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==",
6
-  "_location": "/@types/range-parser",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/range-parser@*",
12
-    "name": "@types/range-parser",
13
-    "escapedName": "@types%2frange-parser",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/express-serve-static-core"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
23
-  "_shasum": "7ee330ba7caafb98090bece86a5ee44115904c2c",
24
-  "_spec": "@types/range-parser@*",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/express-serve-static-core",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Tomek Łaziuk",
33
-      "url": "https://github.com/tlaziuk"
34
-    }
35
-  ],
36
-  "dependencies": {},
37
-  "deprecated": false,
38
-  "description": "TypeScript definitions for range-parser",
39
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
40
-  "license": "MIT",
41
-  "main": "",
42
-  "name": "@types/range-parser",
43
-  "repository": {
44
-    "type": "git",
45
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git"
46
-  },
47
-  "scripts": {},
48
-  "typeScriptVersion": "2.0",
49
-  "types": "index",
50
-  "typesPublisherContentHash": "71bf3049d2d484657017f768fe0c54c4e9f03ee340b5a62a56523455925a00ae",
51
-  "version": "1.2.3"
52
-}

+ 0
- 21
node_modules/@types/semver/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/semver/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/semver`
3
-
4
-# Summary
5
-This package contains type definitions for semver (https://github.com/npm/node-semver).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver
9
-
10
-Additional Details
11
- * Last updated: Thu, 05 Sep 2019 18:12:22 GMT
12
- * Dependencies: none
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, BendingBender <https://github.com/BendingBender>, Lucian Buzzo <https://github.com/LucianBuzzo>, and Klaus Meinhardt <https://github.com/ajafff>.

+ 0
- 217
node_modules/@types/semver/index.d.ts Parādīt failu

@@ -1,217 +0,0 @@
1
-// Type definitions for semver 6.0
2
-// Project: https://github.com/npm/node-semver
3
-// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
4
-//                 BendingBender <https://github.com/BendingBender>
5
-//                 Lucian Buzzo <https://github.com/LucianBuzzo>
6
-//                 Klaus Meinhardt <https://github.com/ajafff>
7
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/semver
8
-
9
-export const SEMVER_SPEC_VERSION: "2.0.0";
10
-
11
-export type ReleaseType = "major" | "premajor" | "minor" | "preminor" | "patch" | "prepatch" | "prerelease";
12
-
13
-export interface Options {
14
-    loose?: boolean;
15
-    includePrerelease?: boolean;
16
-}
17
-
18
-/**
19
- * Return the parsed version as a SemVer object, or null if it's not valid.
20
- */
21
-export function parse(v: string | SemVer, optionsOrLoose?: boolean | Options): SemVer | null;
22
-/**
23
- * Return the parsed version, or null if it's not valid.
24
- */
25
-export function valid(v: string | SemVer, optionsOrLoose?: boolean | Options): string | null;
26
-/**
27
- * Returns cleaned (removed leading/trailing whitespace, remove '=v' prefix) and parsed version, or null if version is invalid.
28
- */
29
-export function clean(version: string, optionsOrLoose?: boolean | Options): string | null;
30
-/**
31
- * Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.
32
- */
33
-export function inc(v: string | SemVer, release: ReleaseType, optionsOrLoose?: boolean | Options, identifier?: string): string | null;
34
-export function inc(
35
-  v: string | SemVer,
36
-  release: ReleaseType,
37
-  identifier?: string,
38
-): string | null;
39
-/**
40
- * Return the major version number.
41
- */
42
-export function major(v: string | SemVer, optionsOrLoose?: boolean | Options): number;
43
-/**
44
- * Return the minor version number.
45
- */
46
-export function minor(v: string | SemVer, optionsOrLoose?: boolean | Options): number;
47
-/**
48
- * Return the patch version number.
49
- */
50
-export function patch(v: string | SemVer, optionsOrLoose?: boolean | Options): number;
51
-/**
52
- * Returns an array of prerelease components, or null if none exist.
53
- */
54
-export function prerelease(v: string | SemVer, optionsOrLoose?: boolean | Options): ReadonlyArray<string> | null;
55
-
56
-// Comparison
57
-/**
58
- * v1 > v2
59
- */
60
-export function gt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
61
-/**
62
- * v1 >= v2
63
- */
64
-export function gte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
65
-/**
66
- * v1 < v2
67
- */
68
-export function lt(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
69
-/**
70
- * v1 <= v2
71
- */
72
-export function lte(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
73
-/**
74
- * v1 == v2 This is true if they're logically equivalent, even if they're not the exact same string. You already know how to compare strings.
75
- */
76
-export function eq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
77
-/**
78
- * v1 != v2 The opposite of eq.
79
- */
80
-export function neq(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
81
-
82
-/**
83
- * Pass in a comparison string, and it'll call the corresponding semver comparison function.
84
- * "===" and "!==" do simple string comparison, but are included for completeness.
85
- * Throws if an invalid comparison string is provided.
86
- */
87
-export function cmp(v1: string | SemVer, operator: Operator, v2: string | SemVer, optionsOrLoose?: boolean | Options): boolean;
88
-export type Operator = '===' | '!==' | '' | '=' | '==' | '!=' | '>' | '>=' | '<' | '<=';
89
-
90
-/**
91
- * Return 0 if v1 == v2, or 1 if v1 is greater, or -1 if v2 is greater. Sorts in ascending order if passed to Array.sort().
92
- */
93
-export function compare(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): 1 | 0 | -1;
94
-/**
95
- * The reverse of compare. Sorts an array of versions in descending order when passed to Array.sort().
96
- */
97
-export function rcompare(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): 1 | 0 | -1;
98
-
99
-/**
100
- * Compares two identifiers, must be numeric strings or truthy/falsy values. Sorts in ascending order if passed to Array.sort().
101
- */
102
-export function compareIdentifiers(a: string | null, b: string | null): 1 | 0 | -1;
103
-/**
104
- * The reverse of compareIdentifiers. Sorts in descending order when passed to Array.sort().
105
- */
106
-export function rcompareIdentifiers(a: string | null, b: string | null): 1 | 0 | -1;
107
-
108
-/**
109
- * Sorts an array of semver entries in ascending order.
110
- */
111
-export function sort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | Options): T[];
112
-/**
113
- * Sorts an array of semver entries in descending order.
114
- */
115
-export function rsort<T extends string | SemVer>(list: T[], optionsOrLoose?: boolean | Options): T[];
116
-
117
-/**
118
- * Returns difference between two versions by the release type (major, premajor, minor, preminor, patch, prepatch, or prerelease), or null if the versions are the same.
119
- */
120
-export function diff(v1: string | SemVer, v2: string | SemVer, optionsOrLoose?: boolean | Options): ReleaseType | null;
121
-
122
-// Ranges
123
-/**
124
- * Return the valid range or null if it's not valid
125
- */
126
-export function validRange(range: string | Range, optionsOrLoose?: boolean | Options): string;
127
-/**
128
- * Return true if the version satisfies the range.
129
- */
130
-export function satisfies(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
131
-/**
132
- * Return the highest version in the list that satisfies the range, or null if none of them do.
133
- */
134
-export function maxSatisfying<T extends string | SemVer>(versions: ReadonlyArray<T>, range: string | Range, optionsOrLoose?: boolean | Options): T | null;
135
-/**
136
- * Return the lowest version in the list that satisfies the range, or null if none of them do.
137
- */
138
-export function minSatisfying<T extends string | SemVer>(versions: ReadonlyArray<T>, range: string | Range, optionsOrLoose?: boolean | Options): T | null;
139
-/**
140
- * Return the lowest version that can possibly match the given range.
141
- */
142
-export function minVersion(range: string | Range, optionsOrLoose?: boolean | Options): SemVer | null;
143
-/**
144
- * Return true if version is greater than all the versions possible in the range.
145
- */
146
-export function gtr(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
147
-/**
148
- * Return true if version is less than all the versions possible in the range.
149
- */
150
-export function ltr(version: string | SemVer, range: string | Range, optionsOrLoose?: boolean | Options): boolean;
151
-/**
152
- * Return true if the version is outside the bounds of the range in either the high or low direction.
153
- * The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.)
154
- */
155
-export function outside(version: string | SemVer, range: string | Range, hilo: '>' | '<', optionsOrLoose?: boolean | Options): boolean;
156
-/**
157
- * Return true if any of the ranges comparators intersect
158
- */
159
-export function intersects(range1: string | Range, range2: string | Range, optionsOrLoose?: boolean | Options): boolean;
160
-
161
-// Coercion
162
-/**
163
- * Coerces a string to semver if possible
164
- */
165
-export function coerce(version: string | SemVer): SemVer | null;
166
-
167
-export class SemVer {
168
-    constructor(version: string | SemVer, optionsOrLoose?: boolean | Options);
169
-
170
-    raw: string;
171
-    loose: boolean;
172
-    options: Options;
173
-    format(): string;
174
-    inspect(): string;
175
-
176
-    major: number;
177
-    minor: number;
178
-    patch: number;
179
-    version: string;
180
-    build: ReadonlyArray<string>;
181
-    prerelease: ReadonlyArray<string | number>;
182
-
183
-    compare(other: string | SemVer): 1 | 0 | -1;
184
-    compareMain(other: string | SemVer): 1 | 0 | -1;
185
-    comparePre(other: string | SemVer): 1 | 0 | -1;
186
-    inc(release: ReleaseType, identifier?: string): SemVer;
187
-}
188
-
189
-export class Comparator {
190
-    constructor(comp: string | Comparator, optionsOrLoose?: boolean | Options);
191
-
192
-    semver: SemVer;
193
-    operator: '' | '=' | '<' | '>' | '<=' | '>=';
194
-    value: string;
195
-    loose: boolean;
196
-    options: Options;
197
-    parse(comp: string): void;
198
-    test(version: string | SemVer): boolean;
199
-    intersects(comp: Comparator, optionsOrLoose?: boolean | Options): boolean;
200
-}
201
-
202
-export class Range {
203
-    constructor(range: string | Range, optionsOrLoose?: boolean | Options);
204
-
205
-    range: string;
206
-    raw: string;
207
-    loose: boolean;
208
-    options: Options;
209
-    includePrerelease: boolean;
210
-    format(): string;
211
-    inspect(): string;
212
-
213
-    set: ReadonlyArray<ReadonlyArray<Comparator>>;
214
-    parseRange(range: string): ReadonlyArray<Comparator>;
215
-    test(version: string | SemVer): boolean;
216
-    intersects(range: Range, optionsOrLoose?: boolean | Options): boolean;
217
-}

+ 0
- 65
node_modules/@types/semver/package.json Parādīt failu

@@ -1,65 +0,0 @@
1
-{
2
-  "_from": "@types/semver@^6.0.1",
3
-  "_id": "@types/semver@6.0.2",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-G1Ggy7/9Nsa1Jt2yiBR2riEuyK2DFNnqow6R7cromXPMNynackRY1vqFTLz/gwnef1LHokbXThcPhqMRjUbkpQ==",
6
-  "_location": "/@types/semver",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/semver@^6.0.1",
12
-    "name": "@types/semver",
13
-    "escapedName": "@types%2fsemver",
14
-    "scope": "@types",
15
-    "rawSpec": "^6.0.1",
16
-    "saveSpec": null,
17
-    "fetchSpec": "^6.0.1"
18
-  },
19
-  "_requiredBy": [
20
-    "#DEV:/"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/semver/-/semver-6.0.2.tgz",
23
-  "_shasum": "5e8b09f0e4af53034b1d0fb9977a277847836205",
24
-  "_spec": "@types/semver@^6.0.1",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Bart van der Schoor",
33
-      "url": "https://github.com/Bartvds"
34
-    },
35
-    {
36
-      "name": "BendingBender",
37
-      "url": "https://github.com/BendingBender"
38
-    },
39
-    {
40
-      "name": "Lucian Buzzo",
41
-      "url": "https://github.com/LucianBuzzo"
42
-    },
43
-    {
44
-      "name": "Klaus Meinhardt",
45
-      "url": "https://github.com/ajafff"
46
-    }
47
-  ],
48
-  "dependencies": {},
49
-  "deprecated": false,
50
-  "description": "TypeScript definitions for semver",
51
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
52
-  "license": "MIT",
53
-  "main": "",
54
-  "name": "@types/semver",
55
-  "repository": {
56
-    "type": "git",
57
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
58
-    "directory": "types/semver"
59
-  },
60
-  "scripts": {},
61
-  "typeScriptVersion": "2.0",
62
-  "types": "index",
63
-  "typesPublisherContentHash": "0ffdfe2b476714b6b1ceaddc1afadc4f372c4b28ccecd13cc0e598c0b3d56516",
64
-  "version": "6.0.2"
65
-}

+ 0
- 21
node_modules/@types/serve-static/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-    MIT License
2
-
3
-    Copyright (c) Microsoft Corporation. All rights reserved.
4
-
5
-    Permission is hereby granted, free of charge, to any person obtaining a copy
6
-    of this software and associated documentation files (the "Software"), to deal
7
-    in the Software without restriction, including without limitation the rights
8
-    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-    copies of the Software, and to permit persons to whom the Software is
10
-    furnished to do so, subject to the following conditions:
11
-
12
-    The above copyright notice and this permission notice shall be included in all
13
-    copies or substantial portions of the Software.
14
-
15
-    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-    SOFTWARE

+ 0
- 16
node_modules/@types/serve-static/README.md Parādīt failu

@@ -1,16 +0,0 @@
1
-# Installation
2
-> `npm install --save @types/serve-static`
3
-
4
-# Summary
5
-This package contains type definitions for serve-static (https://github.com/expressjs/serve-static).
6
-
7
-# Details
8
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serve-static
9
-
10
-Additional Details
11
- * Last updated: Mon, 19 Aug 2019 00:51:18 GMT
12
- * Dependencies: @types/express-serve-static-core, @types/mime
13
- * Global values: none
14
-
15
-# Credits
16
-These definitions were written by Uros Smolnik <https://github.com/urossmolnik>, and Linus Unnebäck <https://github.com/LinusU>.

+ 0
- 104
node_modules/@types/serve-static/index.d.ts Parādīt failu

@@ -1,104 +0,0 @@
1
-// Type definitions for serve-static 1.13
2
-// Project: https://github.com/expressjs/serve-static
3
-// Definitions by: Uros Smolnik <https://github.com/urossmolnik>
4
-//                 Linus Unnebäck <https://github.com/LinusU>
5
-// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
-// TypeScript Version: 2.3
7
-
8
-/* =================== USAGE ===================
9
-
10
-    import * as serveStatic from "serve-static";
11
-    app.use(serveStatic("public/ftp", {"index": ["default.html", "default.htm"]}))
12
-
13
- =============================================== */
14
-
15
-/// <reference types="express-serve-static-core" />
16
-
17
-import * as express from "express-serve-static-core";
18
-import * as m from "mime";
19
-
20
-/**
21
- * Create a new middleware function to serve files from within a given root directory.
22
- * The file to serve will be determined by combining req.url with the provided root directory.
23
- * When a file is not found, instead of sending a 404 response, this module will instead call next() to move on to the next middleware, allowing for stacking and fall-backs.
24
- */
25
-declare function serveStatic(root: string, options?: serveStatic.ServeStaticOptions): express.Handler;
26
-
27
-declare namespace serveStatic {
28
-    var mime: typeof m;
29
-    interface ServeStaticOptions {
30
-        /**
31
-         * Enable or disable setting Cache-Control response header, defaults to true. 
32
-         * Disabling this will ignore the immutable and maxAge options.
33
-         */
34
-        cacheControl?: boolean;
35
-
36
-        /**
37
-         * Set how "dotfiles" are treated when encountered. A dotfile is a file or directory that begins with a dot (".").
38
-         * Note this check is done on the path itself without checking if the path actually exists on the disk.
39
-         * If root is specified, only the dotfiles above the root are checked (i.e. the root itself can be within a dotfile when when set to "deny").
40
-         * The default value is 'ignore'.
41
-         * 'allow' No special treatment for dotfiles
42
-         * 'deny' Send a 403 for any request for a dotfile
43
-         * 'ignore' Pretend like the dotfile does not exist and call next()
44
-         */
45
-        dotfiles?: string;
46
-
47
-        /**
48
-         * Enable or disable etag generation, defaults to true.
49
-         */
50
-        etag?: boolean;
51
-
52
-        /**
53
-         * Set file extension fallbacks. When set, if a file is not found, the given extensions will be added to the file name and search for.
54
-         * The first that exists will be served. Example: ['html', 'htm'].
55
-         * The default value is false.
56
-         */
57
-        extensions?: string[];
58
-
59
-        /**
60
-         * Let client errors fall-through as unhandled requests, otherwise forward a client error.
61
-         * The default value is false.
62
-         */
63
-        fallthrough?: boolean;
64
-
65
-        /**
66
-         * Enable or disable the immutable directive in the Cache-Control response header.
67
-         * If enabled, the maxAge option should also be specified to enable caching. The immutable directive will prevent supported clients from making conditional requests during the life of the maxAge option to check if the file has changed.
68
-         */
69
-        immutable?: boolean;
70
-
71
-        /**
72
-         * By default this module will send "index.html" files in response to a request on a directory.
73
-         * To disable this set false or to supply a new index pass a string or an array in preferred order.
74
-         */
75
-        index?: boolean | string | string[];
76
-
77
-        /**
78
-         * Enable or disable Last-Modified header, defaults to true. Uses the file system's last modified value.
79
-         */
80
-        lastModified?: boolean;
81
-
82
-        /**
83
-         * Provide a max-age in milliseconds for http caching, defaults to 0. This can also be a string accepted by the ms module.
84
-         */
85
-        maxAge?: number | string;
86
-
87
-        /**
88
-         * Redirect to trailing "/" when the pathname is a dir. Defaults to true.
89
-         */
90
-        redirect?: boolean;
91
-
92
-        /**
93
-         * Function to set custom headers on response. Alterations to the headers need to occur synchronously.
94
-         * The function is called as fn(res, path, stat), where the arguments are:
95
-         * res the response object
96
-         * path the file path that is being sent
97
-         * stat the stat object of the file that is being sent
98
-         */
99
-        setHeaders?: (res: express.Response, path: string, stat: any) => any;
100
-    }
101
-    function serveStatic(root: string, options?: ServeStaticOptions): express.Handler;
102
-}
103
-
104
-export = serveStatic;

+ 0
- 60
node_modules/@types/serve-static/package.json Parādīt failu

@@ -1,60 +0,0 @@
1
-{
2
-  "_from": "@types/serve-static@*",
3
-  "_id": "@types/serve-static@1.13.3",
4
-  "_inBundle": false,
5
-  "_integrity": "sha512-oprSwp094zOglVrXdlo/4bAHtKTAxX6VT8FOZlBKrmyLbNvE1zxZyJ6yikMVtHIvwP45+ZQGJn+FdXGKTozq0g==",
6
-  "_location": "/@types/serve-static",
7
-  "_phantomChildren": {},
8
-  "_requested": {
9
-    "type": "range",
10
-    "registry": true,
11
-    "raw": "@types/serve-static@*",
12
-    "name": "@types/serve-static",
13
-    "escapedName": "@types%2fserve-static",
14
-    "scope": "@types",
15
-    "rawSpec": "*",
16
-    "saveSpec": null,
17
-    "fetchSpec": "*"
18
-  },
19
-  "_requiredBy": [
20
-    "/@types/express"
21
-  ],
22
-  "_resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.3.tgz",
23
-  "_shasum": "eb7e1c41c4468272557e897e9171ded5e2ded9d1",
24
-  "_spec": "@types/serve-static@*",
25
-  "_where": "/home/daniel/development/repos/fw-vendor/rpclib/node_modules/@types/express",
26
-  "bugs": {
27
-    "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28
-  },
29
-  "bundleDependencies": false,
30
-  "contributors": [
31
-    {
32
-      "name": "Uros Smolnik",
33
-      "url": "https://github.com/urossmolnik"
34
-    },
35
-    {
36
-      "name": "Linus Unnebäck",
37
-      "url": "https://github.com/LinusU"
38
-    }
39
-  ],
40
-  "dependencies": {
41
-    "@types/express-serve-static-core": "*",
42
-    "@types/mime": "*"
43
-  },
44
-  "deprecated": false,
45
-  "description": "TypeScript definitions for serve-static",
46
-  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme",
47
-  "license": "MIT",
48
-  "main": "",
49
-  "name": "@types/serve-static",
50
-  "repository": {
51
-    "type": "git",
52
-    "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git",
53
-    "directory": "types/serve-static"
54
-  },
55
-  "scripts": {},
56
-  "typeScriptVersion": "2.3",
57
-  "types": "index",
58
-  "typesPublisherContentHash": "a1bdf5606e9234e72aecdfcec0e66846d6a7e9d7cd87332ef829e4db0a1d56d5",
59
-  "version": "1.13.3"
60
-}

+ 0
- 21
node_modules/@webassemblyjs/ast/LICENSE Parādīt failu

@@ -1,21 +0,0 @@
1
-MIT License
2
-
3
-Copyright (c) 2018 Sven Sauleau <sven@sauleau.com>
4
-
5
-Permission is hereby granted, free of charge, to any person obtaining a copy
6
-of this software and associated documentation files (the "Software"), to deal
7
-in the Software without restriction, including without limitation the rights
8
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-copies of the Software, and to permit persons to whom the Software is
10
-furnished to do so, subject to the following conditions:
11
-
12
-The above copyright notice and this permission notice shall be included in all
13
-copies or substantial portions of the Software.
14
-
15
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-SOFTWARE.

+ 0
- 0
node_modules/@webassemblyjs/ast/README.md Parādīt failu


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels

Notiek ielāde…
Atcelt
Saglabāt