Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dotcom-tool-kit/types

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotcom-tool-kit/types - npm Package Compare versions

Comparing version 2.9.0 to 2.9.1

12

lib/schema.d.ts

@@ -51,3 +51,3 @@ import type prompts from 'prompts';

'@dotcom-tool-kit/eslint': z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

@@ -58,6 +58,6 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

config?: Record<string, unknown> | undefined;
files: string[];
files: string | string[];
}, {
options?: Record<string, unknown> | undefined;
files?: string[] | undefined;
files?: string | string[] | undefined;
config?: Record<string, unknown> | undefined;

@@ -191,3 +191,3 @@ }>;

'@dotcom-tool-kit/prettier': z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
configFile: z.ZodOptional<z.ZodString>;

@@ -198,7 +198,7 @@ ignoreFile: z.ZodDefault<z.ZodString>;

configFile?: string | undefined;
files: string[];
files: string | string[];
ignoreFile: string;
configOptions: Record<string, unknown>;
}, {
files?: string[] | undefined;
files?: string | string[] | undefined;
configFile?: string | undefined;

@@ -205,0 +205,0 @@ ignoreFile?: string | undefined;

import { z } from 'zod';
export declare const ESLintSchema: z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

@@ -9,6 +9,6 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

config?: Record<string, unknown> | undefined;
files: string[];
files: string | string[];
}, {
options?: Record<string, unknown> | undefined;
files?: string[] | undefined;
files?: string | string[] | undefined;
config?: Record<string, unknown> | undefined;

@@ -18,3 +18,3 @@ }>;

export declare const Schema: z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

@@ -25,8 +25,8 @@ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;

config?: Record<string, unknown> | undefined;
files: string[];
files: string | string[];
}, {
options?: Record<string, unknown> | undefined;
files?: string[] | undefined;
files?: string | string[] | undefined;
config?: Record<string, unknown> | undefined;
}>;
//# sourceMappingURL=eslint.d.ts.map

@@ -6,3 +6,3 @@ "use strict";

exports.ESLintSchema = zod_1.z.object({
files: zod_1.z.string().array().default(['**/*.js']),
files: zod_1.z.string().array().or(zod_1.z.string()).default(['**/*.js']),
config: zod_1.z.record(zod_1.z.unknown()).optional(),

@@ -9,0 +9,0 @@ options: zod_1.z.record(zod_1.z.unknown()).optional()

import { z } from 'zod';
export declare const PrettierSchema: z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
configFile: z.ZodOptional<z.ZodString>;

@@ -9,7 +9,7 @@ ignoreFile: z.ZodDefault<z.ZodString>;

configFile?: string | undefined;
files: string[];
files: string | string[];
ignoreFile: string;
configOptions: Record<string, unknown>;
}, {
files?: string[] | undefined;
files?: string | string[] | undefined;
configFile?: string | undefined;

@@ -21,3 +21,3 @@ ignoreFile?: string | undefined;

export declare const Schema: z.ZodObject<{
files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
files: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
configFile: z.ZodOptional<z.ZodString>;

@@ -28,7 +28,7 @@ ignoreFile: z.ZodDefault<z.ZodString>;

configFile?: string | undefined;
files: string[];
files: string | string[];
ignoreFile: string;
configOptions: Record<string, unknown>;
}, {
files?: string[] | undefined;
files?: string | string[] | undefined;
configFile?: string | undefined;

@@ -35,0 +35,0 @@ ignoreFile?: string | undefined;

@@ -6,3 +6,3 @@ "use strict";

exports.PrettierSchema = zod_1.z.object({
files: zod_1.z.string().array().default(['**/*.{js,jsx,ts,tsx}']),
files: zod_1.z.string().array().or(zod_1.z.string()).default(['**/*.{js,jsx,ts,tsx}']),
configFile: zod_1.z.string().optional(),

@@ -9,0 +9,0 @@ ignoreFile: zod_1.z.string().default('.prettierignore'),

{
"name": "@dotcom-tool-kit/types",
"version": "2.9.0",
"version": "2.9.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc