typespeed 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database.decorator.js +2 -4
- package/dist/typespeed.js +4 -1
- package/introduction/tsconfig.json +20 -0
- package/package.json +2 -4
- package/src/database.decorator.ts +2 -4
- package/src/typespeed.ts +4 -1
- package/app/node_modules/.package-lock.json +0 -134
- package/app/node_modules/@types/body-parser/LICENSE +0 -21
- package/app/node_modules/@types/body-parser/README.md +0 -16
- package/app/node_modules/@types/body-parser/index.d.ts +0 -107
- package/app/node_modules/@types/body-parser/package.json +0 -58
- package/app/node_modules/@types/connect/LICENSE +0 -21
- package/app/node_modules/@types/connect/README.md +0 -16
- package/app/node_modules/@types/connect/index.d.ts +0 -93
- package/app/node_modules/@types/connect/package.json +0 -32
- package/app/node_modules/@types/express/LICENSE +0 -21
- package/app/node_modules/@types/express/README.md +0 -16
- package/app/node_modules/@types/express/index.d.ts +0 -136
- package/app/node_modules/@types/express/package.json +0 -45
- package/app/node_modules/@types/express-serve-static-core/LICENSE +0 -21
- package/app/node_modules/@types/express-serve-static-core/README.md +0 -16
- package/app/node_modules/@types/express-serve-static-core/index.d.ts +0 -1281
- package/app/node_modules/@types/express-serve-static-core/package.json +0 -55
- package/app/node_modules/@types/mime/LICENSE +0 -21
- package/app/node_modules/@types/mime/Mime.d.ts +0 -10
- package/app/node_modules/@types/mime/README.md +0 -16
- package/app/node_modules/@types/mime/index.d.ts +0 -35
- package/app/node_modules/@types/mime/lite.d.ts +0 -7
- package/app/node_modules/@types/mime/package.json +0 -29
- package/app/node_modules/@types/node/LICENSE +0 -21
- package/app/node_modules/@types/node/README.md +0 -16
- package/app/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/app/node_modules/@types/node/assert.d.ts +0 -961
- package/app/node_modules/@types/node/async_hooks.d.ts +0 -518
- package/app/node_modules/@types/node/buffer.d.ts +0 -2323
- package/app/node_modules/@types/node/child_process.d.ts +0 -1399
- package/app/node_modules/@types/node/cluster.d.ts +0 -410
- package/app/node_modules/@types/node/console.d.ts +0 -412
- package/app/node_modules/@types/node/constants.d.ts +0 -18
- package/app/node_modules/@types/node/crypto.d.ts +0 -3973
- package/app/node_modules/@types/node/dgram.d.ts +0 -545
- package/app/node_modules/@types/node/diagnostics_channel.d.ts +0 -192
- package/app/node_modules/@types/node/dns/promises.d.ts +0 -370
- package/app/node_modules/@types/node/dns.d.ts +0 -660
- package/app/node_modules/@types/node/dom-events.d.ts +0 -126
- package/app/node_modules/@types/node/domain.d.ts +0 -170
- package/app/node_modules/@types/node/events.d.ts +0 -682
- package/app/node_modules/@types/node/fs/promises.d.ts +0 -1159
- package/app/node_modules/@types/node/fs.d.ts +0 -3976
- package/app/node_modules/@types/node/globals.d.ts +0 -303
- package/app/node_modules/@types/node/globals.global.d.ts +0 -1
- package/app/node_modules/@types/node/http.d.ts +0 -1714
- package/app/node_modules/@types/node/http2.d.ts +0 -2133
- package/app/node_modules/@types/node/https.d.ts +0 -542
- package/app/node_modules/@types/node/index.d.ts +0 -134
- package/app/node_modules/@types/node/inspector.d.ts +0 -2741
- package/app/node_modules/@types/node/module.d.ts +0 -115
- package/app/node_modules/@types/node/net.d.ts +0 -883
- package/app/node_modules/@types/node/os.d.ts +0 -473
- package/app/node_modules/@types/node/package.json +0 -237
- package/app/node_modules/@types/node/path.d.ts +0 -191
- package/app/node_modules/@types/node/perf_hooks.d.ts +0 -625
- package/app/node_modules/@types/node/process.d.ts +0 -1488
- package/app/node_modules/@types/node/punycode.d.ts +0 -117
- package/app/node_modules/@types/node/querystring.d.ts +0 -131
- package/app/node_modules/@types/node/readline/promises.d.ts +0 -143
- package/app/node_modules/@types/node/readline.d.ts +0 -653
- package/app/node_modules/@types/node/repl.d.ts +0 -424
- package/app/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/app/node_modules/@types/node/stream/promises.d.ts +0 -42
- package/app/node_modules/@types/node/stream/web.d.ts +0 -330
- package/app/node_modules/@types/node/stream.d.ts +0 -1440
- package/app/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/app/node_modules/@types/node/test.d.ts +0 -783
- package/app/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/app/node_modules/@types/node/timers.d.ts +0 -101
- package/app/node_modules/@types/node/tls.d.ts +0 -1111
- package/app/node_modules/@types/node/trace_events.d.ts +0 -171
- package/app/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/app/node_modules/@types/node/ts4.8/assert.d.ts +0 -961
- package/app/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -518
- package/app/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2323
- package/app/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1399
- package/app/node_modules/@types/node/ts4.8/cluster.d.ts +0 -410
- package/app/node_modules/@types/node/ts4.8/console.d.ts +0 -412
- package/app/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
- package/app/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3972
- package/app/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
- package/app/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -192
- package/app/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -370
- package/app/node_modules/@types/node/ts4.8/dns.d.ts +0 -660
- package/app/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -126
- package/app/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/app/node_modules/@types/node/ts4.8/events.d.ts +0 -682
- package/app/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1138
- package/app/node_modules/@types/node/ts4.8/fs.d.ts +0 -3875
- package/app/node_modules/@types/node/ts4.8/globals.d.ts +0 -302
- package/app/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/app/node_modules/@types/node/ts4.8/http.d.ts +0 -1651
- package/app/node_modules/@types/node/ts4.8/http2.d.ts +0 -2133
- package/app/node_modules/@types/node/ts4.8/https.d.ts +0 -542
- package/app/node_modules/@types/node/ts4.8/index.d.ts +0 -88
- package/app/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2741
- package/app/node_modules/@types/node/ts4.8/module.d.ts +0 -115
- package/app/node_modules/@types/node/ts4.8/net.d.ts +0 -883
- package/app/node_modules/@types/node/ts4.8/os.d.ts +0 -473
- package/app/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/app/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -625
- package/app/node_modules/@types/node/ts4.8/process.d.ts +0 -1488
- package/app/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/app/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
- package/app/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -143
- package/app/node_modules/@types/node/ts4.8/readline.d.ts +0 -653
- package/app/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
- package/app/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/app/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
- package/app/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -330
- package/app/node_modules/@types/node/ts4.8/stream.d.ts +0 -1440
- package/app/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/app/node_modules/@types/node/ts4.8/test.d.ts +0 -784
- package/app/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/app/node_modules/@types/node/ts4.8/timers.d.ts +0 -94
- package/app/node_modules/@types/node/ts4.8/tls.d.ts +0 -1111
- package/app/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -171
- package/app/node_modules/@types/node/ts4.8/tty.d.ts +0 -206
- package/app/node_modules/@types/node/ts4.8/url.d.ts +0 -902
- package/app/node_modules/@types/node/ts4.8/util.d.ts +0 -2017
- package/app/node_modules/@types/node/ts4.8/v8.d.ts +0 -541
- package/app/node_modules/@types/node/ts4.8/vm.d.ts +0 -644
- package/app/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/app/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -695
- package/app/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/app/node_modules/@types/node/tty.d.ts +0 -206
- package/app/node_modules/@types/node/url.d.ts +0 -902
- package/app/node_modules/@types/node/util.d.ts +0 -2017
- package/app/node_modules/@types/node/v8.d.ts +0 -541
- package/app/node_modules/@types/node/vm.d.ts +0 -644
- package/app/node_modules/@types/node/wasi.d.ts +0 -158
- package/app/node_modules/@types/node/worker_threads.d.ts +0 -695
- package/app/node_modules/@types/node/zlib.d.ts +0 -517
- package/app/node_modules/@types/qs/LICENSE +0 -21
- package/app/node_modules/@types/qs/README.md +0 -16
- package/app/node_modules/@types/qs/index.d.ts +0 -62
- package/app/node_modules/@types/qs/package.json +0 -65
- package/app/node_modules/@types/range-parser/LICENSE +0 -21
- package/app/node_modules/@types/range-parser/README.md +0 -55
- package/app/node_modules/@types/range-parser/index.d.ts +0 -35
- package/app/node_modules/@types/range-parser/package.json +0 -25
- package/app/node_modules/@types/send/LICENSE +0 -21
- package/app/node_modules/@types/send/README.md +0 -16
- package/app/node_modules/@types/send/index.d.ts +0 -231
- package/app/node_modules/@types/send/package.json +0 -33
- package/app/node_modules/@types/serve-static/LICENSE +0 -21
- package/app/node_modules/@types/serve-static/README.md +0 -16
- package/app/node_modules/@types/serve-static/index.d.ts +0 -113
- package/app/node_modules/@types/serve-static/package.json +0 -38
- package/app/node_modules/colors/LICENSE +0 -25
- package/app/node_modules/colors/README.md +0 -221
- package/app/node_modules/colors/examples/normal-usage.js +0 -82
- package/app/node_modules/colors/examples/safe-string.js +0 -79
- package/app/node_modules/colors/index.d.ts +0 -136
- package/app/node_modules/colors/lib/colors.js +0 -211
- package/app/node_modules/colors/lib/custom/trap.js +0 -46
- package/app/node_modules/colors/lib/custom/zalgo.js +0 -110
- package/app/node_modules/colors/lib/extendStringPrototype.js +0 -110
- package/app/node_modules/colors/lib/index.js +0 -13
- package/app/node_modules/colors/lib/maps/america.js +0 -10
- package/app/node_modules/colors/lib/maps/rainbow.js +0 -12
- package/app/node_modules/colors/lib/maps/random.js +0 -11
- package/app/node_modules/colors/lib/maps/zebra.js +0 -5
- package/app/node_modules/colors/lib/styles.js +0 -95
- package/app/node_modules/colors/lib/system/has-flag.js +0 -35
- package/app/node_modules/colors/lib/system/supports-colors.js +0 -151
- package/app/node_modules/colors/package.json +0 -45
- package/app/node_modules/colors/safe.d.ts +0 -48
- package/app/node_modules/colors/safe.js +0 -10
- package/app/node_modules/colors/themes/generic-logging.js +0 -12
- package/app/node_modules/dateformat/LICENSE +0 -20
- package/app/node_modules/dateformat/Readme.md +0 -204
- package/app/node_modules/dateformat/lib/dateformat.js +0 -1
- package/app/node_modules/dateformat/package.json +0 -38
- package/app/node_modules/mkdirp/CHANGELOG.md +0 -15
- package/app/node_modules/mkdirp/LICENSE +0 -21
- package/app/node_modules/mkdirp/bin/cmd.js +0 -68
- package/app/node_modules/mkdirp/index.js +0 -31
- package/app/node_modules/mkdirp/lib/find-made.js +0 -29
- package/app/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
- package/app/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
- package/app/node_modules/mkdirp/lib/opts-arg.js +0 -23
- package/app/node_modules/mkdirp/lib/path-arg.js +0 -29
- package/app/node_modules/mkdirp/lib/use-native.js +0 -10
- package/app/node_modules/mkdirp/package.json +0 -44
- package/app/node_modules/mkdirp/readme.markdown +0 -266
- package/app/node_modules/tinytim/.travis.yml +0 -5
- package/app/node_modules/tinytim/README.md +0 -212
- package/app/node_modules/tinytim/index.js +0 -1
- package/app/node_modules/tinytim/lib/index.js +0 -55
- package/app/node_modules/tinytim/lib/tinytim.js +0 -50
- package/app/node_modules/tinytim/package.json +0 -24
- package/app/node_modules/tinytim/test/files/html.tim +0 -1
- package/app/node_modules/tinytim/test/files/string.tim +0 -1
- package/app/node_modules/tinytim/test/files/string2.tim +0 -1
- package/app/node_modules/tinytim/test/render-file-replace.js +0 -39
- package/app/node_modules/tinytim/test/render-replace.js +0 -94
- package/app/node_modules/tinytim/test/tim-replace.js +0 -95
- package/app/node_modules/tracer/README.md +0 -747
- package/app/node_modules/tracer/lib/color_console.js +0 -15
- package/app/node_modules/tracer/lib/console.js +0 -165
- package/app/node_modules/tracer/lib/dailyfile.js +0 -92
- package/app/node_modules/tracer/lib/index.js +0 -10
- package/app/node_modules/tracer/lib/settings.js +0 -25
- package/app/node_modules/tracer/lib/utils.js +0 -58
- package/app/node_modules/tracer/package.json +0 -53
- package/app/node_modules/tracer/types/index.d.ts +0 -189
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `string_decoder` module provides an API for decoding `Buffer` objects into
|
|
3
|
-
* strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16
|
|
4
|
-
* characters. It can be accessed using:
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* const { StringDecoder } = require('string_decoder');
|
|
8
|
-
* ```
|
|
9
|
-
*
|
|
10
|
-
* The following example shows the basic use of the `StringDecoder` class.
|
|
11
|
-
*
|
|
12
|
-
* ```js
|
|
13
|
-
* const { StringDecoder } = require('string_decoder');
|
|
14
|
-
* const decoder = new StringDecoder('utf8');
|
|
15
|
-
*
|
|
16
|
-
* const cent = Buffer.from([0xC2, 0xA2]);
|
|
17
|
-
* console.log(decoder.write(cent));
|
|
18
|
-
*
|
|
19
|
-
* const euro = Buffer.from([0xE2, 0x82, 0xAC]);
|
|
20
|
-
* console.log(decoder.write(euro));
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* When a `Buffer` instance is written to the `StringDecoder` instance, an
|
|
24
|
-
* internal buffer is used to ensure that the decoded string does not contain
|
|
25
|
-
* any incomplete multibyte characters. These are held in the buffer until the
|
|
26
|
-
* next call to `stringDecoder.write()` or until `stringDecoder.end()` is called.
|
|
27
|
-
*
|
|
28
|
-
* In the following example, the three UTF-8 encoded bytes of the European Euro
|
|
29
|
-
* symbol (`€`) are written over three separate operations:
|
|
30
|
-
*
|
|
31
|
-
* ```js
|
|
32
|
-
* const { StringDecoder } = require('string_decoder');
|
|
33
|
-
* const decoder = new StringDecoder('utf8');
|
|
34
|
-
*
|
|
35
|
-
* decoder.write(Buffer.from([0xE2]));
|
|
36
|
-
* decoder.write(Buffer.from([0x82]));
|
|
37
|
-
* console.log(decoder.end(Buffer.from([0xAC])));
|
|
38
|
-
* ```
|
|
39
|
-
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/string_decoder.js)
|
|
40
|
-
*/
|
|
41
|
-
declare module 'string_decoder' {
|
|
42
|
-
class StringDecoder {
|
|
43
|
-
constructor(encoding?: BufferEncoding);
|
|
44
|
-
/**
|
|
45
|
-
* Returns a decoded string, ensuring that any incomplete multibyte characters at
|
|
46
|
-
* the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the
|
|
47
|
-
* returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`.
|
|
48
|
-
* @since v0.1.99
|
|
49
|
-
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
50
|
-
*/
|
|
51
|
-
write(buffer: Buffer): string;
|
|
52
|
-
/**
|
|
53
|
-
* Returns any remaining input stored in the internal buffer as a string. Bytes
|
|
54
|
-
* representing incomplete UTF-8 and UTF-16 characters will be replaced with
|
|
55
|
-
* substitution characters appropriate for the character encoding.
|
|
56
|
-
*
|
|
57
|
-
* If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input.
|
|
58
|
-
* After `end()` is called, the `stringDecoder` object can be reused for new input.
|
|
59
|
-
* @since v0.9.3
|
|
60
|
-
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
61
|
-
*/
|
|
62
|
-
end(buffer?: Buffer): string;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
declare module 'node:string_decoder' {
|
|
66
|
-
export * from 'string_decoder';
|
|
67
|
-
}
|