New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@inploi/core

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inploi/core - npm Package Compare versions

Comparing version 1.11.3 to 1.11.4

79

dist/flows/index.d.ts

@@ -244,2 +244,3 @@ import { z } from 'zod';

falseLabel: z.ZodDefault<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -250,2 +251,3 @@ key: string;

falseLabel: string;
optional: boolean;
}, {

@@ -256,2 +258,3 @@ key: string;

falseLabel?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -265,2 +268,3 @@ }, "strip", z.ZodTypeAny, {

falseLabel: string;
optional: boolean;
};

@@ -277,2 +281,3 @@ type: "question-boolean";

falseLabel?: string | undefined;
optional?: boolean | undefined;
};

@@ -295,5 +300,7 @@ type: "question-boolean";

format: z.ZodDefault<z.ZodEnum<["email", "phone", "text", "url"]>>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -306,2 +313,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
}>;

@@ -313,2 +321,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -327,2 +336,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
};

@@ -347,5 +357,7 @@ type: "question-text";

max: z.ZodOptional<z.ZodNumber>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -362,2 +374,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -369,2 +382,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -387,2 +401,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
};

@@ -484,5 +499,7 @@ type: "question-number";

extensions: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
extensions: string[];

@@ -497,2 +514,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -504,2 +522,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
extensions: string[];

@@ -520,2 +539,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
};

@@ -536,2 +556,3 @@ type: "question-file";

placeholder: z.ZodOptional<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
keys: z.ZodObject<{

@@ -573,2 +594,3 @@ line1: z.ZodEffects<z.ZodString, string, string>;

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -587,2 +609,3 @@ }, {

placeholder?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -602,2 +625,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -622,2 +646,3 @@ };

placeholder?: string | undefined;
optional?: boolean | undefined;
};

@@ -911,2 +936,3 @@ type: "question-address";

falseLabel: z.ZodDefault<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -917,2 +943,3 @@ key: string;

falseLabel: string;
optional: boolean;
}, {

@@ -923,2 +950,3 @@ key: string;

falseLabel?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -932,2 +960,3 @@ }, "strip", z.ZodTypeAny, {

falseLabel: string;
optional: boolean;
};

@@ -944,2 +973,3 @@ type: "question-boolean";

falseLabel?: string | undefined;
optional?: boolean | undefined;
};

@@ -959,5 +989,7 @@ type: "question-boolean";

format: z.ZodDefault<z.ZodEnum<["email", "phone", "text", "url"]>>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -970,2 +1002,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
}>;

@@ -977,2 +1010,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -991,2 +1025,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
};

@@ -1008,5 +1043,7 @@ type: "question-text";

max: z.ZodOptional<z.ZodNumber>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1023,2 +1060,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -1030,2 +1068,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1048,2 +1087,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
};

@@ -1139,5 +1179,7 @@ type: "question-number";

extensions: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
extensions: string[];

@@ -1152,2 +1194,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -1159,2 +1202,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
extensions: string[];

@@ -1175,2 +1219,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
};

@@ -1188,2 +1233,3 @@ type: "question-file";

placeholder: z.ZodOptional<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
keys: z.ZodObject<{

@@ -1225,2 +1271,3 @@ line1: z.ZodEffects<z.ZodString, string, string>;

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1239,2 +1286,3 @@ }, {

placeholder?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -1254,2 +1302,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1274,2 +1323,3 @@ };

placeholder?: string | undefined;
optional?: boolean | undefined;
};

@@ -1349,2 +1399,4 @@ type: "question-address";

}>]>;
/** Input of what can be bassed to validate a node via zod. */
type FlowNodeInput = z.input<typeof FlowNodeSchema>;
type FlowNode = z.infer<typeof FlowNodeSchema>;

@@ -1391,5 +1443,7 @@ declare const nodeTypeToSchema: {

format: z.ZodDefault<z.ZodEnum<["email", "phone", "text", "url"]>>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -1402,2 +1456,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
}>;

@@ -1409,2 +1464,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
format: "text" | "url" | "email" | "phone";

@@ -1423,2 +1479,3 @@ placeholder?: string | undefined;

format?: "text" | "url" | "email" | "phone" | undefined;
optional?: boolean | undefined;
};

@@ -1440,5 +1497,7 @@ type: "question-text";

extensions: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
extensions: string[];

@@ -1453,2 +1512,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -1460,2 +1520,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
extensions: string[];

@@ -1476,2 +1537,3 @@ multiple?: boolean | undefined;

maxSizeKb?: number | undefined;
optional?: boolean | undefined;
};

@@ -1592,2 +1654,3 @@ type: "question-file";

falseLabel: z.ZodDefault<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -1598,2 +1661,3 @@ key: string;

falseLabel: string;
optional: boolean;
}, {

@@ -1604,2 +1668,3 @@ key: string;

falseLabel?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -1613,2 +1678,3 @@ }, "strip", z.ZodTypeAny, {

falseLabel: string;
optional: boolean;
};

