From d304972e451d343235f68c51a7c1b677a2e3b640 Mon Sep 17 00:00:00 2001 From: archmoj Date: Fri, 30 Jul 2021 12:58:05 -0400 Subject: [PATCH 1/2] propose fixing eslint to catch Function.apply on strict bundle v2.3.0 --- package-lock.json | 23 +++++++++++------------ package.json | 2 +- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2fe52f0f466..6dca265f1d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,9 @@ } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", + "version": "7.14.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.8.tgz", + "integrity": "sha512-ZGy6/XQjllhYQrNw/3zfWRwZCTVSiBLZ9DHVZxn9n2gip/7ab8mv2TWlKPIBk26RwedCBoWdjLmn+t9na2Gcow==", "dev": true }, "@babel/highlight": { @@ -3633,9 +3633,8 @@ } }, "eslint": { - "version": "7.31.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.31.0.tgz", - "integrity": "sha512-vafgJpSh2ia8tnTkNUkwxGmnumgckLh5aAbLa1xRmIn9+owi8qBNGKL+B881kNKNTy7FFqTEkpNkUvmw0n6PkA==", + "version": "git://github.com/archmoj/eslint.git#d20c16e440a73764e7450139bc6b5c0afbd60b0b", + "from": "git://github.com/archmoj/eslint.git#d20c16e440a73764e7450139bc6b5c0afbd60b0b", "dev": true, "requires": { "@babel/code-frame": "7.12.11", @@ -3690,9 +3689,9 @@ } }, "chalk": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", - "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -4181,9 +4180,9 @@ }, "dependencies": { "flatted": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.1.tgz", - "integrity": "sha512-OMQjaErSFHmHqZe+PSidH5n8j3O0F2DdnVh8JB4j4eUQ2k6KvB0qGfrKIhapvez5JerBbmWkaLYUYWISaESoXg==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", + "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", "dev": true } } diff --git a/package.json b/package.json index 1521f8e6ff3..e9d190686d4 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "deep-equal": "^2.0.5", "derequire": "^2.1.1", "ecstatic": "^4.1.4", - "eslint": "^7.31.0", + "eslint": "git://github.com/archmoj/eslint.git#d20c16e440a73764e7450139bc6b5c0afbd60b0b", "espree": "^7.3.1", "extra-iterable": "^2.5.22", "falafel": "^2.2.4", From 08c0768b992ccf58d82c8de1fa435017a3dcf2eb Mon Sep 17 00:00:00 2001 From: archmoj Date: Fri, 30 Jul 2021 13:52:36 -0400 Subject: [PATCH 2/2] add log for PR 5868 --- draftlogs/5868_fix.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 draftlogs/5868_fix.md diff --git a/draftlogs/5868_fix.md b/draftlogs/5868_fix.md new file mode 100644 index 00000000000..6aa06e83d21 --- /dev/null +++ b/draftlogs/5868_fix.md @@ -0,0 +1 @@ + - Fix eslint `no-new-func` test to catch calls to Function.apply in "strict" bundles [[#5868](https://github.com/plotly/plotly.js/pull/5868)]