Server IP : 85.214.239.14 / Your IP : 3.138.105.164 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/root/proc/2/root/lib/node_modules/pm2/node_modules/js-yaml/ |
Upload File : |
'use strict'; var loader = require('./lib/loader'); var dumper = require('./lib/dumper'); function renamed(from, to) { return function () { throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' + 'Use yaml.' + to + ' instead, which is now safe by default.'); }; } module.exports.Type = require('./lib/type'); module.exports.Schema = require('./lib/schema'); module.exports.FAILSAFE_SCHEMA = require('./lib/schema/failsafe'); module.exports.JSON_SCHEMA = require('./lib/schema/json'); module.exports.CORE_SCHEMA = require('./lib/schema/core'); module.exports.DEFAULT_SCHEMA = require('./lib/schema/default'); module.exports.load = loader.load; module.exports.loadAll = loader.loadAll; module.exports.dump = dumper.dump; module.exports.YAMLException = require('./lib/exception'); // Re-export all types in case user wants to create custom schema module.exports.types = { binary: require('./lib/type/binary'), float: require('./lib/type/float'), map: require('./lib/type/map'), null: require('./lib/type/null'), pairs: require('./lib/type/pairs'), set: require('./lib/type/set'), timestamp: require('./lib/type/timestamp'), bool: require('./lib/type/bool'), int: require('./lib/type/int'), merge: require('./lib/type/merge'), omap: require('./lib/type/omap'), seq: require('./lib/type/seq'), str: require('./lib/type/str') }; // Removed functions from JS-YAML 3.0.x module.exports.safeLoad = renamed('safeLoad', 'load'); module.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll'); module.exports.safeDump = renamed('safeDump', 'dump');