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

@simplism/core

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplism/core - npm Package Compare versions

Comparing version 10.3.68 to 10.3.69

5

dist/util/optional.d.ts

@@ -1,4 +0,1 @@

export declare type ChainedRequired<T> = {
[P in keyof T]-?: ChainedRequired<T[P]>;
};
export declare function optional<T, R>(obj: T, fn: (o: ChainedRequired<NonNullable<T>>) => R): R | undefined;
export declare function optional<T, R>(obj: T, fn: (o: NonNullable<T>) => R): R | undefined;

2

package.json
{
"name": "@simplism/core",
"version": "10.3.68",
"version": "10.3.69",
"description": "Simplism Core Package",

@@ -5,0 +5,0 @@ "repository": "github:kslhunter/simplism",

@@ -191,3 +191,3 @@ import "./ArrayExt";

const propertyDisplayNames = result.map(item1 => defsObj[item1.propertyKey!]["displayName"]);
throw new Error(`입력값이 잘못되었습니다.\r\n - ${propertyDisplayNames.join("', '")}'`);
throw new Error(`입력값이 잘못되었습니다.\n - '${propertyDisplayNames.join("', '")}'`);
}

@@ -209,4 +209,4 @@

if (errorMessages.length > 0) {
throw new Error("입력값이 잘못되었습니다.\r\n" + errorMessages.join("\r\n"));
throw new Error("입력값이 잘못되었습니다.\n" + errorMessages.join("\n"));
}
};

@@ -189,3 +189,3 @@ import {DateTime} from "../type/DateTime";

this.config.color.log,
...logData
...logData.mapMany(item => ["\r\n", item])
);

@@ -192,0 +192,0 @@ }

@@ -1,4 +0,4 @@

export type ChainedRequired<T> = { [P in keyof T]-?: ChainedRequired<T[P]> };
/*export type ChainedRequired<T> = { [P in keyof T]-?: ChainedRequired<T[P]> };*/
export function optional<T, R>(obj: T, fn: (o: ChainedRequired<NonNullable<T>>) => R): R | undefined {
export function optional<T, R>(obj: T, fn: (o: NonNullable<T>/*ChainedRequired<NonNullable<T>>*/) => R): R | undefined {
try {

@@ -22,2 +22,2 @@ return fn(obj as any);

return cursor;*/
}
}

Sorry, the diff of this file is too big to display

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