@vect/column-mapper
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -6,3 +6,3 @@ 'use strict'; | ||
const iterate = function (mx, y, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -13,3 +13,3 @@ for (let i = 0; i < l; i++) fn.call(this, mx[i][y], i); | ||
function columnMapperDuplicate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const mt = Array(l); | ||
@@ -27,3 +27,3 @@ | ||
function columnMapper(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const vec = Array(l); | ||
@@ -56,3 +56,3 @@ | ||
function columnMutate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -81,3 +81,3 @@ for (let i = 0, r, { | ||
function columnIterate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -84,0 +84,0 @@ for (let i = 0, { |
const iterate = function (mx, y, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -8,3 +8,3 @@ for (let i = 0; i < l; i++) fn.call(this, mx[i][y], i); | ||
function columnMapperDuplicate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const mt = Array(l); | ||
@@ -22,3 +22,3 @@ | ||
function columnMapper(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
const vec = Array(l); | ||
@@ -51,3 +51,3 @@ | ||
function columnMutate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -76,3 +76,3 @@ for (let i = 0, r, { | ||
function columnIterate(mx, fn, l) { | ||
l = l || mx && mx.length; | ||
l = l || (mx === null || mx === void 0 ? void 0 : mx.length); | ||
@@ -79,0 +79,0 @@ for (let i = 0, { |
{ | ||
"name": "@vect/column-mapper", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "An array util tool", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.cjs.js", | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "7b33acbf8f6796f6da550020296bfe592a86af72" | ||
"gitHead": "d1911a29fc0916f90c791b9a763bf1bec11c4eb1" | ||
} |
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
7999