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

@ts-common/source-map

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-common/source-map - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

index.d.ts

@@ -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>, f: (v: T, k: string) => R) => StringMap<R>;
export declare const stringMapMap: <T extends Data, R extends Data>(source: StringMap<T | undefined>, f: (v: T, k: string) => R) => StringMap<R | undefined>;
declare type PartialStringMap<K> = {

@@ -33,0 +33,0 @@ readonly [k in K & string]?: Data;

@@ -46,2 +46,5 @@ "use strict";

const result = sm.map(source, (v, k) => {
if (v === undefined) {
return undefined;
}
const r = f(v, k);

@@ -48,0 +51,0 @@ exports.copyDataInfo(v, r);

{
"name": "@ts-common/source-map",
"version": "0.0.12",
"version": "0.0.13",
"description": "Source Map",

@@ -5,0 +5,0 @@ "main": "index.js",

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