@ts-common/source-map
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -30,3 +30,3 @@ import { StringMap } from "@ts-common/string-map"; | ||
export declare const arrayMap: <T extends Data, R extends Data>(source: ReadonlyArray<T>, f: (v: T, i: number) => R) => ReadonlyArray<R>; | ||
export declare const stringMapMap: <T extends Data, R extends Data>(source: StringMap<T | undefined>, f: (v: T, k: string) => R) => StringMap<R | undefined>; | ||
export declare const stringMapMap: <T extends Data, R extends Data>(source: StringMap<T>, f: (v: T, k: string) => R) => StringMap<R>; | ||
declare type PartialStringMap<K> = { | ||
@@ -33,0 +33,0 @@ readonly [k in K & string]?: Data; |
@@ -46,5 +46,2 @@ "use strict"; | ||
const result = sm.map(source, (v, k) => { | ||
if (v === undefined) { | ||
return undefined; | ||
} | ||
const r = f(v, k); | ||
@@ -51,0 +48,0 @@ exports.copyDataInfo(v, r); |
{ | ||
"name": "@ts-common/source-map", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Source Map", | ||
@@ -47,4 +47,4 @@ "main": "index.js", | ||
"@ts-common/property-set": "0.0.7", | ||
"@ts-common/string-map": "0.0.12" | ||
"@ts-common/string-map": "0.0.13" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17402
106
+ Added@ts-common/string-map@0.0.13(transitive)
- Removed@ts-common/string-map@0.0.12(transitive)
Updated@ts-common/string-map@0.0.13