Searched refs:pkgfile (Results 1 – 8 of 8) sorted by relevance
| /plugin/asciidocjs/node_modules/resolve/lib/ |
| D | sync.js | 57 var defaultReadPackageSync = function defaultReadPackageSync(readFileSync, pkgfile) { argument 58 var body = readFileSync(pkgfile); 145 var pkgfile = path.join(maybeRealpathSync(realpathSync, dir, opts), 'package.json'); 147 if (!isFile(pkgfile)) { 151 var pkg = readPackageSync(readFileSync, pkgfile); 162 var pkgfile = path.join(maybeRealpathSync(realpathSync, x, opts), '/package.json'); 163 if (isFile(pkgfile)) { 165 var pkg = readPackageSync(readFileSync, pkgfile);
|
| D | async.js | 54 var defaultReadPackage = function defaultReadPackage(readFile, pkgfile, cb) { argument 55 readFile(pkgfile, function (readFileErr, body) { 225 var pkgfile = path.join(pkgdir, 'package.json'); 226 isFile(pkgfile, function (err, ex) { 230 readPackage(readFile, pkgfile, function (err, pkgParam) { 236 pkg = opts.packageFilter(pkg, pkgfile); 254 var pkgfile = path.join(pkgdir, 'package.json'); 255 isFile(pkgfile, function (err, ex) { 259 readPackage(readFile, pkgfile, function (err, pkgParam) { 265 pkg = opts.packageFilter(pkg, pkgfile);
|
| /plugin/asciidocjs/node_modules/resolve/test/ |
| D | filter.js | 11 packageFilter: function (pkg, pkgfile) { argument 13 packageFilterArgs = [pkg, pkgfile];
|
| D | symlinks.js | 147 packageFilter: function (pkg, pkgfile) { argument 148 asyncPackageFilterPath.push(pkgfile);
|
| D | filter_sync.js | 13 …packageFilterArgs = 'is 1.x' ? [pkg, dir] : [pkg, pkgfile, dir]; // eslint-disable-line no-constan…
|
| D | resolver_sync.js | 693 packageFilter: function (pkg, pkgfile, dir) { argument 709 readPackageSync: function (readFileSync, pkgfile) { argument 710 …t.equal(pkgfile, path.join(basedir, 'package.json'), 'readPackageSync: `pkgfile` is package.json p… 711 var result = String(readFileSync(pkgfile));
|
| D | resolver.js | 562 packageFilter: function (pkg, pkgfile, dir) { argument 577 readPackage: function (readFile, pkgfile, cb) { argument 578 …t.equal(pkgfile, path.join(basedir, 'package.json'), 'readPackageSync: `pkgfile` is package.json p… 579 readFile(pkgfile, function (err, result) {
|
| /plugin/asciidocjs/node_modules/resolve/ |
| D | readme.markdown | 80 * `opts.readPackage(readFile, pkgfile, cb)` - function to asynchronously read and parse a package.j… 82 * pkgfile - path to package.json 85 * `opts.packageFilter(pkg, pkgfile, dir)` - transform the parsed package.json contents before looki… 87 * pkgfile - path to package.json 151 readPackage: function defaultReadPackage(readFile, pkgfile, cb) { 152 readFile(pkgfile, function (readFileErr, body) { 190 * `opts.readPackageSync(readFileSync, pkgfile)` - function to synchronously read and parse a packag… 192 * pkgfile - path to package.json 196 …* dir - directory that contains package.json (Note: the second argument will change to "pkgfile" i… 263 readPackageSync: function defaultReadPackageSync(readFileSync, pkgfile) { [all …]
|