deps: use typescript - #1897
Draft
shn-liqd wants to merge 11 commits into
Draft
deps: use typescript#1897shn-liqd wants to merge 11 commits into
shn-liqd wants to merge 11 commits into
Conversation
- add typescript, @types/* and @typescript-eslint dev dependencies - configure babel preset-typescript for ts/tsx compilation - add tsconfig with strict mode - add ambient type declarations for django, jquery and other globals - extend eslint and jest config to cover ts/tsx files - add typecheck script, wire it into lint, CI and lint-staged
- rename js/jsx sources to ts/tsx - add typed api layer (api/types.ts) with Comment, Poll, Rating and related domain interfaces - type api endpoints with generic JQuery.jqXHR responses - type forms (AutoComplete, useCombobox), control bar, mocks and tests
- rename jsx sources to tsx - type Comment, CommentListResponse and payloads via shared api types - type Comment/CommentBox components, forms and dropdown - fix search prop typo in CommentControlBar - type immutability-helper diff specs
- rename jsx sources to tsx - type Poll, PollQuestion, PollChoice and answer data via shared api types - add PollQuestionEdit/PollChoiceEdit types for the dashboard editor - type poll voting payloads and results rendering - fix hasHelptext state used as boolean - type test data and snapshots
- rename jsx sources to tsx - type RatingResponse and CreateRatingResult via shared api types - widen authenticatedAs to accept numeric user ids - type FollowState and report payloads
- rename js/jsx sources to ts/tsx - type leaflet controls, marker layers and geo json handling - type address search and geo json features - keep loose typing where third-party libs lack declarations
- rename categories, dashboard, images and forms sources to ts/tsx - type image uploader session storage data - type category formset and select dropdown init
- remove duplicate n plugin config and merge overlapping ts lint blocks - drop no-restricted-syntax template literal ban and its disable comments - reuse shared AiReport type in the ai report component - type comment form payload as CommentPayload - restore React.MouseEvent typing on async comment toggle handlers - fix invalid aria-hidden value in the ai report - include pure .ts files in jest coverage collection - mark legacy comments module as deprecated in source and index exports
shn-liqd
marked this pull request as draft
August 25, 2026 09:05
Bump brace-expansion override to >=5.0.9, and update js-yaml and minimatch to patched versions. Resolves 3 high-severity audit vulnerabilities (brace-expansion DoS, js-yaml CVE-2026-59870).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.