Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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 /
cqt /
node_modules /
zod /
src /
v4 /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
tests
[ DIR ]
drwxr-xr-x
api.ts
46.39
KB
-rw-r--r--
checks.ts
36.43
KB
-rw-r--r--
config.ts
472
B
-rw-r--r--
core.ts
4.64
KB
-rw-r--r--
doc.ts
1.16
KB
-rw-r--r--
errors.ts
12.85
KB
-rw-r--r--
function.ts
6.14
KB
-rw-r--r--
index.ts
499
B
-rw-r--r--
json-schema.ts
3.62
KB
-rw-r--r--
parse.ts
3.73
KB
-rw-r--r--
regexes.ts
6.79
KB
-rw-r--r--
registries.ts
2.78
KB
-rw-r--r--
schemas.ts
115.65
KB
-rw-r--r--
standard-schema.ts
2.27
KB
-rw-r--r--
to-json-schema.ts
31.66
KB
-rw-r--r--
util.ts
22.28
KB
-rw-r--r--
versions.ts
83
B
-rw-r--r--
zsf.ts
6.52
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : parse.ts
import * as core from "./core.js"; import * as errors from "./errors.js"; import type * as schemas from "./schemas.js"; import * as util from "./util.js"; export type $ZodErrorClass = { new (issues: errors.$ZodIssue[]): errors.$ZodError }; /////////// METHODS /////////// export type $Parse = <T extends schemas.$ZodType>( schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: { callee?: util.AnyFunc; Err?: $ZodErrorClass } ) => core.output<T>; export const _parse: (_Err: $ZodErrorClass) => $Parse = (_Err) => (schema, value, _ctx, _params) => { const ctx: schemas.ParseContextInternal = _ctx ? Object.assign(_ctx, { async: false }) : { async: false }; const result = schema._zod.run({ value, issues: [] }, ctx); if (result instanceof Promise) { throw new core.$ZodAsyncError(); } if (result.issues.length) { const e = new (_params?.Err ?? _Err)(result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))); util.captureStackTrace(e, _params?.callee); throw e; } return result.value as core.output<typeof schema>; }; export const parse: $Parse = /* @__PURE__*/ _parse(errors.$ZodRealError); export type $ParseAsync = <T extends schemas.$ZodType>( schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: { callee?: util.AnyFunc; Err?: $ZodErrorClass } ) => Promise<core.output<T>>; export const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync = (_Err) => async (schema, value, _ctx, params) => { const ctx: schemas.ParseContextInternal = _ctx ? Object.assign(_ctx, { async: true }) : { async: true }; let result = schema._zod.run({ value, issues: [] }, ctx); if (result instanceof Promise) result = await result; if (result.issues.length) { const e = new (params?.Err ?? _Err)(result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))); util.captureStackTrace(e, params?.callee); throw e; } return result.value as core.output<typeof schema>; }; export const parseAsync: $ParseAsync = /* @__PURE__*/ _parseAsync(errors.$ZodRealError); export type $SafeParse = <T extends schemas.$ZodType>( schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue> ) => util.SafeParseResult<core.output<T>>; export const _safeParse: (_Err: $ZodErrorClass) => $SafeParse = (_Err) => (schema, value, _ctx) => { const ctx: schemas.ParseContextInternal = _ctx ? { ..._ctx, async: false } : { async: false }; const result = schema._zod.run({ value, issues: [] }, ctx); if (result instanceof Promise) { throw new core.$ZodAsyncError(); } return result.issues.length ? { success: false, error: new (_Err ?? errors.$ZodError)(result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))), } : ({ success: true, data: result.value } as any); }; export const safeParse: $SafeParse = /* @__PURE__*/ _safeParse(errors.$ZodRealError); export type $SafeParseAsync = <T extends schemas.$ZodType>( schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue> ) => Promise<util.SafeParseResult<core.output<T>>>; export const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync = (_Err) => async (schema, value, _ctx) => { const ctx: schemas.ParseContextInternal = _ctx ? Object.assign(_ctx, { async: true }) : { async: true }; let result = schema._zod.run({ value, issues: [] }, ctx); if (result instanceof Promise) result = await result; return result.issues.length ? { success: false, error: new _Err(result.issues.map((iss) => util.finalizeIssue(iss, ctx, core.config()))), } : ({ success: true, data: result.value } as any); }; export const safeParseAsync: $SafeParseAsync = /* @__PURE__*/ _safeParseAsync(errors.$ZodRealError);
Close