New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vect/matrix-margin

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vect/matrix-margin - npm Package Compare versions

Comparing version 0.1.8 to 0.1.10

12

dist/index.cjs.js

@@ -18,3 +18,3 @@ 'use strict';

const rowMaMapper = (row, i, fn, l, r, w) => {
const rowMarginMapper = (row, i, fn, l, r, w) => {
const ve = Array(w || (w = row && row.length)),

@@ -34,5 +34,5 @@ s = w - r;

for (let i = 0; i < t; i++) x[i] = rowMaMapper(mx[i], i, fn, l, r, w);
for (let i = 0; i < t; i++) x[i] = rowMarginMapper(mx[i], i, fn, l, r, w);
for (let i = bs; i < h; i++) x[i] = rowMaMapper(mx[i], i, fn, l, r, w);
for (let i = bs; i < h; i++) x[i] = rowMarginMapper(mx[i], i, fn, l, r, w);

@@ -42,3 +42,3 @@ return x;

const rowMaMutate = (row, i, fn, l, r, w) => {
const rowMarginMutate = (row, i, fn, l, r, w) => {
w = w || row && row.length;

@@ -58,5 +58,5 @@ const s = w - r;

for (let i = 0; i < t; i++) rowMaMutate(mx[i], i, fn, l, r, w);
for (let i = 0; i < t; i++) rowMarginMutate(mx[i], i, fn, l, r, w);
for (let i = s; i < h; i++) rowMaMutate(mx[i], i, fn, l, r, w);
for (let i = s; i < h; i++) rowMarginMutate(mx[i], i, fn, l, r, w);

@@ -63,0 +63,0 @@ return mx;

@@ -14,3 +14,3 @@ import { marginCopy as marginCopy$1 } from '@vect/vector-margin';

const rowMaMapper = (row, i, fn, l, r, w) => {
const rowMarginMapper = (row, i, fn, l, r, w) => {
const ve = Array(w || (w = row && row.length)),

@@ -30,5 +30,5 @@ s = w - r;

for (let i = 0; i < t; i++) x[i] = rowMaMapper(mx[i], i, fn, l, r, w);
for (let i = 0; i < t; i++) x[i] = rowMarginMapper(mx[i], i, fn, l, r, w);
for (let i = bs; i < h; i++) x[i] = rowMaMapper(mx[i], i, fn, l, r, w);
for (let i = bs; i < h; i++) x[i] = rowMarginMapper(mx[i], i, fn, l, r, w);

@@ -38,3 +38,3 @@ return x;

const rowMaMutate = (row, i, fn, l, r, w) => {
const rowMarginMutate = (row, i, fn, l, r, w) => {
w = w || row && row.length;

@@ -54,5 +54,5 @@ const s = w - r;

for (let i = 0; i < t; i++) rowMaMutate(mx[i], i, fn, l, r, w);
for (let i = 0; i < t; i++) rowMarginMutate(mx[i], i, fn, l, r, w);
for (let i = s; i < h; i++) rowMaMutate(mx[i], i, fn, l, r, w);
for (let i = s; i < h; i++) rowMarginMutate(mx[i], i, fn, l, r, w);

@@ -59,0 +59,0 @@ return mx;

{
"name": "@vect/matrix-margin",
"version": "0.1.8",
"version": "0.1.10",
"description": "Util for 2d-array",

@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js",

"dependencies": {
"@vect/vector-margin": "^0.1.8"
"@vect/vector-margin": "^0.1.10"
},

@@ -35,3 +35,3 @@ "repository": {

"homepage": "https://github.com/hoyeungw/vect#readme",
"gitHead": "e5dafdda3af277f168f43ac4c99a3e5a439650d7"
"gitHead": "72da22d4114e88ad3b3b5a8eb282871ad4bcc8ae"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc