[Pkg-javascript-devel] RFS: Removed .yarn directory from node-typanion

Pirate Praveen praveen at onenetbeyond.org
Thu May 19 11:59:53 BST 2022



On ചൊ, മേയ് 17 2022 at 08:57:38 വൈകു +01:00:00 
+01:00:00, Israel Galadima <izzygaladima at gmail.com> wrote:
> Hello,
> 
> I have removed .yarn directory from node-typanion as requested in JS 
> mailing list here:
> https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2021-October/056537.html
> 
> I would be glad if my changes are accepted or any feedback is given.
> 
> My fork: https://salsa.debian.org/izzygala/node-typanion
> JS team repo: https://salsa.debian.org/js-team/node-typanion
> 
> Thank you for your time.
> 

I modified the changelog, since the original upload was rejectedm this 
is still initial version.

But build is now failing (may be due to newer typescript), can you 
check? may be fixed in newer upstream releases too.

TSError: ⨯ Unable to compile TypeScript:
sources/index.ts(367,10): error TS2322: Type 'null' is not assignable 
to type 'UnknownValidator'.
  'null' is assignable to the constraint of type 'UnknownValidator', 
but 'UnknownValidator' could be instantiated with a different subtype 
of constraint 'AnyStrictValidator | null'.

    at createTSError (/usr/share/nodejs/ts-node/src/index.ts:826:12)
    at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:830:19)
    at getOutput (/usr/share/nodejs/ts-node/src/index.ts:1020:36)
    at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1328:43)
    at Module.m._compile 
(/usr/share/nodejs/ts-node/src/index.ts:1460:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Object.require.extensions.<computed> [as .ts] 
(/usr/share/nodejs/ts-node/src/index.ts:1464:12)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/tests/index.test.ts:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Module.m._compile 
(/usr/share/nodejs/ts-node/src/index.ts:1461:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Object.require.extensions.<computed> [as .ts] 
(/usr/share/nodejs/ts-node/src/index.ts:1464:12)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.exports.requireOrImport 
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:60:20)
    at processTicksAndRejections 
(node:internal/process/task_queues:96:5)
    at Object.exports.loadFilesAsync 
(/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:103:20)
    at singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3)
    at Object.exports.handler 
(/usr/share/nodejs/mocha/lib/cli/run.js:374:5)
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit 
code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2






More information about the Pkg-javascript-devel mailing list