> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://fastpix.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://fastpix.com/docs/_mcp/server.

# Code quality and maintainability improvements for the Video.js Data SDK

> The Video.js Data SDK adds safer global access, reduced function nesting, explicit typing, and an updated Data Core dependency.

The Video.js Data SDK ships a round of code-quality fixes for safer global access and better maintainability, along with an updated Data Core dependency.

What's new:

* **Safer global access**: `window` references now use `globalThis.window`, and the global `parseInt` was replaced with `Number.parseInt`.

* **Reduced function nesting**: nested request helpers were hoisted to the top level to lower nesting depth.

* **Stronger typing and clearer code**: `Function` type usages were replaced with explicit function signatures, intentionally empty `catch` blocks now carry explanatory comments, and conditionals were simplified with optional chaining.

* **Updated Data Core dependency**: `@fastpix/video-data-core` was upgraded to `^1.0.8`.