Control: tags -1 + patch Hi all,
On Sun, Dec 15, 2024 at 07:05:03PM +0530, Ananthu C V wrote: > node-typescript version 5.0.4 is currently in experimental. Your > package fails to build on a rebuild against the same. node-typecript > will be uploaded to unstable in a month, please fix any existing > issues before that so that the transition can happen without blockers. > > The severity of this bug will be raised to serious after node-typescript > 5.0.4 is uploaded to unstable. > > The failure part of the build log is attached inline here, but this may > not be the most relevant part. Please check the attached full build log > for more information about the build. > > Build log: > [...] > ts/a11y/complexity/collapse.ts(147,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(177,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(184,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(209,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(217,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(229,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(237,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(250,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(257,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/a11y/complexity/collapse.ts(264,17): error TS2365: Operator '>' cannot be > applied to types 'number' and 'number | { [role: string]: number; }'. > ts/core/MmlTree/MmlNode.ts(623,32): error TS2365: Operator '>' cannot be > applied to types 'string | number | boolean' and 'number'. > ts/input/tex/base/BaseConfiguration.ts(105,9): error TS2365: Operator '>' > cannot be applied to types 'string | number | boolean' and 'number'. > ts/output/common/Wrapper.ts(551,23): error TS2365: Operator '>' cannot be > applied to types 'string | number | boolean' and 'number'. I created a merge request on salsa to fix it: https://salsa.debian.org/js-team/node-mathjax-full/-/merge_requests/1 It is based on an upstream commit, but unfortunately the upstream author mixed the fix and reformatting the whole file in the same commit, so I had to extract the relevant pieces from there. -- Dmitry Shachnev
signature.asc
Description: PGP signature