🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vercel/cli-config

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/cli-config - npm Package Compare versions

Comparing version
0.1.1
to
0.1.2
+2
-1
dist/schema.d.ts

@@ -9,6 +9,7 @@ /**

import type { z } from 'zod';
import type { AuthConfig, GlobalConfig, GuidanceConfig, TelemetryConfig } from './types';
import type { AuthConfig, GlobalConfig, GuidanceConfig, TelemetryConfig, UpdatesConfig } from './types';
export declare const telemetryConfigSchema: z.ZodType<TelemetryConfig>;
export declare const guidanceConfigSchema: z.ZodType<GuidanceConfig>;
export declare const updatesConfigSchema: z.ZodType<UpdatesConfig>;
export declare const globalConfigSchema: z.ZodType<GlobalConfig>;
export declare const authConfigSchema: z.ZodType<AuthConfig>;

@@ -10,6 +10,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.authConfigSchema = exports.globalConfigSchema = exports.guidanceConfigSchema = exports.telemetryConfigSchema = void 0;
exports.authConfigSchema = exports.globalConfigSchema = exports.updatesConfigSchema = exports.guidanceConfigSchema = exports.telemetryConfigSchema = void 0;
const schema_zod_1 = require("./schema.zod");
exports.telemetryConfigSchema = schema_zod_1.telemetryConfigSchema.passthrough();
exports.guidanceConfigSchema = schema_zod_1.guidanceConfigSchema.passthrough();
exports.updatesConfigSchema = schema_zod_1.updatesConfigSchema.passthrough();
exports.globalConfigSchema = schema_zod_1.globalConfigSchema

@@ -19,4 +20,5 @@ .extend({

guidance: exports.guidanceConfigSchema.optional(),
updates: exports.updatesConfigSchema.optional(),
})
.passthrough();
exports.authConfigSchema = schema_zod_1.authConfigSchema.passthrough();

@@ -8,2 +8,5 @@ import { z } from 'zod';

}, z.core.$strip>;
export declare const updatesConfigSchema: z.ZodObject<{
auto: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export declare const authConfigSchema: z.ZodObject<{

@@ -30,2 +33,5 @@ '// Note': z.ZodOptional<z.ZodString>;

}, z.core.$strip>>;
updates: z.ZodOptional<z.ZodObject<{
auto: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>>;
}, z.core.$strip>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.globalConfigSchema = exports.authConfigSchema = exports.guidanceConfigSchema = exports.telemetryConfigSchema = void 0;
exports.globalConfigSchema = exports.authConfigSchema = exports.updatesConfigSchema = exports.guidanceConfigSchema = exports.telemetryConfigSchema = void 0;
// Generated by ts-to-zod

@@ -12,2 +12,5 @@ const zod_1 = require("zod");

});
exports.updatesConfigSchema = zod_1.z.object({
auto: zod_1.z.boolean().optional(),
});
exports.authConfigSchema = zod_1.z.object({

@@ -30,2 +33,3 @@ '// Note': zod_1.z.string().optional(),

guidance: exports.guidanceConfigSchema.optional(),
updates: exports.updatesConfigSchema.optional(),
});

@@ -13,2 +13,5 @@ /**

}
export interface UpdatesConfig {
auto?: boolean;
}
export interface AuthConfig {

@@ -31,2 +34,3 @@ '// Note'?: string;

guidance?: GuidanceConfig;
updates?: UpdatesConfig;
}
{
"name": "@vercel/cli-config",
"version": "0.1.1",
"version": "0.1.2",
"description": "Shared core utilities for Vercel global configuration",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",