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

semanticdb-common-lib

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semanticdb-common-lib - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/lib/semanticdb-common-lib.js

@@ -93,7 +93,7 @@ "use strict";

};
exports.merge = function (arrays) {
exports.mergeBy = function (_id, arrays) {
var merged = {};
arrays.forEach(function (array) {
array.forEach(function (i) {
var id = i._id;
var id = i[_id];
if (id in merged) {

@@ -112,4 +112,4 @@ merged[id] = __assign(__assign({}, merged[id]), i);

sort: sort,
merge: exports.merge
mergeBy: exports.mergeBy
};
//# sourceMappingURL=semanticdb-common-lib.js.map

@@ -107,7 +107,7 @@ /*! *****************************************************************************

};
var merge = function (arrays) {
var mergeBy = function (_id, arrays) {
var merged = {};
arrays.forEach(function (array) {
array.forEach(function (i) {
var id = i._id;
var id = i[_id];
if (id in merged) {

@@ -126,7 +126,7 @@ merged[id] = __assign(__assign({}, merged[id]), i);

sort: sort,
merge: merge
mergeBy: mergeBy
};
export default semanticdbCommonLib;
export { merge };
export { mergeBy };
//# sourceMappingURL=semanticdb-common-lib.es5.js.map

@@ -113,7 +113,7 @@ (function (global, factory) {

};
var merge = function (arrays) {
var mergeBy = function (_id, arrays) {
var merged = {};
arrays.forEach(function (array) {
array.forEach(function (i) {
var id = i._id;
var id = i[_id];
if (id in merged) {

@@ -132,6 +132,6 @@ merged[id] = __assign(__assign({}, merged[id]), i);

sort: sort,
merge: merge
mergeBy: mergeBy
};
exports.merge = merge;
exports.mergeBy = mergeBy;
exports.default = semanticdbCommonLib;

@@ -138,0 +138,0 @@

@@ -1,2 +0,2 @@

export declare const merge: (arrays: any[][]) => any[];
export declare const mergeBy: (_id: string, arrays: any[][]) => any[];
declare const _default: {

@@ -7,4 +7,4 @@ each: (arr: any, func: Function) => Promise<any>;

}) => any[];
merge: (arrays: any[][]) => any[];
mergeBy: (_id: string, arrays: any[][]) => any[];
};
export default _default;
{
"name": "semanticdb-common-lib",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

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

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