@vect/columns-update
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -38,3 +38,3 @@ 'use strict'; | ||
if (hi === 0) return mx; | ||
if (hi === 1) return mapper(mx, r => (r.splice(ys[0], 1), r)); | ||
if (hi === 1) return vectorMapper.mapper(mx, r => (r.splice(ys[0], 1), r)); | ||
return mx.map(row => vectorUpdate.splices(row, ys, hi)); | ||
@@ -41,0 +41,0 @@ }; |
@@ -1,6 +0,6 @@ | ||
import { mapper as mapper$1 } from '@vect/vector-mapper'; | ||
import { mapper } from '@vect/vector-mapper'; | ||
import { zipper } from '@vect/vector-zipper'; | ||
import { splices as splices$1 } from '@vect/vector-update'; | ||
const pop = matrix => mapper$1(matrix, row => row.pop()); | ||
const pop = matrix => mapper(matrix, row => row.pop()); | ||
@@ -17,3 +17,3 @@ /** | ||
const shift = matrix => { | ||
return mapper$1(matrix, row => { | ||
return mapper(matrix, row => { | ||
return row.shift(); | ||
@@ -20,0 +20,0 @@ }); |
{ | ||
"name": "@vect/columns-update", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "A math util library", | ||
@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@vect/vector-mapper": "^0.0.29", | ||
"@vect/vector-update": "^0.0.29", | ||
"@vect/vector-zipper": "^0.0.29" | ||
"@vect/vector-mapper": "^0.0.30", | ||
"@vect/vector-update": "^0.0.30", | ||
"@vect/vector-zipper": "^0.0.30" | ||
}, | ||
@@ -38,3 +38,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "261c8f2be5fe7d00d347adcd1ee53325b48ec80e" | ||
"gitHead": "472b46e1604977eb7c9e9bf583b557ebdc6786f3" | ||
} |
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
5713
+ Added@vect/vector-mapper@0.0.30(transitive)
+ Added@vect/vector-update@0.0.30(transitive)
+ Added@vect/vector-zipper@0.0.30(transitive)
- Removed@vect/vector-mapper@0.0.29(transitive)
- Removed@vect/vector-update@0.0.29(transitive)
- Removed@vect/vector-zipper@0.0.29(transitive)
Updated@vect/vector-mapper@^0.0.30
Updated@vect/vector-update@^0.0.30
Updated@vect/vector-zipper@^0.0.30