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.11 to 0.0.12

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: (s: import("@ts-common/tuple").Tuple2<string, T>) => import("@ts-common/tuple").Tuple2<string, R>) => StringMap<R>;
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;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const string_map_1 = require("@ts-common/string-map");
const sm = tslib_1.__importStar(require("@ts-common/string-map"));

@@ -46,5 +45,5 @@ const _ = tslib_1.__importStar(require("@ts-common/iterator"));

exports.stringMapMap = (source, f) => {
const result = sm.map(source, e => {
const r = f(e);
exports.copyDataInfo(string_map_1.entryValue(e), string_map_1.entryValue(r));
const result = sm.map(source, (v, k) => {
const r = f(v, k);
exports.copyDataInfo(v, r);
return r;

@@ -51,0 +50,0 @@ });

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

@@ -47,4 +47,4 @@ "main": "index.js",

"@ts-common/property-set": "0.0.7",
"@ts-common/string-map": "0.0.11"
"@ts-common/string-map": "0.0.12"
}
}
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