This file is indexed.

/usr/lib/nodejs/module-deps/bin/cmd.js is in node-module-deps 4.1.1-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env node
var mdeps = require('../');
var subarg = require('subarg');
var fs = require('fs');
var path = require('path');

var argv = subarg(process.argv.slice(2), {
    alias: { h: 'help', t: 'transform', g: 'globalTransform' }
});
if (argv.help) return usage(0);

var JSONStream = require('JSONStream');

var files = argv._.map(function (file) {
    if (file === '-') return process.stdin;
    return path.resolve(file);
});
var md = mdeps(argv);
md.pipe(JSONStream.stringify()).pipe(process.stdout);

files.forEach(function (file) { md.write(file) });
md.end();

function usage (code) {
    var r = fs.createReadStream(__dirname + '/usage.txt');
    r.pipe(process.stdout);
    if (code) r.on('end', function () { process.exit(code) });
}