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

@ephox/katamari

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ephox/katamari - npm Package Compare versions

Comparing version 2.3.4 to 2.3.5

2

lib/main/ts/ephox/katamari/api/Zip.d.ts

@@ -6,3 +6,3 @@ /** Creates an object from parallel arrays of key/value pairs.

*/
export declare const zipToObject: <K extends string | number, V>(keys: K[], values: V[]) => Record<string | number, V>;
export declare const zipToObject: <V>(keys: string[] | number[], values: V[]) => Record<string, V>;
/** zipToTuples :: ([key], [value]) -> [{k: key1, v: value1}, {k: key2, v: value2} ...] */

@@ -9,0 +9,0 @@ export declare const zipToTuples: <K, V>(keys: K[], values: V[]) => {

{
"name": "@ephox/katamari",
"version": "2.3.4",
"version": "2.3.5",
"description": "Basic data type library",

@@ -5,0 +5,0 @@ "repository": {

@@ -6,4 +6,4 @@ /** Creates an object from parallel arrays of key/value pairs.

*/
export const zipToObject = function <K extends string | number, V>(keys: K[], values: V[]) {
const r: Record<string | number, V | undefined> = {};
export const zipToObject = function <V>(keys: string[] | number[], values: V[]) {
const r: Record<string, V | undefined> = {};
for (let i = 0; i < keys.length; i++) {

@@ -10,0 +10,0 @@ r[keys[i]] = values[i];

Sorry, the diff of this file is not supported yet

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