chromatic
Advanced tools
Comparing version 7.5.1--canary.844.6637909228.0 to 7.5.1--canary.845.6638295254.0
@@ -366,3 +366,2 @@ /// <reference types="node" /> | ||
safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>; | ||
/** Alias of safeParseAsync */ | ||
spa: (data: unknown, params?: Partial<ParseParams> | undefined) => Promise<SafeParseReturnType<Input, Output>>; | ||
@@ -477,3 +476,3 @@ refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>; | ||
_parse(input: ParseInput): ParseReturnType<string>; | ||
protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>; | ||
protected _regex: (regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage | undefined) => ZodEffects<this, string, string>; | ||
_addCheck(check: ZodStringCheck): ZodString; | ||
@@ -506,10 +505,6 @@ email(message?: errorUtil.ErrMessage): ZodString; | ||
length(len: number, message?: errorUtil.ErrMessage): ZodString; | ||
/** | ||
* @deprecated Use z.string().min(1) instead. | ||
* @see {@link ZodString.min} | ||
*/ | ||
nonempty(message?: errorUtil.ErrMessage): ZodString; | ||
trim(): ZodString; | ||
toLowerCase(): ZodString; | ||
toUpperCase(): ZodString; | ||
nonempty: (message?: errorUtil.ErrMessage | undefined) => ZodString; | ||
trim: () => ZodString; | ||
toLowerCase: () => ZodString; | ||
toUpperCase: () => ZodString; | ||
get isDatetime(): boolean; | ||
@@ -613,17 +608,5 @@ get isEmail(): boolean; | ||
passthrough(): ZodObject<T, "passthrough", Catchall>; | ||
/** | ||
* @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped. | ||
* If you want to pass through unknown properties, use `.passthrough()` instead. | ||
*/ | ||
nonstrict: () => ZodObject<T, "passthrough", Catchall>; | ||
extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>; | ||
/** | ||
* @deprecated Use `.extend` instead | ||
* */ | ||
augment: <Augmentation extends ZodRawShape>(augmentation: Augmentation) => ZodObject<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, UnknownKeys, Catchall, objectOutputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>, objectInputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>>; | ||
/** | ||
* Prior to zod@1.0.12 there was a bug in the | ||
* inferred type of merged objects. Please | ||
* upgrade if you are experiencing issues. | ||
*/ | ||
merge<Incoming extends AnyZodObject, Augmentation extends Incoming["shape"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>; | ||
@@ -640,5 +623,2 @@ setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & { | ||
}>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>; | ||
/** | ||
* @deprecated | ||
*/ | ||
deepPartial(): partialUtil.DeepPartial<this>; | ||
@@ -967,3 +947,3 @@ partial(): ZodObject<{ | ||
}>; | ||
type Configuration = TypeOf<typeof configurationSchema>; | ||
declare type Configuration = TypeOf<typeof configurationSchema>; | ||
declare function getConfiguration(configFile?: string): Promise<{ | ||
@@ -1023,3 +1003,3 @@ projectId?: string; | ||
}; | ||
type LogFn = (...args: any[]) => void; | ||
declare type LogFn = (...args: any[]) => void; | ||
interface Logger { | ||
@@ -1197,3 +1177,2 @@ error: LogFn; | ||
static redirect(url: string, status?: number): Response; | ||
static json(data: any, init?: ResponseInit): Response; | ||
} | ||
@@ -1327,3 +1306,3 @@ | ||
type TaskName = 'auth' | 'gitInfo' | 'storybookInfo' | 'initialize' | 'build' | 'upload' | 'verify' | 'snapshot' | 'report' | 'prepareWorkspace' | 'restoreWorkspace'; | ||
declare type TaskName = 'auth' | 'gitInfo' | 'storybookInfo' | 'initialize' | 'build' | 'upload' | 'verify' | 'snapshot' | 'report' | 'prepareWorkspace' | 'restoreWorkspace'; | ||
interface Context { | ||
@@ -1535,3 +1514,3 @@ env: Env; | ||
*/ | ||
type AtLeast<T, R extends keyof T> = Partial<T> & Pick<T, R>; | ||
declare type AtLeast<T, R extends keyof T> = Partial<T> & Pick<T, R>; | ||
interface Output { | ||
@@ -1553,3 +1532,3 @@ code: number; | ||
type InitialContext = Omit<AtLeast<Context, 'argv' | 'flags' | 'help' | 'pkg' | 'extraOptions' | 'packagePath' | 'packageJson' | 'env' | 'log' | 'sessionId'>, 'options'>; | ||
declare type InitialContext = Omit<AtLeast<Context, 'argv' | 'flags' | 'help' | 'pkg' | 'extraOptions' | 'packagePath' | 'packageJson' | 'env' | 'log' | 'sessionId'>, 'options'>; | ||
declare function run({ argv, flags, options: extraOptions, }: { | ||
@@ -1561,3 +1540,3 @@ argv?: string[]; | ||
declare function runAll(ctx: InitialContext): Promise<void>; | ||
type GitInfo = { | ||
declare type GitInfo = { | ||
slug: string; | ||
@@ -1564,0 +1543,0 @@ branch: string; |
{ | ||
"name": "chromatic", | ||
"version": "7.5.1--canary.844.6637909228.0", | ||
"version": "7.5.1--canary.845.6638295254.0", | ||
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.", | ||
@@ -137,3 +137,3 @@ "keywords": [ | ||
"@typescript-eslint/parser": "^5.59.8", | ||
"ansi-html": "^0.0.8", | ||
"ansi-html": "0.0.8", | ||
"any-observable": "^0.5.1", | ||
@@ -164,5 +164,5 @@ "archiver": "^5.3.0", | ||
"jsonfile": "^6.0.1", | ||
"junit-report-builder": "^2.1.0", | ||
"junit-report-builder": "2.1.0", | ||
"lint-staged": "^11.1.2", | ||
"listr": "^0.14.3", | ||
"listr": "0.14.3", | ||
"meow": "^9.0.0", | ||
@@ -172,8 +172,8 @@ "mock-fs": "^5.1.2", | ||
"node-ask": "^1.0.1", | ||
"node-fetch": "^3.2.10", | ||
"node-fetch": "3.2.10", | ||
"npm-run-all": "^4.0.2", | ||
"observable": "^2.1.4", | ||
"os-browserify": "^0.3.0", | ||
"p-limit": "^3.1.0", | ||
"picomatch": "^2.2.2", | ||
"p-limit": "3.1.0", | ||
"picomatch": "2.2.2", | ||
"pkg-up": "^3.1.0", | ||
@@ -190,6 +190,6 @@ "pluralize": "^8.0.0", | ||
"snyk-nodejs-lockfile-parser": "^1.52.1", | ||
"sort-package-json": "^1.50.0", | ||
"sort-package-json": "1.50.0", | ||
"string-argv": "^0.3.1", | ||
"strip-ansi": "^6.0.0", | ||
"tmp-promise": "^3.0.2", | ||
"strip-ansi": "6.0.0", | ||
"tmp-promise": "3.0.2", | ||
"ts-dedent": "^1.0.0", | ||
@@ -196,0 +196,0 @@ "ts-loader": "^9.2.5", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8104818
34549