core-js-bundle 3.30.0 → 3.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * core-js 3.30.0
2
+ * core-js 3.30.1
3
3
  * © 2014-2023 Denis Pushkarev (zloirock.ru)
4
- * license: https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE
4
+ * license: https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE
5
5
  * source: https://github.com/zloirock/core-js
6
6
  */
7
7
  !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -1390,10 +1390,10 @@ var store = __webpack_require__(37);
1390
1390
  (module.exports = function (key, value) {
1391
1391
  return store[key] || (store[key] = value !== undefined ? value : {});
1392
1392
  })('versions', []).push({
1393
- version: '3.30.0',
1393
+ version: '3.30.1',
1394
1394
  mode: IS_PURE ? 'pure' : 'global',
1395
1395
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
1396
- license: 'https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE',
1396
+ license: 'https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE',
1397
1397
  source: 'https://github.com/zloirock/core-js'
1398
1398
  });
1399
1399
 
@@ -25286,14 +25286,21 @@ module.exports = {
25286
25286
 
25287
25287
  var $ = __webpack_require__(3);
25288
25288
  var getBuiltIn = __webpack_require__(24);
25289
+ var fails = __webpack_require__(7);
25289
25290
  var validateArgumentsLength = __webpack_require__(328);
25290
25291
  var toString = __webpack_require__(69);
25292
+ var USE_NATIVE_URL = __webpack_require__(745);
25291
25293
 
25292
25294
  var URL = getBuiltIn('URL');
25293
25295
 
25296
+ // https://github.com/nodejs/node/issues/47505
25297
+ var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
25298
+ URL.canParse();
25299
+ });
25300
+
25294
25301
  // `URL.canParse` method
25295
25302
  // https://url.spec.whatwg.org/#dom-url-canparse
25296
- $({ target: 'URL', stat: true }, {
25303
+ $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {
25297
25304
  canParse: function canParse(url) {
25298
25305
  var length = validateArgumentsLength(arguments.length, 1);
25299
25306
  var urlString = toString(url);