/usr/lib/nodejs/pkg-up/index.js is in node-pkg-up 1.0.0-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 | 'use strict';
var findUp = require('find-up');
module.exports = function (cwd) {
return findUp('package.json', {cwd: cwd});
};
module.exports.sync = function (cwd) {
return findUp.sync('package.json', {cwd: cwd});
};
|