[Pkg-javascript-devel] Updating node-typescript to 4.6.3

julien.puydt at gmail.com julien.puydt at gmail.com
Sat Mar 26 19:42:45 GMT 2022


Le vendredi 25 mars 2022 à 23:22 +0530, Pirate Praveen a écrit :
> 
> 
> 2022, മാർച്ച് 25 9:21:03 PM IST, julien.puydt at gmail.comൽ എഴുതി
> > Hi,
> > 
> > I prepared the package and uploaded it to experimental: I know by
> > experience that an update from 4.5.4 to 4.6.3 has a very high
> > chance to
> > break things.
> > 
> > If I'm mistaken and it doesn't bring pain all around, I'll upload
> > to
> > unstable in two weeks. If I'm right, well, here's a nice thread
> > start
> > to notify and discuss.
> 
> Please rebuild the reverse build dependencies using a tool like ratt,
> salsa ci script created by Jeremy or salsa.debian.org/ruby-team/meta
> script.

I did t by hand:

* Culprit (fails with new node-typescript only)

** lumino

   Compiling datagrid
   src/graphicscontext.ts(243,7): error TS2322: Type 'string' is not
assignable to type 'GlobalCompositeOperation

** node-ampproject-remapping
   src/resolve.ts(1,24): error TS2307: Cannot find module
'@jridgewell/resolve-uri' or its corresponding type declarations.
   src/trace-mapping.ts(1,32): error TS2307: Cannot find module
'@jridgewell/sourcemap-codec' or its corresponding type declarations.


** node-jsdom

  1) Test cases only possible to test from the outside
       frees up callback handles passed to setTimeout:

      AssertionError: expected 15.75 to be below 5
      + expected - actual

      -15.75
      +5

** node-lib0

iterator.js(15,29): error TS8024: JSDoc '@param' tag has name 'f', but
there is no parameter with that name.


* Other (different errors with new and old node-typescript)

** node-config

  Configuration for module developers
    ✗ The setModuleDefaults() method is available 
        » An unexpected error was caught: TypeError: Cannot set
property offset of [object Object] which has only a getter 

* Innocent (same error with old and new node-typescript)

** ipywidgets

   ModuleNotFoundError: No module named 'ipython_genutils'

** jupyter-notebook

   ERROR in ./node_modules/postcss/lib/map-generator.js
   Module not found: Error: Can't resolve './../../../buffer' in
'/<<PKGBUILDDIR>>/node_modules/postcss/lib'

** node-base64url

   ERROR: Coverage for lines (97.22%) does not meet global threshold
(100%)
   ERROR: Coverage for branches (75%) does not meet global threshold
(100%)
   ERROR: Coverage for statements (94.73%) does not meet global
threshold (100%)

** node-configurable-http-proxy

 CLI Tests custom-header
  Message:
    Error: Timeout - Async function did not complete within 10000ms
(set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
  Stack:
        at <Jasmine>
        at listOnTimeout (internal/timers.js:557:17)
        at processTimers (internal/timers.js:500:7)
  Message:
    Error: Timeout - Async function did not complete within 10000ms
(set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
  Stack:
        at <Jasmine>
        at listOnTimeout (internal/timers.js:557:17)
        at processTimers (internal/timers.js:500:7)

** node-fetcha

   Package removed from Debian

** node-https-proxy-agent

  1) HttpsProxyAgent
       "http" module
         should receive the 407 authorization code on the
`http.ClientResponse`:
     Uncaught Error [ERR_SOCKET_CLOSED]: Socket is closed

** node-ignore

ERROR: Coverage for lines (92.3%) does not meet global threshold (100%)
ERROR: Coverage for functions (91.66%) does not meet global threshold
(100%)
ERROR: Coverage for branches (87.65%) does not meet global threshold
(100%)
ERROR: Coverage for statements (92.08%) does not meet global threshold
(100%)

** node-immutable

Error
    at Function.missingTransform
(/usr/share/nodejs/buble/dist/buble.cjs.js:367:9)
    at Node.initialise
(/usr/share/nodejs/buble/dist/buble.cjs.js:2650:17)
    at Node.initialise
(/usr/share/nodejs/buble/dist/buble.cjs.js:105:11)
    at /usr/share/nodejs/buble/dist/buble.cjs.js:103:40
    at Array.forEach (<anonymous>)
    at Node.initialise
(/usr/share/nodejs/buble/dist/buble.cjs.js:103:11)
    at Node.initialise
(/usr/share/nodejs/buble/dist/buble.cjs.js:105:11)
    at Node.initialise
(/usr/share/nodejs/buble/dist/buble.cjs.js:2118:9)
    at /usr/share/nodejs/buble/dist/buble.cjs.js:795:34

** node-inquirer

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type
string or an instance of Buffer, TypedArray, or DataView. Received
undefined
    at Object.writeFileSync (fs.js:1521:5)
    at /<<PKGBUILDDIR>>/rxjs/tools/rollup-bundle.js:45:8
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
{
  code: 'ERR_INVALID_ARG_TYPE'
}


** node-parse-json

test/test.ts(1,53): error TS2307: Cannot find module 'assert' or its
corresponding type declarations.

** node-postcss-loader

src/node.ts(48,38): error TS2345: Argument of type 'string' is not
assignable to parameter of type 'BufferEncoding | undefined'.
src/volume.ts(425,51): error TS2345: Argument of type 'string' is not
assignable to parameter of type 'BufferEncoding | undefined'.
src/volume.ts(426,73): error TS2345: Argument of type 'string' is not
assignable to parameter of type 'BufferEncoding | undefined'.

** node-recast

  1) TypeScript
       basic printing:
     SyntaxError: Initializers are not allowed in ambient contexts.
(2:27)
      at instantiate (node_modules/@babel/parser/src/parse-
error/credentials.js:61:22)
      at toParseError (node_modules/@babel/parser/src/parse-
error.js:58:12)
      at Object.raise
(node_modules/@babel/parser/src/tokenizer/index.js:1763:19)




More information about the Pkg-javascript-devel mailing list