Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vect/vector-mapper

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vect/vector-mapper - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

4

dist/index.cjs.js

@@ -11,7 +11,7 @@ 'use strict';

const mapper = (vec, fn, l) => {
const mapper = function (vec, fn, l) {
l = l || vec && vec.length;
const ar = Array(l);
for (--l; l >= 0; l--) ar[l] = fn.call(undefined, vec[l], l);
for (--l; l >= 0; l--) ar[l] = fn.call(this, vec[l], l);

@@ -18,0 +18,0 @@ return ar;

@@ -7,7 +7,7 @@ const iterate = function (vec, fn, l) {

const mapper = (vec, fn, l) => {
const mapper = function (vec, fn, l) {
l = l || vec && vec.length;
const ar = Array(l);
for (--l; l >= 0; l--) ar[l] = fn.call(undefined, vec[l], l);
for (--l; l >= 0; l--) ar[l] = fn.call(this, vec[l], l);

@@ -14,0 +14,0 @@ return ar;

{
"name": "@vect/vector-mapper",
"version": "0.0.25",
"version": "0.0.26",
"description": "A debugging tool",

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

"homepage": "https://github.com/hoyeungw/vect#readme",
"gitHead": "8c6ddf6bb50856583cdc81f29000f6303217f5da"
"gitHead": "1e44271c5142bc2106301fbe51681701809dee8b"
}
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