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.1
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 /
src /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
current.ts
1.75
KB
-rw-rw-rw-
finalize.ts
5.29
KB
-rw-rw-rw-
immerClass.ts
6.69
KB
-rw-rw-rw-
proxy.ts
7.48
KB
-rw-rw-rw-
scope.ts
1.71
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : scope.ts
import { Patch, PatchListener, Drafted, Immer, DRAFT_STATE, ImmerState, ProxyType, getPlugin } from "../internal" import {die} from "../utils/errors" /** Each scope represents a `produce` call. */ export interface ImmerScope { patches_?: Patch[] inversePatches_?: Patch[] canAutoFreeze_: boolean drafts_: any[] parent_?: ImmerScope patchListener_?: PatchListener immer_: Immer unfinalizedDrafts_: number } let currentScope: ImmerScope | undefined export function getCurrentScope() { if (__DEV__ && !currentScope) die(0) return currentScope! } function createScope( parent_: ImmerScope | undefined, immer_: Immer ): ImmerScope { return { drafts_: [], parent_, immer_, // Whenever the modified draft contains a draft from another scope, we // need to prevent auto-freezing so the unowned draft can be finalized. canAutoFreeze_: true, unfinalizedDrafts_: 0 } } export function usePatchesInScope( scope: ImmerScope, patchListener?: PatchListener ) { if (patchListener) { getPlugin("Patches") // assert we have the plugin scope.patches_ = [] scope.inversePatches_ = [] scope.patchListener_ = patchListener } } export function revokeScope(scope: ImmerScope) { leaveScope(scope) scope.drafts_.forEach(revokeDraft) // @ts-ignore scope.drafts_ = null } export function leaveScope(scope: ImmerScope) { if (scope === currentScope) { currentScope = scope.parent_ } } export function enterScope(immer: Immer) { return (currentScope = createScope(currentScope, immer)) } function revokeDraft(draft: Drafted) { const state: ImmerState = draft[DRAFT_STATE] if ( state.type_ === ProxyType.ProxyObject || state.type_ === ProxyType.ProxyArray ) state.revoke_() else state.revoked_ = true }
Close