Server IP : 68.65.120.251 / Your IP : 3.136.20.207 [ Web Server : LiteSpeed System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : travtpib ( 6521) PHP Version : 7.4.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules/rimraf/dist/commonjs/ |
Upload File : |
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.useNativeSync = exports.useNative = void 0; const platform_js_1 = __importDefault(require("./platform.js")); const version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version; const versArr = version.replace(/^v/, '').split('.'); /* c8 ignore start */ const [major = 0, minor = 0] = versArr.map(v => parseInt(v, 10)); /* c8 ignore stop */ const hasNative = major > 14 || (major === 14 && minor >= 14); // we do NOT use native by default on Windows, because Node's native // rm implementation is less advanced. Change this code if that changes. exports.useNative = !hasNative || platform_js_1.default === 'win32' ? () => false : opt => !opt?.signal && !opt?.filter; exports.useNativeSync = !hasNative || platform_js_1.default === 'win32' ? () => false : opt => !opt?.signal && !opt?.filter; //# sourceMappingURL=use-native.js.map