[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#893654: RFP: node-array-includes -- Array.prototype.includes shim/polyfill/replacement



Package: wnpp
Severity: wishlist

* Package name    : node-array-includes
  Version         : 3.0.3
  Upstream Author : Jordan Harband
* URL             : https://github.com/ljharb/array-includes
* License         : MIT
  Programming Lang: Javascript
  Description     : Array.prototype.includes shim/polyfill/replacement

This package implements the es-shim API interface. It works in an ES3-supported
environment and complies with the proposed spec.  Because
Array.prototype.includes depends on a receiver (the this value), the main export
takes the array to operate on as the first argument.

This package is depended upon by at minimum mastodon ( See #859741 ), but
this website[1] claims that some 33 projects depend on it, and boasts
7M/month downloads[2]

[1] https://www.versioneye.com/nodejs/array-includes/3.0.3
[2] https://github.com/ljharb/array-includes


Reply to: