omegon 0.6.8 → 0.6.10

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 (133) hide show
  1. package/extensions/cleave/dispatcher.ts +32 -6
  2. package/extensions/cleave/index.ts +21 -3
  3. package/extensions/cleave/subprocess-tracker.ts +72 -0
  4. package/extensions/project-memory/extraction-v2.ts +206 -434
  5. package/extensions/project-memory/index.ts +89 -182
  6. package/extensions/project-memory/llm-direct.ts +260 -0
  7. package/extensions/project-memory/types.ts +3 -3
  8. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/README.md +3 -0
  9. package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
  10. package/node_modules/@mariozechner/{clipboard-darwin-arm64 → clipboard-linux-x64-gnu}/package.json +8 -5
  11. package/node_modules/@styrene-lab/pi-ai/dist/cli.js +0 -0
  12. package/node_modules/@types/node/README.md +2 -2
  13. package/node_modules/@types/node/assert/strict.d.ts +5 -11
  14. package/node_modules/@types/node/assert.d.ts +11 -171
  15. package/node_modules/@types/node/async_hooks.d.ts +8 -8
  16. package/node_modules/@types/node/buffer.buffer.d.ts +1 -7
  17. package/node_modules/@types/node/buffer.d.ts +44 -168
  18. package/node_modules/@types/node/child_process.d.ts +21 -64
  19. package/node_modules/@types/node/cluster.d.ts +240 -332
  20. package/node_modules/@types/node/console.d.ts +49 -351
  21. package/node_modules/@types/node/constants.d.ts +3 -4
  22. package/node_modules/@types/node/crypto.d.ts +287 -1639
  23. package/node_modules/@types/node/dgram.d.ts +15 -51
  24. package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
  25. package/node_modules/@types/node/dns/promises.d.ts +3 -3
  26. package/node_modules/@types/node/dns.d.ts +131 -132
  27. package/node_modules/@types/node/domain.d.ts +13 -17
  28. package/node_modules/@types/node/events.d.ts +866 -795
  29. package/node_modules/@types/node/fs/promises.d.ts +7 -8
  30. package/node_modules/@types/node/fs.d.ts +419 -455
  31. package/node_modules/@types/node/globals.d.ts +6 -26
  32. package/node_modules/@types/node/globals.typedarray.d.ts +60 -0
  33. package/node_modules/@types/node/http.d.ts +310 -276
  34. package/node_modules/@types/node/http2.d.ts +528 -804
  35. package/node_modules/@types/node/https.d.ts +63 -243
  36. package/node_modules/@types/node/index.d.ts +15 -1
  37. package/node_modules/@types/node/inspector/promises.d.ts +41 -0
  38. package/node_modules/@types/node/inspector.d.ts +42 -50
  39. package/node_modules/@types/node/inspector.generated.d.ts +572 -417
  40. package/node_modules/@types/node/module.d.ts +47 -195
  41. package/node_modules/@types/node/net.d.ts +68 -189
  42. package/node_modules/@types/node/os.d.ts +6 -6
  43. package/node_modules/@types/node/package.json +3 -3
  44. package/node_modules/@types/node/path/posix.d.ts +8 -0
  45. package/node_modules/@types/node/path/win32.d.ts +8 -0
  46. package/node_modules/@types/node/path.d.ts +120 -133
  47. package/node_modules/@types/node/perf_hooks.d.ts +244 -643
  48. package/node_modules/@types/node/process.d.ts +219 -127
  49. package/node_modules/@types/node/punycode.d.ts +5 -5
  50. package/node_modules/@types/node/querystring.d.ts +4 -4
  51. package/node_modules/@types/node/quic.d.ts +910 -0
  52. package/node_modules/@types/node/readline/promises.d.ts +3 -3
  53. package/node_modules/@types/node/readline.d.ts +68 -120
  54. package/node_modules/@types/node/repl.d.ts +75 -98
  55. package/node_modules/@types/node/sea.d.ts +1 -1
  56. package/node_modules/@types/node/sqlite.d.ts +137 -30
  57. package/node_modules/@types/node/stream/consumers.d.ts +10 -10
  58. package/node_modules/@types/node/stream/promises.d.ts +136 -15
  59. package/node_modules/@types/node/stream/web.d.ts +176 -453
  60. package/node_modules/@types/node/stream.d.ts +565 -478
  61. package/node_modules/@types/node/string_decoder.d.ts +4 -4
  62. package/node_modules/@types/node/test/reporters.d.ts +96 -0
  63. package/node_modules/@types/node/test.d.ts +134 -199
  64. package/node_modules/@types/node/timers/promises.d.ts +4 -4
  65. package/node_modules/@types/node/timers.d.ts +4 -130
  66. package/node_modules/@types/node/tls.d.ts +109 -179
  67. package/node_modules/@types/node/trace_events.d.ts +9 -9
  68. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -7
  69. package/node_modules/@types/node/ts5.6/index.d.ts +15 -1
  70. package/node_modules/@types/node/ts5.7/index.d.ts +15 -1
  71. package/node_modules/@types/node/tty.d.ts +58 -16
  72. package/node_modules/@types/node/url.d.ts +78 -594
  73. package/node_modules/@types/node/util/types.d.ts +558 -0
  74. package/node_modules/@types/node/util.d.ts +150 -796
  75. package/node_modules/@types/node/v8.d.ts +31 -21
  76. package/node_modules/@types/node/vm.d.ts +43 -30
  77. package/node_modules/@types/node/wasi.d.ts +4 -4
  78. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
  79. package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
  80. package/node_modules/@types/node/web-globals/console.d.ts +9 -0
  81. package/node_modules/@types/node/web-globals/crypto.d.ts +7 -0
  82. package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
  83. package/node_modules/@types/node/web-globals/events.d.ts +9 -0
  84. package/node_modules/@types/node/web-globals/fetch.d.ts +7 -0
  85. package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
  86. package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
  87. package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
  88. package/node_modules/@types/node/web-globals/streams.d.ts +93 -0
  89. package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
  90. package/node_modules/@types/node/web-globals/url.d.ts +24 -0
  91. package/node_modules/@types/node/worker_threads.d.ts +186 -363
  92. package/node_modules/@types/node/zlib.d.ts +8 -71
  93. package/node_modules/cliui/CHANGELOG.md +121 -0
  94. package/node_modules/color-convert/CHANGELOG.md +54 -0
  95. package/node_modules/esprima/ChangeLog +235 -0
  96. package/node_modules/mz/HISTORY.md +66 -0
  97. package/node_modules/proper-lockfile/CHANGELOG.md +108 -0
  98. package/node_modules/source-map/CHANGELOG.md +301 -0
  99. package/node_modules/thenify/History.md +11 -0
  100. package/node_modules/thenify-all/History.md +11 -0
  101. package/node_modules/undici-types/agent.d.ts +1 -1
  102. package/node_modules/undici-types/api.d.ts +2 -2
  103. package/node_modules/undici-types/balanced-pool.d.ts +2 -1
  104. package/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  105. package/node_modules/undici-types/client.d.ts +1 -1
  106. package/node_modules/undici-types/connector.d.ts +2 -2
  107. package/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  108. package/node_modules/undici-types/dispatcher.d.ts +12 -12
  109. package/node_modules/undici-types/fetch.d.ts +4 -4
  110. package/node_modules/undici-types/formdata.d.ts +1 -1
  111. package/node_modules/undici-types/h2c-client.d.ts +1 -1
  112. package/node_modules/undici-types/index.d.ts +9 -1
  113. package/node_modules/undici-types/interceptors.d.ts +36 -2
  114. package/node_modules/undici-types/package.json +1 -1
  115. package/node_modules/undici-types/pool.d.ts +1 -1
  116. package/node_modules/undici-types/readable.d.ts +2 -2
  117. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  118. package/node_modules/undici-types/websocket.d.ts +9 -9
  119. package/node_modules/which/CHANGELOG.md +166 -0
  120. package/node_modules/y18n/CHANGELOG.md +100 -0
  121. package/node_modules/yargs/CHANGELOG.md +88 -0
  122. package/node_modules/yargs-parser/CHANGELOG.md +263 -0
  123. package/package.json +5 -5
  124. package/extensions/render/composition/package-lock.json +0 -534
  125. package/node_modules/@mariozechner/clipboard-darwin-arm64/README.md +0 -3
  126. package/node_modules/@mariozechner/clipboard-darwin-arm64/clipboard.darwin-arm64.node +0 -0
  127. package/node_modules/@mariozechner/clipboard-darwin-universal/README.md +0 -3
  128. package/node_modules/@mariozechner/clipboard-darwin-universal/clipboard.darwin-universal.node +0 -0
  129. package/node_modules/@mariozechner/clipboard-darwin-universal/package.json +0 -19
  130. /package/node_modules/{p-retry/node_modules/@types → @types}/retry/LICENSE +0 -0
  131. /package/node_modules/{p-retry/node_modules/@types → @types}/retry/README.md +0 -0
  132. /package/node_modules/{p-retry/node_modules/@types → @types}/retry/index.d.ts +0 -0
  133. /package/node_modules/{p-retry/node_modules/@types → @types}/retry/package.json +0 -0
