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

@likec4/core

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/core - npm Package Compare versions

Comparing version 0.57.1 to 0.58.0

1

dist/cjs/types/relation.d.ts

@@ -23,2 +23,3 @@ import type { NonEmptyArray } from './_common';

readonly tail?: RelationshipArrowType;
readonly links?: NonEmptyArray<string>;
}

2

dist/cjs/utils/guards.d.ts
import type { NonEmptyArray } from '../types';
export { hasAtLeast } from 'remeda';
export declare function isString(value: unknown): value is string;
export declare function isNonEmptyArray<A>(arr: ArrayLike<A>): arr is NonEmptyArray<A>;
export declare function isNonEmptyArray<A>(arr: ArrayLike<A> | undefined): arr is NonEmptyArray<A>;

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

function isNonEmptyArray(arr) {
return arr.length > 0;
return !!arr && Array.isArray(arr) && arr.length > 0;
}

@@ -23,2 +23,3 @@ import type { NonEmptyArray } from './_common';

readonly tail?: RelationshipArrowType;
readonly links?: NonEmptyArray<string>;
}
import type { NonEmptyArray } from '../types';
export { hasAtLeast } from 'remeda';
export declare function isString(value: unknown): value is string;
export declare function isNonEmptyArray<A>(arr: ArrayLike<A>): arr is NonEmptyArray<A>;
export declare function isNonEmptyArray<A>(arr: ArrayLike<A> | undefined): arr is NonEmptyArray<A>;

@@ -6,3 +6,3 @@ export { hasAtLeast } from "remeda";

export function isNonEmptyArray(arr) {
return arr.length > 0;
return !!arr && Array.isArray(arr) && arr.length > 0;
}
{
"name": "@likec4/core",
"version": "0.57.1",
"version": "0.58.0",
"license": "MIT",

@@ -89,3 +89,3 @@ "homepage": "https://likec4.dev",

"unbuild": "^2.0.0",
"vitest": "^1.2.2"
"vitest": "^1.3.1"
},

@@ -92,0 +92,0 @@ "packageManager": "yarn@4.1.0",

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