@analys/table-merge
Advanced tools
Comparing version 0.2.7 to 0.2.11
@@ -5,3 +5,3 @@ 'use strict'; | ||
var mergeAcquire = require('@vect/merge-acquire'); | ||
var vectorMerge = require('@vect/vector-merge'); | ||
var vectorZipper = require('@vect/vector-zipper'); | ||
@@ -17,4 +17,4 @@ | ||
const tableAcquire = (ta, tb) => { | ||
mergeAcquire.acquire(ta.head, tb.head); | ||
vectorZipper.mutazip(ta.rows, tb.rows, (va, vb) => mergeAcquire.acquire(va, vb)); | ||
vectorMerge.acquire(ta.head, tb.head); | ||
vectorZipper.mutazip(ta.rows, tb.rows, (va, vb) => vectorMerge.acquire(va, vb)); | ||
return ta; | ||
@@ -30,4 +30,4 @@ }; | ||
const tableMerge = (ta, tb) => { | ||
const head = mergeAcquire.merge(ta.head, tb.head); | ||
const rows = vectorZipper.zipper(ta.rows, tb.rows, (va, vb) => mergeAcquire.merge(va, vb)); | ||
const head = vectorMerge.merge(ta.head, tb.head); | ||
const rows = vectorZipper.zipper(ta.rows, tb.rows, (va, vb) => vectorMerge.merge(va, vb)); | ||
return ta.copy ? ta.copy({ | ||
@@ -34,0 +34,0 @@ head, |
@@ -1,2 +0,2 @@ | ||
import { acquire, merge } from '@vect/merge-acquire'; | ||
import { acquire, merge } from '@vect/vector-merge'; | ||
import { mutazip, zipper } from '@vect/vector-zipper'; | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "@analys/table-merge", | ||
"version": "0.2.7", | ||
"version": "0.2.11", | ||
"description": "A cross-table-merge analytics tool", | ||
@@ -22,4 +22,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@vect/merge-acquire": "^0.2.2", | ||
"@vect/vector-zipper": "^0.2.2" | ||
"@vect/vector-merge": "^0.2.3", | ||
"@vect/vector-zipper": "^0.2.3" | ||
}, | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
"homepage": "https://github.com/hoyeungw/analys#readme", | ||
"gitHead": "fb8638a3c1558885307a697cd8fa9a9218891c58" | ||
"gitHead": "42fc2032d507f4055581cadd37fedf0f5f251e68" | ||
} |
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
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
5161
+ Added@vect/vector-merge@^0.2.3
+ Added@vect/vector-merge@0.2.13(transitive)
- Removed@vect/merge-acquire@^0.2.2
- Removed@vect/merge-acquire@0.2.13(transitive)
Updated@vect/vector-zipper@^0.2.3