@automattic/vip 4.1.4 → 4.1.5
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/cmd/vip-next/commands/devenv.go +1 -0
- package/cmd/vip-next/commands/devenv_envvar.go +6 -0
- package/cmd/vip-next/commands/devenv_lifecycle.go +7 -0
- package/cmd/vip-next/commands/devenv_resolve.go +15 -3
- package/cmd/vip-next/commands/devenv_telemetry.go +265 -0
- package/cmd/vip-next/commands/devenv_telemetry_test.go +322 -0
- package/dist/lib/dev-environment/dev-environment-cli.js +8 -5
- package/node_modules/@apollo/client/CHANGELOG.md +6 -0
- package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs +27 -1
- package/node_modules/@apollo/client/__cjs/react/hooks/useLazyQuery.cjs.map +1 -1
- package/node_modules/@apollo/client/__cjs/version.cjs +1 -1
- package/node_modules/@apollo/client/package.json +1 -1
- package/node_modules/@apollo/client/react/hooks/useLazyQuery.js +27 -1
- package/node_modules/@apollo/client/react/hooks/useLazyQuery.js.map +1 -1
- package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js +27 -1
- package/node_modules/@apollo/client/react/hooks-compiled/useLazyQuery.js.map +1 -1
- package/node_modules/@apollo/client/version.js +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/child_process.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +20 -8
- package/node_modules/@types/node/ffi.d.ts +14 -0
- package/node_modules/@types/node/http2.d.ts +3 -2
- package/node_modules/@types/node/net.d.ts +16 -4
- package/node_modules/@types/node/package.json +2 -17
- package/node_modules/@types/node/process.d.ts +1 -0
- package/node_modules/@types/node/quic.d.ts +39 -1
- package/node_modules/@types/node/stream/iter.d.ts +9 -12
- package/node_modules/@types/node/test/reporters.d.ts +1 -0
- package/node_modules/@types/node/test.d.ts +72 -0
- package/node_modules/@types/node/tls.d.ts +14 -10
- package/node_modules/@types/node/vm.d.ts +2 -1
- package/node_modules/@types/node/worker_threads.d.ts +4 -1
- package/node_modules/socket.io-client/README.md +1 -0
- package/node_modules/socket.io-client/build/cjs/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/cjs/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/cjs/manager.js +17 -7
- package/node_modules/socket.io-client/build/cjs/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/cjs/socket.js +0 -1
- package/node_modules/socket.io-client/build/esm/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/esm/index.js +1 -1
- package/node_modules/socket.io-client/build/esm/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/esm/package.json +1 -1
- package/node_modules/socket.io-client/build/esm/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/esm/socket.js +0 -1
- package/node_modules/socket.io-client/build/esm-debug/index.d.ts +3 -3
- package/node_modules/socket.io-client/build/esm-debug/index.js +1 -1
- package/node_modules/socket.io-client/build/esm-debug/manager.d.ts +1 -2
- package/node_modules/socket.io-client/build/esm-debug/package.json +1 -1
- package/node_modules/socket.io-client/build/esm-debug/socket.d.ts +5 -2
- package/node_modules/socket.io-client/build/esm-debug/socket.js +0 -1
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.js +174 -242
- package/node_modules/socket.io-client/dist/socket.io.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -1
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +3 -3
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -1
- package/node_modules/socket.io-client/package.json +2 -2
- package/node_modules/undici/README.md +10 -1
- package/node_modules/undici/docs/docs/api/Agent.md +8 -8
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +9 -6
- package/node_modules/undici/docs/docs/api/Dispatcher.md +9 -0
- package/node_modules/undici/docs/docs/api/Errors.md +25 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +10 -0
- package/node_modules/undici/docs/docs/api/Interceptors.md +4 -3
- package/node_modules/undici/docs/docs/api/Pool.md +5 -6
- package/node_modules/undici/docs/docs/index.md +10 -1
- package/node_modules/undici/lib/api/readable.js +1 -2
- package/node_modules/undici/lib/core/request.js +23 -2
- package/node_modules/undici/lib/core/util.js +0 -39
- package/node_modules/undici/lib/dispatcher/client-h1.js +11 -4
- package/node_modules/undici/lib/dispatcher/client-h2.js +52 -8
- package/node_modules/undici/lib/dispatcher/client.js +6 -1
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +21 -6
- package/node_modules/undici/lib/dispatcher/pool-base.js +63 -2
- package/node_modules/undici/lib/dispatcher/pool.js +90 -7
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +16 -3
- package/node_modules/undici/lib/handler/deduplication-handler.js +24 -11
- package/node_modules/undici/lib/handler/redirect-handler.js +5 -0
- package/node_modules/undici/lib/handler/retry-handler.js +72 -13
- package/node_modules/undici/lib/interceptor/cache.js +4 -1
- package/node_modules/undici/lib/interceptor/decompress.js +236 -69
- package/node_modules/undici/lib/web/cache/cache.js +17 -8
- package/node_modules/undici/lib/web/cache/cachestorage.js +11 -5
- package/node_modules/undici/lib/web/cookies/index.js +19 -7
- package/node_modules/undici/lib/web/cookies/util.js +3 -1
- package/node_modules/undici/lib/web/eventsource/eventsource.js +25 -1
- package/node_modules/undici/lib/web/fetch/body.js +22 -15
- package/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/node_modules/undici/lib/web/fetch/formdata.js +30 -36
- package/node_modules/undici/lib/web/fetch/headers.js +34 -31
- package/node_modules/undici/lib/web/fetch/index.js +46 -25
- package/node_modules/undici/lib/web/fetch/request.js +74 -79
- package/node_modules/undici/lib/web/fetch/response.js +43 -44
- package/node_modules/undici/lib/web/fetch/util.js +7 -7
- package/node_modules/undici/lib/web/infra/index.js +16 -1
- package/node_modules/undici/lib/web/webidl/index.js +2 -14
- package/node_modules/undici/lib/web/websocket/connection.js +33 -12
- package/node_modules/undici/lib/web/websocket/events.js +43 -26
- package/node_modules/undici/lib/web/websocket/receiver.js +2 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +13 -10
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +19 -4
- package/node_modules/undici/lib/web/websocket/websocket.js +44 -41
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/diagnostics-channel.d.ts +2 -1
- package/node_modules/undici/types/interceptors.d.ts +1 -1
- package/node_modules/undici/types/webidl.d.ts +13 -7
- package/package.json +2 -2
|
@@ -248,13 +248,22 @@ type WebidlIsFunction<T> = (arg: any) => arg is T
|
|
|
248
248
|
interface WebidlIs {
|
|
249
249
|
Request: WebidlIsFunction<undici.Request>
|
|
250
250
|
Response: WebidlIsFunction<undici.Response>
|
|
251
|
+
Headers: WebidlIsFunction<undici.Headers>
|
|
252
|
+
FormData: WebidlIsFunction<undici.FormData>
|
|
253
|
+
WebSocket: WebidlIsFunction<undici.WebSocket>
|
|
254
|
+
WebSocketError: WebidlIsFunction<undici.WebSocketError>
|
|
255
|
+
Cache: WebidlIsFunction<undici.Cache>
|
|
256
|
+
CacheStorage: WebidlIsFunction<undici.CacheStorage>
|
|
257
|
+
EventSource: WebidlIsFunction<undici.EventSource>
|
|
258
|
+
MessageEvent: WebidlIsFunction<undici.MessageEvent>
|
|
259
|
+
CloseEvent: WebidlIsFunction<undici.CloseEvent>
|
|
260
|
+
ErrorEvent: WebidlIsFunction<undici.ErrorEvent>
|
|
261
|
+
|
|
251
262
|
ReadableStream: WebidlIsFunction<ReadableStream>
|
|
252
263
|
Blob: WebidlIsFunction<Blob>
|
|
253
264
|
URLSearchParams: WebidlIsFunction<URLSearchParams>
|
|
254
265
|
File: WebidlIsFunction<File>
|
|
255
|
-
FormData: WebidlIsFunction<undici.FormData>
|
|
256
266
|
URL: WebidlIsFunction<URL>
|
|
257
|
-
WebSocketError: WebidlIsFunction<undici.WebSocketError>
|
|
258
267
|
AbortSignal: WebidlIsFunction<AbortSignal>
|
|
259
268
|
MessagePort: WebidlIsFunction<MessagePort>
|
|
260
269
|
USVString: WebidlIsFunction<string>
|
|
@@ -272,12 +281,9 @@ export interface Webidl {
|
|
|
272
281
|
attributes: WebIDLExtendedAttributes
|
|
273
282
|
|
|
274
283
|
/**
|
|
275
|
-
* @description Performs a brand-check on {@param V}
|
|
276
|
-
* {@param cls} object.
|
|
284
|
+
* @description Performs a brand-check on {@param V}.
|
|
277
285
|
*/
|
|
278
|
-
brandCheck <
|
|
279
|
-
|
|
280
|
-
brandCheckMultiple <Interfaces extends (new () => unknown)[]> (list: Interfaces): (V: any) => asserts V is Interfaces[number]
|
|
286
|
+
brandCheck <T>(V: unknown, assertion: WebidlIsFunction<T>): asserts V is T
|
|
281
287
|
|
|
282
288
|
/**
|
|
283
289
|
* @see https://webidl.spec.whatwg.org/#es-sequence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/vip",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "The VIP Javascript library & CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"typescript": "^6.0.2"
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
|
-
"@apollo/client": "4.3.
|
|
157
|
+
"@apollo/client": "4.3.1",
|
|
158
158
|
"@automattic/vip-search-replace": "^2.0.0",
|
|
159
159
|
"@json2csv/plainjs": "^7.0.3",
|
|
160
160
|
"@wwa/single-line-log": "^1.1.4",
|