@vect/columns-update
Advanced tools
Comparing version 0.3.10 to 0.4.0
@@ -32,3 +32,3 @@ 'use strict'; | ||
const splices = (mx, ys) => { | ||
const hi = (ys === null || ys === void 0 ? void 0 : ys.length) ?? 0; | ||
const hi = (ys == null ? void 0 : ys.length) ?? 0; | ||
if (hi === 0) return mx; | ||
@@ -35,0 +35,0 @@ if (hi === 1) return vectorMapper.mapper(mx, r => (r.splice(ys[0], 1), r)); |
@@ -28,3 +28,3 @@ import { mapper } from '@vect/vector-mapper'; | ||
const splices = (mx, ys) => { | ||
const hi = (ys === null || ys === void 0 ? void 0 : ys.length) ?? 0; | ||
const hi = (ys == null ? void 0 : ys.length) ?? 0; | ||
if (hi === 0) return mx; | ||
@@ -31,0 +31,0 @@ if (hi === 1) return mapper(mx, r => (r.splice(ys[0], 1), r)); |
{ | ||
"name": "@vect/columns-update", | ||
"version": "0.3.10", | ||
"version": "0.4.0", | ||
"description": "A math util library", | ||
@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@vect/vector-mapper": "^0.3.10", | ||
"@vect/vector-update": "^0.3.10", | ||
"@vect/vector-zipper": "^0.3.10" | ||
"@vect/vector-mapper": "^0.4.0", | ||
"@vect/vector-update": "^0.4.0", | ||
"@vect/vector-zipper": "^0.4.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "cf716b1eeb2ed3e653a75f1924c318c5f80bd23a" | ||
"gitHead": "0df009c248625ffea1915bdf71435257046927a5" | ||
} |
5706
+ Added@vect/swap@0.4.10(transitive)
+ Added@vect/vector-mapper@0.4.10(transitive)
+ Added@vect/vector-update@0.4.10(transitive)
+ Added@vect/vector-zipper@0.4.10(transitive)
- Removed@vect/swap@0.3.10(transitive)
- Removed@vect/vector-mapper@0.3.10(transitive)
- Removed@vect/vector-update@0.3.10(transitive)
- Removed@vect/vector-zipper@0.3.10(transitive)
Updated@vect/vector-mapper@^0.4.0
Updated@vect/vector-update@^0.4.0
Updated@vect/vector-zipper@^0.4.0