diff -Nru node-array-find-index-1.0.1/debian/changelog node-array-find-index-1.0.2/debian/changelog --- node-array-find-index-1.0.1/debian/changelog 2016-03-29 12:57:20.000000000 +0000 +++ node-array-find-index-1.0.2/debian/changelog 2016-11-04 18:27:14.000000000 +0000 @@ -1,3 +1,9 @@ +node-array-find-index (1.0.2-1) unstable; urgency=medium + + * new upstream version + + -- Thorsten Alteholz Fri, 04 Nov 2016 19:27:14 +0100 + node-array-find-index (1.0.1-1) unstable; urgency=medium * Initial release diff -Nru node-array-find-index-1.0.1/.editorconfig node-array-find-index-1.0.2/.editorconfig --- node-array-find-index-1.0.1/.editorconfig 2015-12-29 17:38:33.000000000 +0000 +++ node-array-find-index-1.0.2/.editorconfig 2016-09-30 08:39:44.000000000 +0000 @@ -10,6 +10,3 @@ [{package.json,*.yml}] indent_style = space indent_size = 2 - -[*.md] -trim_trailing_whitespace = false diff -Nru node-array-find-index-1.0.1/package.json node-array-find-index-1.0.2/package.json --- node-array-find-index-1.0.1/package.json 2015-12-29 17:38:33.000000000 +0000 +++ node-array-find-index-1.0.2/package.json 2016-09-30 08:39:44.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "array-find-index", - "version": "1.0.1", + "version": "1.0.2", "description": "ES2015 `Array#findIndex()` ponyfill", "license": "MIT", "repository": "sindresorhus/array-find-index", @@ -19,7 +19,6 @@ "index.js" ], "keywords": [ - "es6", "es2015", "ponyfill", "polyfill", diff -Nru node-array-find-index-1.0.1/readme.md node-array-find-index-1.0.2/readme.md --- node-array-find-index-1.0.1/readme.md 2015-12-29 17:38:33.000000000 +0000 +++ node-array-find-index-1.0.2/readme.md 2016-09-30 08:39:44.000000000 +0000 @@ -1,8 +1,6 @@ # array-find-index [![Build Status](https://travis-ci.org/sindresorhus/array-find-index.svg?branch=master)](https://travis-ci.org/sindresorhus/array-find-index) -> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) ponyfill - -> Ponyfill: A polyfill that doesn't overwrite the native method +> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com) ## Install @@ -15,7 +13,7 @@ ## Usage ```js -arrayFindIndex = require('array-find-index'); +const arrayFindIndex = require('array-find-index'); arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn'); //=> 1 @@ -29,4 +27,4 @@ ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) diff -Nru node-array-find-index-1.0.1/test.js node-array-find-index-1.0.2/test.js --- node-array-find-index-1.0.1/test.js 2015-12-29 17:38:33.000000000 +0000 +++ node-array-find-index-1.0.2/test.js 2016-09-30 08:39:44.000000000 +0000 @@ -1,11 +1,12 @@ /* eslint-disable no-extend-native */ -Array.prototype.findIndex = undefined; import test from 'ava'; -import fn from './'; + +Array.prototype.findIndex = undefined; +const m = require('./'); const f = [10, 20, 30, 40]; test(t => { - t.is(fn(f, x => x === 30), 2); - t.is(fn(f, x => x === 'noop'), -1); + t.is(m(f, x => x === 30), 2); + t.is(m(f, x => x === 'noop'), -1); }); diff -Nru node-array-find-index-1.0.1/.travis.yml node-array-find-index-1.0.2/.travis.yml --- node-array-find-index-1.0.1/.travis.yml 2015-12-29 17:38:33.000000000 +0000 +++ node-array-find-index-1.0.2/.travis.yml 2016-09-30 08:39:44.000000000 +0000 @@ -1,5 +1,6 @@ language: node_js node_js: - - 'stable' + - '6' + - '4' - '0.12' - '0.10'