@analys/table-divide
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -10,2 +10,4 @@ 'use strict'; | ||
const NUM_ASC = (a, b) => a - b; | ||
/** | ||
@@ -29,3 +31,3 @@ * Divide a table by fields | ||
} = this; | ||
const indexes = vectorMapper.mapper(fields, label => head.indexOf(label)); | ||
const indexes = vectorMapper.mapper(fields, label => head.indexOf(label)).sort(NUM_ASC); | ||
({ | ||
@@ -32,0 +34,0 @@ pick: pk.head, |
@@ -6,2 +6,4 @@ import { divide as divide$1 } from '@vect/columns-select'; | ||
const NUM_ASC = (a, b) => a - b; | ||
/** | ||
@@ -25,3 +27,3 @@ * Divide a table by fields | ||
} = this; | ||
const indexes = mapper(fields, label => head.indexOf(label)); | ||
const indexes = mapper(fields, label => head.indexOf(label)).sort(NUM_ASC); | ||
({ | ||
@@ -28,0 +30,0 @@ pick: pk.head, |
{ | ||
"name": "@analys/table-divide", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "A cross-table-divide analytics tool", | ||
@@ -18,4 +18,4 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@analys/enum-mutabilities": "^0.0.13", | ||
"@analys/table-init": "^0.0.13", | ||
"@analys/enum-mutabilities": "^0.0.14", | ||
"@analys/table-init": "^0.0.14", | ||
"@vect/columns-select": "^0.1.12", | ||
@@ -45,3 +45,3 @@ "@vect/vector-mapper": "^0.1.12", | ||
"homepage": "https://github.com/hoyeungw/analys#readme", | ||
"gitHead": "2d47d8c77ab23f890ff0b9e3b6608f0d98a3989f" | ||
"gitHead": "e8bb5f50e448a69d5440b79bd66135b8d6e1d1e1" | ||
} |
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
5734
72
+ Added@analys/enum-mutabilities@0.0.14(transitive)
+ Added@analys/table-init@0.0.14(transitive)
- Removed@analys/enum-mutabilities@0.0.13(transitive)
- Removed@analys/table-init@0.0.13(transitive)
Updated@analys/table-init@^0.0.14