Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.52
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
amatya /
quiz1 /
node_modules /
sucrase /
dist /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
elideImportEquals.js
743
B
-rw-rw-rw-
formatTokens.js
2.37
KB
-rw-rw-rw-
getClassInfo.js
11.18
KB
-rw-rw-rw-
getDeclarationInfo.js
1.51
KB
-rw-rw-rw-
getIdentifierNames.js
472
B
-rw-rw-rw-
getImportExportSpecifierInfo.j...
2.08
KB
-rw-rw-rw-
getJSXPragmaInfo.js
589
B
-rw-rw-rw-
getNonTypeIdentifiers.js
2.03
KB
-rw-rw-rw-
getTSImportedNames.js
2.6
KB
-rw-rw-rw-
isAsyncOperation.js
1.34
KB
-rw-rw-rw-
isExportFrom.js
742
B
-rw-rw-rw-
isIdentifier.js
1.87
KB
-rw-rw-rw-
removeMaybeImportAttributes.js
784
B
-rw-rw-rw-
shouldElideDefaultExport.js
1.25
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : getImportExportSpecifierInfo.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _types = require('../parser/tokenizer/types'); /** * Determine information about this named import or named export specifier. * * This syntax is the `a` from statements like these: * import {A} from "./foo"; * export {A}; * export {A} from "./foo"; * * As it turns out, we can exactly characterize the syntax meaning by simply * counting the number of tokens, which can be from 1 to 4: * {A} * {type A} * {A as B} * {type A as B} * * In the type case, we never actually need the names in practice, so don't get * them. * * TODO: There's some redundancy with the type detection here and the isType * flag that's already present on tokens in TS mode. This function could * potentially be simplified and/or pushed to the call sites to avoid the object * allocation. */ function getImportExportSpecifierInfo( tokens, index = tokens.currentIndex(), ) { let endIndex = index + 1; if (isSpecifierEnd(tokens, endIndex)) { // import {A} const name = tokens.identifierNameAtIndex(index); return { isType: false, leftName: name, rightName: name, endIndex, }; } endIndex++; if (isSpecifierEnd(tokens, endIndex)) { // import {type A} return { isType: true, leftName: null, rightName: null, endIndex, }; } endIndex++; if (isSpecifierEnd(tokens, endIndex)) { // import {A as B} return { isType: false, leftName: tokens.identifierNameAtIndex(index), rightName: tokens.identifierNameAtIndex(index + 2), endIndex, }; } endIndex++; if (isSpecifierEnd(tokens, endIndex)) { // import {type A as B} return { isType: true, leftName: null, rightName: null, endIndex, }; } throw new Error(`Unexpected import/export specifier at ${index}`); } exports.default = getImportExportSpecifierInfo; function isSpecifierEnd(tokens, index) { const token = tokens.tokens[index]; return token.type === _types.TokenType.braceR || token.type === _types.TokenType.comma; }
Close