es-abstract
Advanced tools
Comparing version 1.16.0 to 1.16.1
@@ -0,1 +1,12 @@ | ||
1.16.1 / 2019-11-24 | ||
================= | ||
* [Fix] `GetIntrinsics`: turns out IE 8 throws when `Object.getOwnPropertyDescriptor(arguments);`, and does not throw on `callee` anyways | ||
* [Deps] update `es-to-primitive`, `has-symbols`, `object-inspect` | ||
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest` | ||
* [meta] re-include year files inside `operations` | ||
* [meta] add `funding` field | ||
* [actions] add Automatic Rebase github action | ||
* [Tests] use shared travis-ci config | ||
* [Tests] disable `check-coverage`, and let codecov do it | ||
1.16.0 / 2019-10-18 | ||
@@ -13,3 +24,2 @@ ================= | ||
1.15.0 / 2019-10-02 | ||
@@ -16,0 +26,0 @@ ================= |
@@ -100,2 +100,3 @@ 'use strict'; | ||
var V = desc['[[Value]]']; | ||
// eslint-disable-next-line no-param-reassign | ||
O[P] = V; // will use [[Define]] | ||
@@ -443,2 +444,3 @@ return ES.SameValue(O[P], V); | ||
CompletePropertyDescriptor: function CompletePropertyDescriptor(Desc) { | ||
/* eslint no-param-reassign: 0 */ | ||
assertRecord(this, 'Property Descriptor', 'Desc', Desc); | ||
@@ -445,0 +447,0 @@ |
@@ -45,3 +45,3 @@ 'use strict'; | ||
iteratorRecord, | ||
function () { throw e; } // eslint-disable-line no-loop-func | ||
function () { throw e; } | ||
); | ||
@@ -48,0 +48,0 @@ } |
@@ -8,9 +8,23 @@ 'use strict'; | ||
var undefined; // eslint-disable-line no-shadow-restricted-names | ||
var undefined; | ||
var $TypeError = TypeError; | ||
var throwTypeError = function () { throw new $TypeError(); }; | ||
var ThrowTypeError = Object.getOwnPropertyDescriptor | ||
? (function () { return Object.getOwnPropertyDescriptor(arguments, 'callee').get; }()) | ||
: function () { throw new $TypeError(); }; | ||
? (function () { | ||
try { | ||
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties | ||
arguments.callee; // IE 8 does not throw here | ||
return throwTypeError; | ||
} catch (calleeThrows) { | ||
try { | ||
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') | ||
return Object.getOwnPropertyDescriptor(arguments, 'callee').get; | ||
} catch (gOPDthrows) { | ||
return throwTypeError; | ||
} | ||
} | ||
}()) | ||
: throwTypeError; | ||
@@ -17,0 +31,0 @@ var hasSymbols = require('has-symbols')(); |
@@ -17,2 +17,3 @@ 'use strict'; | ||
if (has(source, key)) { | ||
// eslint-disable-next-line no-param-reassign | ||
target[key] = source[key]; | ||
@@ -19,0 +20,0 @@ } |
@@ -13,5 +13,5 @@ 'use strict'; | ||
: function (O, proto) { | ||
O.__proto__ = proto; // eslint-disable-line no-proto | ||
O.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign | ||
return O; | ||
} | ||
); |
{ | ||
"name": "es-abstract", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"author": { | ||
@@ -9,2 +9,5 @@ "name": "Jordan Harband", | ||
}, | ||
"funding": { | ||
"url": "https://github.com/sponsors/ljharb" | ||
}, | ||
"contributors": [ | ||
@@ -47,9 +50,9 @@ { | ||
"dependencies": { | ||
"es-to-primitive": "^1.2.0", | ||
"es-to-primitive": "^1.2.1", | ||
"function-bind": "^1.1.1", | ||
"has": "^1.0.3", | ||
"has-symbols": "^1.0.0", | ||
"has-symbols": "^1.0.1", | ||
"is-callable": "^1.1.4", | ||
"is-regex": "^1.0.4", | ||
"object-inspect": "^1.6.0", | ||
"object-inspect": "^1.7.0", | ||
"object-keys": "^1.1.1", | ||
@@ -60,7 +63,7 @@ "string.prototype.trimleft": "^2.1.0", | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^14.1.0", | ||
"@ljharb/eslint-config": "^15.0.2", | ||
"cheerio": "^1.0.0-rc.3", | ||
"diff": "^4.0.1", | ||
"eclint": "^2.8.1", | ||
"eslint": "^6.5.1", | ||
"eslint": "^6.7.0", | ||
"foreach": "^2.0.5", | ||
@@ -73,3 +76,3 @@ "make-arrow-function": "^1.1.0", | ||
"replace": "^1.1.1", | ||
"safe-publish-latest": "^1.1.3", | ||
"safe-publish-latest": "^1.1.4", | ||
"semver": "^6.3.0", | ||
@@ -76,0 +79,0 @@ "tape": "^4.11.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
447496
63
8781
Updatedes-to-primitive@^1.2.1
Updatedhas-symbols@^1.0.1
Updatedobject-inspect@^1.7.0