Skip to content

Commit a3d51ed

Browse files
committed
fix dependencies loading for modules from ArrayBuffer.prototype.transfer and friends proposal
1 parent 9eace59 commit a3d51ed

File tree

5 files changed

+14
-10
lines changed

5 files changed

+14
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- 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)
2323
- 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)
2424
- Fixed `Array.from` and some other methods with proxy targets, [#1322](https://github.com/zloirock/core-js/issues/1322), thanks [**@minseok-choe**](https://github.com/minseok-choe)
25+
- Fixed dependencies loading for modules from `ArrayBuffer.prototype.transfer` and friends proposal in some specific cases in IE10-
2526
- Dropped context workaround from collection static methods entries since with current methods semantic it's no longer required
2627
- Added instance methods polyfills to entries of collections static methods that produce collection instances
2728
- Added missed `Date.prototype.toJSON` to `JSON.stringify` entries dependencies

packages/core-js-compat/src/data.mjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,16 @@ export const data = {
440440
rhino: '1.7.13',
441441
safari: '12.1',
442442
},
443+
// TODO: Remove this module from `core-js@4` since it's replaced to module below
444+
'es.data-view': null,
445+
'es.data-view.constructor': {
446+
chrome: '26',
447+
firefox: '15',
448+
hermes: '0.1',
449+
ie: '10',
450+
rhino: '1.7.13',
451+
safari: '7.1',
452+
},
443453
'es.array-buffer.detached': {
444454
bun: '1.0.19',
445455
chrome: '114',
@@ -458,16 +468,6 @@ export const data = {
458468
firefox: '122',
459469
safari: '17.4',
460470
},
461-
// TODO: Remove this module from `core-js@4` since it's replaced to module below
462-
'es.data-view': null,
463-
'es.data-view.constructor': {
464-
chrome: '26',
465-
firefox: '15',
466-
hermes: '0.1',
467-
ie: '10',
468-
rhino: '1.7.13',
469-
safari: '7.1',
470-
},
471471
'es.date.get-year': {
472472
chrome: '1',
473473
firefox: '1',

packages/core-js/es/array-buffer/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
require('../../modules/es.array-buffer.constructor');
33
require('../../modules/es.array-buffer.is-view');
44
require('../../modules/es.array-buffer.slice');
5+
require('../../modules/es.data-view');
56
require('../../modules/es.array-buffer.detached');
67
require('../../modules/es.array-buffer.transfer');
78
require('../../modules/es.array-buffer.transfer-to-fixed-length');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict';
22
require('../../modules/es.array-buffer.constructor');
33
require('../../modules/es.array-buffer.slice');
4+
require('../../modules/es.data-view');
45
require('../../modules/es.array-buffer.transfer-to-fixed-length');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use strict';
22
require('../../modules/es.array-buffer.constructor');
33
require('../../modules/es.array-buffer.slice');
4+
require('../../modules/es.data-view');
45
require('../../modules/es.array-buffer.transfer');

0 commit comments

Comments
 (0)