You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Removed all utility functions (decimatePointsStride, resolveCanvas, getDevicePixelRatio, normalizeSeriesData, getDataBounds) from the main graphjs package entry point. These are now exclusively accessible via the graphjs/utils subpath, consistent with the other internal utilities (makeLinearScale, invertLinearScale, clampBounds, applyDomainOverride, filterVisibleSeries, isPlainObject, deepMerge, deepFreeze, clamp). Consumers importing utilities from the main entry must update their imports to use graphjs/utils.
Added dedicated src/utils.d.ts TypeScript declarations for the graphjs/utils subpath. The ./utils export map entry now points to this file for types instead of the main src/index.d.ts.