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

@ts-common/string-map

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.13 to 0.0.14

1

index.d.ts

@@ -27,3 +27,4 @@ import { Tuple2 } from "@ts-common/tuple";

export declare const map: <S, R>(source: StringMap<S>, f: (v: S, k: string) => R) => StringMap<R>;
export declare const merge: <T>(a: StringMap<T>, b: StringMap<T>) => StringMap<T>;
export declare const isMatch: <O, S>(object: StringMap<O>, source: StringMap<S>) => boolean;
export declare const isEqual: <A, B>(a: StringMap<A>, b: StringMap<B>) => boolean;

@@ -38,2 +38,3 @@ "use strict";

exports.map = (source, f) => exports.stringMap(_.map(exports.entries(source), ([k, v]) => exports.entry(k, f(v, k))));
exports.merge = (a, b) => exports.stringMap(_.concat(exports.entries(a), exports.entries(b)));
// Performs a partial deep comparison between object and source to determine if object contains

@@ -40,0 +41,0 @@ // equivalent property values.

2

package.json
{
"name": "@ts-common/string-map",
"version": "0.0.13",
"version": "0.0.14",
"description": "String 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