Skip to content

Commit d044cb5

Browse files
committed
3.37.1
1 parent 34ff38e commit d044cb5

File tree

18 files changed

+253
-103
lines changed

18 files changed

+253
-103
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22
##### Unreleased
3+
- Nothing
4+
5+
##### [3.37.1 - 2024.05.14](https://github.com/zloirock/core-js/releases/tag/v3.37.1)
6+
- Changes [v3.37.0...v3.37.1](https://github.com/zloirock/core-js/compare/v3.37.0...v3.37.1)
37
- Fixed [`URL.parse`](https://url.spec.whatwg.org/#dom-url-parse) feature detection for some specific cases
48
- Compat data improvements:
59
- [`Set` methods proposal](https://github.com/tc39/proposal-set-methods) added and marked as [supported from FF 127](https://bugzilla.mozilla.org/show_bug.cgi?id=1868423)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3])
212212
### Installation:[](#index)
213213
```sh
214214
// global version
215-
npm install --save [email protected].0
215+
npm install --save [email protected].1
216216
// version without global namespace pollution
217-
npm install --save [email protected].0
217+
npm install --save [email protected].1
218218
// bundled global version
219-
npm install --save [email protected].0
219+
npm install --save [email protected].1
220220
```
221221

222222
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
@@ -29,7 +29,7 @@
2929

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

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

deno/corejs/index.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* core-js 3.37.0
2+
* core-js 3.37.1
33
* © 2014-2024 Denis Pushkarev (zloirock.ru)
4-
* license: https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE
4+
* license: https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE
55
* source: https://github.com/zloirock/core-js
66
*/
77
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -1028,10 +1028,10 @@ var SHARED = '__core-js_shared__';
10281028
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
10291029

10301030
(store.versions || (store.versions = [])).push({
1031-
version: '3.37.0',
1031+
version: '3.37.1',
10321032
mode: IS_PURE ? 'pure' : 'global',
10331033
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
1034-
license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',
1034+
license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
10351035
source: 'https://github.com/zloirock/core-js'
10361036
});
10371037

@@ -6388,7 +6388,7 @@ var WRONG_ARITY = !!NativeSuppressedError && NativeSuppressedError.length !== 3;
63886388

63896389
// https://github.com/oven-sh/bun/issues/9283
63906390
var EXTRA_ARGS_SUPPORT = !!NativeSuppressedError && fails(function () {
6391-
return NativeSuppressedError(1, 2, 3, { cause: 4 }).cause === 4;
6391+
return new NativeSuppressedError(1, 2, 3, { cause: 4 }).cause === 4;
63926392
});
63936393

63946394
var PATCH = WRONG_ARITY || EXTRA_ARGS_SUPPORT;
@@ -16123,12 +16123,13 @@ var $ = __webpack_require__(2);
1612316123
var getBuiltIn = __webpack_require__(22);
1612416124
var validateArgumentsLength = __webpack_require__(146);
1612516125
var toString = __webpack_require__(76);
16126+
var USE_NATIVE_URL = __webpack_require__(472);
1612616127

1612716128
var URL = getBuiltIn('URL');
1612816129

1612916130
// `URL.parse` method
1613016131
// https://url.spec.whatwg.org/#dom-url-canparse
16131-
$({ target: 'URL', stat: true }, {
16132+
$({ target: 'URL', stat: true, forced: !USE_NATIVE_URL }, {
1613216133
parse: function parse(url) {
1613316134
var length = validateArgumentsLength(arguments.length, 1);
1613416135
var urlString = toString(url);

0 commit comments

Comments
 (0)