-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/telegram: Add shim for Array#findIndex()
Bug: Array#findIndex() is unavailable in Node.js v0.x. Since we are deprecating Node.js v0.x already, we can use a shim in the mean time. Once we stop supporting that version range, we can drop the shim entirely. tags: deprecate/node-v0.x
- Loading branch information
1 parent
1006aa8
commit 4572b5d
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,10 @@ | |
"author": "Yago Pérez <[email protected]>", | ||
"license": "MIT", | ||
"engines": { | ||
"node" : ">=0.12" | ||
"node": ">=0.12" | ||
}, | ||
"dependencies": { | ||
"array.prototype.findindex": "^2.0.0", | ||
"bl": "^1.1.2", | ||
"bluebird": "^3.3.4", | ||
"debug": "^2.2.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters