diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a9908fe7..cc59d722 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "12.4.0" + ".": "12.4.1" } diff --git a/.stats.yml b/.stats.yml index 57d49f82..092344ac 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 107 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-ba7ebfd893a1c5d082d55cddaec2ff9219072c9abd96442357aad1748e421483.yml -openapi_spec_hash: 94fd98fcb8414d6c70a6ad7593ffcfa4 -config_hash: 06e26125693367671f74a6d70d1f3333 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-36cec1d12b890d6845ad299d5b91c7932665735cb23c07b66d88c0ca69f748fa.yml +openapi_spec_hash: ff994517cde080d3ec0a675d37364b6d +config_hash: 1e983ab8fc1f0ef27575b3a39f114bdc diff --git a/CHANGELOG.md b/CHANGELOG.md index 557cc4de..09844882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## 12.4.1 (2025-08-15) + +Full Changelog: [v12.4.0...v12.4.1](https://github.com/muxinc/mux-node-sdk/compare/v12.4.0...v12.4.1) + +### Features + +* add support for CDN trace and trace dimension-specific API methods ([#365](https://github.com/muxinc/mux-node-sdk/issues/365)) ([1ba1635](https://github.com/muxinc/mux-node-sdk/commit/1ba1635bfdefce6f1900fa7d7b7407a19ed560e6)) +* **mcp:** add unix socket option for remote MCP ([839d999](https://github.com/muxinc/mux-node-sdk/commit/839d999865094e8ddce0e56d1257d518b26bc858)) + + +### Bug Fixes + +* **mcp:** fix bug in header handling ([01d65d1](https://github.com/muxinc/mux-node-sdk/commit/01d65d1f88f722a71f674ffe95a65dcb9afdb2b0)) +* **mcp:** fix jq type bug ([6b46735](https://github.com/muxinc/mux-node-sdk/commit/6b46735b637051fb54809fa606ab132c08843965)) + + +### Chores + +* **deps:** update dependency node-fetch to v2.6.13 ([5f509de](https://github.com/muxinc/mux-node-sdk/commit/5f509def4f289910ebaeb692c1b4b56b117ba055)) +* **internal:** move publish config ([870995a](https://github.com/muxinc/mux-node-sdk/commit/870995abf7002274a9e8a7e7f3d9cf1e4c384b4c)) +* **internal:** update comment in script ([8f6a4a0](https://github.com/muxinc/mux-node-sdk/commit/8f6a4a0906ac902beb21d5bb46451939f064b9d7)) +* **mcp:** bump JQ version ([e5b6779](https://github.com/muxinc/mux-node-sdk/commit/e5b67797968191ab425f0fa6e52e5f2ee50242ba)) +* **mcp:** document remote server in README.md ([3344229](https://github.com/muxinc/mux-node-sdk/commit/334422990ac35284a439e084953820542a23ef89)) +* **mcp:** minor cleanup of types and package.json ([24097ba](https://github.com/muxinc/mux-node-sdk/commit/24097ba76b69b98d4fcea804c74524eef8f0bf77)) +* **mcp:** refactor streamable http transport ([8b40da7](https://github.com/muxinc/mux-node-sdk/commit/8b40da7f2f93e110794664c1811c8412ce3534f3)) +* **mcp:** update README ([2bdad30](https://github.com/muxinc/mux-node-sdk/commit/2bdad3016326d9e04b108839ffe2030ae9f4c1c0)) +* update @stainless-api/prism-cli to v5.15.0 ([6d47536](https://github.com/muxinc/mux-node-sdk/commit/6d47536322556ca25805c16dff4e5ccb3bba41c6)) + ## 12.4.0 (2025-08-05) Full Changelog: [v12.3.0...v12.4.0](https://github.com/muxinc/mux-node-sdk/compare/v12.3.0...v12.4.0) diff --git a/bin/publish-npm b/bin/publish-npm index fa2243d2..45e8aa80 100644 --- a/bin/publish-npm +++ b/bin/publish-npm @@ -58,4 +58,4 @@ else fi # Publish with the appropriate tag -yarn publish --access public --tag "$TAG" +yarn publish --tag "$TAG" diff --git a/package.json b/package.json index dbb9741f..47620ab2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mux/mux-node", - "version": "12.4.0", + "version": "12.4.1", "description": "The official TypeScript library for the Mux API", "author": "Mux ", "types": "dist/index.d.ts", @@ -13,6 +13,9 @@ "**/*" ], "private": false, + "publishConfig": { + "access": "public" + }, "scripts": { "test": "./scripts/test", "build": "./scripts/build", diff --git a/packages/mcp-server/README.md b/packages/mcp-server/README.md index aa9919b6..1fd48e54 100644 --- a/packages/mcp-server/README.md +++ b/packages/mcp-server/README.md @@ -121,6 +121,34 @@ over time, you can manually enable or disable certain capabilities: --resource=cards,accounts --operation=read --tag=kyc --no-tool=create_cards ``` +## Running remotely + +Launching the client with `--transport=http` launches the server as a remote server using Streamable HTTP transport. The `--port` setting can choose the port it will run on, and the `--socket` setting allows it to run on a Unix socket. + +Authorization can be provided via the `Authorization` header using the Basic or Bearer scheme. + +Additionally, authorization can be provided via the following headers: +| Header | Equivalent client option | Security scheme | +| --------------------------- | ------------------------ | ------------------ | +| `x-mux-token-id` | `tokenId` | accessToken | +| `x-mux-token-secret` | `tokenSecret` | accessToken | +| `x-mux-authorization-token` | `authorizationToken` | authorizationToken | + +A configuration JSON for this server might look like this, assuming the server is hosted at `http://localhost:3000`: + +```json +{ + "mcpServers": { + "mux_mux_node_api": { + "url": "http://localhost:3000", + "headers": { + "Authorization": "Basic " + } + } + } +} +``` + ## Importing the tools and server individually ```js diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index 9d811768..1f09a654 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "@mux/mcp", - "version": "12.4.0", + "version": "12.4.1", "description": "The official MCP Server for the Mux API", "author": "Mux ", "types": "dist/index.d.ts", @@ -30,7 +30,7 @@ "@mux/mux-node": "file:../../dist/", "@modelcontextprotocol/sdk": "^1.11.5", "express": "^5.1.0", - "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.2/jq-web.tar.gz", + "jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.6/jq-web.tar.gz", "yargs": "^17.7.2", "@cloudflare/cabidela": "^0.2.4", "zod": "^3.25.20", @@ -43,6 +43,7 @@ "@anthropic-ai/dxt": "^0.2.0", "@types/jest": "^29.4.0", "@types/express": "^5.0.3", + "@types/yargs": "^17.0.8", "@typescript-eslint/eslint-plugin": "8.31.1", "@typescript-eslint/parser": "8.31.1", "eslint": "^8.49.0", diff --git a/packages/mcp-server/src/filtering.ts b/packages/mcp-server/src/filtering.ts index 87eab2de..1aa9a40c 100644 --- a/packages/mcp-server/src/filtering.ts +++ b/packages/mcp-server/src/filtering.ts @@ -1,8 +1,7 @@ // @ts-nocheck import initJq from 'jq-web'; -export async function maybeFilter(args: Record | undefined, response: any): Promise { - const jqFilter = args?.['jq_filter']; +export async function maybeFilter(jqFilter: unknown | undefined, response: any): Promise { if (jqFilter && typeof jqFilter === 'string') { return await jq(response, jqFilter); } else { diff --git a/packages/mcp-server/src/headers.ts b/packages/mcp-server/src/headers.ts index 42b65fb1..11e3b759 100644 --- a/packages/mcp-server/src/headers.ts +++ b/packages/mcp-server/src/headers.ts @@ -6,11 +6,11 @@ import { IncomingMessage } from 'node:http'; export const parseAuthHeaders = (req: IncomingMessage): Partial => { if (req.headers.authorization) { - const scheme = req.headers.authorization.slice(req.headers.authorization.search(' ')); + const scheme = req.headers.authorization.split(' ')[0]!; const value = req.headers.authorization.slice(scheme.length + 1); switch (scheme) { case 'Basic': - const rawValue = Buffer.from(value).toString('base64'); + const rawValue = Buffer.from(value, 'base64').toString(); return { tokenId: rawValue.slice(0, rawValue.search(':')), tokenSecret: rawValue.slice(rawValue.search(':') + 1), diff --git a/packages/mcp-server/src/http.ts b/packages/mcp-server/src/http.ts index be3864c1..e188c9ed 100644 --- a/packages/mcp-server/src/http.ts +++ b/packages/mcp-server/src/http.ts @@ -1,3 +1,5 @@ +// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. + import { McpServer } from '@modelcontextprotocol/sdk/server/mcp'; import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js'; @@ -67,11 +69,7 @@ const del = async (req: express.Request, res: express.Response) => { }); }; -export const launchStreamableHTTPServer = async ( - options: McpOptions, - endpoints: Endpoint[], - port: number | undefined, -) => { +export const streamableHTTPApp = (options: McpOptions): express.Express => { const app = express(); app.use(express.json()); @@ -79,7 +77,23 @@ export const launchStreamableHTTPServer = async ( app.post('/', post(options)); app.delete('/', del); - console.error(`MCP Server running on streamable HTTP on port ${port}`); + return app; +}; + +export const launchStreamableHTTPServer = async ( + options: McpOptions, + endpoints: Endpoint[], + port: number | string | undefined, +) => { + const app = streamableHTTPApp(options); + const server = app.listen(port); + const address = server.address(); - app.listen(port); + if (typeof address === 'string') { + console.error(`MCP Server running on streamable HTTP at ${address}`); + } else if (address !== null) { + console.error(`MCP Server running on streamable HTTP on port ${address.port}`); + } else { + console.error(`MCP Server running on streamable HTTP on port ${port}`); + } }; diff --git a/packages/mcp-server/src/index.ts b/packages/mcp-server/src/index.ts index 7a4f1380..4c71a3bc 100644 --- a/packages/mcp-server/src/index.ts +++ b/packages/mcp-server/src/index.ts @@ -26,7 +26,7 @@ async function main() { await launchStdioServer(options, selectedTools); break; case 'http': - await launchStreamableHTTPServer(options, selectedTools, options.port); + await launchStreamableHTTPServer(options, selectedTools, options.port ?? options.socket); break; } } diff --git a/packages/mcp-server/src/options.ts b/packages/mcp-server/src/options.ts index daf58380..c290ca50 100644 --- a/packages/mcp-server/src/options.ts +++ b/packages/mcp-server/src/options.ts @@ -7,6 +7,7 @@ export type CLIOptions = McpOptions & { list: boolean; transport: 'stdio' | 'http'; port: number | undefined; + socket: string | undefined; }; export type McpOptions = { @@ -141,6 +142,10 @@ export function parseOptions(): CLIOptions { type: 'number', description: 'Port to serve on if using http transport', }) + .option('socket', { + type: 'string', + description: 'Unix socket to serve on if using http transport', + }) .help(); for (const [command, desc] of examples()) { @@ -262,6 +267,7 @@ export function parseOptions(): CLIOptions { list: argv.list || false, transport, port: argv.port, + socket: argv.socket, }; } diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts index 30c2fe16..3552b347 100644 --- a/packages/mcp-server/src/server.ts +++ b/packages/mcp-server/src/server.ts @@ -26,7 +26,7 @@ export const newMcpServer = () => new McpServer( { name: 'mux', - version: '12.4.0', + version: '12.4.1', }, { capabilities: { tools: {}, logging: {} } }, ); diff --git a/packages/mcp-server/src/tools/data/dimensions/list-values-data-dimensions.ts b/packages/mcp-server/src/tools/data/dimensions/list-values-data-dimensions.ts index 49be1346..b6003816 100644 --- a/packages/mcp-server/src/tools/data/dimensions/list-values-data-dimensions.ts +++ b/packages/mcp-server/src/tools/data/dimensions/list-values-data-dimensions.ts @@ -28,7 +28,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/errors/list-data-errors.ts b/packages/mcp-server/src/tools/data/errors/list-data-errors.ts index a925b9e6..46a2400b 100644 --- a/packages/mcp-server/src/tools/data/errors/list-data-errors.ts +++ b/packages/mcp-server/src/tools/data/errors/list-data-errors.ts @@ -25,7 +25,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/filters/list-values-data-filters.ts b/packages/mcp-server/src/tools/data/filters/list-values-data-filters.ts index 21c41cce..c36acf3d 100644 --- a/packages/mcp-server/src/tools/data/filters/list-values-data-filters.ts +++ b/packages/mcp-server/src/tools/data/filters/list-values-data-filters.ts @@ -28,7 +28,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/metrics/get-insights-data-metrics.ts b/packages/mcp-server/src/tools/data/metrics/get-insights-data-metrics.ts index 3d19a61c..b7fc4e36 100644 --- a/packages/mcp-server/src/tools/data/metrics/get-insights-data-metrics.ts +++ b/packages/mcp-server/src/tools/data/metrics/get-insights-data-metrics.ts @@ -78,7 +78,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/metrics/get-overall-values-data-metrics.ts b/packages/mcp-server/src/tools/data/metrics/get-overall-values-data-metrics.ts index 53e87b36..8912f09a 100644 --- a/packages/mcp-server/src/tools/data/metrics/get-overall-values-data-metrics.ts +++ b/packages/mcp-server/src/tools/data/metrics/get-overall-values-data-metrics.ts @@ -78,7 +78,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/metrics/get-timeseries-data-metrics.ts b/packages/mcp-server/src/tools/data/metrics/get-timeseries-data-metrics.ts index 20307715..1df2fdad 100644 --- a/packages/mcp-server/src/tools/data/metrics/get-timeseries-data-metrics.ts +++ b/packages/mcp-server/src/tools/data/metrics/get-timeseries-data-metrics.ts @@ -78,7 +78,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/metrics/list-breakdown-values-data-metrics.ts b/packages/mcp-server/src/tools/data/metrics/list-breakdown-values-data-metrics.ts index 9e216b37..f92df2b0 100644 --- a/packages/mcp-server/src/tools/data/metrics/list-breakdown-values-data-metrics.ts +++ b/packages/mcp-server/src/tools/data/metrics/list-breakdown-values-data-metrics.ts @@ -78,7 +78,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, @@ -168,6 +168,7 @@ export const tool: Tool = { 'view_cdn_edge_pop', 'view_cdn_origin', 'video_creator_id', + 'video_cdn_trace', ], }, limit: { diff --git a/packages/mcp-server/src/tools/data/metrics/list-data-metrics.ts b/packages/mcp-server/src/tools/data/metrics/list-data-metrics.ts index 87c52ff9..0277ea07 100644 --- a/packages/mcp-server/src/tools/data/metrics/list-data-metrics.ts +++ b/packages/mcp-server/src/tools/data/metrics/list-data-metrics.ts @@ -107,12 +107,13 @@ export const tool: Tool = { 'view_cdn_edge_pop', 'view_cdn_origin', 'video_creator_id', + 'video_cdn_trace', ], }, filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/packages/mcp-server/src/tools/data/video-views/list-data-video-views.ts b/packages/mcp-server/src/tools/data/video-views/list-data-video-views.ts index 887c65b8..a5ada800 100644 --- a/packages/mcp-server/src/tools/data/video-views/list-data-video-views.ts +++ b/packages/mcp-server/src/tools/data/video-views/list-data-video-views.ts @@ -30,7 +30,7 @@ export const tool: Tool = { filters: { type: 'array', description: - 'Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter.\n\nTo exclude rows that match a certain condition, prepend a `!` character to the dimension.\n\nPossible filter names are the same as returned by the List Filters endpoint.\n\nExample:\n\n * `filters[]=operating_system:windows&filters[]=!country:US`\n', + 'Filter results using key:value pairs. Must be provided as an array query string parameter.\n\n**Basic filtering:**\n* `filters[]=dimension:value` - Include rows where dimension equals value\n* `filters[]=!dimension:value` - Exclude rows where dimension equals value\n\n**For trace dimensions (like video_cdn_trace):**\n* `filters[]=+dimension:value` - Include rows where trace contains value\n* `filters[]=-dimension:value` - Exclude rows where trace contains value\n* `filters[]=dimension:[value1,value2]` - Exact trace match\n\n**Examples:**\n* `filters[]=country:US` - US views only\n* `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN\n', items: { type: 'string', }, diff --git a/scripts/mock b/scripts/mock index d2814ae6..0b28f6ea 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stainless-api/prism-cli@5.8.5 -- prism mock "$URL" + npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock "$URL" fi diff --git a/scripts/test b/scripts/test index 2049e31b..7bce0516 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! prism_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the prism command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock path/to/your.openapi.yml${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}" echo exit 1 diff --git a/src/resources/data/dimensions.ts b/src/resources/data/dimensions.ts index 4ff74213..1547b59f 100644 --- a/src/resources/data/dimensions.ts +++ b/src/resources/data/dimensions.ts @@ -87,17 +87,24 @@ export namespace DimensionsResponse { export interface DimensionListValuesParams extends BasePageParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; diff --git a/src/resources/data/errors.ts b/src/resources/data/errors.ts index f33eeeff..5fd607fd 100644 --- a/src/resources/data/errors.ts +++ b/src/resources/data/errors.ts @@ -85,17 +85,24 @@ export namespace ErrorsResponse { export interface ErrorListParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; diff --git a/src/resources/data/filters.ts b/src/resources/data/filters.ts index e59c3c5d..7a8abe16 100644 --- a/src/resources/data/filters.ts +++ b/src/resources/data/filters.ts @@ -64,17 +64,24 @@ export namespace FiltersResponse { export interface FilterListValuesParams extends BasePageParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** + * + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; diff --git a/src/resources/data/metrics.ts b/src/resources/data/metrics.ts index 94003f34..f25e7bf7 100644 --- a/src/resources/data/metrics.ts +++ b/src/resources/data/metrics.ts @@ -992,20 +992,28 @@ export interface MetricListParams { | 'video_dynamic_range_type' | 'view_cdn_edge_pop' | 'view_cdn_origin' - | 'video_creator_id'; + | 'video_creator_id' + | 'video_cdn_trace'; /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * **Examples:** + * + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; @@ -1042,17 +1050,24 @@ export interface MetricListParams { export interface MetricGetInsightsParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** + * + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; @@ -1115,17 +1130,24 @@ export interface MetricGetInsightsParams { export interface MetricGetOverallValuesParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * **Examples:** + * + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; @@ -1183,17 +1205,24 @@ export interface MetricGetOverallValuesParams { export interface MetricGetTimeseriesParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; @@ -1269,17 +1298,24 @@ export interface MetricGetTimeseriesParams { export interface MetricListBreakdownValuesParams extends BasePageParams { /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; @@ -1367,7 +1403,8 @@ export interface MetricListBreakdownValuesParams extends BasePageParams { | 'video_dynamic_range_type' | 'view_cdn_edge_pop' | 'view_cdn_origin' - | 'video_creator_id'; + | 'video_creator_id' + | 'video_cdn_trace'; /** * Measurement for the provided metric. If omitted, the default for the metric will diff --git a/src/resources/data/video-views.ts b/src/resources/data/video-views.ts index c3623af1..6076893e 100644 --- a/src/resources/data/video-views.ts +++ b/src/resources/data/video-views.ts @@ -326,6 +326,8 @@ export namespace VideoViewResponse { video_brand: string | null; + video_cdn_trace: Array; + video_codec: string | null; video_content_type: string | null; @@ -479,17 +481,24 @@ export interface VideoViewListParams extends BasePageParams { error_id?: number; /** - * Limit the results to rows that match conditions from provided key:value pairs. - * Must be provided as an array query string parameter. + * Filter results using key:value pairs. Must be provided as an array query string + * parameter. * - * To exclude rows that match a certain condition, prepend a `!` character to the - * dimension. + * **Basic filtering:** * - * Possible filter names are the same as returned by the List Filters endpoint. + * - `filters[]=dimension:value` - Include rows where dimension equals value + * - `filters[]=!dimension:value` - Exclude rows where dimension equals value * - * Example: + * **For trace dimensions (like video_cdn_trace):** + * + * - `filters[]=+dimension:value` - Include rows where trace contains value + * - `filters[]=-dimension:value` - Exclude rows where trace contains value + * - `filters[]=dimension:[value1,value2]` - Exact trace match + * + * **Examples:** * - * - `filters[]=operating_system:windows&filters[]=!country:US` + * - `filters[]=country:US` - US views only + * - `filters[]=+video_cdn_trace:fastly` - Views using Fastly CDN */ filters?: Array; diff --git a/src/version.ts b/src/version.ts index fc1fd786..257a4155 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '12.4.0'; // x-release-please-version +export const VERSION = '12.4.1'; // x-release-please-version diff --git a/yarn.lock b/yarn.lock index 7ad1b05f..19bc2fc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -852,19 +852,19 @@ integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/node-fetch@^2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.4.tgz#1bc3a26de814f6bf466b25aeb1473fa1afe6a660" - integrity sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg== + version "2.6.13" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.13.tgz#e0c9b7b5edbdb1b50ce32c127e85e880872d56ee" + integrity sha512-QGpRVpzSaUs30JBSGPjOg4Uveu384erbHBoT1zeONvyCfwQxIkUshLAOqN/k9EjGviPRmWTTe6aH2qySWKTVSw== dependencies: "@types/node" "*" - form-data "^3.0.0" + form-data "^4.0.4" "@types/node@*": - version "20.10.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.5.tgz#47ad460b514096b7ed63a1dae26fad0914ed3ab2" - integrity sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw== + version "24.3.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.3.0.tgz#89b09f45cb9a8ee69466f18ee5864e4c3eb84dec" + integrity sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow== dependencies: - undici-types "~5.26.4" + undici-types "~7.10.0" "@types/node@^18.11.18": version "18.11.18" @@ -1097,7 +1097,7 @@ array-union@^2.1.0: asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== babel-jest@^29.7.0: version "29.7.0" @@ -1234,6 +1234,14 @@ bundle-name@^3.0.0: dependencies: run-applescript "^5.0.0" +call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" + integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== + dependencies: + es-errors "^1.3.0" + function-bind "^1.1.2" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -1433,7 +1441,7 @@ define-lazy-prop@^3.0.0: delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== depd@^1.1.2: version "1.1.2" @@ -1469,6 +1477,15 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +dunder-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" + integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== + dependencies: + call-bind-apply-helpers "^1.0.1" + es-errors "^1.3.0" + gopd "^1.2.0" + electron-to-chromium@^1.4.601: version "1.4.614" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.614.tgz#2fe789d61fa09cb875569f37c309d0c2701f91c0" @@ -1491,6 +1508,33 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-define-property@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" + integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== + +es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + +es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" + integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== + dependencies: + es-errors "^1.3.0" + +es-set-tostringtag@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" + integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== + dependencies: + es-errors "^1.3.0" + get-intrinsic "^1.2.6" + has-tostringtag "^1.0.2" + hasown "^2.0.2" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -1780,13 +1824,15 @@ form-data-encoder@1.7.2: resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.2.tgz#1f1ae3dccf58ed4690b86d87e4f57c654fbab040" integrity sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A== -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== +form-data@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4" + integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow== dependencies: asynckit "^0.4.0" combined-stream "^1.0.8" + es-set-tostringtag "^2.1.0" + hasown "^2.0.2" mime-types "^2.1.12" formdata-node@^4.3.2: @@ -1822,11 +1868,35 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== +get-intrinsic@^1.2.6: + version "1.3.0" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" + integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== + dependencies: + call-bind-apply-helpers "^1.0.2" + es-define-property "^1.0.1" + es-errors "^1.3.0" + es-object-atoms "^1.1.1" + function-bind "^1.1.2" + get-proto "^1.0.1" + gopd "^1.2.0" + has-symbols "^1.1.0" + hasown "^2.0.2" + math-intrinsics "^1.1.0" + get-package-type@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" + integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== + dependencies: + dunder-proto "^1.0.1" + es-object-atoms "^1.0.0" + get-stdin@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" @@ -1887,6 +1957,11 @@ globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" +gopd@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" + integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== + graceful-fs@^4.2.9: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" @@ -1907,6 +1982,18 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-symbols@^1.0.3, has-symbols@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" + integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== + +has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== + dependencies: + has-symbols "^1.0.3" + hasown@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" @@ -1914,6 +2001,13 @@ hasown@^2.0.0: dependencies: function-bind "^1.1.2" +hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -2616,6 +2710,11 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" +math-intrinsics@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" + integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== + merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -2634,17 +2733,17 @@ micromatch@^4.0.4: braces "^3.0.3" picomatch "^2.3.1" -mime-db@1.51.0: - version "1.51.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.51.0.tgz#d9ff62451859b18342d960850dc3cfb77e63fb0c" - integrity sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g== +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== mime-types@^2.1.12: - version "2.1.34" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.34.tgz#5a712f9ec1503511a945803640fafe09d3793c24" - integrity sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A== + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: - mime-db "1.51.0" + mime-db "1.52.0" mimic-fn@^2.1.0: version "2.1.0" @@ -2696,9 +2795,9 @@ node-domexception@1.0.0: integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== node-fetch@^2.6.7: - version "2.6.11" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.11.tgz#cde7fc71deef3131ef80a738919f999e6edfff25" - integrity sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w== + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== dependencies: whatwg-url "^5.0.0" @@ -3235,7 +3334,7 @@ to-regex-range@^5.0.1: tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== ts-api-utils@^1.0.1: version "1.3.0" @@ -3337,10 +3436,10 @@ typescript@^4.8.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== +undici-types@~7.10.0: + version "7.10.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350" + integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag== untildify@^4.0.0: version "4.0.0" @@ -3396,12 +3495,12 @@ web-streams-polyfill@4.0.0-beta.1: webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== whatwg-url@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== dependencies: tr46 "~0.0.3" webidl-conversions "^3.0.0"