ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/eslint/lib/shared
/
home
benbot
bot
server
node_modules
eslint
lib
shared
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ajv.js
931 B
chmod
View
DL
Edit
Rename
Delete
assert.js
524 B
chmod
View
DL
Edit
Rename
Delete
ast-utils.js
897 B
chmod
View
DL
Edit
Rename
Delete
deep-merge-arrays.js
1.54 MB
chmod
View
DL
Edit
Rename
Delete
directives.js
413 B
chmod
View
DL
Edit
Rename
Delete
flags.js
2.66 MB
chmod
View
DL
Edit
Rename
Delete
logging.js
635 B
chmod
View
DL
Edit
Rename
Delete
naming.js
2.88 MB
chmod
View
DL
Edit
Rename
Delete
option-utils.js
1.24 MB
chmod
View
DL
Edit
Rename
Delete
relative-module-resolver.js
1 MB
chmod
View
DL
Edit
Rename
Delete
runtime-info.js
5.02 MB
chmod
View
DL
Edit
Rename
Delete
serialization.js
2.06 MB
chmod
View
DL
Edit
Rename
Delete
severity.js
1.15 MB
chmod
View
DL
Edit
Rename
Delete
stats.js
638 B
chmod
View
DL
Edit
Rename
Delete
string-utils.js
1.51 MB
chmod
View
DL
Edit
Rename
Delete
text-table.js
2.16 MB
chmod
View
DL
Edit
Rename
Delete
translate-cli-options.js
7.36 MB
chmod
View
DL
Edit
Rename
Delete
traverser.js
4.74 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/eslint/lib/shared/text-table.js
/** * @fileoverview Optimized version of the `text-table` npm module to improve performance by replacing inefficient regex-based * whitespace trimming with a modern built-in method. * * This modification addresses a performance issue reported in https://github.com/eslint/eslint/issues/18709 * * The `text-table` module is published under the MIT License. For the original source, refer to: * https://www.npmjs.com/package/text-table. */ /* * * This software is released under the MIT license: * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of * the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ "use strict"; module.exports = function (rows_, opts) { const hsep = " "; const align = opts.align; const stringLength = opts.stringLength; const sizes = rows_.reduce((acc, row) => { row.forEach((c, ix) => { const n = stringLength(c); if (!acc[ix] || n > acc[ix]) { acc[ix] = n; } }); return acc; }, []); return rows_ .map(row => row .map((c, ix) => { const n = sizes[ix] - stringLength(c) || 0; const s = Array(Math.max(n + 1, 1)).join(" "); if (align[ix] === "r") { return s + c; } return c + s; }) .join(hsep) .trimEnd(), ) .join("\n"); };
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply