es-toolkit
Advanced tools
Comparing version 1.5.0-dev.108 to 1.5.0-dev.109
@@ -34,1 +34,2 @@ export { chunk } from './chunk.js'; | ||
export { zipWith } from './zipWith.js'; | ||
export { zipObject } from './zipObject.js'; |
@@ -55,2 +55,3 @@ "use strict"; | ||
zip: () => zip, | ||
zipObject: () => zipObject, | ||
zipWith: () => zipWith | ||
@@ -360,2 +361,11 @@ }); | ||
} | ||
// src/array/zipObject.ts | ||
function zipObject(keys, values) { | ||
const result = {}; | ||
for (let i = 0; i < keys.length; i++) { | ||
result[keys[i]] = values[i]; | ||
} | ||
return result; | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -395,4 +405,5 @@ 0 && (module.exports = { | ||
zip, | ||
zipObject, | ||
zipWith | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -34,2 +34,3 @@ export { chunk } from './array/chunk.js'; | ||
export { zipWith } from './array/zipWith.js'; | ||
export { zipObject } from './array/zipObject.js'; | ||
export { AbortError } from './error/AbortError.js'; | ||
@@ -36,0 +37,0 @@ export { debounce } from './function/debounce.js'; |
@@ -90,2 +90,3 @@ "use strict"; | ||
zip: () => zip, | ||
zipObject: () => zipObject, | ||
zipWith: () => zipWith | ||
@@ -396,2 +397,11 @@ }); | ||
// src/array/zipObject.ts | ||
function zipObject(keys, values) { | ||
const result = {}; | ||
for (let i = 0; i < keys.length; i++) { | ||
result[keys[i]] = values[i]; | ||
} | ||
return result; | ||
} | ||
// src/error/AbortError.ts | ||
@@ -663,4 +673,5 @@ var AbortError = class extends Error { | ||
zip, | ||
zipObject, | ||
zipWith | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "es-toolkit", | ||
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.", | ||
"version": "1.5.0-dev.108+a8d7e03a", | ||
"version": "1.5.0-dev.109+53774507", | ||
"workspaces": [ | ||
@@ -6,0 +6,0 @@ "docs" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
580636
514
6313