@arokodev/cli 0.1.0-alpha.5 → 0.1.0-alpha.8

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 (167) hide show
  1. package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts +12 -12
  2. package/node_modules/@pairmesh/client/dist/build-info.generated.js +6 -6
  3. package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js +1 -1
  4. package/node_modules/@pairmesh/client/dist/session/schemas.d.ts +10 -10
  5. package/node_modules/@pairmesh/client/dist/session/schemas.d.ts.map +1 -1
  6. package/node_modules/@pairmesh/client/package.json +5 -5
  7. package/node_modules/@pairmesh/coordination/package.json +5 -5
  8. package/node_modules/@pairmesh/mcp/package.json +5 -5
  9. package/node_modules/@pairmesh/permissions/package.json +2 -2
  10. package/node_modules/@pairmesh/protocol/dist/action.d.ts +1 -1
  11. package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts +1 -1
  12. package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts +1 -1
  13. package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts.map +1 -1
  14. package/node_modules/@pairmesh/protocol/dist/inspection.d.ts +2 -2
  15. package/node_modules/@pairmesh/protocol/dist/pairing.d.ts +1 -1
  16. package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts +1 -1
  17. package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts.map +1 -1
  18. package/node_modules/@pairmesh/protocol/package.json +2 -2
  19. package/node_modules/@pairmesh/shared/package.json +1 -1
  20. package/node_modules/body-parser/README.md +17 -13
  21. package/node_modules/body-parser/lib/read.js +74 -57
  22. package/node_modules/body-parser/lib/types/json.js +11 -11
  23. package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
  24. package/node_modules/body-parser/lib/utils.js +0 -15
  25. package/node_modules/body-parser/package.json +7 -12
  26. package/node_modules/encodeurl/README.md +14 -0
  27. package/node_modules/encodeurl/index.js +9 -11
  28. package/node_modules/encodeurl/package.json +13 -6
  29. package/node_modules/jose/README.md +2 -2
  30. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +5 -4
  31. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +4 -4
  32. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +5 -4
  33. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +5 -5
  34. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +5 -4
  35. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +5 -5
  36. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +5 -4
  37. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +5 -5
  38. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -4
  39. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +6 -5
  40. package/node_modules/jose/dist/types/jws/general/sign.d.ts +9 -6
  41. package/node_modules/jose/dist/types/jws/general/verify.d.ts +7 -5
  42. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +10 -6
  43. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +1 -1
  44. package/node_modules/jose/dist/types/jwt/sign.d.ts +1 -1
  45. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +3 -1
  46. package/node_modules/jose/dist/types/jwt/verify.d.ts +6 -5
  47. package/node_modules/jose/dist/types/key/export.d.ts +1 -1
  48. package/node_modules/jose/dist/types/key/generate_secret.d.ts +1 -1
  49. package/node_modules/jose/dist/types/key/import.d.ts +2 -2
  50. package/node_modules/jose/dist/types/types.d.ts +173 -107
  51. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +3 -2
  52. package/node_modules/jose/dist/types/util/errors.d.ts +1 -1
  53. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  54. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +3 -3
  55. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +8 -8
  56. package/node_modules/jose/dist/webapi/jwks/local.js +2 -1
  57. package/node_modules/jose/dist/webapi/jwks/remote.js +6 -4
  58. package/node_modules/jose/dist/webapi/jws/general/sign.js +3 -3
  59. package/node_modules/jose/dist/webapi/jws/general/verify.js +5 -11
  60. package/node_modules/jose/dist/webapi/jwt/encrypt.js +6 -9
  61. package/node_modules/jose/dist/webapi/jwt/sign.js +2 -2
  62. package/node_modules/jose/dist/webapi/jwt/unsecured.js +3 -3
  63. package/node_modules/jose/dist/webapi/key/generate_secret.js +4 -4
  64. package/node_modules/jose/dist/webapi/lib/asn1.js +2 -2
  65. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +4 -4
  66. package/node_modules/jose/dist/webapi/lib/content_encryption.js +8 -8
  67. package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
  68. package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +26 -23
  69. package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +5 -5
  70. package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +2 -2
  71. package/node_modules/jose/dist/webapi/lib/jws_sign.js +11 -11
  72. package/node_modules/jose/dist/webapi/lib/jws_verify.js +19 -16
  73. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +48 -44
  74. package/node_modules/jose/dist/webapi/lib/key.js +6 -4
  75. package/node_modules/jose/dist/webapi/lib/key_management.js +17 -18
  76. package/node_modules/jose/dist/webapi/lib/validate.js +10 -10
  77. package/node_modules/jose/dist/webapi/util/decode_jwt.js +12 -12
  78. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +5 -5
  79. package/node_modules/jose/package.json +1 -1
  80. package/node_modules/object-inspect/CHANGELOG.md +31 -0
  81. package/node_modules/object-inspect/index.js +326 -24
  82. package/node_modules/object-inspect/package.json +22 -13
  83. package/node_modules/object-inspect/readme.markdown +4 -1
  84. package/node_modules/object-inspect/stringWidth.js +68 -0
  85. package/node_modules/object-inspect/stringWidthRanges.js +38 -0
  86. package/node_modules/on-finished/index.js +14 -2
  87. package/node_modules/on-finished/package.json +11 -7
  88. package/node_modules/qs/.editorconfig +1 -1
  89. package/node_modules/qs/.github/THREAT_MODEL.md +4 -2
  90. package/node_modules/qs/CHANGELOG.md +103 -14
  91. package/node_modules/qs/README.md +90 -9
  92. package/node_modules/qs/dist/qs.js +19 -19
  93. package/node_modules/qs/eslint.config.mjs +61 -50
  94. package/node_modules/qs/lib/formats.js +7 -2
  95. package/node_modules/qs/lib/parse.js +121 -12
  96. package/node_modules/qs/lib/stringify.js +9 -7
  97. package/node_modules/qs/lib/utils.js +158 -15
  98. package/node_modules/qs/package.json +8 -8
  99. package/node_modules/qs/test/parse.js +509 -2
  100. package/node_modules/qs/test/stringify.js +485 -33
  101. package/node_modules/qs/test/utils.js +245 -3
  102. package/node_modules/router/HISTORY.md +67 -52
  103. package/node_modules/router/README.md +222 -2
  104. package/node_modules/router/index.d.ts +188 -0
  105. package/node_modules/router/index.js +86 -50
  106. package/node_modules/router/lib/layer.js +154 -47
  107. package/node_modules/router/lib/param.js +47 -0
  108. package/node_modules/router/lib/route.d.ts +118 -0
  109. package/node_modules/router/lib/route.js +14 -8
  110. package/node_modules/router/lib/symbols.js +4 -0
  111. package/node_modules/router/lib/tracing.js +173 -0
  112. package/node_modules/router/package.json +24 -9
  113. package/node_modules/ws/README.md +22 -31
  114. package/node_modules/ws/lib/buffer-util.js +13 -2
  115. package/node_modules/ws/lib/receiver.js +8 -0
  116. package/node_modules/ws/lib/sender.js +4 -1
  117. package/node_modules/ws/lib/websocket-server.js +3 -0
  118. package/node_modules/ws/lib/websocket.js +66 -16
  119. package/node_modules/ws/package.json +1 -1
  120. package/node_modules/zod/package.json +1 -1
  121. package/node_modules/zod/src/v4/classic/tests/array.test.ts +27 -0
  122. package/node_modules/zod/src/v4/classic/tests/map.test.ts +7 -0
  123. package/node_modules/zod/src/v4/classic/tests/set.test.ts +6 -0
  124. package/node_modules/zod/src/v4/core/compile.ts +9 -0
  125. package/node_modules/zod/src/v4/core/schemas.ts +35 -1
  126. package/node_modules/zod/src/v4/core/util.ts +13 -0
  127. package/node_modules/zod/src/v4/core/versions.ts +1 -1
  128. package/node_modules/zod/v4/core/compile.cjs +8 -0
  129. package/node_modules/zod/v4/core/compile.js +8 -0
  130. package/node_modules/zod/v4/core/schemas.cjs +30 -0
  131. package/node_modules/zod/v4/core/schemas.d.cts +3 -1
  132. package/node_modules/zod/v4/core/schemas.d.ts +3 -1
  133. package/node_modules/zod/v4/core/schemas.js +30 -0
  134. package/node_modules/zod/v4/core/util.cjs +15 -0
  135. package/node_modules/zod/v4/core/util.d.cts +2 -0
  136. package/node_modules/zod/v4/core/util.d.ts +2 -0
  137. package/node_modules/zod/v4/core/util.js +14 -0
  138. package/node_modules/zod/v4/core/versions.cjs +1 -1
  139. package/node_modules/zod/v4/core/versions.js +1 -1
  140. package/package.json +7 -7
  141. package/node_modules/object-inspect/.eslintrc +0 -53
  142. package/node_modules/object-inspect/.nycrc +0 -13
  143. package/node_modules/object-inspect/example/all.js +0 -23
  144. package/node_modules/object-inspect/example/circular.js +0 -6
  145. package/node_modules/object-inspect/example/fn.js +0 -5
  146. package/node_modules/object-inspect/example/inspect.js +0 -10
  147. package/node_modules/object-inspect/test/bigint.js +0 -58
  148. package/node_modules/object-inspect/test/browser/dom.js +0 -15
  149. package/node_modules/object-inspect/test/circular.js +0 -16
  150. package/node_modules/object-inspect/test/deep.js +0 -12
  151. package/node_modules/object-inspect/test/element.js +0 -53
  152. package/node_modules/object-inspect/test/err.js +0 -48
  153. package/node_modules/object-inspect/test/fakes.js +0 -29
  154. package/node_modules/object-inspect/test/fn.js +0 -76
  155. package/node_modules/object-inspect/test/global.js +0 -17
  156. package/node_modules/object-inspect/test/has.js +0 -15
  157. package/node_modules/object-inspect/test/holes.js +0 -15
  158. package/node_modules/object-inspect/test/indent-option.js +0 -271
  159. package/node_modules/object-inspect/test/inspect.js +0 -139
  160. package/node_modules/object-inspect/test/lowbyte.js +0 -12
  161. package/node_modules/object-inspect/test/number.js +0 -58
  162. package/node_modules/object-inspect/test/quoteStyle.js +0 -26
  163. package/node_modules/object-inspect/test/toStringTag.js +0 -40
  164. package/node_modules/object-inspect/test/undef.js +0 -12
  165. package/node_modules/object-inspect/test/values.js +0 -261
  166. package/node_modules/object-inspect/test-core-js.js +0 -26
  167. package/node_modules/on-finished/HISTORY.md +0 -98
