T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/lavocat.quebec/private_html/node_modules/c12/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/lavocat.quebec/private_html/node_modules/c12/dist/update.d.mts
import * as magicast from 'magicast';

/**
 * @experimental Update a config file or create a new one.
 */
declare function updateConfig(opts: UpdateConfigOptions): Promise<UpdateConfigResult>;
interface UpdateConfigResult {
    configFile?: string;
    created?: boolean;
}
type MaybePromise<T> = T | Promise<T>;
type MagicAstOptions = Exclude<Parameters<(typeof magicast)["parseModule"]>[1], undefined>;
interface UpdateConfigOptions {
    /**
     * Current working directory
     */
    cwd: string;
    /**
     * Config file name
     */
    configFile: string;
    /**
     * Extension used for new config file.
     */
    createExtension?: string;
    /**
     * Magicast options
     */
    magicast?: MagicAstOptions;
    /**
     * Update function.
     */
    onUpdate?: (config: any) => MaybePromise<void>;
    /**
     * Handle default config creation.
     *
     * Tip: you can use this option as a hook to prompt users about config creation.
     *
     * Context object:
     *  - path: determined full path to the config file
     *
     * Returns types:
     *  - string: custom config template
     *  - true: write the template
     *  - false: abort the operation
     */
    onCreate?: (ctx: {
        configFile: string;
    }) => MaybePromise<string | boolean>;
}

export { updateConfig };
export type { UpdateConfigOptions, UpdateConfigResult };

CasperSecurity Mini