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.17 to 0.0.18

8

index.d.ts

@@ -13,5 +13,7 @@ import { Tuple2 } from "@ts-common/tuple";

}
export declare type PartialStringMap<K extends string, V> = {
readonly [k in K]: V;
};
export declare type PartialStringMap<T> = {
readonly [k in keyof T & string]: T[k];
} & object;
export declare type Values<T> = T[keyof T & string];
export declare const toStringMap: <T extends PartialStringMap<T>>(v: T) => StringMap<T[keyof T & string]>;
export interface MutableStringMap<T> {

@@ -18,0 +20,0 @@ [key: string]: T | undefined;

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

exports.entryValue = (e) => e[1 /* Value */];
exports.toStringMap = (v) => v;
exports.allKeys = (input) => {

@@ -11,0 +12,0 @@ function* iterator() {

{
"name": "@ts-common/string-map",
"version": "0.0.17",
"version": "0.0.18",
"description": "String Map",

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

"dependencies": {
"@ts-common/iterator": "0.0.33",
"@ts-common/iterator": "0.0.35",
"@ts-common/tuple": "0.0.0"
}
}
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