Skip to content

Commit f50b58e

Browse files
committed
3.29.1
1 parent 8682a18 commit f50b58e

File tree

17 files changed

+109
-72
lines changed

17 files changed

+109
-72
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### [3.29.1 - 2023.03.13](https://github.com/zloirock/core-js/releases/tag/v3.29.1)
36
- Fixed dependencies of some entries
47
- Fixed `ToString` conversion / built-ins nature of some accessors
58
- [`String.prototype.{ isWellFormed, toWellFormed }`](https://github.com/tc39/proposal-is-usv-string) marked as supported from V8 ~ Chrome 111

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
208208
### Installation:[](#index)
209209
```sh
210210
// global version
211-
npm install --save [email protected].0
211+
npm install --save [email protected].1
212212
// version without global namespace pollution
213-
npm install --save [email protected].0
213+
npm install --save [email protected].1
214214
// bundled global version
215-
npm install --save [email protected].0
215+
npm install --save [email protected].1
216216
```
217217

218218
Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/core-js-bundle).

deno/corejs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
*Example*:
3030
```js
31-
import 'https://deno.land/x/[email protected].0/index.js'; // <- at the top of your entry point
31+
import 'https://deno.land/x/[email protected].1/index.js'; // <- at the top of your entry point
3232

3333
Object.hasOwn({ foo: 42 }, 'foo'); // => true
3434

deno/corejs/index.js

+21-24
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* core-js 3.29.0
2+
* core-js 3.29.1
33
* © 2014-2023 Denis Pushkarev (zloirock.ru)
4-
* license: https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE
4+
* license: https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE
55
* source: https://github.com/zloirock/core-js
66
*/
77
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -943,10 +943,10 @@ var store = __webpack_require__(36);
943943
(module.exports = function (key, value) {
944944
return store[key] || (store[key] = value !== undefined ? value : {});
945945
})('versions', []).push({
946-
version: '3.29.0',
946+
version: '3.29.1',
947947
mode: IS_PURE ? 'pure' : 'global',
948948
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
949-
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
949+
license: 'https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE',
950950
source: 'https://github.com/zloirock/core-js'
951951
});
952952

@@ -7175,7 +7175,7 @@ var createIteratorConstructor = __webpack_require__(240);
71757175
var createIterResultObject = __webpack_require__(183);
71767176
var isNullOrUndefined = __webpack_require__(16);
71777177
var isObject = __webpack_require__(19);
7178-
var defineProperties = __webpack_require__(88).f;
7178+
var defineBuiltInAccessor = __webpack_require__(119);
71797179
var DESCRIPTORS = __webpack_require__(5);
71807180

71817181
var INCORRECT_RANGE = 'Incorrect Iterator.range arguments';
@@ -7224,7 +7224,7 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
72247224
start: start,
72257225
end: end,
72267226
step: step,
7227-
inclusiveEnd: inclusiveEnd,
7227+
inclusive: inclusiveEnd,
72287228
hitsEnd: hitsEnd,
72297229
currentCount: zero,
72307230
zero: zero
@@ -7243,7 +7243,7 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
72437243
var step = state.step;
72447244
var currentYieldingValue = start + (step * state.currentCount++);
72457245
if (currentYieldingValue === end) state.hitsEnd = true;
7246-
var inclusiveEnd = state.inclusiveEnd;
7246+
var inclusiveEnd = state.inclusive;
72477247
var endCondition;
72487248
if (end > start) {
72497249
endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end;
@@ -7256,25 +7256,22 @@ var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(sta
72567256
} return createIterResultObject(currentYieldingValue, false);
72577257
});
72587258

7259-
var getter = function (fn) {
7260-
return { get: fn, set: function () { /* empty */ }, configurable: true, enumerable: false };
7259+
var addGetter = function (key) {
7260+
defineBuiltInAccessor($RangeIterator.prototype, key, {
7261+
get: function () {
7262+
return getInternalState(this)[key];
7263+
},
7264+
set: function () { /* empty */ },
7265+
configurable: true,
7266+
enumerable: false
7267+
});
72617268
};
72627269

72637270
if (DESCRIPTORS) {
7264-
defineProperties($RangeIterator.prototype, {
7265-
start: getter(function () {
7266-
return getInternalState(this).start;
7267-
}),
7268-
end: getter(function () {
7269-
return getInternalState(this).end;
7270-
}),
7271-
inclusive: getter(function () {
7272-
return getInternalState(this).inclusiveEnd;
7273-
}),
7274-
step: getter(function () {
7275-
return getInternalState(this).step;
7276-
})
7277-
});
7271+
addGetter('start');
7272+
addGetter('end');
7273+
addGetter('inclusive');
7274+
addGetter('step');
72787275
}
72797276

72807277
module.exports = $RangeIterator;
@@ -11580,7 +11577,7 @@ var isSetLike = function (it) {
1158011577
// fallback old -> new set methods proposal arguments
1158111578
module.exports = function (it) {
1158211579
if (isSetLike(it)) return it;
11583-
if (isIterable(it)) return new Set(it);
11580+
return isIterable(it) ? new Set(it) : it;
1158411581
};
1158511582

1158611583

docs/compat/compat-data.js

+14-2
Original file line numberDiff line numberDiff line change
@@ -6015,7 +6015,13 @@
60156015
"esnext.string.code-points": {},
60166016
"esnext.string.dedent": {},
60176017
"esnext.string.is-well-formed": {
6018-
"bun": "0.4.0"
6018+
"android": "111",
6019+
"bun": "0.4.0",
6020+
"chrome": "111",
6021+
"chrome-android": "111",
6022+
"edge": "111",
6023+
"electron": "24.0",
6024+
"opera": "97"
60196025
},
60206026
"esnext.string.match-all": {
60216027
"android": "80",
@@ -6062,7 +6068,13 @@
60626068
"samsung": "14.0"
60636069
},
60646070
"esnext.string.to-well-formed": {
6065-
"bun": "0.5.7"
6071+
"android": "111",
6072+
"bun": "0.5.7",
6073+
"chrome": "111",
6074+
"chrome-android": "111",
6075+
"edge": "111",
6076+
"electron": "24.0",
6077+
"opera": "97"
60666078
},
60676079
"esnext.symbol.async-dispose": {},
60686080
"esnext.symbol.dispose": {},

docs/compat/tests.js

-6
Original file line numberDiff line numberDiff line change
@@ -1502,9 +1502,6 @@ GLOBAL.tests = {
15021502
'esnext.async-iterator.from': function () {
15031503
return AsyncIterator.from;
15041504
},
1505-
'esnext.async-iterator.indexed': function () {
1506-
return AsyncIterator.prototype.indexed;
1507-
},
15081505
'esnext.async-iterator.map': function () {
15091506
return AsyncIterator.prototype.map;
15101507
},
@@ -1570,9 +1567,6 @@ GLOBAL.tests = {
15701567
'esnext.iterator.from': function () {
15711568
return Iterator.from;
15721569
},
1573-
'esnext.iterator.indexed': function () {
1574-
return Iterator.prototype.indexed;
1575-
},
15761570
'esnext.iterator.map': function () {
15771571
return Iterator.prototype.map;
15781572
},

package-lock.json

+12-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.29.0",
2+
"version": "3.29.1",
33
"repository": {
44
"type": "git",
55
"url": "https://github.com/zloirock/core-js.git"

packages/core-js-builder/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "core-js-builder",
3-
"version": "3.29.0",
3+
"version": "3.29.1",
44
"description": "core-js builder",
55
"repository": {
66
"type": "git",
@@ -21,8 +21,8 @@
2121
"main": "index.js",
2222
"types": "index.d.ts",
2323
"dependencies": {
24-
"core-js": "3.29.0",
25-
"core-js-compat": "3.29.0",
24+
"core-js": "3.29.1",
25+
"core-js-compat": "3.29.1",
2626
"mkdirp": ">=0.5.5 <1",
2727
"webpack": ">=4.46.0 <5"
2828
},

packages/core-js-bundle/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "core-js-bundle",
3-
"version": "3.29.0",
3+
"version": "3.29.1",
44
"description": "Standard library",
55
"keywords": [
66
"ES3",

packages/core-js-compat/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "core-js-compat",
3-
"version": "3.29.0",
3+
"version": "3.29.1",
44
"description": "core-js compat",
55
"repository": {
66
"type": "git",

packages/core-js-pure/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "core-js-pure",
3-
"version": "3.29.0",
3+
"version": "3.29.1",
44
"description": "Standard library",
55
"keywords": [
66
"ES3",

packages/core-js/internals/shared.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
44
(module.exports = function (key, value) {
55
return store[key] || (store[key] = value !== undefined ? value : {});
66
})('versions', []).push({
7-
version: '3.29.0',
7+
version: '3.29.1',
88
mode: IS_PURE ? 'pure' : 'global',
99
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
10-
license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
10+
license: 'https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE',
1111
source: 'https://github.com/zloirock/core-js'
1212
});

packages/core-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "core-js",
3-
"version": "3.29.0",
3+
"version": "3.29.1",
44
"description": "Standard library",
55
"keywords": [
66
"ES3",

scripts/bundle-tests/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)