commit | 16aca394c562f9e685778f6a8269931a1183f13b | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Fri Nov 13 11:37:13 2020 |
committer | Commit Bot <[email protected]> | Fri Nov 13 12:28:15 2020 |
tree | 84e520e3915e52cd028589ce0c038e6e7e68cc4a | |
parent | bb323cdb1f6d319b6633ce006c9850dc28b82366 [diff] [blame] |
Update ESLint and related packages Major update breaking changes: - ESLint 7.0.0 (https://eslint.org/docs/user-guide/migrating-to-7.0.0) now includes .eslint.rc.js in its list, which is fine for us. Other changes are not applicable for us. - eslint-plugin-mocha (https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md#700-may-13-2020) drops support for ESLint <7, but this CL updates to 7+. Other changes are not applicable for us. DISABLE_THIRD_PARTY_CHECK=Updating ESLint [email protected] Change-Id: I7760e084ef87f73a92f9ea4e075fb4c065047f5a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2534873 Commit-Queue: Tim van der Lippe <[email protected]> Reviewed-by: Peter Marshall <[email protected]>
diff --git a/node_modules/es-abstract/2015/Call.js b/node_modules/es-abstract/2015/Call.js new file mode 100644 index 0000000..f0f0451 --- /dev/null +++ b/node_modules/es-abstract/2015/Call.js
@@ -0,0 +1,13 @@ +'use strict'; + +var GetIntrinsic = require('../GetIntrinsic'); +var callBound = require('../helpers/callBound'); + +var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%'); + +// https://www.ecma-international.org/ecma-262/6.0/#sec-call + +module.exports = function Call(F, V) { + var args = arguments.length > 2 ? arguments[2] : []; + return $apply(F, V, args); +};