[Pkg-javascript-devel] Bug#933091: node-rollup-plugin-typescript seems incompatible with rollup/typescript

2019-09-29 Thread Pirate Praveen
On Fri, 26 Jul 2019 21:06:12 +0530 Pirate Praveen
 wrote:
> package: node-rollup-plugin-typescript
> Version: 0.8.1-1
> Severity: serious
> Justification: the package is not usable
> 
> Got same error in node-locate-character and node-sourcemap-codec  (tried with 
> node-rollup-plugin-typescript 1.0.0 in git as well and got same error)
> 
> node-sourcemap-codec$ rollup -c   
>   src/sourcemap-codec.ts → 
> dist/sourcemap-codec.umd.js, dist/sourcemap-codec.es.js... [!] 
> Error: Unexpected token src/sourcemap-codec.ts (1:7)  
>   1: export type SourceMapSegment = ^ 
> 2:   | [number]   
>   3:   | [number, number, number, number]
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

When running rollup -c in node-vlq repo (at tag debian/1.0.1-3), there
is another failure. I think this goes all the way down to
node-snapdragon incompatible update in experimental.

$ rollup -c
[!] TypeError: brackets.parser.capture is not a function
TypeError: brackets.parser.capture is not a function
at Snapdragon.parsers
(/usr/lib/nodejs/expand-brackets/lib/parsers.js:22:6)
at Snapdragon.use (/usr/lib/nodejs/snapdragon/index.js:60:6)
at parsers (/usr/lib/nodejs/extglob/lib/parsers.js:26:11)
at new Extglob (/usr/lib/nodejs/extglob/lib/extglob.js:30:3)
at create (/usr/lib/nodejs/extglob/index.js:220:15)
at Object.utils.memoize (/usr/lib/nodejs/extglob/lib/utils.js:36:13)
at Function.extglob.create (/usr/lib/nodejs/extglob/index.js:225:16)
at Object.extglob (/usr/lib/nodejs/extglob/index.js:37:18)
at Glob.extglob (/usr/lib/nodejs/micromatch/lib/glob.js:100:26)
at expand (/usr/lib/nodejs/micromatch/lib/expand.js:110:10)

After downgrading node-snapdragon to the version in unstable (0.8.1),
this error goes away we again get the same error as before.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#933091: node-rollup-plugin-typescript seems incompatible with rollup/typescript

2019-07-26 Thread Pirate Praveen
package: node-rollup-plugin-typescript
Version: 0.8.1-1
Severity: serious
Justification: the package is not usable

Got same error in node-locate-character and node-sourcemap-codec  (tried with 
node-rollup-plugin-typescript 1.0.0 in git as well and got same error)

node-sourcemap-codec$ rollup -c 
src/sourcemap-codec.ts → 
dist/sourcemap-codec.umd.js, dist/sourcemap-codec.es.js... [!] 
Error: Unexpected token src/sourcemap-codec.ts (1:7)
1: export type SourceMapSegment = ^ 
2:   | [number] 3:  
 | [number, number, number, number]
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel