eslint-plugin-you-dont-need-lodash-underscore
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "eslint-plugin-you-dont-need-lodash-underscore", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Check methods you can use natively without lodash/underscore", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cht8687/You-Dont-Need-Lodash-Underscore.git" | ||
"url": "https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore.git" | ||
}, | ||
@@ -42,5 +42,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/cht8687/You-Dont-Need-Lodash-Underscore/issues" | ||
"url": "https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues" | ||
}, | ||
"homepage": "https://github.com/cht8687/You-Dont-Need-Lodash-Underscore.git" | ||
"homepage": "https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore.git" | ||
} |
@@ -44,12 +44,12 @@ ## You don't (may not) need Lodash/Underscore [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cht8687/You-Dont-Need-Lodash-Underscore) | ||
</a> | ||
<a href="https://travis-ci.org/cht8687/You-Dont-Need-Lodash-Underscore"> | ||
<img src="https://img.shields.io/travis/cht8687/You-Dont-Need-Lodash-Underscore.svg?style=flat-square" | ||
<a href="https://travis-ci.org/you-dont-need/You-Dont-Need-Lodash-Underscore"> | ||
<img src="https://img.shields.io/travis/you-dont-need/You-Dont-Need-Lodash-Underscore.svg?style=flat-square" | ||
alt="Build Status"> | ||
</a> | ||
<a href="https://coveralls.io/github/cht8687/You-Dont-Need-Lodash-Underscore?branch=master"> | ||
<img src="https://coveralls.io/repos/cht8687/You-Dont-Need-Lodash-Underscore/badge.svg?branch=master&service=github" | ||
<a href="https://coveralls.io/github/you-dont-need/You-Dont-Need-Lodash-Underscore?branch=master"> | ||
<img src="https://coveralls.io/repos/you-dont-need/You-Dont-Need-Lodash-Underscore/badge.svg?branch=master&service=github" | ||
alt="Coverage Status" /> | ||
</a> | ||
<a href="https://david-dm.org/cht8687/You-Dont-Need-Lodash-Underscore.svg"> | ||
<img src="https://david-dm.org/cht8687/You-Dont-Need-Lodash-Underscore.svg?style=flat-square" | ||
<a href="https://david-dm.org/you-dont-need/You-Dont-Need-Lodash-Underscore.svg"> | ||
<img src="https://david-dm.org/you-dont-need/You-Dont-Need-Lodash-Underscore.svg?style=flat-square" | ||
alt="Dependency Status"> | ||
@@ -473,3 +473,3 @@ </a> | ||
_.includes(array, 1) | ||
// → true | ||
// output: true | ||
@@ -479,5 +479,10 @@ // Native | ||
array.includes(1) | ||
// → true | ||
// output: true | ||
// Native (only works with flat array values, no complex objects) | ||
var array = [1, 2, 3] | ||
array.indexOf(1) > -1 | ||
// output: true | ||
``` | ||
### Browser Support | ||
### Browser Support for `array.includes` | ||
@@ -487,3 +492,9 @@ ![Chrome](https://raw.github.com/alrra/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/internet-explorer/internet-explorer_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/safari/safari_48x48.png) | ||
47✔ | 43 ✔ | Not supported | 34 | 9 | | ||
### Browser Support for `array.indexOf` | ||
![Chrome](https://raw.github.com/alrra/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/internet-explorer/internet-explorer_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/safari/safari_48x48.png) | ||
--- | --- | --- | --- | --- | | ||
✔ | ✔ | ✔ | ✔| ✔ | | ||
**[⬆ back to top](#quick-links)** | ||
@@ -490,0 +501,0 @@ |
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
40059
888