Skip to content

Commit 222d74f

Browse files
committed
update dependencies, some updates for eslint-plugin-es-x
1 parent 46a896c commit 222d74f

File tree

7 files changed

+34
-24
lines changed

7 files changed

+34
-24
lines changed

package-lock.json

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-js/internals/function-apply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var FunctionPrototype = Function.prototype;
55
var apply = FunctionPrototype.apply;
66
var call = FunctionPrototype.call;
77

8-
// eslint-disable-next-line es/no-reflect -- safe
8+
// eslint-disable-next-line es/no-function-prototype-bind, es/no-reflect -- safe
99
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
1010
return call.apply(apply, arguments);
1111
});

packages/core-js/internals/function-call.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
var NATIVE_BIND = require('../internals/function-bind-native');
33

44
var call = Function.prototype.call;
5-
5+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
66
module.exports = NATIVE_BIND ? call.bind(call) : function () {
77
return call.apply(call, arguments);
88
};

packages/core-js/internals/function-uncurry-this.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ var NATIVE_BIND = require('../internals/function-bind-native');
33

44
var FunctionPrototype = Function.prototype;
55
var call = FunctionPrototype.call;
6+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
67
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
78

89
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {

tests/eslint/eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,6 +1823,12 @@ export default [
18231823
],
18241824
rules: disable(forbidES5BuiltIns),
18251825
},
1826+
{
1827+
files: [
1828+
'packages/core-js?(-pure)/**/instance/**',
1829+
],
1830+
rules: disable(forbidModernBuiltIns),
1831+
},
18261832
{
18271833
files: [
18281834
'tests/@(helpers|unit-@(global|pure)|wpt-url-resources)/**',

tests/eslint/package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/eslint/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"eslint-plugin-array-func": "^5.0.2",
1212
"eslint-plugin-canonical": "^5.0.0",
1313
"eslint-plugin-depend": "^0.12.0",
14-
"eslint-plugin-es-x": "^8.2.0",
14+
"eslint-plugin-es-x": "^8.3.0",
1515
"eslint-plugin-import-x": "^4.4.2",
16-
"eslint-plugin-jsonc": "^2.18.1",
16+
"eslint-plugin-jsonc": "^2.18.2",
1717
"eslint-plugin-n": "^17.13.2",
1818
"eslint-plugin-package-json": "^0.15.6",
1919
"eslint-plugin-promise": "^7.1.0",

0 commit comments

Comments
 (0)