⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
node_modules
/
@babel
/
preset-env
/
lib
/
View File Name :
filter-items.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addProposalSyntaxPlugins = addProposalSyntaxPlugins; exports.removeUnnecessaryItems = removeUnnecessaryItems; exports.removeUnsupportedItems = removeUnsupportedItems; var _semver = require("semver"); var _availablePlugins = require("./available-plugins"); const has = Function.call.bind(Object.hasOwnProperty); function addProposalSyntaxPlugins(items, proposalSyntaxPlugins) { proposalSyntaxPlugins.forEach(plugin => { items.add(plugin); }); } function removeUnnecessaryItems(items, overlapping) { items.forEach(item => { var _overlapping$item; (_overlapping$item = overlapping[item]) == null ? void 0 : _overlapping$item.forEach(name => items.delete(name)); }); } function removeUnsupportedItems(items, babelVersion) { items.forEach(item => { if (has(_availablePlugins.minVersions, item) && _semver.lt(babelVersion, _availablePlugins.minVersions[item])) { items.delete(item); } }); } //# sourceMappingURL=filter-items.js.map