����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
const NPMLOG = require('npmlog')
const PROCLOG = require('proc-log')
// Sets getter and optionally a setter
// otherwise setting should throw
const accessors = (obj, set) => (k) => ({
get: () => obj[k],
set: set ? (v) => (obj[k] = v) : () => {
throw new Error(`Cant set ${k}`)
},
})
// Set the value to a bound function on the object
const value = (obj) => (k) => ({
value: (...args) => obj[k].apply(obj, args),
})
const properties = {
// npmlog getters/setters
level: accessors(NPMLOG, true),
heading: accessors(NPMLOG, true),
levels: accessors(NPMLOG),
gauge: accessors(NPMLOG),
stream: accessors(NPMLOG),
tracker: accessors(NPMLOG),
progressEnabled: accessors(NPMLOG),
// npmlog methods
useColor: value(NPMLOG),
enableColor: value(NPMLOG),
disableColor: value(NPMLOG),
enableUnicode: value(NPMLOG),
disableUnicode: value(NPMLOG),
enableProgress: value(NPMLOG),
disableProgress: value(NPMLOG),
clearProgress: value(NPMLOG),
showProgress: value(NPMLOG),
newItem: value(NPMLOG),
newGroup: value(NPMLOG),
// proclog methods
notice: value(PROCLOG),
error: value(PROCLOG),
warn: value(PROCLOG),
info: value(PROCLOG),
verbose: value(PROCLOG),
http: value(PROCLOG),
silly: value(PROCLOG),
pause: value(PROCLOG),
resume: value(PROCLOG),
}
const descriptors = Object.entries(properties).reduce((acc, [k, v]) => {
acc[k] = { enumerable: true, ...v(k) }
return acc
}, {})
// Create an object with the allowed properties rom npm log and all
// the logging methods from proc log
// XXX: this should go away and requires of this should be replaced with proc-log + new display
module.exports = Object.freeze(Object.defineProperties({}, descriptors))
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| completion | Folder | 0755 |
|
|
| config | Folder | 0755 |
|
|
| ansi-trim.js | File | 173 B | 0644 |
|
| audit-error.js | File | 978 B | 0644 |
|
| cmd-list.js | File | 2.46 KB | 0644 |
|
| completion.sh | File | 1.85 KB | 0644 |
|
| did-you-mean.js | File | 1.46 KB | 0644 |
|
| display.js | File | 2.84 KB | 0644 |
|
| error-message.js | File | 12.64 KB | 0644 |
|
| exit-handler.js | File | 6.77 KB | 0644 |
|
| explain-dep.js | File | 3.73 KB | 0644 |
|
| explain-eresolve.js | File | 2.56 KB | 0644 |
|
| format-bytes.js | File | 629 B | 0644 |
|
| format-search-stream.js | File | 3.93 KB | 0644 |
|
| get-identity.js | File | 740 B | 0644 |
|
| is-windows.js | File | 233 B | 0644 |
|
| log-file.js | File | 7.64 KB | 0644 |
|
| log-shim.js | File | 1.68 KB | 0644 |
|
| npm-usage.js | File | 1.95 KB | 0644 |
|
| open-url-prompt.js | File | 1.54 KB | 0644 |
|
| open-url.js | File | 1.17 KB | 0644 |
|
| otplease.js | File | 1.23 KB | 0644 |
|
| ping.js | File | 252 B | 0644 |
|
| pulse-till-done.js | File | 412 B | 0644 |
|
| queryable.js | File | 9.58 KB | 0644 |
|
| read-user-info.js | File | 1.99 KB | 0644 |
|
| reify-finish.js | File | 876 B | 0644 |
|
| reify-output.js | File | 4.96 KB | 0644 |
|
| replace-info.js | File | 807 B | 0644 |
|
| tar.js | File | 3.73 KB | 0644 |
|
| timers.js | File | 3.18 KB | 0644 |
|
| update-notifier.js | File | 4.45 KB | 0644 |
|
| validate-lockfile.js | File | 1023 B | 0644 |
|
| web-auth.js | File | 558 B | 0644 |
|