This file is indexed.

/usr/lib/nodejs/rollup-plugin-string/index.js is in node-rollup-plugin-string 2.0.2-2.

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
"use strict";
var rollup$pluginutils$$ = require("rollup-pluginutils");

function string(opts = {}) {
	if (!opts.include) {
		throw Error('include option should be specified');
	}

	const filter = rollup$pluginutils$$.createFilter(opts.include, opts.exclude);

	return {
		name: 'string',

		transform(code, id) {
			if (filter(id)) {
				return {
					code: `export default ${JSON.stringify(code)};`,
					map: { mappings: '' }
				};
			}
		}
	};
}

module.exports = string