@@ -1625,2 +1691,3 @@ type: "question-boolean";

falseLabel?: string | undefined;
optional?: boolean | undefined;
};

@@ -1715,2 +1782,3 @@ type: "question-boolean";

placeholder: z.ZodOptional<z.ZodString>;
optional: z.ZodDefault<z.ZodBoolean>;
keys: z.ZodObject<{

@@ -1752,2 +1820,3 @@ line1: z.ZodEffects<z.ZodString, string, string>;

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1766,2 +1835,3 @@ }, {

placeholder?: string | undefined;
optional?: boolean | undefined;
}>;

@@ -1781,2 +1851,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1801,2 +1872,3 @@ };

placeholder?: string | undefined;
optional?: boolean | undefined;
};

@@ -1890,5 +1962,7 @@ type: "question-address";

max: z.ZodOptional<z.ZodNumber>;
optional: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
key: string;
question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1905,2 +1979,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
}>;

@@ -1912,2 +1987,3 @@ }, "strip", z.ZodTypeAny, {

question: string;
optional: boolean;
placeholder?: string | undefined;

@@ -1930,2 +2006,3 @@ decimalCases?: number | undefined;

max?: number | undefined;
optional?: boolean | undefined;
};

@@ -2012,2 +2089,2 @@ type: "question-number";

export { BaseFlowNodeSchema, EndFlowNode, EndFlowNodeSchema, FlowNode, FlowNodeSchema, FlowNodeType, GetWorkflowNode, GetWorkflowNodeSchema, IfBlockNode, IfBlockSchema, ImageNode, ImageNodeSchema, JumpNode, JumpNodeSchema, LinkNode, LinkNodeSchema, QuestionAddressNode, QuestionAddressSchema, QuestionBooleanNode, QuestionBooleanSchema, QuestionEnumNode, QuestionEnumSchema, QuestionFileNode, QuestionFileSchema, QuestionNumberNode, QuestionNumberSchema, QuestionTextNode, QuestionTextSchema, SubmitNode, SubmitNodeSchema, TextNode, TextNodeSchema, nodeTypeToSchema };
export { BaseFlowNodeSchema, EndFlowNode, EndFlowNodeSchema, FlowNode, FlowNodeInput, FlowNodeSchema, FlowNodeType, GetWorkflowNode, GetWorkflowNodeSchema, IfBlockNode, IfBlockSchema, ImageNode, ImageNodeSchema, JumpNode, JumpNodeSchema, LinkNode, LinkNodeSchema, QuestionAddressNode, QuestionAddressSchema, QuestionBooleanNode, QuestionBooleanSchema, QuestionEnumNode, QuestionEnumSchema, QuestionFileNode, QuestionFileSchema, QuestionNumberNode, QuestionNumberSchema, QuestionTextNode, QuestionTextSchema, SubmitNode, SubmitNodeSchema, TextNode, TextNodeSchema, nodeTypeToSchema };

14

dist/flows/index.js

@@ -66,2 +66,3 @@ "use strict";

var MessageTextSchema = import_zod.z.string().min(2, { message: "Message text is too short." });
var OptionalFlagSchema = import_zod.z.boolean().default(false);
var FieldKeySchema = import_zod.z.string().min(1).refine((val) => FIELD_KEY_VALIDATION_REGEX.test(val), {

@@ -125,3 +126,4 @@ message: "Please only enter alphanumeric characters, dashes, and underscores"

trueLabel: import_zod.z.string().default("Yes"),
falseLabel: import_zod.z.string().default("No")
falseLabel: import_zod.z.string().default("No"),
optional: OptionalFlagSchema
})

@@ -135,3 +137,4 @@ });

placeholder: import_zod.z.string().optional(),
format: import_zod.z.enum(["email", "phone", "text", "url"]).default("text")
format: import_zod.z.enum(["email", "phone", "text", "url"]).default("text"),
optional: OptionalFlagSchema
})

@@ -147,3 +150,4 @@ });

min: import_zod.z.number().optional(),
max: import_zod.z.number().optional()
max: import_zod.z.number().optional(),
optional: OptionalFlagSchema
})

@@ -168,3 +172,4 @@ });

maxSizeKb: import_zod.z.number().optional(),
extensions: import_zod.z.array(import_zod.z.string().startsWith(".")).refine(uniqueOrThrow)
extensions: import_zod.z.array(import_zod.z.string().startsWith(".")).refine(uniqueOrThrow),
optional: OptionalFlagSchema
})

@@ -177,2 +182,3 @@ });

placeholder: import_zod.z.string().optional(),
optional: OptionalFlagSchema,
keys: import_zod.z.object({

@@ -179,0 +185,0 @@ line1: FieldKeySchema,

{
"name": "@inploi/core",
"version": "1.11.3",
"version": "1.11.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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