@ndhoule/map
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -0,1 +1,5 @@ | ||
## 2.0.0 | ||
- Remove Component/Duo support | ||
## 1.0.2 | ||
@@ -2,0 +6,0 @@ |
'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
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
10188
12
130