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

@pexip-engage-public/plugin-state

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pexip-engage-public/plugin-state - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

6

CHANGELOG.md
# @pexip-engage-public/plugin-state
## 1.1.7
### Patch Changes
- ef5017b17: hotfix: allow string coercion to accept numbers in config ids (2.1.0-hotfix.1)
## 1.1.6

@@ -4,0 +10,0 @@

4

package.json
{
"name": "@pexip-engage-public/plugin-state",
"version": "1.1.6",
"version": "1.1.7",
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-state#readme",

@@ -41,3 +41,3 @@ "bugs": {

"@pexip-engage/tsconfig": "0.0.9",
"eslint-config-pexip-engage": "0.0.36"
"eslint-config-pexip-engage": "0.0.38"
},

@@ -44,0 +44,0 @@ "volta": {

@@ -36,2 +36,3 @@ import { z } from "zod";

const StringSchema = z.string().optional();
const CoercedStringSchema = z.coerce.string().optional();

@@ -43,2 +44,7 @@ const ArraySchema = z

const CoercedArraySchema = z
.union([z.coerce.string(), z.coerce.string().array()])
.nullish()
.transform((val) => valueToArray(val) ?? []);
const RecordSchema = z.record(z.any()).optional();

@@ -59,3 +65,3 @@ const QuestionSchema = z.record(z.union([z.string(), z.array(z.string())])).optional();

gender: StringFormSchema,
id: z.union([z.string(), z.number().transform((id) => `${id}`)]).nullish(),
id: z.coerce.string().nullish(),
is_existing: BooleanFormSchema,

@@ -214,3 +220,3 @@ language: StringFormSchema,

.object({
ids: ArraySchema,
ids: CoercedArraySchema,
type: IdTypeSchema.default("id"),

@@ -222,3 +228,3 @@ })

.object({
ids: ArraySchema,
ids: CoercedArraySchema,
type: IdTypeSchema.default("id"),

@@ -229,3 +235,3 @@ })

.object({
ids: ArraySchema,
ids: CoercedArraySchema,
type: IdTypeSchema.default("id"),

@@ -236,3 +242,3 @@ })

.object({
id: StringSchema,
id: CoercedStringSchema,
type: IdTypeSchema.default("id"),

@@ -243,3 +249,3 @@ })

.object({
ids: ArraySchema,
ids: CoercedArraySchema,
type: IdTypeSchema.default("id"),

@@ -253,3 +259,3 @@ })

.object({
id: StringSchema,
id: CoercedStringSchema,
type: LeadSegmentTypeSchema.default("code"),

@@ -256,0 +262,0 @@ })

@@ -15,3 +15,3 @@ import { z } from "zod";

gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodNumber, string, number>]>>>;
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
is_existing: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string | null, string>, z.ZodEffects<z.ZodBoolean, "on" | null, boolean>]>>>;

@@ -82,3 +82,3 @@ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -146,3 +146,3 @@ language?: string | null | undefined;

gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodNumber, string, number>]>>>;
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
is_existing: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string | null, string>, z.ZodEffects<z.ZodBoolean, "on" | null, boolean>]>>>;

@@ -213,3 +213,3 @@ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -524,3 +524,3 @@ language?: string | null | undefined;

gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodNumber, string, number>]>>>;
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
is_existing: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string | null, string>, z.ZodEffects<z.ZodBoolean, "on" | null, boolean>]>>>;

@@ -591,3 +591,3 @@ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -796,3 +796,3 @@ language?: string | null | undefined;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -1014,3 +1014,3 @@ language?: string | null | undefined;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -1112,3 +1112,3 @@ language?: string | null | undefined;

gender?: string | null | undefined;
id?: string | number | null | undefined;
id?: string | null | undefined;
is_existing?: string | boolean | null | undefined;

@@ -1115,0 +1115,0 @@ language?: string | null | undefined;

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