@ts-common/source-map
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -38,3 +38,3 @@ import { StringMap } from "@ts-common/string-map"; | ||
export declare const stringMapMap: <T extends Data, R extends Data>(source: StringMap<T> | undefined, f: (v: T, k: string) => R) => StringMap<R>; | ||
export declare const stringMapMerge: <T extends Data>(...array: StringMap<T>[]) => StringMap<T>; | ||
export declare const stringMapMerge: <T extends Data>(...array: (StringMap<T> | undefined)[]) => StringMap<T>; | ||
export declare const propertySetMap: <T extends sm.PartialStringMap<keyof T & string, Data>>(source: T, f: propertySet.PartialFactory<T>) => T; | ||
@@ -41,0 +41,0 @@ export declare const getRootObjectInfo: (info: ObjectInfo) => RootObjectInfo; |
@@ -81,2 +81,5 @@ "use strict"; | ||
const source = array[0]; | ||
if (source === undefined) { | ||
return result; | ||
} | ||
if (sm.isEqual(source, result)) { | ||
@@ -83,0 +86,0 @@ return source; |
{ | ||
"name": "@ts-common/source-map", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Source Map", | ||
@@ -47,4 +47,4 @@ "main": "index.js", | ||
"@ts-common/property-set": "0.0.7", | ||
"@ts-common/string-map": "0.0.25" | ||
"@ts-common/string-map": "0.0.26" | ||
} | ||
} |
20111
172
+ Added@ts-common/string-map@0.0.26(transitive)
- Removed@ts-common/string-map@0.0.25(transitive)
Updated@ts-common/string-map@0.0.26