This file is indexed.

/usr/lib/nodejs/uglify-save-license/uglify-save-license.js is in node-uglify-save-license 0.4.1-1.

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

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
29
30
31
32
33
34
// uglify-save-license.js v0.4.1
// Copyright (c) 2013 - 2014 Shinnosuke Watanabe
// Licensed uder the MIT license

'use strict';

var licenseRegexp = /@preserve|@cc_on|\bMIT\b|\bMPL\b|\bGPL\b|\bBSD\b|\bISCL\b|\(c\)|License|Copyright/mi;

// number of line where license comment appeared last
var prevCommentLine = 0;
// name of the file minified last
var prevFile = '';

module.exports = function saveLicense(node, comment) {
  if (comment.file !== prevFile) {
    prevCommentLine = 0;
  }

  var isLicense = licenseRegexp.test(comment.value) ||
                  (comment.type === 'comment2' &&
                  comment.value.charAt(0) === '!') ||
                  comment.line === 1 ||
                  comment.line === prevCommentLine + 1;
  
  if (isLicense) {
    prevCommentLine = comment.line;
  } else {
    prevCommentLine = 0;
  }
  
  prevFile = comment.file;
  
  return isLicense;
};