@zuplo/cli 6.70.56 → 6.70.59
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/node_modules/@fastify/reply-from/node_modules/undici/lib/global.js +10 -1
- package/node_modules/@fastify/reply-from/node_modules/undici/package.json +1 -1
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-IASCNBZZ.js → chunk-AQGS5CID.js} +66 -66
- package/node_modules/@zuplo/runtime/out/esm/chunk-AQGS5CID.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +12 -12
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/types/index.d.ts +3 -1
- package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +28 -0
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/protobufjs/dist/light/protobuf.js +7 -5
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.js +7 -5
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/converter.js +4 -2
- package/node_modules/protobufjs/src/roots.js +1 -1
- package/package.json +6 -6
- package/node_modules/@zuplo/runtime/out/esm/chunk-IASCNBZZ.js.map +0 -1
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-IASCNBZZ.js.LEGAL.txt → chunk-AQGS5CID.js.LEGAL.txt} +0 -0
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
// We include a version number for the Dispatcher API. In case of breaking changes,
|
|
4
4
|
// this version number must be increased to avoid conflicts.
|
|
5
|
-
const globalDispatcher = Symbol.for('undici.globalDispatcher.
|
|
5
|
+
const globalDispatcher = Symbol.for('undici.globalDispatcher.2')
|
|
6
|
+
const legacyGlobalDispatcher = Symbol.for('undici.globalDispatcher.1')
|
|
6
7
|
const { InvalidArgumentError } = require('./core/errors')
|
|
7
8
|
const Agent = require('./dispatcher/agent')
|
|
8
9
|
|
|
@@ -14,12 +15,20 @@ function setGlobalDispatcher (agent) {
|
|
|
14
15
|
if (!agent || typeof agent.dispatch !== 'function') {
|
|
15
16
|
throw new InvalidArgumentError('Argument agent must implement Agent')
|
|
16
17
|
}
|
|
18
|
+
|
|
17
19
|
Object.defineProperty(globalThis, globalDispatcher, {
|
|
18
20
|
value: agent,
|
|
19
21
|
writable: true,
|
|
20
22
|
enumerable: false,
|
|
21
23
|
configurable: false
|
|
22
24
|
})
|
|
25
|
+
|
|
26
|
+
Object.defineProperty(globalThis, legacyGlobalDispatcher, {
|
|
27
|
+
value: agent,
|
|
28
|
+
writable: true,
|
|
29
|
+
enumerable: false,
|
|
30
|
+
configurable: false
|
|
31
|
+
})
|
|
23
32
|
}
|
|
24
33
|
|
|
25
34
|
function getGlobalDispatcher () {
|