@@ -0,0 +1,108 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
+
5
+ <a name="4.1.2"></a>
6
+ ## [4.1.2](https://github.com/moxystudio/node-proper-lockfile/compare/v4.1.1...v4.1.2) (2021-01-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix node 14 updating graceful-fs ([#102](https://github.com/moxystudio/node-proper-lockfile/issues/102)) ([b0d988e](https://github.com/moxystudio/node-proper-lockfile/commit/b0d988e))
12
+
13
+
14
+
15
+ <a name="4.1.1"></a>
16
+ ## [4.1.1](https://github.com/moxystudio/node-proper-lockfile/compare/v4.1.0...v4.1.1) (2019-04-03)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * fix mtime precision on some filesystems ([#88](https://github.com/moxystudio/node-proper-lockfile/issues/88)) ([f266158](https://github.com/moxystudio/node-proper-lockfile/commit/f266158)), closes [#82](https://github.com/moxystudio/node-proper-lockfile/issues/82) [#87](https://github.com/moxystudio/node-proper-lockfile/issues/87)
22
+
23
+
24
+
25
+ <a name="4.1.0"></a>
26
+ # [4.1.0](https://github.com/moxystudio/node-proper-lockfile/compare/v4.0.0...v4.1.0) (2019-03-18)
27
+
28
+
29
+ ### Features
30
+
31
+ * allow second precision in mtime comparison ([#78](https://github.com/moxystudio/node-proper-lockfile/issues/78)) ([b2816a6](https://github.com/moxystudio/node-proper-lockfile/commit/b2816a6))
32
+
33
+
34
+
35
+ <a name="4.0.0"></a>
36
+ # [4.0.0](https://github.com/moxystudio/node-proper-lockfile/compare/v3.2.0...v4.0.0) (2019-03-12)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * fix typo in error message ([#68](https://github.com/moxystudio/node-proper-lockfile/issues/68)) ([b91cb55](https://github.com/moxystudio/node-proper-lockfile/commit/b91cb55))
42
+
43
+
44
+ ### Features
45
+
46
+ * make staleness check more robust ([#74](https://github.com/moxystudio/node-proper-lockfile/issues/74)) ([9cc0973](https://github.com/moxystudio/node-proper-lockfile/commit/9cc0973)), closes [#71](https://github.com/moxystudio/node-proper-lockfile/issues/71) [/github.com/ipfs/js-ipfs-repo/issues/188#issuecomment-468682971](https://github.com//github.com/ipfs/js-ipfs-repo/issues/188/issues/issuecomment-468682971)
47
+
48
+
49
+ ### BREAKING CHANGES
50
+
51
+ * We were marking the lock as compromised when system went into sleep or if the event loop was busy taking too long to run the internals timers, Now we keep track of the mtime updated by the current process, and if we lose some cycles in the update process but recover and the mtime is still ours we do not mark the lock as compromised.
52
+
53
+
54
+
55
+ <a name="3.2.0"></a>
56
+ # [3.2.0](https://github.com/moxystudio/node-proper-lockfile/compare/v3.1.0...v3.2.0) (2018-11-19)
57
+
58
+
59
+ ### Features
60
+
61
+ * add lock path option ([#66](https://github.com/moxystudio/node-proper-lockfile/issues/66)) ([32f1b8d](https://github.com/moxystudio/node-proper-lockfile/commit/32f1b8d))
62
+
63
+
64
+
65
+ <a name="3.1.0"></a>
66
+ # [3.1.0](https://github.com/moxystudio/node-proper-lockfile/compare/v3.0.2...v3.1.0) (2018-11-15)
67
+
68
+
69
+ ### Bug Fixes
70
+
71
+ * **package:** update retry to version 0.12.0 ([#50](https://github.com/moxystudio/node-proper-lockfile/issues/50)) ([d400b98](https://github.com/moxystudio/node-proper-lockfile/commit/d400b98))
72
+
73
+
74
+ ### Features
75
+
76
+ * add signal exit ([#65](https://github.com/moxystudio/node-proper-lockfile/issues/65)) ([f20bc45](https://github.com/moxystudio/node-proper-lockfile/commit/f20bc45))
77
+
78
+
79
+
80
+ <a name="3.0.2"></a>
81
+ ## [3.0.2](https://github.com/moxystudio/node-proper-lockfile/compare/v3.0.1...v3.0.2) (2018-01-30)
82
+
83
+
84
+
85
+ <a name="3.0.1"></a>
86
+ ## [3.0.1](https://github.com/moxystudio/node-proper-lockfile/compare/v3.0.0...v3.0.1) (2018-01-20)
87
+
88
+
89
+ ### Bug Fixes
90
+
91
+ * restore ability to use lockfile() directly ([0ef8fbc](https://github.com/moxystudio/node-proper-lockfile/commit/0ef8fbc))
92
+
93
+
94
+
95
+ <a name="3.0.0"></a>
96
+ # [3.0.0](https://github.com/moxystudio/node-proper-lockfile/compare/v2.0.1...v3.0.0) (2018-01-20)
97
+
98
+
99
+ ### Chores
100
+
101
+ * update project to latest node lts ([b1d43e5](https://github.com/moxystudio/node-proper-lockfile/commit/b1d43e5))
102
+
103
+
104
+ ### BREAKING CHANGES
105
+
106
+ * remove callback support
107
+ * use of node lts language features such as object spread
108
+ * compromised function in lock() has been moved to an option
@@ -0,0 +1,301 @@
1
+ # Change Log
2
+
3
+ ## 0.5.6
4
+
5
+ * Fix for regression when people were using numbers as names in source maps. See
6
+ #236.
7
+
8
+ ## 0.5.5
9
+
10
+ * Fix "regression" of unsupported, implementation behavior that half the world
11
+ happens to have come to depend on. See #235.
12
+
13
+ * Fix regression involving function hoisting in SpiderMonkey. See #233.
14
+
15
+ ## 0.5.4
16
+
17
+ * Large performance improvements to source-map serialization. See #228 and #229.
18
+
19
+ ## 0.5.3
20
+
21
+ * Do not include unnecessary distribution files. See
22
+ commit ef7006f8d1647e0a83fdc60f04f5a7ca54886f86.
23
+
24
+ ## 0.5.2
25
+
26
+ * Include browser distributions of the library in package.json's `files`. See
27
+ issue #212.
28
+
29
+ ## 0.5.1
30
+
31
+ * Fix latent bugs in IndexedSourceMapConsumer.prototype._parseMappings. See
32
+ ff05274becc9e6e1295ed60f3ea090d31d843379.
33
+
34
+ ## 0.5.0
35
+
36
+ * Node 0.8 is no longer supported.
37
+
38
+ * Use webpack instead of dryice for bundling.
39
+
40
+ * Big speedups serializing source maps. See pull request #203.
41
+
42
+ * Fix a bug with `SourceMapConsumer.prototype.sourceContentFor` and sources that
43
+ explicitly start with the source root. See issue #199.
44
+
45
+ ## 0.4.4
46
+
47
+ * Fix an issue where using a `SourceMapGenerator` after having created a
48
+ `SourceMapConsumer` from it via `SourceMapConsumer.fromSourceMap` failed. See
49
+ issue #191.
50
+
51
+ * Fix an issue with where `SourceMapGenerator` would mistakenly consider
52
+ different mappings as duplicates of each other and avoid generating them. See
53
+ issue #192.
54
+
55
+ ## 0.4.3
56
+
57
+ * A very large number of performance improvements, particularly when parsing
58
+ source maps. Collectively about 75% of time shaved off of the source map
59
+ parsing benchmark!
60
+
61
+ * Fix a bug in `SourceMapConsumer.prototype.allGeneratedPositionsFor` and fuzzy
62
+ searching in the presence of a column option. See issue #177.
63
+
64
+ * Fix a bug with joining a source and its source root when the source is above
65
+ the root. See issue #182.
66
+
67
+ * Add the `SourceMapConsumer.prototype.hasContentsOfAllSources` method to
68
+ determine when all sources' contents are inlined into the source map. See
69
+ issue #190.
70
+
71
+ ## 0.4.2
72
+
73
+ * Add an `.npmignore` file so that the benchmarks aren't pulled down by
74
+ dependent projects. Issue #169.
75
+
76
+ * Add an optional `column` argument to
77
+ `SourceMapConsumer.prototype.allGeneratedPositionsFor` and better handle lines
78
+ with no mappings. Issues #172 and #173.
79
+
80
+ ## 0.4.1
81
+
82
+ * Fix accidentally defining a global variable. #170.
83
+
84
+ ## 0.4.0
85
+
86
+ * The default direction for fuzzy searching was changed back to its original
87
+ direction. See #164.
88
+
89
+ * There is now a `bias` option you can supply to `SourceMapConsumer` to control
90
+ the fuzzy searching direction. See #167.
91
+
92
+ * About an 8% speed up in parsing source maps. See #159.
93
+
94
+ * Added a benchmark for parsing and generating source maps.
95
+
96
+ ## 0.3.0
97
+
98
+ * Change the default direction that searching for positions fuzzes when there is
99
+ not an exact match. See #154.
100
+
101
+ * Support for environments using json2.js for JSON serialization. See #156.
102
+
103
+ ## 0.2.0
104
+
105
+ * Support for consuming "indexed" source maps which do not have any remote
106
+ sections. See pull request #127. This introduces a minor backwards
107
+ incompatibility if you are monkey patching `SourceMapConsumer.prototype`
108
+ methods.
109
+
110
+ ## 0.1.43
111
+
112
+ * Performance improvements for `SourceMapGenerator` and `SourceNode`. See issue
113
+ #148 for some discussion and issues #150, #151, and #152 for implementations.
114
+
115
+ ## 0.1.42
116
+
117
+ * Fix an issue where `SourceNode`s from different versions of the source-map
118
+ library couldn't be used in conjunction with each other. See issue #142.
119
+
120
+ ## 0.1.41
121
+
122
+ * Fix a bug with getting the source content of relative sources with a "./"
123
+ prefix. See issue #145 and [Bug 1090768](bugzil.la/1090768).
124
+
125
+ * Add the `SourceMapConsumer.prototype.computeColumnSpans` method to compute the
126
+ column span of each mapping.
127
+
128
+ * Add the `SourceMapConsumer.prototype.allGeneratedPositionsFor` method to find
129
+ all generated positions associated with a given original source and line.
130
+
131
+ ## 0.1.40
132
+
133
+ * Performance improvements for parsing source maps in SourceMapConsumer.
134
+
135
+ ## 0.1.39
136
+
137
+ * Fix a bug where setting a source's contents to null before any source content
138
+ had been set before threw a TypeError. See issue #131.
139
+
140
+ ## 0.1.38
141
+
142
+ * Fix a bug where finding relative paths from an empty path were creating
143
+ absolute paths. See issue #129.
144
+
145
+ ## 0.1.37
146
+
147
+ * Fix a bug where if the source root was an empty string, relative source paths
148
+ would turn into absolute source paths. Issue #124.
149
+
150
+ ## 0.1.36
151
+
152
+ * Allow the `names` mapping property to be an empty string. Issue #121.
153
+
154
+ ## 0.1.35
155
+
156
+ * A third optional parameter was added to `SourceNode.fromStringWithSourceMap`
157
+ to specify a path that relative sources in the second parameter should be
158
+ relative to. Issue #105.
159
+
160
+ * If no file property is given to a `SourceMapGenerator`, then the resulting
161
+ source map will no longer have a `null` file property. The property will
162
+ simply not exist. Issue #104.
163
+
164
+ * Fixed a bug where consecutive newlines were ignored in `SourceNode`s.
165
+ Issue #116.
166
+
167
+ ## 0.1.34
168
+
169
+ * Make `SourceNode` work with windows style ("\r\n") newlines. Issue #103.
170
+
171
+ * Fix bug involving source contents and the
172
+ `SourceMapGenerator.prototype.applySourceMap`. Issue #100.
173
+
174
+ ## 0.1.33
175
+
176
+ * Fix some edge cases surrounding path joining and URL resolution.
177
+
178
+ * Add a third parameter for relative path to
179
+ `SourceMapGenerator.prototype.applySourceMap`.
180
+
181
+ * Fix issues with mappings and EOLs.
182
+
183
+ ## 0.1.32
184
+
185
+ * Fixed a bug where SourceMapConsumer couldn't handle negative relative columns
186
+ (issue 92).
187
+
188
+ * Fixed test runner to actually report number of failed tests as its process
189
+ exit code.
190
+
191
+ * Fixed a typo when reporting bad mappings (issue 87).
192
+
193
+ ## 0.1.31
194
+
195
+ * Delay parsing the mappings in SourceMapConsumer until queried for a source
196
+ location.
197
+
198
+ * Support Sass source maps (which at the time of writing deviate from the spec
199
+ in small ways) in SourceMapConsumer.
200
+
201
+ ## 0.1.30
202
+
203
+ * Do not join source root with a source, when the source is a data URI.
204
+
205
+ * Extend the test runner to allow running single specific test files at a time.
206
+
207
+ * Performance improvements in `SourceNode.prototype.walk` and
208
+ `SourceMapConsumer.prototype.eachMapping`.
209
+
210
+ * Source map browser builds will now work inside Workers.
211
+
212
+ * Better error messages when attempting to add an invalid mapping to a
213
+ `SourceMapGenerator`.
214
+
215
+ ## 0.1.29
216
+
217
+ * Allow duplicate entries in the `names` and `sources` arrays of source maps
218
+ (usually from TypeScript) we are parsing. Fixes github issue 72.
219
+
220
+ ## 0.1.28
221
+
222
+ * Skip duplicate mappings when creating source maps from SourceNode; github
223
+ issue 75.
224
+
225
+ ## 0.1.27
226
+
227
+ * Don't throw an error when the `file` property is missing in SourceMapConsumer,
228
+ we don't use it anyway.
229
+
230
+ ## 0.1.26
231
+
232
+ * Fix SourceNode.fromStringWithSourceMap for empty maps. Fixes github issue 70.
233
+
234
+ ## 0.1.25
235
+
236
+ * Make compatible with browserify
237
+
238
+ ## 0.1.24
239
+
240
+ * Fix issue with absolute paths and `file://` URIs. See
241
+ https://bugzilla.mozilla.org/show_bug.cgi?id=885597
242
+
243
+ ## 0.1.23
244
+
245
+ * Fix issue with absolute paths and sourcesContent, github issue 64.
246
+
247
+ ## 0.1.22
248
+
249
+ * Ignore duplicate mappings in SourceMapGenerator. Fixes github issue 21.
250
+
251
+ ## 0.1.21
252
+
253
+ * Fixed handling of sources that start with a slash so that they are relative to
254
+ the source root's host.
255
+
256
+ ## 0.1.20
257
+
258
+ * Fixed github issue #43: absolute URLs aren't joined with the source root
259
+ anymore.
260
+
261
+ ## 0.1.19
262
+
263
+ * Using Travis CI to run tests.
264
+
265
+ ## 0.1.18
266
+
267
+ * Fixed a bug in the handling of sourceRoot.
268
+
269
+ ## 0.1.17
270
+
271
+ * Added SourceNode.fromStringWithSourceMap.
272
+
273
+ ## 0.1.16
274
+
275
+ * Added missing documentation.
276
+
277
+ * Fixed the generating of empty mappings in SourceNode.
278
+
279
+ ## 0.1.15
280
+
281
+ * Added SourceMapGenerator.applySourceMap.
282
+
283
+ ## 0.1.14
284
+
285
+ * The sourceRoot is now handled consistently.
286
+
287
+ ## 0.1.13
288
+
289
+ * Added SourceMapGenerator.fromSourceMap.
290
+
291
+ ## 0.1.12
292
+
293
+ * SourceNode now generates empty mappings too.
294
+
295
+ ## 0.1.11
296
+
297
+ * Added name support to SourceNode.
298
+
299
+ ## 0.1.10
300
+
301
+ * Added sourcesContent support to the customer and generator.
@@ -0,0 +1,11 @@
1
+
2
+ 3.3.1 / 2020-06-18
3
+ ==================
4
+
5
+ **fixes**
6
+ * [[`0d94a24`](http://github.com/thenables/thenify/commit/0d94a24eb933bc835d568f3009f4d269c4c4c17a)] - fix: remove eval (#30) (Yiyu He <<dead_horse@qq.com>>)
7
+
8
+ 3.3.0 / 2017-05-19
9
+ ==================
10
+
11
+ * feat: support options.multiArgs and options.withCallback (#27)
@@ -0,0 +1,11 @@
1
+
2
+ 1.6.0 / 2015-01-11
3
+ ==================
4
+
5
+ * feat: exports thenify
6
+ * support node 0.8+
7
+
8
+ 1.5.0 / 2015-01-09
9
+ ==================
10
+
11
+ * feat: support backward compatible with callback
@@ -1,4 +1,4 @@
1
- import { URL } from 'url'
1
+ import { URL } from 'node:url'
2
2
  import Pool from './pool'
3
3
  import Dispatcher from './dispatcher'
4
4
  import TClientStats from './client-stats'
@@ -1,5 +1,5 @@
1
- import { URL, UrlObject } from 'url'
2
- import { Duplex } from 'stream'
1
+ import { URL, UrlObject } from 'node:url'
2
+ import { Duplex } from 'node:stream'
3
3
  import Dispatcher from './dispatcher'
4
4
 
5
5
  /** Performs an HTTP request. */
@@ -1,6 +1,6 @@
1
1
  import Pool from './pool'
2
2
  import Dispatcher from './dispatcher'
3
- import { URL } from 'url'
3
+ import { URL } from 'node:url'
4
4
 
5
5
  export default BalancedPool
6
6
 
@@ -11,6 +11,7 @@ declare class BalancedPool extends Dispatcher {
11
11
 
12
12
  addUpstream (upstream: string | URL): BalancedPool
13
13
  removeUpstream (upstream: string | URL): BalancedPool
14
+ getUpstream (upstream: string | URL): Pool | undefined
14
15
  upstreams: Array<string>
15
16
 
16
17
  /** `true` after `pool.close()` has been called. */
@@ -38,6 +38,7 @@ declare namespace CacheHandler {
38
38
  * @default 'shared'
39
39
  */
40
40
  type?: 'shared' | 'private'
41
+
41
42
  }
42
43
 
43
44
  export interface CacheControlDirectives {
@@ -1,4 +1,4 @@
1
- import { URL } from 'url'
1
+ import { URL } from 'node:url'
2
2
  import Dispatcher from './dispatcher'
3
3
  import buildConnector from './connector'
4
4
  import TClientStats from './client-stats'
@@ -1,5 +1,5 @@
1
- import { TLSSocket, ConnectionOptions } from 'tls'
2
- import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'net'
1
+ import { TLSSocket, ConnectionOptions } from 'node:tls'
2
+ import { IpcNetConnectOpts, Socket, TcpNetConnectOpts } from 'node:net'
3
3
 
4
4
  export default buildConnector
5
5
  declare function buildConnector (options?: buildConnector.BuildOptions): buildConnector.connector
@@ -1,5 +1,5 @@
1
- import { Socket } from 'net'
2
- import { URL } from 'url'
1
+ import { Socket } from 'node:net'
2
+ import { URL } from 'node:url'
3
3
  import buildConnector from './connector'
4
4
  import Dispatcher from './dispatcher'
5
5
 
@@ -1,7 +1,7 @@
1
- import { URL } from 'url'
2
- import { Duplex, Readable, Writable } from 'stream'
3
- import { EventEmitter } from 'events'
4
- import { Blob } from 'buffer'
1
+ import { URL } from 'node:url'
2
+ import { Duplex, Readable, Writable } from 'node:stream'
3
+ import { EventEmitter } from 'node:events'
4
+ import { Blob } from 'node:buffer'
5
5
  import { IncomingHttpHeaders } from './header'
6
6
  import BodyReadable from './readable'
7
7
  import { FormData } from './formdata'
@@ -19,30 +19,30 @@ declare class Dispatcher extends EventEmitter {
19
19
  /** Dispatches a request. This API is expected to evolve through semver-major versions and is less stable than the preceding higher level APIs. It is primarily intended for library developers who implement higher level APIs on top of this. */
20
20
  dispatch (options: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandler): boolean
21
21
  /** Starts two-way communications with the requested resource. */
22
- connect<TOpaque = null>(options: Dispatcher.ConnectOptions<TOpaque>): Promise<Dispatcher.ConnectData<TOpaque>>
23
22
  connect<TOpaque = null>(options: Dispatcher.ConnectOptions<TOpaque>, callback: (err: Error | null, data: Dispatcher.ConnectData<TOpaque>) => void): void
23
+ connect<TOpaque = null>(options: Dispatcher.ConnectOptions<TOpaque>): Promise<Dispatcher.ConnectData<TOpaque>>
24
24
  /** Compose a chain of dispatchers */
25
25
  compose (dispatchers: Dispatcher.DispatcherComposeInterceptor[]): Dispatcher.ComposedDispatcher
26
26
  compose (...dispatchers: Dispatcher.DispatcherComposeInterceptor[]): Dispatcher.ComposedDispatcher
27
27
  /** Performs an HTTP request. */
28
- request<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>): Promise<Dispatcher.ResponseData<TOpaque>>
29
28
  request<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>, callback: (err: Error | null, data: Dispatcher.ResponseData<TOpaque>) => void): void
29
+ request<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>): Promise<Dispatcher.ResponseData<TOpaque>>
30
30
  /** For easy use with `stream.pipeline`. */
31
31
  pipeline<TOpaque = null>(options: Dispatcher.PipelineOptions<TOpaque>, handler: Dispatcher.PipelineHandler<TOpaque>): Duplex
32
32
  /** A faster version of `Dispatcher.request`. */
33
- stream<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>, factory: Dispatcher.StreamFactory<TOpaque>): Promise<Dispatcher.StreamData<TOpaque>>
34
33
  stream<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>, factory: Dispatcher.StreamFactory<TOpaque>, callback: (err: Error | null, data: Dispatcher.StreamData<TOpaque>) => void): void
34
+ stream<TOpaque = null>(options: Dispatcher.RequestOptions<TOpaque>, factory: Dispatcher.StreamFactory<TOpaque>): Promise<Dispatcher.StreamData<TOpaque>>
35
35
  /** Upgrade to a different protocol. */
36
- upgrade (options: Dispatcher.UpgradeOptions): Promise<Dispatcher.UpgradeData>
37
36
  upgrade (options: Dispatcher.UpgradeOptions, callback: (err: Error | null, data: Dispatcher.UpgradeData) => void): void
37
+ upgrade (options: Dispatcher.UpgradeOptions): Promise<Dispatcher.UpgradeData>
38
38
  /** Closes the client and gracefully waits for enqueued requests to complete before invoking the callback (or returning a promise if no callback is provided). */
39
- close (): Promise<void>
40
39
  close (callback: () => void): void
40
+ close (): Promise<void>
41
41
  /** Destroy the client abruptly with the given err. All the pending and running requests will be asynchronously aborted and error. Waits until socket is closed before invoking the callback (or returning a promise if no callback is provided). Since this operation is asynchronously dispatched there might still be some progress on dispatched requests. */
42
- destroy (): Promise<void>
43
- destroy (err: Error | null): Promise<void>
44
- destroy (callback: () => void): void
45
42
  destroy (err: Error | null, callback: () => void): void
43
+ destroy (callback: () => void): void
44
+ destroy (err: Error | null): Promise<void>
45
+ destroy (): Promise<void>
46
46
 
47
47
  on (eventName: 'connect', callback: (origin: URL, targets: readonly Dispatcher[]) => void): this
48
48
  on (eventName: 'disconnect', callback: (origin: URL, targets: readonly Dispatcher[], error: Errors.UndiciError) => void): this
@@ -2,9 +2,9 @@
2
2
  // and https://github.com/node-fetch/node-fetch/blob/914ce6be5ec67a8bab63d68510aabf07cb818b6d/index.d.ts (MIT license)
3
3
  /// <reference types="node" />
4
4
 
5
- import { Blob } from 'buffer'
6
- import { URL, URLSearchParams } from 'url'
7
- import { ReadableStream } from 'stream/web'
5
+ import { Blob } from 'node:buffer'
6
+ import { URL, URLSearchParams } from 'node:url'
7
+ import { ReadableStream } from 'node:stream/web'
8
8
  import { FormData } from './formdata'
9
9
  import { HeaderRecord } from './header'
10
10
  import Dispatcher from './dispatcher'
@@ -207,5 +207,5 @@ export declare class Response extends BodyMixin {
207
207
 
208
208
  static error (): Response
209
209
  static json (data: any, init?: ResponseInit): Response
210
- static redirect (url: string | URL, status: ResponseRedirectStatus): Response
210
+ static redirect (url: string | URL, status?: ResponseRedirectStatus): Response
211
211
  }
@@ -1,7 +1,7 @@
1
1
  // Based on https://github.com/octet-stream/form-data/blob/2d0f0dc371517444ce1f22cdde13f51995d0953a/lib/FormData.ts (MIT)
2
2
  /// <reference types="node" />
3
3
 
4
- import { File } from 'buffer'
4
+ import { File } from 'node:buffer'
5
5
  import { SpecIterableIterator } from './fetch'
6
6
 
7
7
  /**
@@ -1,4 +1,4 @@
1
- import { URL } from 'url'
1
+ import { URL } from 'node:url'
2
2
  import Dispatcher from './dispatcher'
3
3
  import buildConnector from './connector'
4
4
 
@@ -5,6 +5,7 @@ import Pool from './pool'
5
5
  import { RedirectHandler, DecoratorHandler } from './handlers'
6
6
 
7
7
  import BalancedPool from './balanced-pool'
8
+ import RoundRobinPool from './round-robin-pool'
8
9
  import Client from './client'
9
10
  import H2CClient from './h2c-client'
10
11
  import buildConnector from './connector'
@@ -23,6 +24,12 @@ import RetryAgent from './retry-agent'
23
24
  import { request, pipeline, stream, connect, upgrade } from './api'
24
25
  import interceptors from './interceptors'
25
26
 
27
+ import CacheInterceptor from './cache-interceptor'
28
+ declare const cacheStores: {
29
+ MemoryCacheStore: typeof CacheInterceptor.MemoryCacheStore;
30
+ SqliteCacheStore: typeof CacheInterceptor.SqliteCacheStore;
31
+ }
32
+
26
33
  export * from './util'
27
34
  export * from './cookies'
28
35
  export * from './eventsource'
@@ -36,7 +43,7 @@ export { Interceptable } from './mock-interceptor'
36
43
 
37
44
  declare function globalThisInstall (): void
38
45
 
39
- export { Dispatcher, BalancedPool, Pool, Client, buildConnector, errors, Agent, request, stream, pipeline, connect, upgrade, setGlobalDispatcher, getGlobalDispatcher, setGlobalOrigin, getGlobalOrigin, interceptors, MockClient, MockPool, MockAgent, SnapshotAgent, MockCallHistory, MockCallHistoryLog, mockErrors, ProxyAgent, EnvHttpProxyAgent, RedirectHandler, DecoratorHandler, RetryHandler, RetryAgent, H2CClient, globalThisInstall as install }
46
+ export { Dispatcher, BalancedPool, RoundRobinPool, Pool, Client, buildConnector, errors, Agent, request, stream, pipeline, connect, upgrade, setGlobalDispatcher, getGlobalDispatcher, setGlobalOrigin, getGlobalOrigin, interceptors, cacheStores, MockClient, MockPool, MockAgent, SnapshotAgent, MockCallHistory, MockCallHistoryLog, mockErrors, ProxyAgent, EnvHttpProxyAgent, RedirectHandler, DecoratorHandler, RetryHandler, RetryAgent, H2CClient, globalThisInstall as install }
40
47
  export default Undici
41
48
 
42
49
  declare namespace Undici {
@@ -46,6 +53,7 @@ declare namespace Undici {
46
53
  const DecoratorHandler: typeof import ('./handlers').DecoratorHandler
47
54
  const RetryHandler: typeof import ('./retry-handler').default
48
55
  const BalancedPool: typeof import('./balanced-pool').default
56
+ const RoundRobinPool: typeof import('./round-robin-pool').default
49
57
  const Client: typeof import('./client').default
50
58
  const H2CClient: typeof import('./h2c-client').default
51
59
  const buildConnector: typeof import('./connector').default