@alanszp/jwt 12.0.0 → 13.0.0

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.
Files changed (155) hide show
  1. package/babel.config.js +7 -0
  2. package/dist/BitmaskUtils.d.ts +48 -0
  3. package/dist/BitmaskUtils.js +64 -0
  4. package/dist/BitmaskUtils.js.map +1 -0
  5. package/dist/BitmaskUtils.test.d.ts +1 -0
  6. package/dist/BitmaskUtils.test.js +152 -0
  7. package/dist/BitmaskUtils.test.js.map +1 -0
  8. package/dist/JWTUser.d.ts +58 -2
  9. package/dist/JWTUser.js +158 -3
  10. package/dist/JWTUser.js.map +1 -1
  11. package/dist/PermissionService.d.ts +26 -0
  12. package/dist/PermissionService.js +108 -0
  13. package/dist/PermissionService.js.map +1 -0
  14. package/dist/axiosPermissionsResolutionFactory.d.ts +4 -0
  15. package/dist/axiosPermissionsResolutionFactory.js +52 -0
  16. package/dist/axiosPermissionsResolutionFactory.js.map +1 -0
  17. package/dist/errors/NoPermissionError.d.ts +7 -0
  18. package/dist/errors/NoPermissionError.js +20 -0
  19. package/dist/errors/NoPermissionError.js.map +1 -0
  20. package/dist/errors/PermissionNotFound.d.ts +9 -0
  21. package/dist/errors/PermissionNotFound.js +24 -0
  22. package/dist/errors/PermissionNotFound.js.map +1 -0
  23. package/dist/errors/PermissionServiceError.d.ts +3 -0
  24. package/dist/errors/PermissionServiceError.js +8 -0
  25. package/dist/errors/PermissionServiceError.js.map +1 -0
  26. package/dist/errors/PermissionServiceNotInstantiated.d.ts +7 -0
  27. package/dist/errors/PermissionServiceNotInstantiated.js +17 -0
  28. package/dist/errors/PermissionServiceNotInstantiated.js.map +1 -0
  29. package/dist/errors/PermissionServiceRequestError.d.ts +9 -0
  30. package/dist/errors/PermissionServiceRequestError.js +23 -0
  31. package/dist/errors/PermissionServiceRequestError.js.map +1 -0
  32. package/dist/index.d.ts +7 -0
  33. package/dist/index.js +7 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/types.d.ts +7 -0
  36. package/jest.config.js +10 -0
  37. package/package.json +13 -5
  38. package/tsconfig.json +5 -2
  39. package/.gitignore +0 -3
  40. package/.npmignore +0 -3
  41. package/node_modules/@types/node/LICENSE +0 -21
  42. package/node_modules/@types/node/README.md +0 -15
  43. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  44. package/node_modules/@types/node/assert.d.ts +0 -996
  45. package/node_modules/@types/node/async_hooks.d.ts +0 -539
  46. package/node_modules/@types/node/buffer.d.ts +0 -2362
  47. package/node_modules/@types/node/child_process.d.ts +0 -1540
  48. package/node_modules/@types/node/cluster.d.ts +0 -432
  49. package/node_modules/@types/node/console.d.ts +0 -415
  50. package/node_modules/@types/node/constants.d.ts +0 -19
  51. package/node_modules/@types/node/crypto.d.ts +0 -4487
  52. package/node_modules/@types/node/dgram.d.ts +0 -596
  53. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  54. package/node_modules/@types/node/dns/promises.d.ts +0 -425
  55. package/node_modules/@types/node/dns.d.ts +0 -809
  56. package/node_modules/@types/node/dom-events.d.ts +0 -122
  57. package/node_modules/@types/node/domain.d.ts +0 -170
  58. package/node_modules/@types/node/events.d.ts +0 -879
  59. package/node_modules/@types/node/fs/promises.d.ts +0 -1239
  60. package/node_modules/@types/node/fs.d.ts +0 -4311
  61. package/node_modules/@types/node/globals.d.ts +0 -411
  62. package/node_modules/@types/node/globals.global.d.ts +0 -1
  63. package/node_modules/@types/node/http.d.ts +0 -1887
  64. package/node_modules/@types/node/http2.d.ts +0 -2382
  65. package/node_modules/@types/node/https.d.ts +0 -550
  66. package/node_modules/@types/node/index.d.ts +0 -88
  67. package/node_modules/@types/node/inspector.d.ts +0 -2747
  68. package/node_modules/@types/node/module.d.ts +0 -315
  69. package/node_modules/@types/node/net.d.ts +0 -949
  70. package/node_modules/@types/node/os.d.ts +0 -478
  71. package/node_modules/@types/node/package.json +0 -229
  72. package/node_modules/@types/node/path.d.ts +0 -191
  73. package/node_modules/@types/node/perf_hooks.d.ts +0 -645
  74. package/node_modules/@types/node/process.d.ts +0 -1561
  75. package/node_modules/@types/node/punycode.d.ts +0 -117
  76. package/node_modules/@types/node/querystring.d.ts +0 -141
  77. package/node_modules/@types/node/readline/promises.d.ts +0 -150
  78. package/node_modules/@types/node/readline.d.ts +0 -539
  79. package/node_modules/@types/node/repl.d.ts +0 -430
  80. package/node_modules/@types/node/stream/consumers.d.ts +0 -12
  81. package/node_modules/@types/node/stream/promises.d.ts +0 -83
  82. package/node_modules/@types/node/stream/web.d.ts +0 -366
  83. package/node_modules/@types/node/stream.d.ts +0 -1701
  84. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  85. package/node_modules/@types/node/test.d.ts +0 -1465
  86. package/node_modules/@types/node/timers/promises.d.ts +0 -93
  87. package/node_modules/@types/node/timers.d.ts +0 -240
  88. package/node_modules/@types/node/tls.d.ts +0 -1210
  89. package/node_modules/@types/node/trace_events.d.ts +0 -182
  90. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  91. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  92. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  93. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  94. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  95. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  96. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  97. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  98. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  99. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  100. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  101. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  102. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  103. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  104. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  105. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  106. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  107. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  108. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  109. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  110. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  111. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  112. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  113. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  114. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  115. package/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  116. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  117. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  118. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  119. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  120. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  121. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  122. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  123. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  124. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  125. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  126. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  127. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  128. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  129. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  130. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  131. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  132. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  133. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  134. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  135. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  136. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  137. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  138. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  139. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  140. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  141. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  142. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  143. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  144. package/node_modules/@types/node/tty.d.ts +0 -208
  145. package/node_modules/@types/node/url.d.ts +0 -927
  146. package/node_modules/@types/node/util.d.ts +0 -2183
  147. package/node_modules/@types/node/v8.d.ts +0 -764
  148. package/node_modules/@types/node/vm.d.ts +0 -903
  149. package/node_modules/@types/node/wasi.d.ts +0 -179
  150. package/node_modules/@types/node/worker_threads.d.ts +0 -691
  151. package/node_modules/@types/node/zlib.d.ts +0 -517
  152. package/src/JWTUser.ts +0 -85
  153. package/src/index.ts +0 -3
  154. package/src/jwt.ts +0 -81
  155. package/src/types.ts +0 -31
