Skip to content

Commit b90f2f5

Browse files
committed
add an entry point for the new TC39 proposals stage - core-js/stage/2.7 - still empty
1 parent 874d23a commit b90f2f5

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Added `/actual/` namespaces entries
1818
- Skipped adding new methods of writing to existing arrays to clarification some moments
1919
- [`Promise.try` proposal](https://github.com/tc39/proposal-promise-try) has been resurrected and moved to stage 2, [Febrary 2024 TC39 meeting](https://github.com/tc39/proposal-promise-try/issues/15)
20+
- Added an entry point for [the new TC39 proposals stage](https://tc39.es/process-document/) - `core-js/stage/2.7` - still empty
2021
- Fixed regression in `Set.prototype.intersection` feature detection
2122
- Fixed a missed check in `Array.prototype.{ indexOf, lastIndexOf, includes }`, [#1325](https://github.com/zloirock/core-js/issues/1325), thanks [**@minseok-choe**](https://github.com/minseok-choe)
2223
- Fixed a missed check in `Array.prototype.{ reduce, reduceRight }`, [#1327](https://github.com/zloirock/core-js/issues/1327), thanks [**@minseok-choe**](https://github.com/minseok-choe)

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
162162
- [`Float16` methods](#float16-methods)
163163
- [Explicit resource management](#explicit-resource-management)
164164
- [`Symbol.metadata` for decorators metadata proposal](#symbolmetadata-for-decorators-metadata-proposal)
165+
- [Stage 2.7 proposals](#stage-27-proposals)
165166
- [Stage 2 proposals](#stage-2-proposals)
166167
- [`AsyncIterator` helpers](#asynciterator-helpers)
167168
- [`Iterator.range`](#iteratorrange)
@@ -2491,6 +2492,14 @@ core-js(-pure)/actual|full/symbol/metadata
24912492
core-js(-pure)/actual|full/function/metadata
24922493
```
24932494

2495+
#### Stage 2.7 proposals[⬆](#index)
2496+
[*CommonJS entry points:*](#commonjs-api)
2497+
```
2498+
core-js(-pure)/stage/2.7
2499+
```
2500+
2501+
*Nothing*
2502+
24942503
#### Stage 2 proposals[⬆](#index)
24952504
[*CommonJS entry points:*](#commonjs-api)
24962505
```

packages/core-js/stage/2.7.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
'use strict';
2+
var parent = require('./3');
3+
4+
// nothing
5+
6+
module.exports = parent;

packages/core-js/stage/2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
var parent = require('./3');
2+
var parent = require('./2.7');
33

44
require('../proposals/array-is-template-object');
55
require('../proposals/async-iterator-helpers');

tests/entries/unit.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ for (PATH of ['core-js-pure', 'core-js']) {
978978

979979
ok(load('stage/4'));
980980
ok(load('stage/3'));
981+
ok(load('stage/2.7'));
981982
ok(load('stage/2'));
982983
ok(load('stage/1'));
983984
ok(load('stage/0'));

0 commit comments

Comments
 (0)