rsbuild-plugin-dts 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +0,0 @@
1
- Copyright 2018 Rich Harris
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1 +0,0 @@
1
- {"name":"magic-string","author":"Rich Harris","version":"0.30.21","license":"MIT","types":"index.d.ts","type":"commonjs"}
@@ -1,55 +0,0 @@
1
- type Formatter = (input: string | number | null | undefined) => string
2
-
3
- interface Colors {
4
- isColorSupported: boolean
5
-
6
- reset: Formatter
7
- bold: Formatter
8
- dim: Formatter
9
- italic: Formatter
10
- underline: Formatter
11
- inverse: Formatter
12
- hidden: Formatter
13
- strikethrough: Formatter
14
-
15
- black: Formatter
16
- red: Formatter
17
- green: Formatter
18
- yellow: Formatter
19
- blue: Formatter
20
- magenta: Formatter
21
- cyan: Formatter
22
- white: Formatter
23
- gray: Formatter
24
-
25
- bgBlack: Formatter
26
- bgRed: Formatter
27
- bgGreen: Formatter
28
- bgYellow: Formatter
29
- bgBlue: Formatter
30
- bgMagenta: Formatter
31
- bgCyan: Formatter
32
- bgWhite: Formatter
33
-
34
- blackBright: Formatter
35
- redBright: Formatter
36
- greenBright: Formatter
37
- yellowBright: Formatter
38
- blueBright: Formatter
39
- magentaBright: Formatter
40
- cyanBright: Formatter
41
- whiteBright: Formatter
42
-
43
- bgBlackBright: Formatter
44
- bgRedBright: Formatter
45
- bgGreenBright: Formatter
46
- bgYellowBright: Formatter
47
- bgBlueBright: Formatter
48
- bgMagentaBright: Formatter
49
- bgCyanBright: Formatter
50
- bgWhiteBright: Formatter
51
- }
52
-
53
- declare const picocolors: Colors & { createColors: (enabled?: boolean) => Colors }
54
-
55
- export { picocolors as default };
@@ -1,132 +0,0 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ var __webpack_modules__ = ({
3
-
4
- /***/ 831:
5
- /***/ ((module) => {
6
-
7
- let p = process || {}, argv = p.argv || [], env = p.env || {}
8
- let isColorSupported =
9
- !(!!env.NO_COLOR || argv.includes("--no-color")) &&
10
- (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || ((p.stdout || {}).isTTY && env.TERM !== "dumb") || !!env.CI)
11
-
12
- let formatter = (open, close, replace = open) =>
13
- input => {
14
- let string = "" + input, index = string.indexOf(close, open.length)
15
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close
16
- }
17
-
18
- let replaceClose = (string, close, replace, index) => {
19
- let result = "", cursor = 0
20
- do {
21
- result += string.substring(cursor, index) + replace
22
- cursor = index + close.length
23
- index = string.indexOf(close, cursor)
24
- } while (~index)
25
- return result + string.substring(cursor)
26
- }
27
-
28
- let createColors = (enabled = isColorSupported) => {
29
- let f = enabled ? formatter : () => String
30
- return {
31
- isColorSupported: enabled,
32
- reset: f("\x1b[0m", "\x1b[0m"),
33
- bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"),
34
- dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"),
35
- italic: f("\x1b[3m", "\x1b[23m"),
36
- underline: f("\x1b[4m", "\x1b[24m"),
37
- inverse: f("\x1b[7m", "\x1b[27m"),
38
- hidden: f("\x1b[8m", "\x1b[28m"),
39
- strikethrough: f("\x1b[9m", "\x1b[29m"),
40
-
41
- black: f("\x1b[30m", "\x1b[39m"),
42
- red: f("\x1b[31m", "\x1b[39m"),
43
- green: f("\x1b[32m", "\x1b[39m"),
44
- yellow: f("\x1b[33m", "\x1b[39m"),
45
- blue: f("\x1b[34m", "\x1b[39m"),
46
- magenta: f("\x1b[35m", "\x1b[39m"),
47
- cyan: f("\x1b[36m", "\x1b[39m"),
48
- white: f("\x1b[37m", "\x1b[39m"),
49
- gray: f("\x1b[90m", "\x1b[39m"),
50
-
51
- bgBlack: f("\x1b[40m", "\x1b[49m"),
52
- bgRed: f("\x1b[41m", "\x1b[49m"),
53
- bgGreen: f("\x1b[42m", "\x1b[49m"),
54
- bgYellow: f("\x1b[43m", "\x1b[49m"),
55
- bgBlue: f("\x1b[44m", "\x1b[49m"),
56
- bgMagenta: f("\x1b[45m", "\x1b[49m"),
57
- bgCyan: f("\x1b[46m", "\x1b[49m"),
58
- bgWhite: f("\x1b[47m", "\x1b[49m"),
59
-
60
- blackBright: f("\x1b[90m", "\x1b[39m"),
61
- redBright: f("\x1b[91m", "\x1b[39m"),
62
- greenBright: f("\x1b[92m", "\x1b[39m"),
63
- yellowBright: f("\x1b[93m", "\x1b[39m"),
64
- blueBright: f("\x1b[94m", "\x1b[39m"),
65
- magentaBright: f("\x1b[95m", "\x1b[39m"),
66
- cyanBright: f("\x1b[96m", "\x1b[39m"),
67
- whiteBright: f("\x1b[97m", "\x1b[39m"),
68
-
69
- bgBlackBright: f("\x1b[100m", "\x1b[49m"),
70
- bgRedBright: f("\x1b[101m", "\x1b[49m"),
71
- bgGreenBright: f("\x1b[102m", "\x1b[49m"),
72
- bgYellowBright: f("\x1b[103m", "\x1b[49m"),
73
- bgBlueBright: f("\x1b[104m", "\x1b[49m"),
74
- bgMagentaBright: f("\x1b[105m", "\x1b[49m"),
75
- bgCyanBright: f("\x1b[106m", "\x1b[49m"),
76
- bgWhiteBright: f("\x1b[107m", "\x1b[49m"),
77
- }
78
- }
79
-
80
- module.exports = createColors()
81
- module.exports.createColors = createColors
82
-
83
-
84
- /***/ })
85
-
86
- /******/ });
87
- /************************************************************************/
88
- /******/ // The module cache
89
- /******/ var __webpack_module_cache__ = {};
90
- /******/
91
- /******/ // The require function
92
- /******/ function __nccwpck_require__(moduleId) {
93
- /******/ // Check if module is in cache
94
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
95
- /******/ if (cachedModule !== undefined) {
96
- /******/ return cachedModule.exports;
97
- /******/ }
98
- /******/ // Create a new module (and put it into the cache)
99
- /******/ var module = __webpack_module_cache__[moduleId] = {
100
- /******/ // no module.id needed
101
- /******/ // no module.loaded needed
102
- /******/ exports: {}
103
- /******/ };
104
- /******/
105
- /******/ // Execute the module function
106
- /******/ var threw = true;
107
- /******/ try {
108
- /******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__);
109
- /******/ threw = false;
110
- /******/ } finally {
111
- /******/ if(threw) delete __webpack_module_cache__[moduleId];
112
- /******/ }
113
- /******/
114
- /******/ // Return the exports of the module
115
- /******/ return module.exports;
116
- /******/ }
117
- /******/
118
- /************************************************************************/
119
- /******/ /* webpack/runtime/compat */
120
- /******/
121
- /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
122
- /******/
123
- /************************************************************************/
124
- /******/
125
- /******/ // startup
126
- /******/ // Load entry module and return exports
127
- /******/ // This entry module is referenced by other modules so it can't be inlined
128
- /******/ var __webpack_exports__ = __nccwpck_require__(831);
129
- /******/ module.exports = __webpack_exports__;
130
- /******/
131
- /******/ })()
132
- ;
@@ -1,15 +0,0 @@
1
- ISC License
2
-
3
- Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1 +0,0 @@
1
- {"name":"picocolors","author":"Alexey Raspopov","version":"1.1.1","license":"ISC","types":"index.d.ts","type":"commonjs"}
@@ -1,46 +0,0 @@
1
- //#region src/utils.d.ts
2
-
3
- declare const convertPathToPattern: (path: string) => string;
4
- declare const escapePath: (path: string) => string;
5
- // #endregion
6
- // #region isDynamicPattern
7
- /*
8
- Has a few minor differences with `fast-glob` for better accuracy:
9
-
10
- Doesn't necessarily return false on patterns that include `\\`.
11
-
12
- Returns true if the pattern includes parentheses,
13
- regardless of them representing one single pattern or not.
14
-
15
- Returns true for unfinished glob extensions i.e. `(h`, `+(h`.
16
-
17
- Returns true for unfinished brace expansions as long as they include `,` or `..`.
18
- */
19
- declare function isDynamicPattern(pattern: string, options?: {
20
- caseSensitiveMatch: boolean;
21
- }): boolean; //#endregion
22
- //#region src/index.d.ts
23
-
24
- // #endregion
25
- // #region log
26
- interface GlobOptions {
27
- absolute?: boolean;
28
- cwd?: string;
29
- patterns?: string | string[];
30
- ignore?: string | string[];
31
- dot?: boolean;
32
- deep?: number;
33
- followSymbolicLinks?: boolean;
34
- caseSensitiveMatch?: boolean;
35
- expandDirectories?: boolean;
36
- onlyDirectories?: boolean;
37
- onlyFiles?: boolean;
38
- debug?: boolean;
39
- }
40
- declare function glob(patterns: string | string[], options?: Omit<GlobOptions, "patterns">): Promise<string[]>;
41
- declare function glob(options: GlobOptions): Promise<string[]>;
42
- declare function globSync(patterns: string | string[], options?: Omit<GlobOptions, "patterns">): string[];
43
- declare function globSync(options: GlobOptions): string[];
44
-
45
- export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern };
46
- export type { GlobOptions };