Skip to content

Commit

Permalink
move Promise.any to stage 1
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Mar 27, 2019
1 parent 3dfb876 commit 229b904
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2002,12 +2002,6 @@ class Symbol {
core-js/proposals/using-statement
core-js(-pure)/features/symbol/dispose
```

#### Stage 0 proposals
[*CommonJS entry points:*](#commonjs-api)
```js
core-js(-pure)/stage/0
```
* `Promise.any` [proposal](https://github.com/tc39/proposal-promise-any) - modules [`esnext.promise.any`](https://github.com/zloirock/core-js/blob/v3.0.0/packages/core-js/modules/esnext.promise.any.js) and [`esnext.aggregate-error`](https://github.com/zloirock/core-js/blob/v3.0.0/packages/core-js/modules/esnext.aggregate-error.js)
```js
class AggregateError {
Expand Down Expand Up @@ -2040,6 +2034,12 @@ Promise.any([
Promise.reject(3),
]).catch(({ errors }) => console.log(errors)); // => [1, 2, 3]
```

#### Stage 0 proposals
[*CommonJS entry points:*](#commonjs-api)
```js
core-js(-pure)/stage/0
```
* `URL` [proposal](https://github.com/jasnell/proposal-url), see more info [in web standards namespace](#url-and-urlsearchparams)
* `String#at` [proposal](https://github.com/mathiasbynens/String.prototype.at) - module [`esnext.string.at`](https://github.com/zloirock/core-js/blob/v3.0.0/packages/core-js/modules/esnext.string.at.js)
```js
Expand Down
1 change: 0 additions & 1 deletion packages/core-js/stage/0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require('../proposals/promise-any');
require('../proposals/efficient-64-bit-arithmetic');
require('../proposals/string-at');
require('../proposals/url');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/stage/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ require('../proposals/seeded-random');
require('../proposals/string-code-points');
require('../proposals/string-replace-all');
require('../proposals/using-statement');
require('../proposals/promise-any');

module.exports = require('./2');

0 comments on commit 229b904

Please sign in to comment.