uawdijnntqw1x1x1
IP : 216.73.217.77
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
learnoid.codeskitter.site
/
tests
/
..
/
node_modules
/
vue-demi
/
scripts
/
utils.js
/
/
const fs = require('fs') const path = require('path') const dir = path.resolve(__dirname, '..', 'lib') function loadModule(name) { try { return require(name) } catch (e) { return undefined } } function copy(name, version, vue) { vue = vue || 'vue' const src = path.join(dir, `v${version}`, name) const dest = path.join(dir, name) let content = fs.readFileSync(src, 'utf-8') content = content.replace(/'vue'/g, `'${vue}'`) // unlink for pnpm, #92 try { fs.unlinkSync(dest) } catch (error) { } fs.writeFileSync(dest, content, 'utf-8') } function updateVue2API() { const ignoreList = ['version', 'default'] const VCA = loadModule('@vue/composition-api') if (!VCA) { console.warn('[vue-demi] Composition API plugin is not found. Please run "npm install @vue/composition-api" to install.') return } const exports = Object.keys(VCA).filter(i => !ignoreList.includes(i)) const esmPath = path.join(dir, 'index.mjs') let content = fs.readFileSync(esmPath, 'utf-8') content = content.replace( /\/\*\*VCA-EXPORTS\*\*\/[\s\S]+\/\*\*VCA-EXPORTS\*\*\//m, `/**VCA-EXPORTS**/ export { ${exports.join(', ')} } from '@vue/composition-api/dist/vue-composition-api.mjs' /**VCA-EXPORTS**/` ) fs.writeFileSync(esmPath, content, 'utf-8') } function switchVersion(version, vue) { copy('index.cjs', version, vue) copy('index.mjs', version, vue) copy('index.d.ts', version, vue) if (version === 2) updateVue2API() } module.exports.loadModule = loadModule module.exports.switchVersion = switchVersion
/home/users/unlimited/www/learnoid.codeskitter.site/tests/../node_modules/vue-demi/scripts/utils.js