403Webshell
Server IP : 162.253.224.18  /  Your IP : 216.73.216.135
Web Server : Apache
System : Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64
User : dejavumk ( 1184)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dejavumk/nutricoach.dejavumkt.info/node_modules/void-elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dejavumk/nutricoach.dejavumkt.info/node_modules/void-elements/pre-publish.js
var cheerio = require('cheerio')
  , http = require('http');

http.get('http://www.w3.org/html/wg/drafts/html/master/syntax.html', function (res) {
  var str = '';
  res.setEncoding('utf8');
  res.on('data', function (buf) {
    str += buf;
  }).on('end', function () {
    var $ = cheerio.load(str);
    var codes = $('dfn#void-elements')
                .parent()
                .next()
                .text()
                .replace(/\s/gm,'')
                .split(",")
                .reduce(function (obj, code) {
                  obj[code] = true;
                  return obj;
                }, {});

    console.log('/**');
    console.log(' * This file automatically generated from `pre-publish.js`.');
    console.log(' * Do not manually edit.');
    console.log(' */');
    console.log();
    console.log('module.exports = %s;', JSON.stringify(codes, null, 2));
  });
});

Youez - 2016 - github.com/yon3zu
LinuXploit