Comparing version 3.18.2 to 3.18.3
@@ -8,4 +8,4 @@ var isObject = require('../internals/is-object'); | ||
if (isObject(options) && 'cause' in options) { | ||
createNonEnumerableProperty(O, 'cause', O.cause); | ||
createNonEnumerableProperty(O, 'cause', options.cause); | ||
} | ||
}; |
@@ -10,3 +10,3 @@ var global = require('../internals/global'); | ||
var ITERATOR = Symbol && Symbol.iterator; | ||
var hex = /^[+-]?0[Xx]/; | ||
var hex = /^[+-]?0x/i; | ||
var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 | ||
@@ -13,0 +13,0 @@ // MS Edge 18- broken with boxed symbols |
@@ -7,5 +7,5 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.18.2', | ||
version: '3.18.3', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2021 Denis Pushkarev (zloirock.ru)' | ||
}); |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var setPrototypeOf = require('../internals/object-set-prototype-of'); | ||
var copyConstructorProperties = require('../internals/copy-constructor-properties'); | ||
var create = require('../internals/object-create'); | ||
@@ -29,6 +30,9 @@ var createNonEnumerableProperty = require('../internals/create-non-enumerable-property'); | ||
if (setPrototypeOf) setPrototypeOf($AggregateError, Error); | ||
else copyConstructorProperties($AggregateError, Error); | ||
$AggregateError.prototype = create(Error.prototype, { | ||
constructor: createPropertyDescriptor(5, $AggregateError), | ||
message: createPropertyDescriptor(5, ''), | ||
name: createPropertyDescriptor(5, 'AggregateError') | ||
constructor: createPropertyDescriptor(1, $AggregateError), | ||
message: createPropertyDescriptor(1, ''), | ||
name: createPropertyDescriptor(1, 'AggregateError') | ||
}); | ||
@@ -35,0 +39,0 @@ |
@@ -34,5 +34,5 @@ 'use strict'; | ||
var ALPHA = /[A-Za-z]/; | ||
var ALPHA = /[a-z]/i; | ||
// eslint-disable-next-line regexp/no-obscure-range -- safe | ||
var ALPHANUMERIC = /[\d+-.A-Za-z]/; | ||
var ALPHANUMERIC = /[\d+-.a-z]/i; | ||
var DIGIT = /\d/; | ||
@@ -42,3 +42,3 @@ var HEX_START = /^0x/i; | ||
var DEC = /^\d+$/; | ||
var HEX = /^[\dA-Fa-f]+$/; | ||
var HEX = /^[\da-f]+$/i; | ||
/* eslint-disable regexp/no-control-character -- safe */ | ||
@@ -45,0 +45,0 @@ var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; |
{ | ||
"name": "core-js", | ||
"description": "Standard library", | ||
"version": "3.18.2", | ||
"version": "3.18.3", | ||
"repository": { | ||
@@ -57,3 +57,3 @@ "type": "git", | ||
}, | ||
"gitHead": "ac4a27025eb557d7c7a94b928236fbcb6f21ba0e" | ||
"gitHead": "11f8efbfd552c8fca86188554ec3a8003580dd0c" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
786060
18661