@@ -1,229 +0,0 @@
1
- {
2
- "name": "@types/node",
3
- "version": "20.11.17",
4
- "description": "TypeScript definitions for node",
5
- "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
- "license": "MIT",
7
- "contributors": [
8
- {
9
- "name": "Microsoft TypeScript",
10
- "githubUsername": "Microsoft",
11
- "url": "https://github.com/Microsoft"
12
- },
13
- {
14
- "name": "Alberto Schiabel",
15
- "githubUsername": "jkomyno",
16
- "url": "https://github.com/jkomyno"
17
- },
18
- {
19
- "name": "Alvis HT Tang",
20
- "githubUsername": "alvis",
21
- "url": "https://github.com/alvis"
22
- },
23
- {
24
- "name": "Andrew Makarov",
25
- "githubUsername": "r3nya",
26
- "url": "https://github.com/r3nya"
27
- },
28
- {
29
- "name": "Benjamin Toueg",
30
- "githubUsername": "btoueg",
31
- "url": "https://github.com/btoueg"
32
- },
33
- {
34
- "name": "Chigozirim C.",
35
- "githubUsername": "smac89",
36
- "url": "https://github.com/smac89"
37
- },
38
- {
39
- "name": "David Junger",
40
- "githubUsername": "touffy",
41
- "url": "https://github.com/touffy"
42
- },
43
- {
44
- "name": "Deividas Bakanas",
45
- "githubUsername": "DeividasBakanas",
46
- "url": "https://github.com/DeividasBakanas"
47
- },
48
- {
49
- "name": "Eugene Y. Q. Shen",
50
- "githubUsername": "eyqs",
51
- "url": "https://github.com/eyqs"
52
- },
53
- {
54
- "name": "Hannes Magnusson",
55
- "githubUsername": "Hannes-Magnusson-CK",
56
- "url": "https://github.com/Hannes-Magnusson-CK"
57
- },
58
- {
59
- "name": "Huw",
60
- "githubUsername": "hoo29",
61
- "url": "https://github.com/hoo29"
62
- },
63
- {
64
- "name": "Kelvin Jin",
65
- "githubUsername": "kjin",
66
- "url": "https://github.com/kjin"
67
- },
68
- {
69
- "name": "Klaus Meinhardt",
70
- "githubUsername": "ajafff",
71
- "url": "https://github.com/ajafff"
72
- },
73
- {
74
- "name": "Lishude",
75
- "githubUsername": "islishude",
76
- "url": "https://github.com/islishude"
77
- },
78
- {
79
- "name": "Mariusz Wiktorczyk",
80
- "githubUsername": "mwiktorczyk",
81
- "url": "https://github.com/mwiktorczyk"
82
- },
83
- {
84
- "name": "Mohsen Azimi",
85
- "githubUsername": "mohsen1",
86
- "url": "https://github.com/mohsen1"
87
- },
88
- {
89
- "name": "Nicolas Even",
90
- "githubUsername": "n-e",
91
- "url": "https://github.com/n-e"
92
- },
93
- {
94
- "name": "Nikita Galkin",
95
- "githubUsername": "galkin",
96
- "url": "https://github.com/galkin"
97
- },
98
- {
99
- "name": "Parambir Singh",
100
- "githubUsername": "parambirs",
101
- "url": "https://github.com/parambirs"
102
- },
103
- {
104
- "name": "Sebastian Silbermann",
105
- "githubUsername": "eps1lon",
106
- "url": "https://github.com/eps1lon"
107
- },
108
- {
109
- "name": "Thomas den Hollander",
110
- "githubUsername": "ThomasdenH",
111
- "url": "https://github.com/ThomasdenH"
112
- },
113
- {
114
- "name": "Wilco Bakker",
115
- "githubUsername": "WilcoBakker",
116
- "url": "https://github.com/WilcoBakker"
117
- },
118
- {
119
- "name": "wwwy3y3",
120
- "githubUsername": "wwwy3y3",
121
- "url": "https://github.com/wwwy3y3"
122
- },
123
- {
124
- "name": "Samuel Ainsworth",
125
- "githubUsername": "samuela",
126
- "url": "https://github.com/samuela"
127
- },
128
- {
129
- "name": "Kyle Uehlein",
130
- "githubUsername": "kuehlein",
131
- "url": "https://github.com/kuehlein"
132
- },
133
- {
134
- "name": "Thanik Bhongbhibhat",
135
- "githubUsername": "bhongy",
136
- "url": "https://github.com/bhongy"
137
- },
138
- {
139
- "name": "Marcin Kopacz",
140
- "githubUsername": "chyzwar",
141
- "url": "https://github.com/chyzwar"
142
- },
143
- {
144
- "name": "Trivikram Kamat",
145
- "githubUsername": "trivikr",
146
- "url": "https://github.com/trivikr"
147
- },
148
- {
149
- "name": "Junxiao Shi",
150
- "githubUsername": "yoursunny",
151
- "url": "https://github.com/yoursunny"
152
- },
153
- {
154
- "name": "Ilia Baryshnikov",
155
- "githubUsername": "qwelias",
156
- "url": "https://github.com/qwelias"
157
- },
158
- {
159
- "name": "ExE Boss",
160
- "githubUsername": "ExE-Boss",
161
- "url": "https://github.com/ExE-Boss"
162
- },
163
- {
164
- "name": "Piotr Błażejewicz",
165
- "githubUsername": "peterblazejewicz",
166
- "url": "https://github.com/peterblazejewicz"
167
- },
168
- {
169
- "name": "Anna Henningsen",
170
- "githubUsername": "addaleax",
171
- "url": "https://github.com/addaleax"
172
- },
173
- {
174
- "name": "Victor Perin",
175
- "githubUsername": "victorperin",
176
- "url": "https://github.com/victorperin"
177
- },
178
- {
179
- "name": "Yongsheng Zhang",
180
- "githubUsername": "ZYSzys",
181
- "url": "https://github.com/ZYSzys"
182
- },
183
- {
184
- "name": "NodeJS Contributors",
185
- "githubUsername": "NodeJS",
186
- "url": "https://github.com/NodeJS"
187
- },
188
- {
189
- "name": "Linus Unnebäck",
190
- "githubUsername": "LinusU",
191
- "url": "https://github.com/LinusU"
192
- },
193
- {
194
- "name": "wafuwafu13",
195
- "githubUsername": "wafuwafu13",
196
- "url": "https://github.com/wafuwafu13"
197
- },
198
- {
199
- "name": "Matteo Collina",
200
- "githubUsername": "mcollina",
201
- "url": "https://github.com/mcollina"
202
- },
203
- {
204
- "name": "Dmitry Semigradsky",
205
- "githubUsername": "Semigradsky",
206
- "url": "https://github.com/Semigradsky"
207
- }
208
- ],
209
- "main": "",
210
- "types": "index.d.ts",
211
- "typesVersions": {
212
- "<=4.8": {
213
- "*": [
214
- "ts4.8/*"
215
- ]
216
- }
217
- },
218
- "repository": {
219
- "type": "git",
220
- "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
221
- "directory": "types/node"
222
- },
223
- "scripts": {},
224
- "dependencies": {
225
- "undici-types": "~5.26.4"
226
- },
227
- "typesPublisherContentHash": "b2819dbf39a2441dc5ca106500073050f96406fa5b9b6227de273d56d6084b97",
228
- "typeScriptVersion": "4.6"
229
- }
@@ -1,191 +0,0 @@
1
- declare module "path/posix" {
2
- import path = require("path");
3
- export = path;
4
- }
5
- declare module "path/win32" {
6
- import path = require("path");
7
- export = path;
8
- }
9
- /**
10
- * The `node:path` module provides utilities for working with file and directory
11
- * paths. It can be accessed using:
12
- *
13
- * ```js
14
- * const path = require('node:path');
15
- * ```
16
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js)
17
- */
18
- declare module "path" {
19
- namespace path {
20
- /**
21
- * A parsed path object generated by path.parse() or consumed by path.format().
22
- */
23
- interface ParsedPath {
24
- /**
25
- * The root of the path such as '/' or 'c:\'
26
- */
27
- root: string;
28
- /**
29
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
30
- */
31
- dir: string;
32
- /**
33
- * The file name including extension (if any) such as 'index.html'
34
- */
35
- base: string;
36
- /**
37
- * The file extension (if any) such as '.html'
38
- */
39
- ext: string;
40
- /**
41
- * The file name without extension (if any) such as 'index'
42
- */
43
- name: string;
44
- }
45
- interface FormatInputPathObject {
46
- /**
47
- * The root of the path such as '/' or 'c:\'
48
- */
49
- root?: string | undefined;
50
- /**
51
- * The full directory path such as '/home/user/dir' or 'c:\path\dir'
52
- */
53
- dir?: string | undefined;
54
- /**
55
- * The file name including extension (if any) such as 'index.html'
56
- */
57
- base?: string | undefined;
58
- /**
59
- * The file extension (if any) such as '.html'
60
- */
61
- ext?: string | undefined;
62
- /**
63
- * The file name without extension (if any) such as 'index'
64
- */
65
- name?: string | undefined;
66
- }
67
- interface PlatformPath {
68
- /**
69
- * Normalize a string path, reducing '..' and '.' parts.
70
- * 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.
71
- *
72
- * @param path string path to normalize.
73
- * @throws {TypeError} if `path` is not a string.
74
- */
75
- normalize(path: string): string;
76
- /**
77
- * Join all arguments together and normalize the resulting path.
78
- *
79
- * @param paths paths to join.
80
- * @throws {TypeError} if any of the path segments is not a string.
81
- */
82
- join(...paths: string[]): string;
83
- /**
84
- * The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
85
- *
86
- * Starting from leftmost {from} parameter, resolves {to} to an absolute path.
87
- *
88
- * If {to} isn't already absolute, {from} arguments are prepended in right to left order,
89
- * until an absolute path is found. If after using all {from} paths still no absolute path is found,
90
- * the current working directory is used as well. The resulting path is normalized,
91
- * and trailing slashes are removed unless the path gets resolved to the root directory.
92
- *
93
- * @param paths A sequence of paths or path segments.
94
- * @throws {TypeError} if any of the arguments is not a string.
95
- */
96
- resolve(...paths: string[]): string;
97
- /**
98
- * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
99
- *
100
- * If the given {path} is a zero-length string, `false` will be returned.
101
- *
102
- * @param path path to test.
103
- * @throws {TypeError} if `path` is not a string.
104
- */
105
- isAbsolute(path: string): boolean;
106
- /**
107
- * Solve the relative path from {from} to {to} based on the current working directory.
108
- * 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.
109
- *
110
- * @throws {TypeError} if either `from` or `to` is not a string.
111
- */
112
- relative(from: string, to: string): string;
113
- /**
114
- * Return the directory name of a path. Similar to the Unix dirname command.
115
- *
116
- * @param path the path to evaluate.
117
- * @throws {TypeError} if `path` is not a string.
118
- */
119
- dirname(path: string): string;
120
- /**
121
- * Return the last portion of a path. Similar to the Unix basename command.
122
- * Often used to extract the file name from a fully qualified path.
123
- *
124
- * @param path the path to evaluate.
125
- * @param suffix optionally, an extension to remove from the result.
126
- * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string.
127
- */
128
- basename(path: string, suffix?: string): string;
129
- /**
130
- * Return the extension of the path, from the last '.' to end of string in the last portion of the path.
131
- * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
132
- *
133
- * @param path the path to evaluate.
134
- * @throws {TypeError} if `path` is not a string.
135
- */
136
- extname(path: string): string;
137
- /**
138
- * The platform-specific file separator. '\\' or '/'.
139
- */
140
- readonly sep: "\\" | "/";
141
- /**
142
- * The platform-specific file delimiter. ';' or ':'.
143
- */
144
- readonly delimiter: ";" | ":";
145
- /**
146
- * Returns an object from a path string - the opposite of format().
147
- *
148
- * @param path path to evaluate.
149
- * @throws {TypeError} if `path` is not a string.
150
- */
151
- parse(path: string): ParsedPath;
152
- /**
153
- * Returns a path string from an object - the opposite of parse().
154
- *
155
- * @param pathObject path to evaluate.
156
- */
157
- format(pathObject: FormatInputPathObject): string;
158
- /**
159
- * On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
160
- * If path is not a string, path will be returned without modifications.
161
- * This method is meaningful only on Windows system.
162
- * On POSIX systems, the method is non-operational and always returns path without modifications.
163
- */
164
- toNamespacedPath(path: string): string;
165
- /**
166
- * Posix specific pathing.
167
- * Same as parent object on posix.
168
- */
169
- readonly posix: PlatformPath;
170
- /**
171
- * Windows specific pathing.
172
- * Same as parent object on windows
173
- */
174
- readonly win32: PlatformPath;
175
- }
176
- }
177
- const path: path.PlatformPath;
178
- export = path;
179
- }
180
- declare module "node:path" {
181
- import path = require("path");
182
- export = path;
183
- }
184
- declare module "node:path/posix" {
185
- import path = require("path/posix");
186
- export = path;
187
- }
188
- declare module "node:path/win32" {
189
- import path = require("path/win32");
190
- export = path;
191
- }