Skip to content

Commit

Permalink
add missed Date#toJSON to JSON.stringify entries dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Feb 1, 2024
1 parent 5889d20 commit 04bf57b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Fixed a missed check in `Array#{ indexOf, lastIndexOf, includes }`, [#1325](https://github.com/zloirock/core-js/issues/1325), thanks [**@minseok-choe**](https://github.com/minseok-choe)
- 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)
- Dropped context workaround from collection static methods entries since with current methods semantic it's no longer required
- Added missed `Date#toJSON` to `JSON.stringify` entries dependencies
- Compat data improvements:
- [New `Set` methods](https://github.com/tc39/proposal-set-methods) [fixed](https://bugs.chromium.org/p/v8/issues/detail?id=14559#c4) and marked as supported from V8 ~ Chrome 123
- Added [Deno 1.40](https://deno.com/blog/v1.40) compat data mapping
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/json/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict';
require('../../modules/es.date.to-json');
require('../../modules/es.json.stringify');
require('../../modules/es.json.to-string-tag');
var path = require('../../internals/path');
Expand Down
1 change: 1 addition & 0 deletions packages/core-js/es/json/stringify.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict';
require('../../modules/es.date.to-json');
require('../../modules/es.json.stringify');
var path = require('../../internals/path');
var apply = require('../../internals/function-apply');
Expand Down

0 comments on commit 04bf57b

Please sign in to comment.