@vect/matrix-margin
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -8,3 +8,3 @@ 'use strict'; | ||
const marginCopy = (mx, t, b, l, r, h, w) => { | ||
const x = Array(h || (h = mx == null ? void 0 : mx.length)), | ||
const x = Array(h || (h = mx === null || mx === void 0 ? void 0 : mx.length)), | ||
bs = h - b; | ||
@@ -20,3 +20,3 @@ | ||
const rowMarginMapper = (row, i, fn, l, r, w) => { | ||
const ve = Array(w || (w = row == null ? void 0 : row.length)), | ||
const ve = Array(w || (w = row === null || row === void 0 ? void 0 : row.length)), | ||
s = w - r; | ||
@@ -32,3 +32,3 @@ | ||
const marginMapper = (mx, fn, t, b, l, r, h, w) => { | ||
const x = Array(h || (h = mx == null ? void 0 : mx.length)), | ||
const x = Array(h || (h = mx === null || mx === void 0 ? void 0 : mx.length)), | ||
bs = h - b; | ||
@@ -44,3 +44,3 @@ | ||
const rowMarginMutate = (row, i, fn, l, r, w) => { | ||
w = w || (row == null ? void 0 : row.length); | ||
w = w || (row === null || row === void 0 ? void 0 : row.length); | ||
const s = w - r; | ||
@@ -56,3 +56,3 @@ | ||
const marginMutate = (mx, fn, t, b, l, r, h, w) => { | ||
h = h || (mx == null ? void 0 : mx.length); | ||
h = h || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const s = h - b; | ||
@@ -59,0 +59,0 @@ |
import { marginCopy as marginCopy$1 } from '@vect/vector-margin'; | ||
const marginCopy = (mx, t, b, l, r, h, w) => { | ||
const x = Array(h || (h = mx == null ? void 0 : mx.length)), | ||
const x = Array(h || (h = mx === null || mx === void 0 ? void 0 : mx.length)), | ||
bs = h - b; | ||
@@ -15,3 +15,3 @@ | ||
const rowMarginMapper = (row, i, fn, l, r, w) => { | ||
const ve = Array(w || (w = row == null ? void 0 : row.length)), | ||
const ve = Array(w || (w = row === null || row === void 0 ? void 0 : row.length)), | ||
s = w - r; | ||
@@ -27,3 +27,3 @@ | ||
const marginMapper = (mx, fn, t, b, l, r, h, w) => { | ||
const x = Array(h || (h = mx == null ? void 0 : mx.length)), | ||
const x = Array(h || (h = mx === null || mx === void 0 ? void 0 : mx.length)), | ||
bs = h - b; | ||
@@ -39,3 +39,3 @@ | ||
const rowMarginMutate = (row, i, fn, l, r, w) => { | ||
w = w || (row == null ? void 0 : row.length); | ||
w = w || (row === null || row === void 0 ? void 0 : row.length); | ||
const s = w - r; | ||
@@ -51,3 +51,3 @@ | ||
const marginMutate = (mx, fn, t, b, l, r, h, w) => { | ||
h = h || (mx == null ? void 0 : mx.length); | ||
h = h || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const s = h - b; | ||
@@ -54,0 +54,0 @@ |
{ | ||
"name": "@vect/matrix-margin", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "Util for 2d-array", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@vect/vector-margin": "^0.4.9" | ||
"@vect/vector-margin": "^0.4.10" | ||
}, | ||
@@ -35,3 +35,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "2b1a6642d2b4dea4f680a501bb29d6534626abe1" | ||
"gitHead": "1d5453c2bafd0c4cb02adaa1db576a139d3e1012" | ||
} |
6683
Updated@vect/vector-margin@^0.4.10