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

@ndhoule/map

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndhoule/map - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

4

HISTORY.md

@@ -0,1 +1,5 @@

## 2.0.0
- Remove Component/Duo support
## 1.0.2

@@ -2,0 +6,0 @@

8

index.js
'use strict';
/**
/*
* Module dependencies.
*/
// XXX: Hacky fix for Duo not supporting scoped modules
var each; try { each = require('@ndhoule/each'); } catch(e) { each = require('each'); }
var each = require('@ndhoule/each');

@@ -26,3 +25,2 @@ /**

*/
var map = function map(iterator, collection) {

@@ -42,3 +40,3 @@ if (typeof iterator !== 'function') {

/**
/*
* Exports.

@@ -45,0 +43,0 @@ */

{
"name": "@ndhoule/map",
"version": "1.0.2",
"version": "2.0.0",
"description": "Apply a function to a each element of a collection and return a new array of results.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,4 +10,3 @@ /* global describe, it, beforeEach */

var assert = require('assert');
// XXX: Hacky fix for Duo not supporting scoped modules
var keys; try { keys = require('@ndhoule/keys'); } catch(e) { keys = require('keys'); }
var keys = require('@ndhoule/keys');
var sinon = require('sinon');

@@ -14,0 +13,0 @@ var map = require('../');

Sorry, the diff of this file is not supported yet

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