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

morphism

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

morphism - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

8

dist/types/types.d.ts

@@ -34,3 +34,5 @@ import { SCHEMA_OPTIONS_SYMBOL, SchemaOptions } from './morphism';

export declare type StrictSchema<Target = any, Source = any> = {
[destinationProperty in keyof Target]: ActionString<Source> | ActionFunction<Target, Source, Target[destinationProperty]> | ActionAggregator<Source> | ActionSelector<Source, Target> | StrictSchema<Target[destinationProperty], Source>;
[destinationProperty in keyof Target]: ActionString<Source> | {
(iteratee: Source, source: Source[], target: Target[destinationProperty]): Target[destinationProperty];
} | ActionAggregator<Source> | ActionSelector<Source, Target> | StrictSchema<Target[destinationProperty], Source>;
} & {

@@ -40,3 +42,5 @@ [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target>;

export declare type Schema<Target = any, Source = any> = {
[destinationProperty in keyof Target]?: ActionString<Source> | ActionFunction<Target, Source, Target[destinationProperty]> | ActionAggregator<Source> | ActionSelector<Source, Target> | Schema<Target[destinationProperty], Source>;
[destinationProperty in keyof Target]?: ActionString<Source> | {
(iteratee: Source, source: Source[], target: Target[destinationProperty]): Target[destinationProperty];
} | ActionAggregator<Source> | ActionSelector<Source, Target> | Schema<Target[destinationProperty], Source>;
} & {

@@ -43,0 +47,0 @@ [SCHEMA_OPTIONS_SYMBOL]?: SchemaOptions<Target | any>;

{
"name": "morphism",
"version": "1.12.1",
"version": "1.12.2",
"description": "Do not repeat anymore your objects transformations.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nobrainr/morphism",

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