uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
www
/
node_modules
/
grunt-cli
/
..
/
lodash.isstring
/
..
/
debug
/
..
/
..
/
4d695
/
resolver.zip
/
/
PK%_�\��2 cup.coffeenu�[��� PK%_�\a���quux/foo/index.jsnu�[���module.exports = 1; PK%_�\�QNsymlinked/package/package.jsonnu�[���{ "main": "bar.js" }PK%_�\��v�symlinked/package/bar.jsnu�[���module.exports = 'bar'; PK%_�\#symlinked/_/symlink_target/.gitkeepnu�[���PK%_�\symlinked/_/node_modules/foo.jsnu�[���PK%_�\P� dot_slash_main/package.jsonnu�[���{ "main": "./" } PK%_�\a���dot_slash_main/index.jsnu�[���module.exports = 1; PK%_�\mug.jsnu�[���PK%_�\��D\��multirepo/package.jsonnu�[���{ "name": "ljharb-monorepo-symlink-test", "private": true, "version": "0.0.0", "description": "", "main": "index.js", "scripts": { "postinstall": "lerna bootstrap", "test": "node packages/package-a" }, "author": "", "license": "MIT", "dependencies": { "jquery": "^3.3.1", "resolve": "../../../" }, "devDependencies": { "lerna": "^3.4.3" } } PK%_�\-�)multirepo/packages/package-b/package.jsonnu�[���{ "name": "@my-scope/package-b", "private": true, "version": "0.0.0", "description": "", "license": "MIT", "main": "index.js", "scripts": { "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { "@my-scope/package-a": "^0.0.0" } } PK%_�\%multirepo/packages/package-b/index.jsnu�[���PK%_�\.��)multirepo/packages/package-a/package.jsonnu�[���{ "name": "@my-scope/package-a", "version": "0.0.0", "private": true, "description": "", "license": "MIT", "main": "index.js", "scripts": { "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { "@my-scope/package-b": "^0.0.0" } } PK%_�\Lv��''%multirepo/packages/package-a/index.jsnu�[���'use strict'; var assert = require('assert'); var path = require('path'); var resolve = require('resolve'); var basedir = __dirname + '/node_modules/@my-scope/package-b'; var expected = path.join(__dirname, '../../node_modules/jquery/dist/jquery.js'); /* * preserveSymlinks === false * will search NPM package from * - packages/package-b/node_modules * - packages/node_modules * - node_modules */ assert.equal(resolve.sync('jquery', { basedir: basedir, preserveSymlinks: false }), expected); assert.equal(resolve.sync('../../node_modules/jquery', { basedir: basedir, preserveSymlinks: false }), expected); /* * preserveSymlinks === true * will search NPM package from * - packages/package-a/node_modules/@my-scope/packages/package-b/node_modules * - packages/package-a/node_modules/@my-scope/packages/node_modules * - packages/package-a/node_modules/@my-scope/node_modules * - packages/package-a/node_modules/node_modules * - packages/package-a/node_modules * - packages/node_modules * - node_modules */ assert.equal(resolve.sync('jquery', { basedir: basedir, preserveSymlinks: true }), expected); assert.equal(resolve.sync('../../../../../node_modules/jquery', { basedir: basedir, preserveSymlinks: true }), expected); console.log(' * all monorepo paths successfully resolved through symlinks'); PK%_�\ӟ�F??multirepo/lerna.jsonnu�[���{ "packages": [ "packages/*" ], "version": "0.0.0" } PK%_�\other_path/lib/other-lib.jsnu�[���PK%_�\other_path/root.jsnu�[���PK%_�\�C??browser_field/package.jsonnu�[���{ "name": "browser_field", "main": "a", "browser": "b" } PK%_�\browser_field/b.jsnu�[���PK%_�\browser_field/a.jsnu�[���PK%_�\N�0odot_main/package.jsonnu�[���{ "main": "." } PK%_�\a���dot_main/index.jsnu�[���module.exports = 1; PK%_�\�i �oowithout_basedir/main.jsnu�[���var resolve = require('../../../'); module.exports = function (t, cb) { resolve('mymodule', null, cb); }; PK%_�\��**false_main/package.jsonnu�[���{ "name": "false_main", "main": false } PK%_�\false_main/index.jsnu�[���PK%_�\ mug.coffeenu�[���PK%_�\a���same_names/foo/index.jsnu�[���module.exports = 1; PK%_�\�.�same_names/foo.jsnu�[���module.exports = 42; PK%_�\��t�incorrect_main/package.jsonnu�[���{ "main": "wrong.js" } PK%_�\ ttincorrect_main/index.jsnu�[���// this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate module.exports = 1; PK%_�\��*"nested_symlinks/mylib/package.jsonnu�[���{ "name": "mylib", "version": "0.0.0", "description": "", "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "buffer": "*" } } PK%_�\ �I-ZZnested_symlinks/mylib/async.jsnu�[���var a = require.resolve('buffer/').replace(process.cwd(), '$CWD'); var b; var c; var test = function test() { console.log(a, ': require.resolve, preserveSymlinks ' + (process.execArgv.indexOf('preserve-symlinks') > -1 ? 'true' : 'false')); console.log(b, ': preserveSymlinks true'); console.log(c, ': preserveSymlinks false'); if (a !== b && a !== c) { throw 'async: no match'; } console.log('async: success! a matched either b or c\n'); }; require('resolve')('buffer/', { preserveSymlinks: true }, function (err, result) { if (err) { throw err; } b = result.replace(process.cwd(), '$CWD'); if (b && c) { test(); } }); require('resolve')('buffer/', { preserveSymlinks: false }, function (err, result) { if (err) { throw err; } c = result.replace(process.cwd(), '$CWD'); if (b && c) { test(); } }); PK%_�\���^^nested_symlinks/mylib/sync.jsnu�[���var a = require.resolve('buffer/').replace(process.cwd(), '$CWD'); var b = require('resolve').sync('buffer/', { preserveSymlinks: true }).replace(process.cwd(), '$CWD'); var c = require('resolve').sync('buffer/', { preserveSymlinks: false }).replace(process.cwd(), '$CWD'); console.log(a, ': require.resolve, preserveSymlinks ' + (process.execArgv.indexOf('preserve-symlinks') > -1 ? 'true' : 'false')); console.log(b, ': preserveSymlinks true'); console.log(c, ': preserveSymlinks false'); if (a !== b && a !== c) { throw 'sync: no match'; } console.log('sync: success! a matched either b or c\n'); PK%_�\I%.g--baz/package.jsonnu�[���{ "name": "baz", "main": "quux.js" } PK%_�\a���baz/quux.jsnu�[���module.exports = 1; PK%_�\baz/doom.jsnu�[���PK%_�\a���foo.jsnu�[���module.exports = 1; PK%_�\�V�]]invalid_main/package.jsonnu�[���{ "name": "invalid_main", "main": [ "why is this a thing", "srsly omg wtf" ] } PK%_�\��2 cup.coffeenu�[���PK%_�\a���;quux/foo/index.jsnu�[���PK%_�\�QN�symlinked/package/package.jsonnu�[���PK%_�\��v��symlinked/package/bar.jsnu�[���PK%_�\#Vsymlinked/_/symlink_target/.gitkeepnu�[���PK%_�\�symlinked/_/node_modules/foo.jsnu�[���PK%_�\P� �dot_slash_main/package.jsonnu�[���PK%_�\a���Xdot_slash_main/index.jsnu�[���PK%_�\�mug.jsnu�[���PK%_�\��D\���multirepo/package.jsonnu�[���PK%_�\-�)�multirepo/packages/package-b/package.jsonnu�[���PK%_�\%$multirepo/packages/package-b/index.jsnu�[���PK%_�\.��)ymultirepo/packages/package-a/package.jsonnu�[���PK%_�\Lv��''%�multirepo/packages/package-a/index.jsnu�[���PK%_�\ӟ�F??g multirepo/lerna.jsonnu�[���PK%_�\� other_path/lib/other-lib.jsnu�[���PK%_�\5other_path/root.jsnu�[���PK%_�\�C??wbrowser_field/package.jsonnu�[���PK%_�\browser_field/b.jsnu�[���PK%_�\Bbrowser_field/a.jsnu�[���PK%_�\N�0o�dot_main/package.jsonnu�[���PK%_�\a����dot_main/index.jsnu�[���PK%_�\�i �oo2without_basedir/main.jsnu�[���PK%_�\��**�false_main/package.jsonnu�[���PK%_�\Yfalse_main/index.jsnu�[���PK%_�\ �mug.coffeenu�[���PK%_�\a����same_names/foo/index.jsnu�[���PK%_�\�.�1same_names/foo.jsnu�[���PK%_�\��t��incorrect_main/package.jsonnu�[���PK%_�\ tt�incorrect_main/index.jsnu�[���PK%_�\��*"�nested_symlinks/mylib/package.jsonnu�[���PK%_�\ �I-ZZ�nested_symlinks/mylib/async.jsnu�[���PK%_�\���^^�nested_symlinks/mylib/sync.jsnu�[���PK%_�\I%.g--Pbaz/package.jsonnu�[���PK%_�\a����baz/quux.jsnu�[���PK%_�\baz/doom.jsnu�[���PK%_�\a���Gfoo.jsnu�[���PK%_�\�V�]]�invalid_main/package.jsonnu�[���PK&&�7
/home/emeraadmin/www/node_modules/grunt-cli/../lodash.isstring/../debug/../../4d695/resolver.zip