403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.217.75
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/nodejs/@babel/eslint-parser/lib/worker/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/nodejs/@babel/eslint-parser/lib/worker/handle-message.cjs
const babel = require("./babel-core.cjs");
const maybeParse = require("./maybeParse.cjs");
const {
  getVisitorKeys,
  getTokLabels
} = require("./ast-info.cjs");
const {
  normalizeBabelParseConfig,
  normalizeBabelParseConfigSync
} = require("./configuration.cjs");
module.exports = function handleMessage(action, payload) {
  switch (action) {
    case "GET_VERSION":
      return babel.version;
    case "GET_TYPES_INFO":
      return {
        FLOW_FLIPPED_ALIAS_KEYS: babel.types.FLIPPED_ALIAS_KEYS.Flow,
        VISITOR_KEYS: babel.types.VISITOR_KEYS
      };
    case "GET_TOKEN_LABELS":
      return getTokLabels();
    case "GET_VISITOR_KEYS":
      return getVisitorKeys();
    case "MAYBE_PARSE":
      return normalizeBabelParseConfig(payload.options).then(options => maybeParse(payload.code, options));
    case "MAYBE_PARSE_SYNC":
      {
        return maybeParse(payload.code, normalizeBabelParseConfigSync(payload.options));
      }
  }
  throw new Error(`Unknown internal parser worker action: ${action}`);
};

//# sourceMappingURL=handle-message.cjs.map

Youez - 2016 - github.com/yon3zu
LinuXploit