ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/@eslint/eslintrc/lib/shared
/
home
benbot
bot
server
node_modules
@eslint
eslintrc
lib
shared
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ajv.js
5.2 MB
chmod
View
DL
Edit
Rename
Delete
config-ops.js
4.6 MB
chmod
View
DL
Edit
Rename
Delete
config-validator.js
13.78 MB
chmod
View
DL
Edit
Rename
Delete
deep-merge-arrays.js
1.59 MB
chmod
View
DL
Edit
Rename
Delete
deprecation-warnings.js
2.28 MB
chmod
View
DL
Edit
Rename
Delete
naming.js
3.04 MB
chmod
View
DL
Edit
Rename
Delete
relative-module-resolver.js
1.45 MB
chmod
View
DL
Edit
Rename
Delete
types.js
6.96 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js
/** * Utility for resolving a module relative to another module * @author Teddy Katz */ import Module from "node:module"; /* * `Module.createRequire` is added in v12.2.0. It supports URL as well. * We only support the case where the argument is a filepath, not a URL. */ const createRequire = Module.createRequire; /** * Resolves a Node module relative to another module * @param {string} moduleName The name of a Node module, or a path to a Node module. * @param {string} relativeToPath An absolute path indicating the module that `moduleName` should be resolved relative to. This must be * a file rather than a directory, but the file need not actually exist. * @returns {string} The absolute path that would result from calling `require.resolve(moduleName)` in a file located at `relativeToPath` * @throws {Error} When the module cannot be resolved. */ function resolve(moduleName, relativeToPath) { try { return createRequire(relativeToPath).resolve(moduleName); } catch (error) { // This `if` block is for older Node.js than 12.0.0. We can remove this block in the future. if ( typeof error === "object" && error !== null && error.code === "MODULE_NOT_FOUND" && !error.requireStack && error.message.includes(moduleName) ) { error.message += `\nRequire stack:\n- ${relativeToPath}`; } throw error; } } export { resolve };
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply