Skip to content

Commit 171f3b5

Browse files
authoredAug 6, 2019
Merge pull request #46 from tbjgolden/docs/clarify-es6-finally
docs: es6+, finally
2 parents 2ae195a + 239ce46 commit 171f3b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
[![Dependency Status](https://img.shields.io/david/request/request-promise-native.svg?style=flat-square&maxAge=2592000)](https://david-dm.org/request/request-promise-native)
1111
[![Known Vulnerabilities](https://snyk.io/test/npm/request-promise-native/badge.svg?style=flat-square&maxAge=2592000)](https://snyk.io/test/npm/request-promise-native)
1212

13-
This package is similar to [`request-promise`](https://www.npmjs.com/package/request-promise) but uses native ES6 promises.
13+
This package is similar to [`request-promise`](https://www.npmjs.com/package/request-promise) but uses native ES6+ promises.
1414

1515
Please refer to the [`request-promise` documentation](https://www.npmjs.com/package/request-promise). Everything applies to `request-promise-native` except the following:
16-
- Instead of using Bluebird promises this library uses native ES6 promises.
17-
- Mind that native ES6 promises have fewer features than Bluebird promises do. In particular, the `.finally(...)` method is not available.
16+
- Instead of using Bluebird promises this library uses native ES6+ promises.
17+
- Native ES6+ promises may have fewer features than Bluebird promises do. In particular, the `.finally(...)` method was not included until Node v10.
1818

1919
## Installation
2020

0 commit comments

Comments
 (0)
Please sign in to comment.