Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

blimu

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blimu - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+35
-213
dist/index.d.mts

@@ -5,58 +5,20 @@ import { z } from 'zod';

is_tenant: z.ZodOptional<z.ZodBoolean>;
roles: z.ZodArray<z.ZodString, "many">;
roles: z.ZodArray<z.ZodString>;
parents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
required: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
required: boolean;
}, {
required: boolean;
}>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
}, "strip", z.ZodTypeAny, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
}, z.core.$strip>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
}, z.core.$strip>;
declare const EntitlementDefinitionSchema: z.ZodObject<{
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
limit: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}>;
}, z.core.$strip>;
declare const FeatureDefinitionSchema: z.ZodObject<{
name: z.ZodString;
summary: z.ZodOptional<z.ZodString>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
default_enabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}>;
}, z.core.$strip>;
declare const PlanDefinitionSchema: z.ZodObject<{

@@ -69,88 +31,30 @@ name: z.ZodString;

value: z.ZodNumber;
period: z.ZodEnum<["monthly", "yearly", "lifetime"]>;
}, "strip", z.ZodTypeAny, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}>;
period: z.ZodEnum<{
monthly: "monthly";
yearly: "yearly";
lifetime: "lifetime";
}>;
}, z.core.$strip>>>;
}, z.core.$strip>;
declare const BlimuConfigSchema: z.ZodObject<{
resources: z.ZodRecord<z.ZodString, z.ZodObject<{
is_tenant: z.ZodOptional<z.ZodBoolean>;
roles: z.ZodArray<z.ZodString, "many">;
roles: z.ZodArray<z.ZodString>;
parents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
required: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
required: boolean;
}, {
required: boolean;
}>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
}, "strip", z.ZodTypeAny, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>>;
}, z.core.$strip>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
}, z.core.$strip>>;
entitlements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
limit: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}>>>;
}, z.core.$strip>>>;
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
name: z.ZodString;
summary: z.ZodOptional<z.ZodString>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
default_enabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}>>>;
}, z.core.$strip>>>;
plans: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{

@@ -163,92 +67,10 @@ name: z.ZodString;

value: z.ZodNumber;
period: z.ZodEnum<["monthly", "yearly", "lifetime"]>;
}, "strip", z.ZodTypeAny, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
resources: Record<string, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
plans?: Record<string, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}> | undefined;
entitlements?: Record<string, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}> | undefined;
features?: Record<string, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}> | undefined;
}, {
resources: Record<string, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
plans?: Record<string, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}> | undefined;
entitlements?: Record<string, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}> | undefined;
features?: Record<string, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}> | undefined;
}>;
period: z.ZodEnum<{
monthly: "monthly";
yearly: "yearly";
lifetime: "lifetime";
}>;
}, z.core.$strip>>>;
}, z.core.$strip>>>;
}, z.core.$strip>;
type ResourceDefinition = z.infer<typeof ResourceDefinitionSchema>;

@@ -255,0 +77,0 @@ type EntitlementDefinition = z.infer<typeof EntitlementDefinitionSchema>;

@@ -5,58 +5,20 @@ import { z } from 'zod';

is_tenant: z.ZodOptional<z.ZodBoolean>;
roles: z.ZodArray<z.ZodString, "many">;
roles: z.ZodArray<z.ZodString>;
parents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
required: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
required: boolean;
}, {
required: boolean;
}>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
}, "strip", z.ZodTypeAny, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
}, z.core.$strip>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
}, z.core.$strip>;
declare const EntitlementDefinitionSchema: z.ZodObject<{
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
limit: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}>;
}, z.core.$strip>;
declare const FeatureDefinitionSchema: z.ZodObject<{
name: z.ZodString;
summary: z.ZodOptional<z.ZodString>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
default_enabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}>;
}, z.core.$strip>;
declare const PlanDefinitionSchema: z.ZodObject<{

@@ -69,88 +31,30 @@ name: z.ZodString;

value: z.ZodNumber;
period: z.ZodEnum<["monthly", "yearly", "lifetime"]>;
}, "strip", z.ZodTypeAny, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}>;
period: z.ZodEnum<{
monthly: "monthly";
yearly: "yearly";
lifetime: "lifetime";
}>;
}, z.core.$strip>>>;
}, z.core.$strip>;
declare const BlimuConfigSchema: z.ZodObject<{
resources: z.ZodRecord<z.ZodString, z.ZodObject<{
is_tenant: z.ZodOptional<z.ZodBoolean>;
roles: z.ZodArray<z.ZodString, "many">;
roles: z.ZodArray<z.ZodString>;
parents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
required: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
required: boolean;
}, {
required: boolean;
}>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
}, "strip", z.ZodTypeAny, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>>;
}, z.core.$strip>>>;
roles_inheritance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
}, z.core.$strip>>;
entitlements: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
limit: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}>>>;
}, z.core.$strip>>>;
features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
name: z.ZodString;
summary: z.ZodOptional<z.ZodString>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
plans: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
entitlements: z.ZodOptional<z.ZodArray<z.ZodString>>;
plans: z.ZodOptional<z.ZodArray<z.ZodString>>;
default_enabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}>>>;
}, z.core.$strip>>>;
plans: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{

@@ -163,92 +67,10 @@ name: z.ZodString;

value: z.ZodNumber;
period: z.ZodEnum<["monthly", "yearly", "lifetime"]>;
}, "strip", z.ZodTypeAny, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}>>>;
}, "strip", z.ZodTypeAny, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
resources: Record<string, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
plans?: Record<string, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}> | undefined;
entitlements?: Record<string, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}> | undefined;
features?: Record<string, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}> | undefined;
}, {
resources: Record<string, {
roles: string[];
is_tenant?: boolean | undefined;
parents?: Record<string, {
required: boolean;
}> | undefined;
roles_inheritance?: Record<string, string[]> | undefined;
}>;
plans?: Record<string, {
name: string;
summary?: string | undefined;
description?: string | undefined;
resource_limits?: Record<string, number> | undefined;
usage_based_limits?: Record<string, {
value: number;
period: "monthly" | "yearly" | "lifetime";
}> | undefined;
}> | undefined;
entitlements?: Record<string, {
roles?: string[] | undefined;
plans?: string[] | undefined;
limit?: string | undefined;
}> | undefined;
features?: Record<string, {
name: string;
plans?: string[] | undefined;
summary?: string | undefined;
entitlements?: string[] | undefined;
default_enabled?: boolean | undefined;
}> | undefined;
}>;
period: z.ZodEnum<{
monthly: "monthly";
yearly: "yearly";
lifetime: "lifetime";
}>;
}, z.core.$strip>>>;
}, z.core.$strip>>>;
}, z.core.$strip>;
type ResourceDefinition = z.infer<typeof ResourceDefinitionSchema>;

@@ -255,0 +77,0 @@ type EntitlementDefinition = z.infer<typeof EntitlementDefinitionSchema>;

+5
-5
{
"name": "blimu",
"version": "1.1.0",
"version": "1.1.1",
"description": "Blimu - Authorization as a Service CLI",

@@ -23,11 +23,11 @@ "main": "dist/index.js",

"@clack/prompts": "^0.11.0",
"commander": "^12.1.0",
"zod": "^3.23.8"
"commander": "^14.0.2",
"zod": "^4.3.5"
},
"devDependencies": {
"@types/node": "^25.0.8",
"@types/node": "^25.0.9",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
"vitest": "^4.0.17"
},

@@ -34,0 +34,0 @@ "repository": {