[Pkg-javascript-devel] Bug#789306: /usr/lib/nodejs/stylus/bin/stylus: input file overwritten when passing one argument
Jason Woofenden
jason at jasonwoof.com
Fri Jun 19 16:46:38 UTC 2015
Package: node-stylus
Version: 0.48.1+dfsg-1
Severity: normal
File: /usr/lib/nodejs/stylus/bin/stylus
Dear Maintainer,
When run with a single filename argument, eg:
stylus foo.stylus
stylus will obliterate the contents of foo.stylus, and replace it
with css.
This is not OK. stylus should output to stdout or foo.css
Also, the man page doesn't say anything about this. And... now that
I look more closely, the man page doesn't even say you can specify
a file on the commandline... instead in says you can specify a
command, and then doesn't document any commands that you can pass.
stylus --help has the same issue.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages node-stylus depends on:
ii node-css-parse 1.7.0+dfsg-1
ii node-debug 2.1.0+dfsg-1
ii node-glob 4.0.5-1
ii node-mkdirp 0.5.0-1
ii node-sax 0.5.5-1
ii node-source-map 0.1.40-1
ii nodejs 0.10.38~dfsg-1
node-stylus recommends no packages.
node-stylus suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list