@@ -1,261 +0,0 @@
1
- 'use strict';
2
-
3
- var inspect = require('../');
4
- var test = require('tape');
5
- var mockProperty = require('mock-property');
6
- var hasSymbols = require('has-symbols/shams')();
7
- var hasToStringTag = require('has-tostringtag/shams')();
8
- var forEach = require('for-each');
9
- var semver = require('semver');
10
-
11
- test('values', function (t) {
12
- t.plan(1);
13
- var obj = [{}, [], { 'a-b': 5 }];
14
- t.equal(inspect(obj), '[ {}, [], { \'a-b\': 5 } ]');
15
- });
16
-
17
- test('arrays with properties', function (t) {
18
- t.plan(1);
19
- var arr = [3];
20
- arr.foo = 'bar';
21
- var obj = [1, 2, arr];
22
- obj.baz = 'quux';
23
- obj.index = -1;
24
- t.equal(inspect(obj), '[ 1, 2, [ 3, foo: \'bar\' ], baz: \'quux\', index: -1 ]');
25
- });
26
-
27
- test('has', function (t) {
28
- t.plan(1);
29
- t.teardown(mockProperty(Object.prototype, 'hasOwnProperty', { 'delete': true }));
30
-
31
- t.equal(inspect({ a: 1, b: 2 }), '{ a: 1, b: 2 }');
32
- });
33
-
34
- test('indexOf seen', function (t) {
35
- t.plan(1);
36
- var xs = [1, 2, 3, {}];
37
- xs.push(xs);
38
-
39
- var seen = [];
40
- seen.indexOf = undefined;
41
-
42
- t.equal(
43
- inspect(xs, {}, 0, seen),
44
- '[ 1, 2, 3, {}, [Circular] ]'
45
- );
46
- });
47
-
48
- test('seen seen', function (t) {
49
- t.plan(1);
50
- var xs = [1, 2, 3];
51
-
52
- var seen = [xs];
53
- seen.indexOf = undefined;
54
-
55
- t.equal(
56
- inspect(xs, {}, 0, seen),
57
- '[Circular]'
58
- );
59
- });
60
-
61
- test('seen seen seen', function (t) {
62
- t.plan(1);
63
- var xs = [1, 2, 3];
64
-
65
- var seen = [5, xs];
66
- seen.indexOf = undefined;
67
-
68
- t.equal(
69
- inspect(xs, {}, 0, seen),
70
- '[Circular]'
71
- );
72
- });
73
-
74
- test('symbols', { skip: !hasSymbols }, function (t) {
75
- var sym = Symbol('foo');
76
- t.equal(inspect(sym), 'Symbol(foo)', 'Symbol("foo") should be "Symbol(foo)"');
77
- if (typeof sym === 'symbol') {
78
- // Symbol shams are incapable of differentiating boxed from unboxed symbols
79
- t.equal(inspect(Object(sym)), 'Object(Symbol(foo))', 'Object(Symbol("foo")) should be "Object(Symbol(foo))"');
80
- }
81
-
82
- t.test('toStringTag', { skip: !hasToStringTag }, function (st) {
83
- st.plan(1);
84
-
85
- var faker = {};
86
- faker[Symbol.toStringTag] = 'Symbol';
87
- st.equal(
88
- inspect(faker),
89
- '{ [Symbol(Symbol.toStringTag)]: \'Symbol\' }',
90
- 'object lying about being a Symbol inspects as an object'
91
- );
92
- });
93
-
94
- t.end();
95
- });
96
-
97
- test('Map', { skip: typeof Map !== 'function' }, function (t) {
98
- var map = new Map();
99
- map.set({ a: 1 }, ['b']);
100
- map.set(3, NaN);
101
- var expectedString = 'Map (2) {' + inspect({ a: 1 }) + ' => ' + inspect(['b']) + ', 3 => NaN}';
102
- t.equal(inspect(map), expectedString, 'new Map([[{ a: 1 }, ["b"]], [3, NaN]]) should show size and contents');
103
- t.equal(inspect(new Map()), 'Map (0) {}', 'empty Map should show as empty');
104
-
105
- var nestedMap = new Map();
106
- nestedMap.set(nestedMap, map);
107
- t.equal(inspect(nestedMap), 'Map (1) {[Circular] => ' + expectedString + '}', 'Map containing a Map should work');
108
-
109
- t.end();
110
- });
111
-
112
- test('WeakMap', { skip: typeof WeakMap !== 'function' }, function (t) {
113
- var map = new WeakMap();
114
- map.set({ a: 1 }, ['b']);
115
- var expectedString = 'WeakMap { ? }';
116
- t.equal(inspect(map), expectedString, 'new WeakMap([[{ a: 1 }, ["b"]]]) should not show size or contents');
117
- t.equal(inspect(new WeakMap()), 'WeakMap { ? }', 'empty WeakMap should not show as empty');
118
-
119
- t.end();
120
- });
121
-
122
- test('Set', { skip: typeof Set !== 'function' }, function (t) {
123
- var set = new Set();
124
- set.add({ a: 1 });
125
- set.add(['b']);
126
- var expectedString = 'Set (2) {' + inspect({ a: 1 }) + ', ' + inspect(['b']) + '}';
127
- t.equal(inspect(set), expectedString, 'new Set([{ a: 1 }, ["b"]]) should show size and contents');
128
- t.equal(inspect(new Set()), 'Set (0) {}', 'empty Set should show as empty');
129
-
130
- var nestedSet = new Set();
131
- nestedSet.add(set);
132
- nestedSet.add(nestedSet);
133
- t.equal(inspect(nestedSet), 'Set (2) {' + expectedString + ', [Circular]}', 'Set containing a Set should work');
134
-
135
- t.end();
136
- });
137
-
138
- test('WeakSet', { skip: typeof WeakSet !== 'function' }, function (t) {
139
- var map = new WeakSet();
140
- map.add({ a: 1 });
141
- var expectedString = 'WeakSet { ? }';
142
- t.equal(inspect(map), expectedString, 'new WeakSet([{ a: 1 }]) should not show size or contents');
143
- t.equal(inspect(new WeakSet()), 'WeakSet { ? }', 'empty WeakSet should not show as empty');
144
-
145
- t.end();
146
- });
147
-
148
- test('WeakRef', { skip: typeof WeakRef !== 'function' }, function (t) {
149
- var ref = new WeakRef({ a: 1 });
150
- var expectedString = 'WeakRef { ? }';
151
- t.equal(inspect(ref), expectedString, 'new WeakRef({ a: 1 }) should not show contents');
152
-
153
- t.end();
154
- });
155
-
156
- test('FinalizationRegistry', { skip: typeof FinalizationRegistry !== 'function' }, function (t) {
157
- var registry = new FinalizationRegistry(function () {});
158
- var expectedString = 'FinalizationRegistry [FinalizationRegistry] {}';
159
- t.equal(inspect(registry), expectedString, 'new FinalizationRegistry(function () {}) should work normallys');
160
-
161
- t.end();
162
- });
163
-
164
- test('Strings', function (t) {
165
- var str = 'abc';
166
-
167
- t.equal(inspect(str), "'" + str + "'", 'primitive string shows as such');
168
- t.equal(inspect(str, { quoteStyle: 'single' }), "'" + str + "'", 'primitive string shows as such, single quoted');
169
- t.equal(inspect(str, { quoteStyle: 'double' }), '"' + str + '"', 'primitive string shows as such, double quoted');
170
- t.equal(inspect(Object(str)), 'Object(' + inspect(str) + ')', 'String object shows as such');
171
- t.equal(inspect(Object(str), { quoteStyle: 'single' }), 'Object(' + inspect(str, { quoteStyle: 'single' }) + ')', 'String object shows as such, single quoted');
172
- t.equal(inspect(Object(str), { quoteStyle: 'double' }), 'Object(' + inspect(str, { quoteStyle: 'double' }) + ')', 'String object shows as such, double quoted');
173
-
174
- t.end();
175
- });
176
-
177
- test('Numbers', function (t) {
178
- var num = 42;
179
-
180
- t.equal(inspect(num), String(num), 'primitive number shows as such');
181
- t.equal(inspect(Object(num)), 'Object(' + inspect(num) + ')', 'Number object shows as such');
182
-
183
- t.end();
184
- });
185
-
186
- test('Booleans', function (t) {
187
- t.equal(inspect(true), String(true), 'primitive true shows as such');
188
- t.equal(inspect(Object(true)), 'Object(' + inspect(true) + ')', 'Boolean object true shows as such');
189
-
190
- t.equal(inspect(false), String(false), 'primitive false shows as such');
191
- t.equal(inspect(Object(false)), 'Object(' + inspect(false) + ')', 'Boolean false object shows as such');
192
-
193
- t.end();
194
- });
195
-
196
- test('Date', function (t) {
197
- var now = new Date();
198
- t.equal(inspect(now), String(now), 'Date shows properly');
199
- t.equal(inspect(new Date(NaN)), 'Invalid Date', 'Invalid Date shows properly');
200
-
201
- t.end();
202
- });
203
-
204
- test('RegExps', function (t) {
205
- t.equal(inspect(/a/g), '/a/g', 'regex shows properly');
206
- t.equal(inspect(new RegExp('abc', 'i')), '/abc/i', 'new RegExp shows properly');
207
-
208
- var match = 'abc abc'.match(/[ab]+/);
209
- delete match.groups; // for node < 10
210
- t.equal(inspect(match), '[ \'ab\', index: 0, input: \'abc abc\' ]', 'RegExp match object shows properly');
211
-
212
- t.end();
213
- });
214
-
215
- test('Proxies', { skip: typeof Proxy !== 'function' || !hasToStringTag }, function (t) {
216
- var target = { proxy: true };
217
- var fake = new Proxy(target, { has: function () { return false; } });
218
-
219
- // needed to work around a weird difference in node v6.0 - v6.4 where non-present properties are not logged
220
- var isNode60 = semver.satisfies(process.version, '6.0 - 6.4');
221
-
222
- forEach([
223
- 'Boolean',
224
- 'Number',
225
- 'String',
226
- 'Symbol',
227
- 'Date'
228
- ], function (tag) {
229
- target[Symbol.toStringTag] = tag;
230
-
231
- t.equal(
232
- inspect(fake),
233
- '{ ' + (isNode60 ? '' : 'proxy: true, ') + '[Symbol(Symbol.toStringTag)]: \'' + tag + '\' }',
234
- 'Proxy for + ' + tag + ' shows as the target, which has no slots'
235
- );
236
- });
237
-
238
- t.end();
239
- });
240
-
241
- test('fakers', { skip: !hasToStringTag }, function (t) {
242
- var target = { proxy: false };
243
-
244
- forEach([
245
- 'Boolean',
246
- 'Number',
247
- 'String',
248
- 'Symbol',
249
- 'Date'
250
- ], function (tag) {
251
- target[Symbol.toStringTag] = tag;
252
-
253
- t.equal(
254
- inspect(target),
255
- '{ proxy: false, [Symbol(Symbol.toStringTag)]: \'' + tag + '\' }',
256
- 'Object pretending to be ' + tag + ' does not trick us'
257
- );
258
- });
259
-
260
- t.end();
261
- });
@@ -1,26 +0,0 @@
1
- 'use strict';
2
-
3
- require('core-js');
4
-
5
- var inspect = require('./');
6
- var test = require('tape');
7
-
8
- test('Maps', function (t) {
9
- t.equal(inspect(new Map([[1, 2]])), 'Map (1) {1 => 2}');
10
- t.end();
11
- });
12
-
13
- test('WeakMaps', function (t) {
14
- t.equal(inspect(new WeakMap([[{}, 2]])), 'WeakMap { ? }');
15
- t.end();
16
- });
17
-
18
- test('Sets', function (t) {
19
- t.equal(inspect(new Set([[1, 2]])), 'Set (1) {[ 1, 2 ]}');
20
- t.end();
21
- });
22
-
23
- test('WeakSets', function (t) {
24
- t.equal(inspect(new WeakSet([[1, 2]])), 'WeakSet { ? }');
25
- t.end();
26
- });
@@ -1,98 +0,0 @@
1
- 2.4.1 / 2022-02-22
2
- ==================
3
-
4
- * Fix error on early async hooks implementations
5
-
6
- 2.4.0 / 2022-02-21
7
- ==================
8
-
9
- * Prevent loss of async hooks context
10
-
11
- 2.3.0 / 2015-05-26
12
- ==================
13
-
14
- * Add defined behavior for HTTP `CONNECT` requests
15
- * Add defined behavior for HTTP `Upgrade` requests
16
- * deps: ee-first@1.1.1
17
-
18
- 2.2.1 / 2015-04-22
19
- ==================
20
-
21
- * Fix `isFinished(req)` when data buffered
22
-
23
- 2.2.0 / 2014-12-22
24
- ==================
25
-
26
- * Add message object to callback arguments
27
-
28
- 2.1.1 / 2014-10-22
29
- ==================
30
-
31
- * Fix handling of pipelined requests
32
-
33
- 2.1.0 / 2014-08-16
34
- ==================
35
-
36
- * Check if `socket` is detached
37
- * Return `undefined` for `isFinished` if state unknown
38
-
39
- 2.0.0 / 2014-08-16
40
- ==================
41
-
42
- * Add `isFinished` function
43
- * Move to `jshttp` organization
44
- * Remove support for plain socket argument
45
- * Rename to `on-finished`
46
- * Support both `req` and `res` as arguments
47
- * deps: ee-first@1.0.5
48
-
49
- 1.2.2 / 2014-06-10
50
- ==================
51
-
52
- * Reduce listeners added to emitters
53
- - avoids "event emitter leak" warnings when used multiple times on same request
54
-
55
- 1.2.1 / 2014-06-08
56
- ==================
57
-
58
- * Fix returned value when already finished
59
-
60
- 1.2.0 / 2014-06-05
61
- ==================
62
-
63
- * Call callback when called on already-finished socket
64
-
65
- 1.1.4 / 2014-05-27
66
- ==================
67
-
68
- * Support node.js 0.8
69
-
70
- 1.1.3 / 2014-04-30
71
- ==================
72
-
73
- * Make sure errors passed as instanceof `Error`
74
-
75
- 1.1.2 / 2014-04-18
76
- ==================
77
-
78
- * Default the `socket` to passed-in object
79
-
80
- 1.1.1 / 2014-01-16
81
- ==================
82
-
83
- * Rename module to `finished`
84
-
85
- 1.1.0 / 2013-12-25
86
- ==================
87
-
88
- * Call callback when called on already-errored socket
89
-
90
- 1.0.1 / 2013-12-20
91
- ==================
92
-
93
- * Actually pass the error to the callback
94
-
95
- 1.0.0 / 2013-12-20
96
- ==================
97
-
98
- * Initial release