From 4eda1c860507e84b44a718a39ce58cf45f7ccc6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Thu, 3 Jun 2021 23:42:32 -0400 Subject: [PATCH] chore: bump eslint and its plugins (#13412) --- eslint/babel-eslint-parser/package.json | 4 +- .../package.json | 2 +- .../package.json | 2 +- eslint/babel-eslint-plugin/package.json | 2 +- .../babel-eslint-shared-fixtures/package.json | 2 +- eslint/babel-eslint-tests/package.json | 4 +- .../test/integration/eslint/rules/strict.js | 190 ++-- package.json | 12 +- packages/babel-cli/test/index.js | 2 +- packages/babel-core/test/api.js | 105 ++- packages/babel-core/test/config-loading.js | 120 ++- packages/babel-core/test/option-manager.js | 53 +- packages/babel-generator/test/index.js | 16 +- packages/babel-node/test/fixtures.js | 1 + .../test/index.js | 24 +- .../test/normalize-options.spec.js | 2 +- packages/babel-register/test/browserify.js | 17 +- packages/babel-register/test/cache.js | 31 +- packages/babel-register/test/index.js | 50 +- .../test/__snapshots__/scope.js.snap | 38 +- packages/babel-traverse/test/evaluation.js | 8 +- packages/babel-traverse/test/inference.js | 8 +- packages/babel-traverse/test/scope.js | 46 +- packages/babel-types/test/asserts.js | 2 +- .../createTypeAnnotationBasedOnTypeof.js.snap | 16 +- .../flow/createTypeAnnotationBasedOnTypeof.js | 2 +- yarn.lock | 869 +++++++++++------- 27 files changed, 905 insertions(+), 723 deletions(-) diff --git a/eslint/babel-eslint-parser/package.json b/eslint/babel-eslint-parser/package.json index 6e7bb113bc98..e4e35c759b7c 100644 --- a/eslint/babel-eslint-parser/package.json +++ b/eslint/babel-eslint-parser/package.json @@ -30,13 +30,13 @@ "eslint": ">=7.5.0" }, "dependencies": { - "eslint-scope": "^5.1.0", + "eslint-scope": "^5.1.1", "eslint-visitor-keys": "^2.1.0", "semver": "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0" }, "devDependencies": { "@babel/core": "workspace:*", "dedent": "^0.7.0", - "eslint": "^7.5.0" + "eslint": "^7.27.0" } } diff --git a/eslint/babel-eslint-plugin-development-internal/package.json b/eslint/babel-eslint-plugin-development-internal/package.json index 6d5357ac4134..2fe81386a896 100644 --- a/eslint/babel-eslint-plugin-development-internal/package.json +++ b/eslint/babel-eslint-plugin-development-internal/package.json @@ -20,6 +20,6 @@ "eslint": ">=7.5.0" }, "devDependencies": { - "eslint": "^7.5.0" + "eslint": "^7.27.0" } } diff --git a/eslint/babel-eslint-plugin-development/package.json b/eslint/babel-eslint-plugin-development/package.json index 532a794873bb..00c4ad055ab4 100644 --- a/eslint/babel-eslint-plugin-development/package.json +++ b/eslint/babel-eslint-plugin-development/package.json @@ -31,6 +31,6 @@ }, "homepage": "https://babel.dev/", "devDependencies": { - "eslint": "^7.5.0" + "eslint": "^7.27.0" } } diff --git a/eslint/babel-eslint-plugin/package.json b/eslint/babel-eslint-plugin/package.json index a24ddca7dc5f..efae90a59327 100644 --- a/eslint/babel-eslint-plugin/package.json +++ b/eslint/babel-eslint-plugin/package.json @@ -41,6 +41,6 @@ }, "devDependencies": { "clone-deep": "^4.0.1", - "eslint": "^7.5.0" + "eslint": "^7.27.0" } } diff --git a/eslint/babel-eslint-shared-fixtures/package.json b/eslint/babel-eslint-shared-fixtures/package.json index 62f295c4381b..92a22c845b47 100644 --- a/eslint/babel-eslint-shared-fixtures/package.json +++ b/eslint/babel-eslint-shared-fixtures/package.json @@ -15,6 +15,6 @@ "@babel/preset-env": "workspace:^7.12.13", "@babel/preset-flow": "workspace:^7.12.13", "@babel/preset-react": "workspace:^7.12.13", - "eslint": "^7.5.0" + "eslint": "^7.27.0" } } diff --git a/eslint/babel-eslint-tests/package.json b/eslint/babel-eslint-tests/package.json index d3a5d2e1a45f..be5dc2119b04 100644 --- a/eslint/babel-eslint-tests/package.json +++ b/eslint/babel-eslint-tests/package.json @@ -8,8 +8,8 @@ "@babel/eslint-parser": "workspace:^7.14.4", "@babel/preset-react": "workspace:^7.13.13", "dedent": "^0.7.0", - "eslint": "^7.5.0", - "eslint-plugin-import": "^2.22.0", + "eslint": "^7.27.0", + "eslint-plugin-import": "^2.23.4", "npm-babel-parser": "npm:@babel/parser@^7.14.0" } } diff --git a/eslint/babel-eslint-tests/test/integration/eslint/rules/strict.js b/eslint/babel-eslint-tests/test/integration/eslint/rules/strict.js index c57e1366eab0..a7c255ac6ff1 100644 --- a/eslint/babel-eslint-tests/test/integration/eslint/rules/strict.js +++ b/eslint/babel-eslint-tests/test/integration/eslint/rules/strict.js @@ -33,10 +33,12 @@ const baseEslintOpts = { * @param object opts * @param function done */ -function lint(opts, done) { - readFixture(opts.fixture, (err, src) => { - if (err) return done(err); - done(null, eslint.linter.verify(src, opts.eslint)); +function lint(opts) { + return new Promise((resolve, reject) => { + readFixture(opts.fixture, (err, src) => { + if (err) return reject(err); + resolve(eslint.linter.verify(src, opts.eslint)); + }); }); } @@ -66,18 +68,14 @@ function strictSuite() { eslintOpts.rules[ruleId] = [errorLevel, "never"]; ["global-with", "function-with"].forEach(fixture => { - it(`should error on ${fixture.match(/^[^-]+/)[0]} directive`, done => { - lint( - { - fixture: ["strict", fixture], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - done(); - }, - ); + it(`should error on ${ + fixture.match(/^[^-]+/)[0] + } directive`, async () => { + const report = await lint({ + fixture: ["strict", fixture], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); }); }); }); @@ -88,65 +86,41 @@ function strictSuite() { }); eslintOpts.rules[ruleId] = [errorLevel, "global"]; - it("shouldn't error on single global directive", done => { - lint( - { - fixture: ["strict", "global-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report.length).toBe(0); - done(); - }, - ); + it("shouldn't error on single global directive", async () => { + const report = await lint({ + fixture: ["strict", "global-with"], + eslint: eslintOpts, + }); + expect(report.length).toBe(0); }); - it("should error twice on global directive: no and function directive: yes", done => { - lint( - { - fixture: ["strict", "function-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - done(); - }, - ); + it("should error twice on global directive: no and function directive: yes", async () => { + const report = await lint({ + fixture: ["strict", "function-with"], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); }); - it("should error on function directive", done => { - lint( - { - fixture: ["strict", "global-with-function-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - // This is to make sure the test fails prior to adapting Babel AST - // directive representation to ESLint format. Otherwise it reports an - // error for missing global directive that masquerades as the expected - // result of the previous assertion. - expect(report[0].nodeType).not.toBe("Program"); - done(); - }, - ); + it("should error on function directive", async () => { + const report = await lint({ + fixture: ["strict", "global-with-function-with"], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); + // This is to make sure the test fails prior to adapting Babel AST + // directive representation to ESLint format. Otherwise it reports an + // error for missing global directive that masquerades as the expected + // result of the previous assertion. + expect(report[0].nodeType).not.toBe("Program"); }); - it("should error on no directive", done => { - lint( - { - fixture: ["strict", "none"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - done(); - }, - ); + it("should error on no directive", async () => { + const report = await lint({ + fixture: ["strict", "none"], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); }); }); @@ -156,63 +130,39 @@ function strictSuite() { }); eslintOpts.rules[ruleId] = [errorLevel, "function"]; - it("shouldn't error on single function directive", done => { - lint( - { - fixture: ["strict", "function-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report.length).toBe(0); - done(); - }, - ); + it("shouldn't error on single function directive", async () => { + const report = await lint({ + fixture: ["strict", "none"], + eslint: eslintOpts, + }); + expect(report.length).toBe(0); }); - it("should error twice on function directive: no and global directive: yes", done => { - lint( - { - fixture: ["strict", "global-with-function-without"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - [0, 1].forEach(i => { - expect(report[i].ruleId).toBe(ruleId); - }); - done(); - }, - ); + it("should error twice on function directive: no and global directive: yes", async () => { + const report = await lint({ + fixture: ["strict", "global-with-function-without"], + eslint: eslintOpts, + }); + [0, 1].forEach(i => { + expect(report[i].ruleId).toBe(ruleId); + }); }); - it("should error on only global directive", done => { - lint( - { - fixture: ["strict", "global-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - done(); - }, - ); + it("should error on only global directive", async () => { + const report = await lint({ + fixture: ["strict", "global-with"], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); }); - it("should error on extraneous global directive", done => { - lint( - { - fixture: ["strict", "global-with-function-with"], - eslint: eslintOpts, - }, - (err, report) => { - if (err) return done(err); - expect(report[0].ruleId).toBe(ruleId); - expect(report[0].nodeType.indexOf("Function")).toBe(-1); - done(); - }, - ); + it("should error on extraneous global directive", async () => { + const report = await lint({ + fixture: ["strict", "global-with-function-with"], + eslint: eslintOpts, + }); + expect(report[0].ruleId).toBe(ruleId); + expect(report[0].nodeType.indexOf("Function")).toBe(-1); }); }); } diff --git a/package.json b/package.json index ade9edaa0898..506a8e644067 100644 --- a/package.json +++ b/package.json @@ -43,12 +43,12 @@ "babel-plugin-transform-charcodes": "^0.2.0", "chalk": "^2.4.2", "charcodes": "^0.2.0", - "eslint": "^7.5.0", - "eslint-import-resolver-node": "^0.3.3", - "eslint-plugin-flowtype": "^4.6.0", - "eslint-plugin-import": "^2.22.0", - "eslint-plugin-jest": "^23.8.2", - "eslint-plugin-prettier": "^3.1.2", + "eslint": "^7.27.0", + "eslint-import-resolver-node": "^0.3.4", + "eslint-plugin-flowtype": "^5.7.2", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-jest": "^24.3.6", + "eslint-plugin-prettier": "^3.4.0", "fancy-log": "^1.3.3", "flow-bin": "^0.123.0", "gulp": "^4.0.2", diff --git a/packages/babel-cli/test/index.js b/packages/babel-cli/test/index.js index 939c1706caaf..2189c8c0ac0a 100644 --- a/packages/babel-cli/test/index.js +++ b/packages/babel-cli/test/index.js @@ -273,7 +273,7 @@ fs.readdirSync(fixtureLoc).forEach(function (binName) { // copy .babelignore file to tmp directory opts.inFiles[".babelignore"] = helper.readFile(babelIgnoreLoc); } - + // eslint-disable-next-line jest/valid-title it(testName, buildTest(binName, testName, opts), 20000); }); }); diff --git a/packages/babel-core/test/api.js b/packages/babel-core/test/api.js index 367a03fb5ea1..350e1b906633 100644 --- a/packages/babel-core/test/api.js +++ b/packages/babel-core/test/api.js @@ -33,6 +33,13 @@ function transformFile(filename, opts, cb) { function transformFileSync(filename, opts) { return babel.transformFileSync(filename, { cwd, configFile: false, ...opts }); } +function transformFileAsync(filename, opts) { + return babel.transformFileAsync(filename, { + cwd, + configFile: false, + ...opts, + }); +} function transformAsync(code, opts) { return babel.transformAsync(code, { cwd, configFile: false, ...opts }); @@ -147,20 +154,40 @@ describe("api", function () { expect(babel.tokTypes).toBeDefined(); }); - it("transformFile", function (done) { + it("transformFile", function () { const options = { babelrc: false, }; Object.freeze(options); - transformFile(cwd + "/fixtures/api/file.js", options, function (err, res) { - if (err) return done(err); - expect(res.code).toBe("foo();"); - // keep user options untouched - expect(options).toEqual({ babelrc: false }); - done(); + return new Promise((resolve, reject) => { + transformFile( + cwd + "/fixtures/api/file.js", + options, + function (err, res) { + if (err) return reject(err); + expect(res.code).toBe("foo();"); + // keep user options untouched + expect(options).toEqual({ babelrc: false }); + resolve(); + }, + ); }); }); + it("transformFileAsync", async function () { + const options = { + babelrc: false, + }; + Object.freeze(options); + const res = await transformFileAsync( + cwd + "/fixtures/api/file.js", + options, + ); + expect(res.code).toBe("foo();"); + // keep user options untouched + expect(options).toEqual({ babelrc: false }); + }); + it("transformFileSync", function () { const options = { babelrc: false, @@ -759,38 +786,42 @@ describe("api", function () { babelrc: false, }; - it("only syntax plugin available", function (done) { - transformFile( - cwd + "/fixtures/api/parsing-errors/only-syntax/file.js", - options, - function (err) { - expect(err.message).toMatch( - "Support for the experimental syntax 'pipelineOperator' isn't currently enabled (1:3):", - ); - expect(err.message).toMatch( - "Add @babel/plugin-proposal-pipeline-operator (https://git.io/vb4SU) to the " + - "'plugins' section of your Babel config to enable transformation.", - ); - done(); - }, - ); + it("only syntax plugin available", function () { + return new Promise(resolve => { + transformFile( + cwd + "/fixtures/api/parsing-errors/only-syntax/file.js", + options, + function (err) { + expect(err.message).toMatch( + "Support for the experimental syntax 'pipelineOperator' isn't currently enabled (1:3):", + ); + expect(err.message).toMatch( + "Add @babel/plugin-proposal-pipeline-operator (https://git.io/vb4SU) to the " + + "'plugins' section of your Babel config to enable transformation.", + ); + resolve(); + }, + ); + }); }); - it("both syntax and transform plugin available", function (done) { - transformFile( - cwd + "/fixtures/api/parsing-errors/syntax-and-transform/file.js", - options, - function (err) { - expect(err.message).toMatch( - "Support for the experimental syntax 'doExpressions' isn't currently enabled (1:2):", - ); - expect(err.message).toMatch( - "Add @babel/plugin-proposal-do-expressions (https://git.io/vb4S3) to the " + - "'plugins' section of your Babel config to enable transformation.", - ); - done(); - }, - ); + it("both syntax and transform plugin available", function () { + return new Promise(resolve => { + transformFile( + cwd + "/fixtures/api/parsing-errors/syntax-and-transform/file.js", + options, + function (err) { + expect(err.message).toMatch( + "Support for the experimental syntax 'doExpressions' isn't currently enabled (1:2):", + ); + expect(err.message).toMatch( + "Add @babel/plugin-proposal-do-expressions (https://git.io/vb4S3) to the " + + "'plugins' section of your Babel config to enable transformation.", + ); + resolve(); + }, + ); + }); }); }); diff --git a/packages/babel-core/test/config-loading.js b/packages/babel-core/test/config-loading.js index dcdf0ceb64fb..f31d3a140e77 100644 --- a/packages/babel-core/test/config-loading.js +++ b/packages/babel-core/test/config-loading.js @@ -188,25 +188,20 @@ describe("@babel/core config loading", () => { const options2 = loadConfig(opts).options; expect(options2.plugins.length).toBe(options1.plugins.length); - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 0) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } + expect(options2.plugins[0]).not.toBe(options1.plugins[0]); + for (let i = 1; i < options1.plugins.length; i++) { + expect(options2.plugins[i]).toBe(options1.plugins[i]); } process.env.INVALIDATE_PLUGIN3 = true; const options3 = loadConfig(opts).options; expect(options3.plugins.length).toBe(options1.plugins.length); - - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 0 || i === 5) { - expect(options3.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options3.plugins[i]).toBe(options1.plugins[i]); - } + expect(options3.plugins.length).toBe(6); + expect(options3.plugins[0]).not.toBe(options1.plugins[0]); + expect(options3.plugins[5]).not.toBe(options1.plugins[5]); + for (let i = 1; i < 5; i++) { + expect(options3.plugins[i]).toBe(options1.plugins[i]); } }); @@ -219,26 +214,21 @@ describe("@babel/core config loading", () => { const options2 = loadConfig(opts).options; expect(options2.plugins.length).toBe(options1.plugins.length); - - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 5) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } + expect(options2.plugins.length).toBe(6); + expect(options2.plugins[5]).not.toBe(options1.plugins[5]); + for (let i = 0; i < 5; i++) { + expect(options2.plugins[i]).toBe(options1.plugins[i]); } process.env.INVALIDATE_PRESET2 = true; const options3 = loadConfig(opts).options; expect(options3.plugins.length).toBe(options1.plugins.length); - - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 4 || i === 5) { - expect(options3.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options3.plugins[i]).toBe(options1.plugins[i]); - } + expect(options3.plugins.length).toBe(6); + expect(options3.plugins[4]).not.toBe(options1.plugins[4]); + expect(options3.plugins[5]).not.toBe(options1.plugins[5]); + for (let i = 0; i < 4; i++) { + expect(options3.plugins[i]).toBe(options1.plugins[i]); } }); @@ -251,14 +241,14 @@ describe("@babel/core config loading", () => { const options2 = loadConfig(opts).options; expect(options2.plugins.length).toBe(options1.plugins.length); - - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 0 || i === 1 || i === 4 || i === 5 || i === 6) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } - } + expect(options2.plugins.length).toBe(6); + expect(options2.plugins[0]).not.toBe(options1.plugins[0]); + expect(options2.plugins[1]).not.toBe(options1.plugins[1]); + expect(options2.plugins[4]).not.toBe(options1.plugins[4]); + expect(options2.plugins[5]).not.toBe(options1.plugins[5]); + + expect(options2.plugins[2]).toBe(options1.plugins[2]); + expect(options2.plugins[3]).toBe(options1.plugins[3]); }); }); @@ -318,14 +308,15 @@ describe("@babel/core config loading", () => { plugins: opts.plugins.map(([plg, opt]) => [plg, { ...opt }]), }).options; expect(options2.plugins.length).toBe(options1.plugins.length); + expect(options2.plugins.length).toBe(6); - for (let i = 0; i < options2.plugins.length; i++) { - if (i === 2) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } - } + expect(options2.plugins[2]).not.toBe(options1.plugins[2]); + + expect(options2.plugins[0]).toBe(options1.plugins[0]); + expect(options2.plugins[1]).toBe(options1.plugins[1]); + expect(options2.plugins[3]).toBe(options1.plugins[3]); + expect(options2.plugins[4]).toBe(options1.plugins[4]); + expect(options2.plugins[5]).toBe(options1.plugins[5]); }); it("should invalidate the presets when given a fresh options", () => { @@ -338,14 +329,15 @@ describe("@babel/core config loading", () => { presets: opts.presets.map(([plg, opt]) => [plg, { ...opt }]), }).options; expect(options2.plugins.length).toBe(options1.plugins.length); + expect(options2.plugins.length).toBe(6); - for (let i = 0; i < options2.plugins.length; i++) { - if (i === 3) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } - } + expect(options2.plugins[3]).not.toBe(options1.plugins[3]); + + expect(options2.plugins[0]).toBe(options1.plugins[0]); + expect(options2.plugins[1]).toBe(options1.plugins[1]); + expect(options2.plugins[2]).toBe(options1.plugins[2]); + expect(options2.plugins[4]).toBe(options1.plugins[4]); + expect(options2.plugins[5]).toBe(options1.plugins[5]); }); it("should invalidate the programmatic plugins", () => { @@ -357,14 +349,15 @@ describe("@babel/core config loading", () => { const options2 = loadConfig(opts).options; expect(options2.plugins.length).toBe(options1.plugins.length); + expect(options2.plugins.length).toBe(6); - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 2) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } - } + expect(options2.plugins[2]).not.toBe(options1.plugins[2]); + + expect(options2.plugins[0]).toBe(options1.plugins[0]); + expect(options2.plugins[1]).toBe(options1.plugins[1]); + expect(options2.plugins[3]).toBe(options1.plugins[3]); + expect(options2.plugins[4]).toBe(options1.plugins[4]); + expect(options2.plugins[5]).toBe(options1.plugins[5]); }); it("should invalidate the programmatic presets and their children", () => { @@ -376,14 +369,15 @@ describe("@babel/core config loading", () => { const options2 = loadConfig(opts).options; expect(options2.plugins.length).toBe(options1.plugins.length); + expect(options2.plugins.length).toBe(6); - for (let i = 0; i < options1.plugins.length; i++) { - if (i === 3) { - expect(options2.plugins[i]).not.toBe(options1.plugins[i]); - } else { - expect(options2.plugins[i]).toBe(options1.plugins[i]); - } - } + expect(options2.plugins[3]).not.toBe(options1.plugins[3]); + + expect(options2.plugins[0]).toBe(options1.plugins[0]); + expect(options2.plugins[1]).toBe(options1.plugins[1]); + expect(options2.plugins[2]).toBe(options1.plugins[2]); + expect(options2.plugins[4]).toBe(options1.plugins[4]); + expect(options2.plugins[5]).toBe(options1.plugins[5]); }); it("should thrown when plugin is not valid", () => { diff --git a/packages/babel-core/test/option-manager.js b/packages/babel-core/test/option-manager.js index 3bdd98beb44d..d1a7f3fc5ec5 100644 --- a/packages/babel-core/test/option-manager.js +++ b/packages/babel-core/test/option-manager.js @@ -229,38 +229,31 @@ describe("option-manager", () => { }); describe("presets", function () { - function presetTest(name) { - it(name, function () { - const options = loadOptions({ - presets: [path.join(cwd, "fixtures/option-manager/presets", name)], - }); - - expect(Array.isArray(options.plugins)).toBe(true); - expect(options.plugins).toHaveLength(1); - expect(options.presets).toHaveLength(0); - }); - } - - function presetThrowsTest(name, msg) { - it(name, function () { - expect(() => - loadOptions({ - presets: [path.join(cwd, "fixtures/option-manager/presets", name)], - }), - ).toThrow(msg); + it.each([ + "es5_function", + "es5_object", + "es2015_default_function", + "es2015_default_object", + ])("%p should work", name => { + const options = loadOptions({ + presets: [path.join(cwd, "fixtures/option-manager/presets", name)], }); - } - presetTest("es5_function"); - presetTest("es5_object"); - presetTest("es2015_default_function"); - presetTest("es2015_default_object"); + expect(Array.isArray(options.plugins)).toBe(true); + expect(options.plugins).toHaveLength(1); + expect(options.presets).toHaveLength(0); + }); - presetThrowsTest( - "es2015_named", - /Must export a default export when using ES6 modules/, - ); - presetThrowsTest("es2015_invalid", /Unsupported format: string/); - presetThrowsTest("es5_invalid", /Unsupported format: string/); + it.each([ + ["es2015_named", /Must export a default export when using ES6 modules/], + ["es2015_invalid", /Unsupported format: string/], + ["es5_invalid", /Unsupported format: string/], + ])("%p should throw %p", (name, msg) => { + expect(() => + loadOptions({ + presets: [path.join(cwd, "fixtures/option-manager/presets", name)], + }), + ).toThrow(msg); + }); }); }); diff --git a/packages/babel-generator/test/index.js b/packages/babel-generator/test/index.js index 5528a5f0473f..3595900bb9dd 100644 --- a/packages/babel-generator/test/index.js +++ b/packages/babel-generator/test/index.js @@ -740,15 +740,19 @@ describe("programmatic generation", function () { expect(output).toBe(`"\\u8868\\u683C_\\u526F\\u672C"`); }); - it("default", () => { - const output = generate(string).code; + if (process.env.BABEL_8_BREAKING) { + it("default", () => { + const output = generate(string).code; - if (process.env.BABEL_8_BREAKING) { expect(output).toBe(`"表格_副本"`); - } else { + }); + } else { + it("default in Babel 7", () => { + const output = generate(string).code; + expect(output).toBe(`"\\u8868\\u683C_\\u526F\\u672C"`); - } - }); + }); + } }); describe("typescript interface declaration", () => { diff --git a/packages/babel-node/test/fixtures.js b/packages/babel-node/test/fixtures.js index 6c01363714b0..425e86e678a5 100644 --- a/packages/babel-node/test/fixtures.js +++ b/packages/babel-node/test/fixtures.js @@ -205,6 +205,7 @@ describe("bin/babel-node", function () { opts.inFiles[".babelrc"] = helper.readFile(babelrcLoc); } + // eslint-disable-next-line jest/valid-title it(testName, buildTest(testName, opts), 20000); }); }); diff --git a/packages/babel-plugin-syntax-decorators/test/index.js b/packages/babel-plugin-syntax-decorators/test/index.js index e9251ee89212..2b2cc49addc7 100644 --- a/packages/babel-plugin-syntax-decorators/test/index.js +++ b/packages/babel-plugin-syntax-decorators/test/index.js @@ -53,17 +53,17 @@ describe("'decoratorsBeforeExport' option", function () { run(AFTER, false, false); function run(code, before, throws) { - const name = - (before === undefined ? "default" : before) + - " - decorators " + - (code === BEFORE ? "before" : "after") + - "export"; - - test(name, function () { - const expectTheParser = expect( - makeParser(code, { decoratorsBeforeExport: before }), - ); - throws ? expectTheParser.toThrow() : expectTheParser.not.toThrow(); - }); + const codeTitle = code === BEFORE ? "before" : "after"; + if (throws) { + test(`${before} - decorators ${codeTitle} export should throw`, function () { + expect(makeParser(code, { decoratorsBeforeExport: before })).toThrow(); + }); + } else { + test(`${before} - decorators ${codeTitle} export should not throw`, function () { + expect( + makeParser(code, { decoratorsBeforeExport: before }), + ).not.toThrow(); + }); + } } }); diff --git a/packages/babel-preset-env/test/normalize-options.spec.js b/packages/babel-preset-env/test/normalize-options.spec.js index aaac0dc718e5..3ef088807dab 100644 --- a/packages/babel-preset-env/test/normalize-options.spec.js +++ b/packages/babel-preset-env/test/normalize-options.spec.js @@ -91,7 +91,7 @@ describe("normalize-options", () => { ).toThrow(); }); - it("allows exclusion of module plugins ", () => { + it("allows exclusion of module plugins", () => { expect(() => normalizeOptions({ exclude: ["proposal-dynamic-import"] }), ).not.toThrow(); diff --git a/packages/babel-register/test/browserify.js b/packages/babel-register/test/browserify.js index 8fb983b97b8f..e2bd3f549799 100644 --- a/packages/babel-register/test/browserify.js +++ b/packages/babel-register/test/browserify.js @@ -4,21 +4,22 @@ import vm from "vm"; import { fileURLToPath } from "url"; describe("browserify", function () { - it("@babel/register may be used without breaking browserify", function (done) { + it("@babel/register may be used without breaking browserify", function () { const bundler = browserify( path.join( path.dirname(fileURLToPath(import.meta.url)), "fixtures/browserify/register.js", ), ); + return new Promise((resolve, reject) => { + bundler.bundle(function (err, bundle) { + if (err) return reject(err); + expect(bundle.length).toBeTruthy(); - bundler.bundle(function (err, bundle) { - if (err) return done(err); - expect(bundle.length).toBeTruthy(); - - // ensure that the code runs without throwing an exception - vm.runInNewContext("var global = this;\n" + bundle, {}); - done(); + // ensure that the code runs without throwing an exception + vm.runInNewContext("var global = this;\n" + bundle, {}); + resolve(); + }); }); }); }); diff --git a/packages/babel-register/test/cache.js b/packages/babel-register/test/cache.js index 222889871af8..fbd54776e7db 100644 --- a/packages/babel-register/test/cache.js +++ b/packages/babel-register/test/cache.js @@ -93,14 +93,15 @@ describe("@babel/register - caching", () => { expect(get()).toEqual({}); }); - it("should create the cache after dirty", cb => { + it("should create the cache after dirty", () => { load(); setDirty(); - - process.nextTick(() => { - expect(fs.existsSync(testCacheFilename)).toBe(true); - expect(get()).toEqual({}); - cb(); + return new Promise(resolve => { + process.nextTick(() => { + expect(fs.existsSync(testCacheFilename)).toBe(true); + expect(get()).toEqual({}); + resolve(); + }); }); }); @@ -117,20 +118,22 @@ describe("@babel/register - caching", () => { }); } - it("should be disabled when CACHE_PATH is not allowed to write", cb => { + it("should be disabled when CACHE_PATH is not allowed to write", () => { writeCache({ foo: "bar" }, 0o466); load(); setDirty(); expect(get()).toEqual({ foo: "bar" }); - process.nextTick(() => { - load(); - expect(get()).toEqual({}); - expect(consoleWarnSpy.mock.calls[0][0]).toContain( - "Babel could not write cache to file", - ); - cb(); + return new Promise(resolve => { + process.nextTick(() => { + load(); + expect(get()).toEqual({}); + expect(consoleWarnSpy.mock.calls[0][0]).toContain( + "Babel could not write cache to file", + ); + resolve(); + }); }); }); }); diff --git a/packages/babel-register/test/index.js b/packages/babel-register/test/index.js index 568a9abb10b2..d90842c2059d 100644 --- a/packages/babel-register/test/index.js +++ b/packages/babel-register/test/index.js @@ -145,7 +145,7 @@ describe("@babel/register", function () { expect(sourceMapSupport).toBe(false); }); - it("returns concatenatable sourceRoot and sources", callback => { + it("returns concatenatable sourceRoot and sources", async () => { // The Source Maps R3 standard https://sourcemaps.info/spec.html states // that `sourceRoot` is “prepended to the individual entries in the // ‘source’ field.” If `sources` contains file names, and `sourceRoot` @@ -156,21 +156,15 @@ describe("@babel/register", function () { // requires() another with @babel/register active, and I couldn’t get // that working inside a test, possibly because of jest’s mocking // hooks, so we spawn a separate process. - - spawnNode(["-r", registerFile, sourceMapTestFile], output => { - let err; - - try { - const sourceMap = JSON.parse(output); - expect(sourceMap.map.sourceRoot + sourceMap.map.sources[0]).toBe( - sourceMapNestedTestFile, - ); - } catch (e) { - err = e; - } - - callback(err); - }); + const output = await spawnNodeAsync([ + "-r", + registerFile, + sourceMapTestFile, + ]); + const sourceMap = JSON.parse(output); + expect(sourceMap.map.sourceRoot + sourceMap.map.sources[0]).toBe( + sourceMapNestedTestFile, + ); }); test("hook transpiles with config", () => { @@ -196,29 +190,21 @@ describe("@babel/register", function () { expect(result).toBe('"use strict";\n\nrequire("assert");'); }); - test("transforms modules used within register", callback => { + test("transforms modules used within register", async () => { // Need a clean environment without `convert-source-map` // already in the require cache, so we spawn a separate process - spawnNode([internalModulesTestFile], output => { - let err; - - try { - const { convertSourceMap } = JSON.parse(output); - expect(convertSourceMap).toMatch("/* transformed */"); - } catch (e) { - err = e; - } - - callback(err); - }); + const output = await spawnNodeAsync([internalModulesTestFile]); + const { convertSourceMap } = JSON.parse(output); + expect(convertSourceMap).toMatch("/* transformed */"); }); }); -function spawnNode(args, callback) { +function spawnNodeAsync(args) { const spawn = child.spawn(process.execPath, args, { cwd: __dirname }); let output = ""; + let callback; for (const stream of [spawn.stderr, spawn.stdout]) { stream.on("data", chunk => { @@ -229,4 +215,8 @@ function spawnNode(args, callback) { spawn.on("close", function () { callback(output); }); + + return new Promise(resolve => { + callback = resolve; + }); } diff --git a/packages/babel-traverse/test/__snapshots__/scope.js.snap b/packages/babel-traverse/test/__snapshots__/scope.js.snap index 4a949d42dfdf..2009e74ea47d 100644 --- a/packages/babel-traverse/test/__snapshots__/scope.js.snap +++ b/packages/babel-traverse/test/__snapshots__/scope.js.snap @@ -4,40 +4,40 @@ exports[`scope duplicate bindings catch const 1`] = `"Duplicate declaration \\"e exports[`scope duplicate bindings catch let 1`] = `"Duplicate declaration \\"e\\""`; -exports[`scope duplicate bindings global class/class 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global class/class should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global class/const 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global class/const should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global class/function 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global class/function should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global class/let 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global class/let should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global class/var 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global class/var should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global const/class 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global const/class should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global const/const 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global const/const should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global const/function 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global const/function should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global const/let 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global const/let should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global const/var 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global const/var should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global function/class 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global function/class should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global function/let 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global function/let should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global let/class 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global let/class should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global let/const 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global let/const should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global let/function 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global let/function should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global let/let 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global let/let should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global let/var 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global let/var should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global var/class 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global var/class should fail 1`] = `"Duplicate declaration \\"foo\\""`; -exports[`scope duplicate bindings global var/let 1`] = `"Duplicate declaration \\"foo\\""`; +exports[`scope duplicate bindings global var/let should fail 1`] = `"Duplicate declaration \\"foo\\""`; diff --git a/packages/babel-traverse/test/evaluation.js b/packages/babel-traverse/test/evaluation.js index d90ab87ff0d3..969218f69c2c 100644 --- a/packages/babel-traverse/test/evaluation.js +++ b/packages/babel-traverse/test/evaluation.js @@ -34,13 +34,13 @@ function addDeoptTest(code, type, expectedType) { describe("evaluation", function () { describe("evaluateTruthy", function () { - it("it should work with null", function () { + it("should work with null", function () { expect( getPath("false || a.length === 0;").get("body")[0].evaluateTruthy(), ).toBeUndefined(); }); - it("it should not mistake lack of confidence for falsy", function () { + it("should not mistake lack of confidence for falsy", function () { expect( getPath("foo || 'bar'").get("body")[0].evaluate().value, ).toBeUndefined(); @@ -117,7 +117,7 @@ describe("evaluation", function () { expect(eval_invalid_call.confident).toBe(false); }); - it("it should not deopt vars in different scope", function () { + it("should not deopt vars in different scope", function () { const input = "var a = 5; function x() { var a = 5; var b = a + 1; } var b = a + 2"; expect( @@ -129,7 +129,7 @@ describe("evaluation", function () { ).toBe(7); }); - it("it should not deopt let/const inside blocks", function () { + it("should not deopt let/const inside blocks", function () { expect( getPath("let x = 5; { let x = 1; } let y = x + 5") .get("body.2.declarations.0.init") diff --git a/packages/babel-traverse/test/inference.js b/packages/babel-traverse/test/inference.js index dde8bd22746e..69c641594b97 100644 --- a/packages/babel-traverse/test/inference.js +++ b/packages/babel-traverse/test/inference.js @@ -16,7 +16,7 @@ function getPath(code) { describe("inference", function () { describe("baseTypeStrictlyMatches", function () { - it("it should work with null", function () { + it("should work with null", function () { const path = getPath("var x = null; x === null") .get("body")[1] .get("expression"); @@ -27,7 +27,7 @@ describe("inference", function () { expect(strictMatch).toBeTruthy(); }); - it("it should work with numbers", function () { + it("should work with numbers", function () { const path = getPath("var x = 1; x === 2") .get("body")[1] .get("expression"); @@ -38,7 +38,7 @@ describe("inference", function () { expect(strictMatch).toBeTruthy(); }); - it("it should bail when type changes", function () { + it("should bail when type changes", function () { const path = getPath("var x = 1; if (foo) x = null;else x = 3; x === 2") .get("body")[2] .get("expression"); @@ -50,7 +50,7 @@ describe("inference", function () { expect(strictMatch).toBeFalsy(); }); - it("it should differentiate between null and undefined", function () { + it("should differentiate between null and undefined", function () { const path = getPath("var x; x === null") .get("body")[1] .get("expression"); diff --git a/packages/babel-traverse/test/scope.js b/packages/babel-traverse/test/scope.js index 7f704ffb620c..8d3beb93e401 100644 --- a/packages/babel-traverse/test/scope.js +++ b/packages/babel-traverse/test/scope.js @@ -578,12 +578,16 @@ describe("scope", () => { ), ); }; - ["let", "const"].forEach(name => { - it(name, () => { - const ast = createTryCatch(name); + it("let", () => { + const ast = createTryCatch("let"); - expect(() => getPath(ast)).toThrowErrorMatchingSnapshot(); - }); + expect(() => getPath(ast)).toThrowErrorMatchingSnapshot(); + }); + + it("const", () => { + const ast = createTryCatch("const"); + + expect(() => getPath(ast)).toThrowErrorMatchingSnapshot(); }); it("var", () => { @@ -666,30 +670,34 @@ describe("scope", () => { }; for (const [kind1, kind2, success] of cases) { - it(`${kind1}/${kind2}`, () => { - const ast = createAST(kind1, kind2); - - if (success) { + if (success) { + it(`${kind1}/${kind2} should succeed`, () => { + const ast = createAST(kind1, kind2); expect(() => getPath(ast)).not.toThrow(); - } else { + }); + } else { + it(`${kind1}/${kind2} should fail`, () => { + const ast = createAST(kind1, kind2); expect(() => getPath(ast)).toThrowErrorMatchingSnapshot(); - } - }); + }); + } if (kind1 !== kind2) { // todo: remove the if allowed if (kind1 === "const" && (kind2 === "function" || kind2 === "var")) { continue; } - it(`${kind2}/${kind1}`, () => { - const ast = createAST(kind2, kind1); - - if (success) { + if (success) { + it(`${kind2}/${kind1} should succeed`, () => { + const ast = createAST(kind2, kind1); expect(() => getPath(ast)).not.toThrow(); - } else { + }); + } else { + it(`${kind2}/${kind1} should fail`, () => { + const ast = createAST(kind2, kind1); expect(() => getPath(ast)).toThrowErrorMatchingSnapshot(); - } - }); + }); + } } } }); diff --git a/packages/babel-types/test/asserts.js b/packages/babel-types/test/asserts.js index 5451f89ac0d7..d4ae0a3ff518 100644 --- a/packages/babel-types/test/asserts.js +++ b/packages/babel-types/test/asserts.js @@ -15,7 +15,7 @@ describe("asserts", () => { if (k.startsWith("assert") && k !== "assertNode") { const nodeType = k.replace("assert", ""); - it(nodeType, () => { + it(`${nodeType} on unknown AST type should throw`, () => { expect(() => { t[k]({ type: "FlavorTownDeclaration" }, {}); }).toThrow( diff --git a/packages/babel-types/test/builders/flow/__snapshots__/createTypeAnnotationBasedOnTypeof.js.snap b/packages/babel-types/test/builders/flow/__snapshots__/createTypeAnnotationBasedOnTypeof.js.snap index 6f4ca7d0dcca..17053b3cdbf8 100644 --- a/packages/babel-types/test/builders/flow/__snapshots__/createTypeAnnotationBasedOnTypeof.js.snap +++ b/packages/babel-types/test/builders/flow/__snapshots__/createTypeAnnotationBasedOnTypeof.js.snap @@ -1,12 +1,12 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`builders flow createTypeAnnotationBasedOnTypeof bigint 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof bigint is valid 1`] = ` Object { "type": "AnyTypeAnnotation", } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof function 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof function is valid 1`] = ` Object { "id": Object { "name": "Function", @@ -17,13 +17,13 @@ Object { } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof number 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof number is valid 1`] = ` Object { "type": "NumberTypeAnnotation", } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof object 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof object is valid 1`] = ` Object { "id": Object { "name": "Object", @@ -34,13 +34,13 @@ Object { } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof string 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof string is valid 1`] = ` Object { "type": "StringTypeAnnotation", } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof symbol 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof symbol is valid 1`] = ` Object { "id": Object { "name": "Symbol", @@ -51,13 +51,13 @@ Object { } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof true 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof true is valid 1`] = ` Object { "type": "BooleanTypeAnnotation", } `; -exports[`builders flow createTypeAnnotationBasedOnTypeof undefined 1`] = ` +exports[`builders flow createTypeAnnotationBasedOnTypeof undefined is valid 1`] = ` Object { "type": "VoidTypeAnnotation", } diff --git a/packages/babel-types/test/builders/flow/createTypeAnnotationBasedOnTypeof.js b/packages/babel-types/test/builders/flow/createTypeAnnotationBasedOnTypeof.js index dfe6efb42c23..456fa1815e4f 100644 --- a/packages/babel-types/test/builders/flow/createTypeAnnotationBasedOnTypeof.js +++ b/packages/babel-types/test/builders/flow/createTypeAnnotationBasedOnTypeof.js @@ -22,7 +22,7 @@ describe("builders", function () { for (const name in values) { const value = values[name]; - it(name, function () { + it(`${name} is valid`, function () { const result = createTypeAnnotationBasedOnTypeof(value); expect(result).toMatchSnapshot(); }); diff --git a/yarn.lock b/yarn.lock index 37a8246fe749..0004f03725f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -119,6 +119,15 @@ __metadata: languageName: unknown linkType: soft +"@babel/code-frame@npm:7.12.11": + version: 7.12.11 + resolution: "@babel/code-frame@npm:7.12.11" + dependencies: + "@babel/highlight": ^7.10.4 + checksum: 033d3fb3bf911929c0d904282ee69d1197c8d8ae9c6492aaab09e530bca8c463b11c190185dfda79866556facb5bb4c8dc0b4b32b553d021987fcc28c8dd9c6c + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13": version: 7.12.13 resolution: "@babel/code-frame@npm:7.12.13" @@ -247,8 +256,8 @@ __metadata: dependencies: "@babel/core": "workspace:*" dedent: ^0.7.0 - eslint: ^7.5.0 - eslint-scope: ^5.1.0 + eslint: ^7.27.0 + eslint-scope: ^5.1.1 eslint-visitor-keys: ^2.1.0 semver: "condition:BABEL_8_BREAKING ? ^7.3.4 : ^6.3.0" peerDependencies: @@ -261,7 +270,7 @@ __metadata: version: 0.0.0-use.local resolution: "@babel/eslint-plugin-development-internal@workspace:eslint/babel-eslint-plugin-development-internal" dependencies: - eslint: ^7.5.0 + eslint: ^7.27.0 peerDependencies: "@babel/eslint-parser": ">=7.11.0" eslint: ">=7.5.0" @@ -272,7 +281,7 @@ __metadata: version: 0.0.0-use.local resolution: "@babel/eslint-plugin-development@workspace:eslint/babel-eslint-plugin-development" dependencies: - eslint: ^7.5.0 + eslint: ^7.27.0 languageName: unknown linkType: soft @@ -281,7 +290,7 @@ __metadata: resolution: "@babel/eslint-plugin@workspace:eslint/babel-eslint-plugin" dependencies: clone-deep: ^4.0.1 - eslint: ^7.5.0 + eslint: ^7.27.0 eslint-rule-composer: ^0.3.0 peerDependencies: "@babel/eslint-parser": ">=7.11.0" @@ -304,7 +313,7 @@ __metadata: "@babel/preset-env": "workspace:^7.12.13" "@babel/preset-flow": "workspace:^7.12.13" "@babel/preset-react": "workspace:^7.12.13" - eslint: ^7.5.0 + eslint: ^7.27.0 languageName: unknown linkType: soft @@ -316,8 +325,8 @@ __metadata: "@babel/eslint-parser": "workspace:^7.14.4" "@babel/preset-react": "workspace:^7.13.13" dedent: ^0.7.0 - eslint: ^7.5.0 - eslint-plugin-import: ^2.22.0 + eslint: ^7.27.0 + eslint-plugin-import: ^2.23.4 npm-babel-parser: "npm:@babel/parser@^7.14.0" languageName: unknown linkType: soft @@ -905,14 +914,14 @@ __metadata: languageName: unknown linkType: soft -"@babel/highlight@npm:^7.12.13": - version: 7.13.10 - resolution: "@babel/highlight@npm:7.13.10" +"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.12.13": + version: 7.14.0 + resolution: "@babel/highlight@npm:7.14.0" dependencies: - "@babel/helper-validator-identifier": ^7.12.11 + "@babel/helper-validator-identifier": ^7.14.0 chalk: ^2.0.0 js-tokens: ^4.0.0 - checksum: 8f23d3b728422713bfab45bee1e7584f2a3d2e20c9c4d6153312b898c82e776bdc5b1b2afaf9433fddb21d70417f5b477c0bb1a48613324fd761117e19a5702b + checksum: 0122fcd3cd6e81bfa002227d6c9dfff91d388d48dc188cd13e3f60c46e5450ebad65aa133ac8f525cb3cfa3b70766484e4a93c40b2837ce16f12083ebd2b0824 languageName: node linkType: hard @@ -3611,6 +3620,23 @@ __metadata: languageName: node linkType: hard +"@eslint/eslintrc@npm:^0.4.1": + version: 0.4.1 + resolution: "@eslint/eslintrc@npm:0.4.1" + dependencies: + ajv: ^6.12.4 + debug: ^4.1.1 + espree: ^7.3.0 + globals: ^12.1.0 + ignore: ^4.0.6 + import-fresh: ^3.2.1 + js-yaml: ^3.13.1 + minimatch: ^3.0.4 + strip-json-comments: ^3.1.1 + checksum: 418f5810c8dd9897d2457ceef098197d0e5f1ad345fbe4cd9256fd4223d7ea83d5e350f9091b3ab3483b6b1c367fa560df3ba1fccc7eb8ca6e1aae5a5b126d60 + languageName: node + linkType: hard + "@istanbuljs/load-nyc-config@npm:^1.0.0": version: 1.1.0 resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" @@ -4199,7 +4225,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.3, @types/json-schema@npm:^7.0.6": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.3, @types/json-schema@npm:^7.0.6, @types/json-schema@npm:^7.0.7": version: 7.0.7 resolution: "@types/json-schema@npm:7.0.7" checksum: b9d2c509fa4e0b82f58e73f5e6ab76c60ff1884ba41bb82f37fb1cece226d4a3e5a62fedf78a43da0005373a6713d9abe61c1e592906402c41c08ad6ab26d52b @@ -4348,16 +4374,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/experimental-utils@npm:^2.5.0": - version: 2.19.0 - resolution: "@typescript-eslint/experimental-utils@npm:2.19.0" +"@typescript-eslint/experimental-utils@npm:^4.0.1": + version: 4.26.0 + resolution: "@typescript-eslint/experimental-utils@npm:4.26.0" dependencies: - "@types/json-schema": ^7.0.3 - "@typescript-eslint/typescript-estree": 2.19.0 - eslint-scope: ^5.0.0 + "@types/json-schema": ^7.0.7 + "@typescript-eslint/scope-manager": 4.26.0 + "@typescript-eslint/types": 4.26.0 + "@typescript-eslint/typescript-estree": 4.26.0 + eslint-scope: ^5.1.1 + eslint-utils: ^3.0.0 peerDependencies: eslint: "*" - checksum: e37464fada574c98bb460497912d8dfc6c7e70ad3a929af87985c90240190829b4ce85a20918d053d7c09e973ad6021fa3ea5a523a79d402e7be1223ec7b814b + checksum: 36048190f384a36fa376cba19a65066738db081c2bdecc5419fed0088a681671d2fa4e71047b715f7730a27b5235c7b46be5fdd8db4988cbc3fc43febc6a2893 languageName: node linkType: hard @@ -4388,6 +4417,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:4.26.0": + version: 4.26.0 + resolution: "@typescript-eslint/scope-manager@npm:4.26.0" + dependencies: + "@typescript-eslint/types": 4.26.0 + "@typescript-eslint/visitor-keys": 4.26.0 + checksum: cda031b525af0400cb5d30e6d4bdec5b0f52a4f3557e845ab91194029be119be4a0c7b560cd63c15dfd32ab25f1be64020b9a6b85c2d0df15e2493c5cdb6509f + languageName: node + linkType: hard + "@typescript-eslint/types@npm:4.18.0": version: 4.18.0 resolution: "@typescript-eslint/types@npm:4.18.0" @@ -4395,23 +4434,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:2.19.0": - version: 2.19.0 - resolution: "@typescript-eslint/typescript-estree@npm:2.19.0" - dependencies: - debug: ^4.1.1 - eslint-visitor-keys: ^1.1.0 - glob: ^7.1.6 - is-glob: ^4.0.1 - lodash: ^4.17.15 - semver: ^6.3.0 - tsutils: ^3.17.1 - peerDependencies: - typescript: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: 212131d93cf99919d39890630ba7a169f81a4a897f8865b78c3dddf1f89fe1b3b2f072dab9b8384918bde97eeefb5026f9aa6cad7e73d6cf2a74180bc8564e0e +"@typescript-eslint/types@npm:4.26.0": + version: 4.26.0 + resolution: "@typescript-eslint/types@npm:4.26.0" + checksum: 011fe4cc886449659e7ba623aaeb7af34bcf2a35b4749de01a707ba92d3c232d9167533ad5008dedeb01f13f67e8d04b7b2d0d316f403173280c520656ce0c2f languageName: node linkType: hard @@ -4433,6 +4459,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:4.26.0": + version: 4.26.0 + resolution: "@typescript-eslint/typescript-estree@npm:4.26.0" + dependencies: + "@typescript-eslint/types": 4.26.0 + "@typescript-eslint/visitor-keys": 4.26.0 + debug: ^4.3.1 + globby: ^11.0.3 + is-glob: ^4.0.1 + semver: ^7.3.5 + tsutils: ^3.21.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 9f55637979d22f67f03936aac89f167d7a3cee9f9a81129ea23cba4f956894358a543c70a7a0063f6f306510d385cc965b2cde24231548607e42ed4b680b39bc + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:4.18.0": version: 4.18.0 resolution: "@typescript-eslint/visitor-keys@npm:4.18.0" @@ -4443,6 +4487,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:4.26.0": + version: 4.26.0 + resolution: "@typescript-eslint/visitor-keys@npm:4.26.0" + dependencies: + "@typescript-eslint/types": 4.26.0 + eslint-visitor-keys: ^2.0.0 + checksum: 22f6327eaabc6bb9f57ee0682f57a6066c652f174c014cd9ee251c773ce213c5177faa141a4cc777272df349a71c5464e0ca282cf6667692c3a7a8175b919a24 + languageName: node + linkType: hard + "@unicode/unicode-13.0.0@npm:^1.0.6": version: 1.0.6 resolution: "@unicode/unicode-13.0.0@npm:1.0.6" @@ -4874,12 +4928,12 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.2.0": - version: 5.2.0 - resolution: "acorn-jsx@npm:5.2.0" +"acorn-jsx@npm:^5.3.1": + version: 5.3.1 + resolution: "acorn-jsx@npm:5.3.1" peerDependencies: - acorn: ^6.0.0 || ^7.0.0 - checksum: 1247cc4b32e7883c70823eae643ef07faefb02ef6084bb92d650e5564bb22d6e6392771036c1e15428dc01e6350a5336c6741e272c30ab6bf9ce578e4701f6c0 + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 5925bc5d79a2821a8f7250b6de2b02bb86c0470dcb78cf68a603855291c5e50602b9eaf294aba2efbf3ee7063c80a9074b520b2330cc1aef80b849bfc7a041c0 languageName: node linkType: hard @@ -4983,7 +5037,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.1.0, ajv@npm:^6.10.0, ajv@npm:^6.10.2, ajv@npm:^6.12.3, ajv@npm:^6.12.5": +"ajv@npm:^6.1.0, ajv@npm:^6.10.0, ajv@npm:^6.10.2, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -4995,6 +5049,18 @@ __metadata: languageName: node linkType: hard +"ajv@npm:^8.0.1": + version: 8.4.0 + resolution: "ajv@npm:8.4.0" + dependencies: + fast-deep-equal: ^3.1.1 + json-schema-traverse: ^1.0.0 + require-from-string: ^2.0.2 + uri-js: ^4.2.2 + checksum: 0dcdfe0ecaafca2de60d01601c041853a1057f26bcb24de79484a3f6947486cad7b84d2779f93a9a315345451248aca14ed4996213905b42fac4ec11c7a76a6c + languageName: node + linkType: hard + "align-text@npm:^0.1.1, align-text@npm:^0.1.3": version: 0.1.4 resolution: "align-text@npm:0.1.4" @@ -5079,13 +5145,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^4.1.0": - version: 4.1.0 - resolution: "ansi-regex@npm:4.1.0" - checksum: 53b6fe447cf92ee59739379de637af6f86b3b8a9537fbfe36a66f946f1d9d34afc3efe664ac31bcc7c3af042d43eabcfcfd3f790316d474bbc7b19a4b1d132dd - languageName: node - linkType: hard - "ansi-regex@npm:^5.0.0": version: 5.0.0 resolution: "ansi-regex@npm:5.0.0" @@ -5100,7 +5159,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": +"ansi-styles@npm:^3.2.1": version: 3.2.1 resolution: "ansi-styles@npm:3.2.1" dependencies: @@ -5272,14 +5331,16 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.1": - version: 3.1.1 - resolution: "array-includes@npm:3.1.1" +"array-includes@npm:^3.1.3": + version: 3.1.3 + resolution: "array-includes@npm:3.1.3" dependencies: + call-bind: ^1.0.2 define-properties: ^1.1.3 - es-abstract: ^1.17.0 + es-abstract: ^1.18.0-next.2 + get-intrinsic: ^1.1.1 is-string: ^1.0.5 - checksum: 9fa86fdad9b07f733ab9994fe1058228d4835917ea26788cbd88eed0805f8b87baddb03e6f277498f96297532d6aac678be2a65694fb44ea561cba71d619a611 + checksum: 0610b361162071ef8749827f3a6e171da03ac14a518d4d45a513b6c22a7c5017c55dcbea4d34d699ef006f1f148aa52e6d437e0101c93996da736d0055add173 languageName: node linkType: hard @@ -5357,13 +5418,14 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.2.3": - version: 1.2.3 - resolution: "array.prototype.flat@npm:1.2.3" +"array.prototype.flat@npm:^1.2.4": + version: 1.2.4 + resolution: "array.prototype.flat@npm:1.2.4" dependencies: + call-bind: ^1.0.0 define-properties: ^1.1.3 - es-abstract: ^1.17.0-next.1 - checksum: f88a474d1cb3bfb2cfa44a5d36047bad146324f1beabbc743689d34fa36f29fab277008446ab56601c48721e1d50c5f47e5b3fae2583cc3724d1e6073cbdd901 + es-abstract: ^1.18.0-next.1 + checksum: b4936e68f8bb4ed8d6bf12eff4e19e93f263ee6ff66b0e394be275c0b168e2a4889740f105799ec1d19631e93020fba528534ca34dd0538e24d2a90043ebc6b0 languageName: node linkType: hard @@ -5418,10 +5480,10 @@ __metadata: languageName: node linkType: hard -"astral-regex@npm:^1.0.0": - version: 1.0.0 - resolution: "astral-regex@npm:1.0.0" - checksum: 08e37f599604eb3894af4ec5f9845caec7a45d10c1b57b04c4fc21cc669091803f8386efc52957ec3c7ae8c3af60b933018926aab156e5696a7aab393d6e0874 +"astral-regex@npm:^2.0.0": + version: 2.0.0 + resolution: "astral-regex@npm:2.0.0" + checksum: bf049ee7048b70af5473580020f98faf09159af31a7fa5e223099966dc90e9e87760bd34030e19a6dcac05b45614b428f559bd71f027344d123555e524cb95ac languageName: node linkType: hard @@ -5674,12 +5736,12 @@ __metadata: babel-plugin-transform-charcodes: ^0.2.0 chalk: ^2.4.2 charcodes: ^0.2.0 - eslint: ^7.5.0 - eslint-import-resolver-node: ^0.3.3 - eslint-plugin-flowtype: ^4.6.0 - eslint-plugin-import: ^2.22.0 - eslint-plugin-jest: ^23.8.2 - eslint-plugin-prettier: ^3.1.2 + eslint: ^7.27.0 + eslint-import-resolver-node: ^0.3.4 + eslint-plugin-flowtype: ^5.7.2 + eslint-plugin-import: ^2.23.4 + eslint-plugin-jest: ^24.3.6 + eslint-plugin-prettier: ^3.4.0 fancy-log: ^1.3.3 flow-bin: ^0.123.0 gulp: ^4.0.2 @@ -6150,13 +6212,13 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.0": - version: 1.0.0 - resolution: "call-bind@npm:1.0.0" +"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": + version: 1.0.2 + resolution: "call-bind@npm:1.0.2" dependencies: function-bind: ^1.1.1 - get-intrinsic: ^1.0.0 - checksum: aeb82f8f5dfd56592c7dcef89367227daa60be4f8e7fdb7689d6c1f8712872911d7e31fddd3336534f45cea56d9a4e7d48889596ce6d2f1ada4507573306e6b1 + get-intrinsic: ^1.0.2 + checksum: 18cc6107a1f028247f2b505dae73ad1c63b737addfcd43ff75159f072c5c827300c1fb66f26ee0ec70fc2fdd005ce68d65c05a2a34b74bab08c3b1921954ada9 languageName: node linkType: hard @@ -6705,13 +6767,6 @@ __metadata: languageName: node linkType: hard -"contains-path@npm:^0.1.0": - version: 0.1.0 - resolution: "contains-path@npm:0.1.0" - checksum: 59920a59a0c7d1244235d76b8cfd2b2e7a8dcc463fa578ef9d4d5a5a73eeb14d75dada6b21188e0b35f2474ae9efd10c3698372e674db9c6a904b281998b97d6 - languageName: node - linkType: hard - "convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.7.0 resolution: "convert-source-map@npm:1.7.0" @@ -6974,7 +7029,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1": +"debug@npm:4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1": version: 4.3.2 resolution: "debug@npm:4.3.2" dependencies: @@ -6995,6 +7050,15 @@ __metadata: languageName: node linkType: hard +"debug@npm:^3.2.7": + version: 3.2.7 + resolution: "debug@npm:3.2.7" + dependencies: + ms: ^2.1.1 + checksum: 9fc1277e666db3af31df89e9e41f5c83da6e9de56d4a95b37e095d47ba1958238b8c7b49d4327b516465d46b6340bee723a97a7b2f28c5c7563f8b0a8fc9458a + languageName: node + linkType: hard + "decamelize@npm:^1.0.0, decamelize@npm:^1.1.1": version: 1.2.0 resolution: "decamelize@npm:1.2.0" @@ -7212,13 +7276,12 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:1.5.0": - version: 1.5.0 - resolution: "doctrine@npm:1.5.0" +"doctrine@npm:^2.1.0": + version: 2.1.0 + resolution: "doctrine@npm:2.1.0" dependencies: esutils: ^2.0.2 - isarray: ^1.0.0 - checksum: aaffea02f963b8b07a78b1e27d7cef29be65d31be2c6681cb2872c2fb3781e14615bd05d4dff6036f75dcf3f191216058409fbfec805d3a7277a8647cd5bdee1 + checksum: 4aa55e46757cc11bff8efa67cdb679dd89e87c954ea9d88fad5a9198cfe0a73748085503d29bebcb143487d720a759a6bbe81d6848c94da46a55c7a366b9834e languageName: node linkType: hard @@ -7324,13 +7387,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^7.0.1": - version: 7.0.3 - resolution: "emoji-regex@npm:7.0.3" - checksum: e3a504cf5242061d9b3c78a88ce787d6beee37a5d21287c6ccdddf1fe665d5ef3eddfdda663d0baf683df8e7d354210eeb1458a7d9afdf0d7a28d48cbb9975e1 - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -7432,42 +7488,27 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.17.0, es-abstract@npm:^1.17.0-next.1, es-abstract@npm:^1.17.5": - version: 1.17.6 - resolution: "es-abstract@npm:1.17.6" +"es-abstract@npm:^1.18.0-next.1, es-abstract@npm:^1.18.0-next.2": + version: 1.18.0 + resolution: "es-abstract@npm:1.18.0" dependencies: + call-bind: ^1.0.2 es-to-primitive: ^1.2.1 function-bind: ^1.1.1 + get-intrinsic: ^1.1.1 has: ^1.0.3 - has-symbols: ^1.0.1 - is-callable: ^1.2.0 - is-regex: ^1.1.0 - object-inspect: ^1.7.0 - object-keys: ^1.1.1 - object.assign: ^4.1.0 - string.prototype.trimend: ^1.0.1 - string.prototype.trimstart: ^1.0.1 - checksum: 637ad488bdcbc538dfb35ee30cdbe5e48ecf68c5145a368c8f1be346e83d2555e416709e9382eb9902e542da94763cdd2152d87dbbb01b5b39919c1329bd0bb4 - languageName: node - linkType: hard - -"es-abstract@npm:^1.18.0-next.1": - version: 1.18.0-next.1 - resolution: "es-abstract@npm:1.18.0-next.1" - dependencies: - es-to-primitive: ^1.2.1 - function-bind: ^1.1.1 - has: ^1.0.3 - has-symbols: ^1.0.1 - is-callable: ^1.2.2 - is-negative-zero: ^2.0.0 - is-regex: ^1.1.1 - object-inspect: ^1.8.0 + has-symbols: ^1.0.2 + is-callable: ^1.2.3 + is-negative-zero: ^2.0.1 + is-regex: ^1.1.2 + is-string: ^1.0.5 + object-inspect: ^1.9.0 object-keys: ^1.1.1 - object.assign: ^4.1.1 - string.prototype.trimend: ^1.0.1 - string.prototype.trimstart: ^1.0.1 - checksum: f1e37567e49a54c09050aa3371cac601a789441f4fa9730f2c2d386aadad547d6c303bb41e7f5cb5286b616104d6c13450f33b712f664939a09729dd5e45c963 + object.assign: ^4.1.2 + string.prototype.trimend: ^1.0.4 + string.prototype.trimstart: ^1.0.4 + unbox-primitive: ^1.0.0 + checksum: 019fa7c51e10532cd07ca3aa9b76e4c6ad6f421e15064205d144da08da54f8fc057edc262f6f95775e0b249ecbb753b497050dd75ab69a3c1c89cb9b734e42ca languageName: node linkType: hard @@ -7591,6 +7632,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^4.0.0": + version: 4.0.0 + resolution: "escape-string-regexp@npm:4.0.0" + checksum: c747be8d5ff7873127e3e0cffe7d2206a37208077fa9c30a3c1bb4f26bebd081c8c24d5fba7a99449f9d20670bea3dc5e1b6098b0f074b099bd38766271a272f + languageName: node + linkType: hard + "escodegen@npm:^2.0.0": version: 2.0.0 resolution: "escodegen@npm:2.0.0" @@ -7622,80 +7670,90 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.3": - version: 0.3.3 - resolution: "eslint-import-resolver-node@npm:0.3.3" +"eslint-import-resolver-node@npm:^0.3.4": + version: 0.3.4 + resolution: "eslint-import-resolver-node@npm:0.3.4" dependencies: debug: ^2.6.9 resolve: ^1.13.1 - checksum: 05700934524b9ea1fea24b5de61fe7c3ae61070b67d5a42da5df3f11d8b0c3e21eff5be92a324d4ba813c16b0d0701bb99e7ca9385d5dd9788d3823c127b41bd + checksum: 825e34e662c988ece8229e6956a95f12d2fa19265b429e3e3db14e58bfe72e270c999cda0cfc690793ed6e6a3e49ffa8df0e0a8842d668a1f0f7de5ae1aa36f9 languageName: node linkType: hard -"eslint-module-utils@npm:^2.6.0": - version: 2.6.0 - resolution: "eslint-module-utils@npm:2.6.0" +"eslint-module-utils@npm:^2.6.1": + version: 2.6.1 + resolution: "eslint-module-utils@npm:2.6.1" dependencies: - debug: ^2.6.9 + debug: ^3.2.7 pkg-dir: ^2.0.0 - checksum: f584af176480a702eedcdb3f610797f8b8d1293c3835ed71fadb579ec28400b91ded5283729418f63d48dc27c6358bd66f2bd839614d565a1b78d3c3440ee8f7 + checksum: 3de93ecfd7a0b803a2cd91afd5cbb32dca559f58c22e92f95ec4700ff75e008035587ee032b9196d6565fbd73f799992122a8dc8ea0b979c07229b51735a8bed languageName: node linkType: hard -"eslint-plugin-flowtype@npm:^4.6.0": - version: 4.6.0 - resolution: "eslint-plugin-flowtype@npm:4.6.0" +"eslint-plugin-flowtype@npm:^5.7.2": + version: 5.7.2 + resolution: "eslint-plugin-flowtype@npm:5.7.2" dependencies: lodash: ^4.17.15 + string-natural-compare: ^3.0.1 peerDependencies: - eslint: ">=6.1.0" - checksum: 2a20f898f360527828487134050bfaad7d9e4b153abdcc1c5641b55e219a7d0a3d1c8303e18ade81f22877e2f195126c5c740b6da25b87e02b60e72c950944ca + eslint: ^7.1.0 + checksum: 7a522a62783c4a155995b3c599fd8a452dfad2e09dafbcae619111df841fb41d4db489e2036ab582e862ac13a0d5568e0b895b5d1b1e883a4b3bcbf5a173f517 languageName: node linkType: hard -"eslint-plugin-import@npm:^2.22.0": - version: 2.22.0 - resolution: "eslint-plugin-import@npm:2.22.0" +"eslint-plugin-import@npm:^2.23.4": + version: 2.23.4 + resolution: "eslint-plugin-import@npm:2.23.4" dependencies: - array-includes: ^3.1.1 - array.prototype.flat: ^1.2.3 - contains-path: ^0.1.0 + array-includes: ^3.1.3 + array.prototype.flat: ^1.2.4 debug: ^2.6.9 - doctrine: 1.5.0 - eslint-import-resolver-node: ^0.3.3 - eslint-module-utils: ^2.6.0 + doctrine: ^2.1.0 + eslint-import-resolver-node: ^0.3.4 + eslint-module-utils: ^2.6.1 + find-up: ^2.0.0 has: ^1.0.3 + is-core-module: ^2.4.0 minimatch: ^3.0.4 - object.values: ^1.1.1 - read-pkg-up: ^2.0.0 - resolve: ^1.17.0 + object.values: ^1.1.3 + pkg-up: ^2.0.0 + read-pkg-up: ^3.0.0 + resolve: ^1.20.0 tsconfig-paths: ^3.9.0 peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 - checksum: ad41aec63d8986e0a0e279bb2877e1f36029573b8f310112159509fd52d7344a2e91bd4bb9c6d2b131838a3538a0bc5e3998217df1b88304df9872ad9fb30c84 + checksum: d15a470088381cb14821480f35fe23258f6365d704ea9fc724b87e1ccf9eb45f4bb048ff033784af0cacff368ae1542c2b1dfbe6cd4dbec7138f8f6dca090a57 languageName: node linkType: hard -"eslint-plugin-jest@npm:^23.8.2": - version: 23.8.2 - resolution: "eslint-plugin-jest@npm:23.8.2" +"eslint-plugin-jest@npm:^24.3.6": + version: 24.3.6 + resolution: "eslint-plugin-jest@npm:24.3.6" dependencies: - "@typescript-eslint/experimental-utils": ^2.5.0 + "@typescript-eslint/experimental-utils": ^4.0.1 peerDependencies: + "@typescript-eslint/eslint-plugin": ">= 4" eslint: ">=5" - checksum: eec0f788a98f3c6b962e47533a421a15e2cc6e74fd971ae890ac322446a7b964775b8eb781898ac45d0508f25922765e0dc118d4c4385e6ca3281db104d036ee + peerDependenciesMeta: + "@typescript-eslint/eslint-plugin": + optional: true + checksum: 13f4522cd838a6a356a080f76424579a58aa2f9b4f4b3fdd3713278718496c62ba3d8f53c0fb6ad6fd96ca6cfd6ee728f7dd51893b91eccfb4396b832f757afb languageName: node linkType: hard -"eslint-plugin-prettier@npm:^3.1.2": - version: 3.1.2 - resolution: "eslint-plugin-prettier@npm:3.1.2" +"eslint-plugin-prettier@npm:^3.4.0": + version: 3.4.0 + resolution: "eslint-plugin-prettier@npm:3.4.0" dependencies: prettier-linter-helpers: ^1.0.0 peerDependencies: - eslint: ">= 5.0.0" - prettier: ">= 1.13.0" - checksum: 6f22a63a79ac09dbb6784898de51319a5766437c65eb4d9eac94b7442d983cb551a518725b5555caddd4e015e0ec561497cbd88c575f65722006609fee5487f7 + eslint: ">=5.0.0" + prettier: ">=1.13.0" + peerDependenciesMeta: + eslint-config-prettier: + optional: true + checksum: 322be1af8c7a6b7f1c718d912090722b65da072fda05bbc0a9d94523e6c3dfda49a7f62fd411126f1909c12bbc63e827ee6459163b2ce3458adb292541decf66 languageName: node linkType: hard @@ -7716,7 +7774,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^5.0.0, eslint-scope@npm:^5.1.0, eslint-scope@npm:^5.1.1": +"eslint-scope@npm:^5.0.0, eslint-scope@npm:^5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" dependencies: @@ -7735,6 +7793,17 @@ __metadata: languageName: node linkType: hard +"eslint-utils@npm:^3.0.0": + version: 3.0.0 + resolution: "eslint-utils@npm:3.0.0" + dependencies: + eslint-visitor-keys: ^2.0.0 + peerDependencies: + eslint: ">=5" + checksum: 035451529f016e28edd26e8951f15e28a6a4e58adff67bd0cb494879f360080750b9c779e46561369aec0657ac2b89dd8b0aa38476e8cdf50e635aa872fa27b6 + languageName: node + linkType: hard + "eslint-visitor-keys@npm:^1.1.0, eslint-visitor-keys@npm:^1.3.0": version: 1.3.0 resolution: "eslint-visitor-keys@npm:1.3.0" @@ -7749,27 +7818,30 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^7.5.0": - version: 7.5.0 - resolution: "eslint@npm:7.5.0" +"eslint@npm:^7.27.0": + version: 7.27.0 + resolution: "eslint@npm:7.27.0" dependencies: - "@babel/code-frame": ^7.0.0 + "@babel/code-frame": 7.12.11 + "@eslint/eslintrc": ^0.4.1 ajv: ^6.10.0 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.0.1 doctrine: ^3.0.0 enquirer: ^2.3.5 - eslint-scope: ^5.1.0 + escape-string-regexp: ^4.0.0 + eslint-scope: ^5.1.1 eslint-utils: ^2.1.0 - eslint-visitor-keys: ^1.3.0 - espree: ^7.2.0 - esquery: ^1.2.0 + eslint-visitor-keys: ^2.0.0 + espree: ^7.3.1 + esquery: ^1.4.0 esutils: ^2.0.2 - file-entry-cache: ^5.0.1 + fast-deep-equal: ^3.1.3 + file-entry-cache: ^6.0.1 functional-red-black-tree: ^1.0.1 glob-parent: ^5.0.0 - globals: ^12.1.0 + globals: ^13.6.0 ignore: ^4.0.6 import-fresh: ^3.0.0 imurmurhash: ^0.1.4 @@ -7777,7 +7849,7 @@ __metadata: js-yaml: ^3.13.1 json-stable-stringify-without-jsonify: ^1.0.1 levn: ^0.4.1 - lodash: ^4.17.19 + lodash.merge: ^4.6.2 minimatch: ^3.0.4 natural-compare: ^1.4.0 optionator: ^0.9.1 @@ -7786,23 +7858,23 @@ __metadata: semver: ^7.2.1 strip-ansi: ^6.0.0 strip-json-comments: ^3.1.0 - table: ^5.2.3 + table: ^6.0.9 text-table: ^0.2.0 v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: 5a65f133db997f39e48082636496e11db168c7385839111b2ecbb9d4fa16d9eaeae9a88f0317ddcc5118fe388c2907ab0f302c752fb36e56ace6e3660070ea42 + checksum: c91a9a88091fb2654ec599b452f6d8aff22daa4a21761e762536877ec8b65cd6386c29ea2e0fec2668125a07c62973bc23922f924c999e140c1042b8cffca030 languageName: node linkType: hard -"espree@npm:^7.2.0": - version: 7.3.0 - resolution: "espree@npm:7.3.0" +"espree@npm:^7.3.0, espree@npm:^7.3.1": + version: 7.3.1 + resolution: "espree@npm:7.3.1" dependencies: acorn: ^7.4.0 - acorn-jsx: ^5.2.0 + acorn-jsx: ^5.3.1 eslint-visitor-keys: ^1.3.0 - checksum: dd2543c293e091532f3d6eda4a09ae49039ac65e69bc072aec952a5db6eb23eeee7617e99cde11414367104208c2dec13f709bbede0528d4f6854ce5cb734960 + checksum: ff8e0f73939e1e76529b630cba65b6128e4d18ed7bf0b16af62022cadc73ddb950c7e5aa629cca74e8abebdf76f6dcd1cf873dbc819f10599827c6019e2f8e91 languageName: node linkType: hard @@ -7816,12 +7888,12 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.2.0": - version: 1.3.1 - resolution: "esquery@npm:1.3.1" +"esquery@npm:^1.4.0": + version: 1.4.0 + resolution: "esquery@npm:1.4.0" dependencies: estraverse: ^5.1.0 - checksum: 0aac7572bc8cf4aad87f4424b3e5e80917c214d15a1da02718c4bb0e6030552b0dea700777747507d5e310cfba43ea719e6397a45050fb50b9b68c0f7de6b26a + checksum: 3293ecc1507a8cec8d2da8a4707275c2ccf5413e7a3c771fe41c16cee603cacd193bb7383a6e219d1f7d2449156ef575ffd66c839073d4a8058f72856a15f622 languageName: node linkType: hard @@ -8106,7 +8178,7 @@ __metadata: languageName: node linkType: hard -"fast-deep-equal@npm:^3.1.1": +"fast-deep-equal@npm:^3.1.1, fast-deep-equal@npm:^3.1.3": version: 3.1.3 resolution: "fast-deep-equal@npm:3.1.3" checksum: 451526766b219503131d11e823eaadd1533080b0be4860e316670b039dcaf31cd1007c2fe036a9b922abba7c040dfad5e942ed79d21f2ff849e50049f36e0fb7 @@ -8213,12 +8285,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^5.0.1": - version: 5.0.1 - resolution: "file-entry-cache@npm:5.0.1" +"file-entry-cache@npm:^6.0.1": + version: 6.0.1 + resolution: "file-entry-cache@npm:6.0.1" dependencies: - flat-cache: ^2.0.1 - checksum: 7140588becf15f05ee956cfb359b5f23e0c73acbbd38ad14c7a76a0097342e6bfc0a8151cd2e481ea3cbb735190ba9a0df4b69055ebb5b0389c62339b1a2f86b + flat-cache: ^3.0.4 + checksum: af83a412143100405a995bb7d9a31982ebcfabe6c545dac2e787fc5580b2da74e253ef62968057fa5bbfaf0811a8b85623aeea776e16c77e3ce4c2488b0e4821 languageName: node linkType: hard @@ -8364,21 +8436,20 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^2.0.1": - version: 2.0.1 - resolution: "flat-cache@npm:2.0.1" +"flat-cache@npm:^3.0.4": + version: 3.0.4 + resolution: "flat-cache@npm:3.0.4" dependencies: - flatted: ^2.0.0 - rimraf: 2.6.3 - write: 1.0.3 - checksum: a36ba407553064be4a571cdee4021a50290f6179a0827df1d076a2e33cd84e543d0274cb15dbeb551c2ae6d53e611e3c02564a93f0d527563d0f560be7a14b0d + flatted: ^3.1.0 + rimraf: ^3.0.2 + checksum: 72d86ccdf840e70227168a20bb908db8bc382360f0b241efd4c2e5cf2d17a7d566c0849dc4c5d2e8e6d7838e052539dcc319f0cf295c0bb9f47b71844c1de78d languageName: node linkType: hard -"flatted@npm:^2.0.0": - version: 2.0.1 - resolution: "flatted@npm:2.0.1" - checksum: dd5140cc40a5c5457f024c6b7193e8581e15c0401c874cf8705b350c2f152f24c5b1794dfebf664bbce5542a4d861b5b96d0d55bf40b7cf708b22885f4bd8b8c +"flatted@npm:^3.1.0": + version: 3.1.1 + resolution: "flatted@npm:3.1.1" + checksum: 1065cd78294ea651b8c1b96c298a3e70893a23da655e2288e40c06d5d9b1ebce4bd977e604678e01065a92580f3de5078d60d9ee4cdcede9a9989859d7eb5057 languageName: node linkType: hard @@ -8606,14 +8677,14 @@ fsevents@^1.2.7: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.0": - version: 1.0.2 - resolution: "get-intrinsic@npm:1.0.2" +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1": + version: 1.1.1 + resolution: "get-intrinsic@npm:1.1.1" dependencies: function-bind: ^1.1.1 has: ^1.0.3 has-symbols: ^1.0.1 - checksum: 1916051d494f7265bf1072bf0243052d79be1d38fa2fa4561695ee7162a2c29f208fbc4ad3c82c340eb1ca5c788ec11791a5e345ff7d35f789438b237c941271 + checksum: acf1506f25a32a194cfc5c19d33835756080d970eb6e29a8a3852380106df981acef7bb9ac2002689437235221f24bcbdc1e3532b9bcacd7ff3621091fafe607 languageName: node linkType: hard @@ -8818,6 +8889,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"globals@npm:^13.6.0": + version: 13.8.0 + resolution: "globals@npm:13.8.0" + dependencies: + type-fest: ^0.20.2 + checksum: de85e5dc899ebd77414cc026e806d0bfd2c102ba23d08a2516c960a5e324433d3f1c124465a35b5b1d948448a7008bad85f823a9bcd8d54664d8a0cbcaab0091 + languageName: node + linkType: hard + "globby@npm:^10.0.1": version: 10.0.1 resolution: "globby@npm:10.0.1" @@ -8834,9 +8914,9 @@ fsevents@^1.2.7: languageName: node linkType: hard -"globby@npm:^11.0.1": - version: 11.0.2 - resolution: "globby@npm:11.0.2" +"globby@npm:^11.0.1, globby@npm:^11.0.3": + version: 11.0.3 + resolution: "globby@npm:11.0.3" dependencies: array-union: ^2.1.0 dir-glob: ^3.0.1 @@ -8844,7 +8924,7 @@ fsevents@^1.2.7: ignore: ^5.1.4 merge2: ^1.3.0 slash: ^3.0.0 - checksum: d23f2a6b8897b97fb27422cde243e0fd406ebbaa821929293b27c977d169884f8112494cda4f456a51d0ec1e133e3ac703ec24bfed484e327305ea34a665eb06 + checksum: f17da0f869918656ec8c16c15ad100f025fbd13e4c157286cf340811eb1355a7d06dde77be1685a7a051970ec6abeff96a9b2a1a97525f84bc94fbd518c1d1db languageName: node linkType: hard @@ -8998,6 +9078,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"has-bigints@npm:^1.0.1": + version: 1.0.1 + resolution: "has-bigints@npm:1.0.1" + checksum: 1074b644f5f2c319fc31af00fe2f81b6e21e204bb46da70ff7b970fe65c56f504e697fe6b41823ba679bd4111840482a83327d3432b8d670a684da4087ed074b + languageName: node + linkType: hard + "has-flag@npm:^2.0.0": version: 2.0.0 resolution: "has-flag@npm:2.0.0" @@ -9019,10 +9106,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"has-symbols@npm:^1.0.1": - version: 1.0.1 - resolution: "has-symbols@npm:1.0.1" - checksum: 84e2a03ada6f530f0c1ebea64df5932556ac20a4b78998f1f2b5dd0cf736843e8082c488b0ea7f08b9aec72fb6d8b736beed2fd62fac60dcaebfdc0b8d2aa7ac +"has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.2": + version: 1.0.2 + resolution: "has-symbols@npm:1.0.2" + checksum: 1b73928752fa9ca993fa48f7b3832c95ea408c0ec635b2d6cbaf011b94a7e6a704a9254ae6d8ecc913d4dd92f2ff760dc43aad7c7e790ddb3f627005614d8e28 languageName: node linkType: hard @@ -9266,13 +9353,13 @@ fsevents@^1.2.7: languageName: node linkType: hard -"import-fresh@npm:^3.0.0": - version: 3.2.1 - resolution: "import-fresh@npm:3.2.1" +"import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1": + version: 3.3.0 + resolution: "import-fresh@npm:3.3.0" dependencies: parent-module: ^1.0.0 resolve-from: ^4.0.0 - checksum: 5ace95063123e8c2e30cfe302421f3ef1598d4fff9763c1b6bbed0ab4e700a16e45078fbfc3f7a8a5c3680e01edf707bca25354dec90a268b9803074e46bc89c + checksum: 3ff624f00140850a2878eb7630d635daaad556cfa5a0e23191e9b65ab4fec8cc23f929f03bc9b3c4251b497a434f459bf3e7a8aa547a400ad140f431a1b0e4d6 languageName: node linkType: hard @@ -9439,6 +9526,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"is-bigint@npm:^1.0.1": + version: 1.0.2 + resolution: "is-bigint@npm:1.0.2" + checksum: 818680e551dc0a33ed8662b869cd3cb3236f6b94994850c1701200816cf9ad7e82a24fb4efbfc7046f167cd6429a71ba3672c73a7507093164c6ee9123bf30a9 + languageName: node + linkType: hard + "is-binary-path@npm:^1.0.0": version: 1.0.1 resolution: "is-binary-path@npm:1.0.1" @@ -9457,6 +9551,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"is-boolean-object@npm:^1.1.0": + version: 1.1.1 + resolution: "is-boolean-object@npm:1.1.1" + dependencies: + call-bind: ^1.0.2 + checksum: 9a45d29418f5cc7ff5ddf8eebf4a7d6bd2b3be730000e42d339029658db40e9e0ecafb1397588f6f5f17728ea9b7a8959b5d2ee000db5d95ff126c8b54218391 + languageName: node + linkType: hard + "is-buffer@npm:^1.1.0, is-buffer@npm:^1.1.5": version: 1.1.6 resolution: "is-buffer@npm:1.1.6" @@ -9464,10 +9567,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-callable@npm:^1.1.4, is-callable@npm:^1.2.0, is-callable@npm:^1.2.2": - version: 1.2.2 - resolution: "is-callable@npm:1.2.2" - checksum: c35d37cc46c997d6417d7254733c8a3b1146f18121197c5600f601c56fb27abd1b372b0b9c41ea9a69d30556a2a0fd85e396da8eb8bc4af2e5ad8c5232fcd433 +"is-callable@npm:^1.1.4, is-callable@npm:^1.2.3": + version: 1.2.3 + resolution: "is-callable@npm:1.2.3" + checksum: 8180a1c4e227e204e199ff355c4f24a80f74536898e16716583aa6a09167f2cceecc188cea750a2f3ae3b163577691595ae8d22bf7bb94b4bbb9fbdfea1bc5c3 languageName: node linkType: hard @@ -9482,12 +9585,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-core-module@npm:^2.2.0": - version: 2.2.0 - resolution: "is-core-module@npm:2.2.0" +"is-core-module@npm:^2.2.0, is-core-module@npm:^2.4.0": + version: 2.4.0 + resolution: "is-core-module@npm:2.4.0" dependencies: has: ^1.0.3 - checksum: 2344744de98a3bc22e2bb30895f307d7889f09e963f9bcb1cc321788f508c8b463f75e0a9ca009eeeb8eb9465181b5c15f1ec9299a6bb6921cfbb2423892e0ba + checksum: caa2b30873ed14dff76e5351e3c55a677b890cf19cc4263e9894702eb4bd64f81ce78552daad878ba72adcdc9e62cad45ca57928fc8b4bdc84a7ff8acf934389 languageName: node linkType: hard @@ -9630,13 +9733,20 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-negative-zero@npm:^2.0.0": +"is-negative-zero@npm:^2.0.1": version: 2.0.1 resolution: "is-negative-zero@npm:2.0.1" checksum: e2160af9a6fad7027bbd513e1efe9a99c780bb6af688e61e6b71084b5893f976241ca081e1ed8c18222d391ea3c1c0771cd23ab322be107150b66faf03d6ecbd languageName: node linkType: hard +"is-number-object@npm:^1.0.4": + version: 1.0.5 + resolution: "is-number-object@npm:1.0.5" + checksum: 2725b594081cb159766a8fca6af2dab65da601caf656a1be1baf6c100ad614cae2fa1a6c7c1dfc90ad8e78cf668d2761f9efaeac5dd7ab7ecd5d648e7d240399 + languageName: node + linkType: hard + "is-number@npm:^3.0.0": version: 3.0.0 resolution: "is-number@npm:3.0.0" @@ -9722,12 +9832,13 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-regex@npm:^1.1.0, is-regex@npm:^1.1.1": - version: 1.1.1 - resolution: "is-regex@npm:1.1.1" +"is-regex@npm:^1.1.2": + version: 1.1.3 + resolution: "is-regex@npm:1.1.3" dependencies: - has-symbols: ^1.0.1 - checksum: 0c5b9d335c125cc59a83b9446b172d419303034f3cb570e95bfb7b45fc1dfb8bedd7ecf5e8139a99b8fed66894ee516fd7ce376feb109504f64c53092c7f07ee + call-bind: ^1.0.2 + has-symbols: ^1.0.2 + checksum: 1beb14b9f8df6e302c6ba0cafdea4a393fd58b93cd66b4ef3017b74f72683c50f7a82d08c86e20e5b555a2a6a5e5b681e62eb4e4b49e62986da01ffd073d19eb languageName: node linkType: hard @@ -9768,12 +9879,12 @@ fsevents@^1.2.7: languageName: node linkType: hard -"is-symbol@npm:^1.0.2": - version: 1.0.3 - resolution: "is-symbol@npm:1.0.3" +"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": + version: 1.0.4 + resolution: "is-symbol@npm:1.0.4" dependencies: - has-symbols: ^1.0.1 - checksum: 753aa0cf95069387521b110c6646df4e0b5cce76cf604521c26b4f5d30a997a95036ed5930c0cca9e850ac6fccb04de551cc95aab71df471ee88e04ed1a96f21 + has-symbols: ^1.0.2 + checksum: 2794e0b9c3d6ca760b2f46c0132917746ce95fe034556e0e4da341e59f6171c9b733d2f0942475ecdee2e5b6d80a6e021eba200076fefcc79348ac48d56ad4b5 languageName: node linkType: hard @@ -10570,6 +10681,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"json-schema-traverse@npm:^1.0.0": + version: 1.0.0 + resolution: "json-schema-traverse@npm:1.0.0" + checksum: 7a230bcd927f5bf41b33a822121730a225ac287e14d7e8abc94f4cbc36743f6e09455549abaada7029844f7e88a9fd693a023ec76296df17488746acb1e5a388 + languageName: node + linkType: hard + "json-schema@npm:0.2.3": version: 0.2.3 resolution: "json-schema@npm:0.2.3" @@ -10933,6 +11051,18 @@ fsevents@^1.2.7: languageName: node linkType: hard +"load-json-file@npm:^4.0.0": + version: 4.0.0 + resolution: "load-json-file@npm:4.0.0" + dependencies: + graceful-fs: ^4.1.2 + parse-json: ^4.0.0 + pify: ^3.0.0 + strip-bom: ^3.0.0 + checksum: 692f33387be2439e920e394a70754499c22eabe567f55fee7c0a8994c050e27360c1b39c5375d214539ebb7d609d28e69f6bd6e3c070d30bc202c99289e27f96 + languageName: node + linkType: hard + "loader-runner@npm:^2.3.0, loader-runner@npm:^2.4.0": version: 2.4.0 resolution: "loader-runner@npm:2.4.0" @@ -10987,6 +11117,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"lodash.clonedeep@npm:^4.5.0": + version: 4.5.0 + resolution: "lodash.clonedeep@npm:4.5.0" + checksum: 41e2fe4c57c56a66a4775a6ddeebe9272f0ce4d257d97b3cb8724a9b01eeec9b09ce7e8603d6926baf5f48c287d988f0de4bf5aa244ea86b1f22c1e6f203cc27 + languageName: node + linkType: hard + "lodash.debounce@npm:^4.0.8": version: 4.0.8 resolution: "lodash.debounce@npm:4.0.8" @@ -11001,6 +11138,20 @@ fsevents@^1.2.7: languageName: node linkType: hard +"lodash.merge@npm:^4.6.2": + version: 4.6.2 + resolution: "lodash.merge@npm:4.6.2" + checksum: 4e2bb42a87a148991458d7c384bc197e96f7115e9536fc8e2c86ae9e99ce1c1f693ff15eb85761952535f48d72253aed8e673d9f32dde3e671cd91e3fde220a7 + languageName: node + linkType: hard + +"lodash.truncate@npm:^4.4.2": + version: 4.4.2 + resolution: "lodash.truncate@npm:4.4.2" + checksum: b1b0d7d993bb73d0032fe909d4523a836b6aa91566fa88ff78c3eac008bd3d3b2ba0f2e8381d7f906b1d6913a64982f34bea95dd556355c0d418bfddf3ab7b06 + languageName: node + linkType: hard + "lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -11437,6 +11588,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"ms@npm:^2.1.1": + version: 2.1.3 + resolution: "ms@npm:2.1.3" + checksum: 6e721e648a544154d5de4c114b32f573d8027ca8ec505cf6c1105e505986d6ac46934a1256735aa0eece8eb2f5b2a1230503b2dddd3b100f9f016fd8a4f15f33 + languageName: node + linkType: hard + "multimatch@npm:^2.0.0": version: 2.1.0 resolution: "multimatch@npm:2.1.0" @@ -11730,10 +11888,10 @@ fsevents@^1.2.7: languageName: node linkType: hard -"object-inspect@npm:^1.7.0, object-inspect@npm:^1.8.0": - version: 1.9.0 - resolution: "object-inspect@npm:1.9.0" - checksum: 63b412167d716e332b3233090a9e8cc7951479a6971629fb8a3d00135a2329136c697fbd2f56e48bb132928f01bd0f8c5fe2d7386222f217228ca697b8c3932a +"object-inspect@npm:^1.9.0": + version: 1.10.3 + resolution: "object-inspect@npm:1.10.3" + checksum: f5d21d86dbedf7224f5e2bee8235beb1e94a419443102ae0d6c17603ace26b930de584ece5695ae6c338ec996656477d5ca425b1f8770b4aa3340aa3d188aa9a languageName: node linkType: hard @@ -11753,7 +11911,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"object.assign@npm:^4.0.4, object.assign@npm:^4.1.0, object.assign@npm:^4.1.1": +"object.assign@npm:^4.0.4, object.assign@npm:^4.1.0, object.assign@npm:^4.1.2": version: 4.1.2 resolution: "object.assign@npm:4.1.2" dependencies: @@ -11817,15 +11975,15 @@ fsevents@^1.2.7: languageName: node linkType: hard -"object.values@npm:^1.1.1": - version: 1.1.1 - resolution: "object.values@npm:1.1.1" +"object.values@npm:^1.1.3": + version: 1.1.3 + resolution: "object.values@npm:1.1.3" dependencies: + call-bind: ^1.0.2 define-properties: ^1.1.3 - es-abstract: ^1.17.0-next.1 - function-bind: ^1.1.1 + es-abstract: ^1.18.0-next.2 has: ^1.0.3 - checksum: 33e99ceb5cdb4c4b43372aa133ecb1d73d5cf73ebbbe9ec64f45cd39c87d0226ca88d6a354cd8b819fbde6b9ebbc7df1a6a093f91d2c951c51a07546f54fe33d + checksum: 31111fe8b8dfe7c3326ae8729eae542dc32d5705339b9b63d89d4a2f766641bfe8989744bd4771c65a7ca0dff281800e99640262c2e82daa97079143a86b3e0b languageName: node linkType: hard @@ -12286,6 +12444,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"path-type@npm:^3.0.0": + version: 3.0.0 + resolution: "path-type@npm:3.0.0" + dependencies: + pify: ^3.0.0 + checksum: db700bfc22254b38d0c8378440ec8b7b869f5d0b946d02abd281bcc6ea456a573167a8a80dd8280848998bb9739c2009f80bcf0dbf5c9d75ab18650e07fb893f + languageName: node + linkType: hard + "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -12327,6 +12494,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"pify@npm:^3.0.0": + version: 3.0.0 + resolution: "pify@npm:3.0.0" + checksum: 18af2b29148c4d6fd4c7741dbd953ff76beea17d1b4a6d5792d7ff1d7202f43671c3f29313aa5ec01a66d050dbdbb0cf23f17de69531da8dc8bda42d327cf960 + languageName: node + linkType: hard + "pify@npm:^4.0.1": version: 4.0.1 resolution: "pify@npm:4.0.1" @@ -12386,6 +12560,15 @@ fsevents@^1.2.7: languageName: node linkType: hard +"pkg-up@npm:^2.0.0": + version: 2.0.0 + resolution: "pkg-up@npm:2.0.0" + dependencies: + find-up: ^2.1.0 + checksum: 0a8fcbebf0f1aadc7a52c576352a698abef6c389cb00a0847db2d370d05d4c005f855e196d29618b088062f1394711ca6dadd232692ed225511d7e75a198d246 + languageName: node + linkType: hard + "platform@npm:^1.3.3": version: 1.3.6 resolution: "platform@npm:1.3.6" @@ -12719,6 +12902,16 @@ fsevents@^1.2.7: languageName: node linkType: hard +"read-pkg-up@npm:^3.0.0": + version: 3.0.0 + resolution: "read-pkg-up@npm:3.0.0" + dependencies: + find-up: ^2.0.0 + read-pkg: ^3.0.0 + checksum: 3ef50bea6df7ee0153b41f2bd2dda66ccd1fd06117a312b940b4158801c5b3cd2e4d9e9e2a81486f3197412385d7b52f17f70012e35ddb1e30acd7b425e00e38 + languageName: node + linkType: hard + "read-pkg@npm:^1.0.0": version: 1.1.0 resolution: "read-pkg@npm:1.1.0" @@ -12741,6 +12934,17 @@ fsevents@^1.2.7: languageName: node linkType: hard +"read-pkg@npm:^3.0.0": + version: 3.0.0 + resolution: "read-pkg@npm:3.0.0" + dependencies: + load-json-file: ^4.0.0 + normalize-package-data: ^2.3.2 + path-type: ^3.0.0 + checksum: 8cc577b41ddd70a0037d6c0414acfab8db3a25a30c7854decf3d613f1f4240c8a47e20fddbd82724e02d4eb5a0c489e2621b4a5bb3558e09ce81f53306d1b850 + languageName: node + linkType: hard + "read-pkg@npm:^5.2.0": version: 5.2.0 resolution: "read-pkg@npm:5.2.0" @@ -12994,6 +13198,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"require-from-string@npm:^2.0.2": + version: 2.0.2 + resolution: "require-from-string@npm:2.0.2" + checksum: 74fc30353e5d526879b28d480c3f25ca95e9c22dfe7ac10ca0650e03407b3aeed352ff8ca706ea145617b6482a582e4a3bd65a884fc50133ebe586d47fa085c6 + languageName: node + linkType: hard + "require-main-filename@npm:^1.0.1": version: 1.0.1 resolution: "require-main-filename@npm:1.0.1" @@ -13110,17 +13321,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rimraf@npm:2.6.3": - version: 2.6.3 - resolution: "rimraf@npm:2.6.3" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: c9ce1854f19327606934558f4729b0f7aa7b9f1a3e7ca292d56261cce1074e20b0a0b16689166da6d8ab24ed9c30f7c71fba0df38e1d37f0233b6f48307c5c7a - languageName: node - linkType: hard - "rimraf@npm:^2.5.4, rimraf@npm:^2.6.3": version: 2.7.1 resolution: "rimraf@npm:2.7.1" @@ -13132,14 +13332,14 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rimraf@npm:^3.0.0": - version: 3.0.0 - resolution: "rimraf@npm:3.0.0" +"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": + version: 3.0.2 + resolution: "rimraf@npm:3.0.2" dependencies: glob: ^7.1.3 bin: - rimraf: ./bin.js - checksum: c44ba057c5aa6a8dfc79c8544f660480543fa996920cb76a010ffd353e6309165f73abcd893440b9f3e7204a125711efa9352ef41c5fa1f673f2be04e365d46c + rimraf: bin.js + checksum: f0de3e445581e64a8a077af476cc30708e659f5779ec2ca2a161556d0792aa318a685923798ae22055b4ecd02b9aff444ef619578f7af53cf8e0e248031e3dee languageName: node linkType: hard @@ -13385,12 +13585,14 @@ fsevents@^1.2.7: languageName: node linkType: hard -"semver@npm:^7.2.1, semver@npm:^7.3.2": - version: 7.3.2 - resolution: "semver@npm:7.3.2" +"semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.5": + version: 7.3.5 + resolution: "semver@npm:7.3.5" + dependencies: + lru-cache: ^6.0.0 bin: semver: bin/semver.js - checksum: bceb46d396d039afb5be2b2860bce1b0a43ecbadc72dde7ebe9c56dd9035ca50d9b8e086208ff9bbe53773ebde0bcfc6fc0842d7358398bca7054bb9ced801e3 + checksum: c53624ddf4b9779bcbf55a1eb8b37074cc44bfeca416f3cc263429408202a8a3c59b00eef8c647d697303bc39b95c022a5c61959221d3814bfb1270ff7c14986 languageName: node linkType: hard @@ -13569,14 +13771,14 @@ fsevents@^1.2.7: languageName: node linkType: hard -"slice-ansi@npm:^2.1.0": - version: 2.1.0 - resolution: "slice-ansi@npm:2.1.0" +"slice-ansi@npm:^4.0.0": + version: 4.0.0 + resolution: "slice-ansi@npm:4.0.0" dependencies: - ansi-styles: ^3.2.0 - astral-regex: ^1.0.0 - is-fullwidth-code-point: ^2.0.0 - checksum: 7578393cac91c28f8cb5fa5df36b826ad62c9e66313d2547770db8401570fa8f4aa20cd84ef9244fa054d8e9cc6bfc02578784bb89b238d384b99f2728a35a6d + ansi-styles: ^4.0.0 + astral-regex: ^2.0.0 + is-fullwidth-code-point: ^3.0.0 + checksum: f411aa051802605c3dc8523edee42d39ef59d7c36e6bef6bf1e61d9d2a83894187f6af56911a43ec8e58b921996722d75b354a4c3050b924426ffd1b05da33f9 languageName: node linkType: hard @@ -13899,6 +14101,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"string-natural-compare@npm:^3.0.1": + version: 3.0.1 + resolution: "string-natural-compare@npm:3.0.1" + checksum: c81b8adc4b91692e01eeb609d85c8fceeba14a41997e65fdc2e01fa9b0a9566663f6326a40436282eaa477ee6997c9096139a995c8220ffca79547c57e1a84e6 + languageName: node + linkType: hard + "string-width@npm:^1.0.1, string-width@npm:^1.0.2": version: 1.0.2 resolution: "string-width@npm:1.0.2" @@ -13920,17 +14129,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"string-width@npm:^3.0.0": - version: 3.1.0 - resolution: "string-width@npm:3.1.0" - dependencies: - emoji-regex: ^7.0.1 - is-fullwidth-code-point: ^2.0.0 - strip-ansi: ^5.1.0 - checksum: 54c5d1842dc122d8e0251ad50e00e91c06368f1aca44f41a67cd5ce013c4ba8f5a26f1b7f72a3e1644f38c62092a82c86b646aff514073894faf84b9564a38a0 - languageName: node - linkType: hard - "string-width@npm:^4.1.0, string-width@npm:^4.2.0": version: 4.2.0 resolution: "string-width@npm:4.2.0" @@ -13942,23 +14140,23 @@ fsevents@^1.2.7: languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.1": - version: 1.0.1 - resolution: "string.prototype.trimend@npm:1.0.1" +"string.prototype.trimend@npm:^1.0.4": + version: 1.0.4 + resolution: "string.prototype.trimend@npm:1.0.4" dependencies: + call-bind: ^1.0.2 define-properties: ^1.1.3 - es-abstract: ^1.17.5 - checksum: 93046463de6a3b4ae27d0622ae8795239c8d372b1be1a60122fce591bf7578b719becf00bf04326642a868bc6185f35901119b61a246509dd0dc0666b2a803ed + checksum: ea8793bee1104362587e6a0fab2cb48e76548423d8ac95847284f9f6ef6a11338cf47114e8ec1c2a9519cce55cfa8d19fc8e26413937c3e804a768ec43ebe38e languageName: node linkType: hard -"string.prototype.trimstart@npm:^1.0.1": - version: 1.0.1 - resolution: "string.prototype.trimstart@npm:1.0.1" +"string.prototype.trimstart@npm:^1.0.4": + version: 1.0.4 + resolution: "string.prototype.trimstart@npm:1.0.4" dependencies: + call-bind: ^1.0.2 define-properties: ^1.1.3 - es-abstract: ^1.17.5 - checksum: 20c4a940f1ba65b0aa5abf0c319dceba4fbf04d24553583b0b82eba2711815d1e40663ce36175ed06475701dbe797cac81be1ec1dc4bb4416b2077e8b0409036 + checksum: dd2c994af9b9194c7ce9d94e30b8f8bbe30ec95ada94534a71d63df2964a200c8d2264378252a5047a5f1cf805e8216911d78d16b22d5db7b0abcdbbb2d24b4a languageName: node linkType: hard @@ -14009,15 +14207,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"strip-ansi@npm:^5.1.0": - version: 5.2.0 - resolution: "strip-ansi@npm:5.2.0" - dependencies: - ansi-regex: ^4.1.0 - checksum: 44a0d0d354f5f7b15f83323879a9112ea746daae7bef0b68238a27626ee757d9a04ce6590433841e14b325e8e7c5d62b8442885e50497e21b7cbca6da40d54ea - languageName: node - linkType: hard - "strip-ansi@npm:^6.0.0": version: 6.0.0 resolution: "strip-ansi@npm:6.0.0" @@ -14064,7 +14253,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"strip-json-comments@npm:^3.1.0": +"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: f16719ce25abc58a55ef82b1c27f541dcfa5d544f17158f62d10be21ff9bd22fde45a53c592b29d80ad3c97ccb67b7451c4833913fdaeadb508a40f5e0a9c206 @@ -14166,15 +14355,17 @@ fsevents@^1.2.7: languageName: node linkType: hard -"table@npm:^5.2.3": - version: 5.4.6 - resolution: "table@npm:5.4.6" +"table@npm:^6.0.9": + version: 6.7.1 + resolution: "table@npm:6.7.1" dependencies: - ajv: ^6.10.2 - lodash: ^4.17.14 - slice-ansi: ^2.1.0 - string-width: ^3.0.0 - checksum: 38877a196c0a57b955e4965fa3ff1cede38649b6e1f6286aa5435579dfd01663fdf8d19c87510e67a79474d75ae0144a0819f2054d654c45d7f525270aafe56b + ajv: ^8.0.1 + lodash.clonedeep: ^4.5.0 + lodash.truncate: ^4.4.2 + slice-ansi: ^4.0.0 + string-width: ^4.2.0 + strip-ansi: ^6.0.0 + checksum: 66107046b7226051552d53c1260facfed03f4050373d3888620af7b1353f6a5429d9a4a5fb796c56c29b9dd5ffca7b661a815f42ec392cb5956432585578772a languageName: node linkType: hard @@ -14500,14 +14691,14 @@ fsevents@^1.2.7: languageName: node linkType: hard -"tsutils@npm:^3.17.1": - version: 3.17.1 - resolution: "tsutils@npm:3.17.1" +"tsutils@npm:^3.17.1, tsutils@npm:^3.21.0": + version: 3.21.0 + resolution: "tsutils@npm:3.21.0" dependencies: tslib: ^1.8.1 peerDependencies: typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - checksum: bed8ff7998d90a7ab9f3bdb26d36dae0edfcdb3e4f07994fb59df8d42e62ee07d591d3a435fb65cb50b6ca9af6b76c9bc9423a216186e5085d91793fa169c248 + checksum: a10e746258ca9c8e5cdd5e363259b4e353a6729b432f1b30455b9d84ff3fd2f12a44fedafd13872518b0e951fa8cdf56a5b35908bc91d5bf5e7d342548427f2e languageName: node linkType: hard @@ -14689,6 +14880,18 @@ typescript@~4.2.3: languageName: node linkType: hard +"unbox-primitive@npm:^1.0.0": + version: 1.0.1 + resolution: "unbox-primitive@npm:1.0.1" + dependencies: + function-bind: ^1.1.1 + has-bigints: ^1.0.1 + has-symbols: ^1.0.2 + which-boxed-primitive: ^1.0.2 + checksum: aa944f1ecfec638b841b331383d0b80edc40855271ecc213c1aa736096d8d0b39ba25b64d102f56c597521db9cd3f0ddbcb97a0f760c240ab584e94e457518c1 + languageName: node + linkType: hard + "unc-path-regex@npm:^0.1.2": version: 0.1.2 resolution: "unc-path-regex@npm:0.1.2" @@ -15309,6 +15512,19 @@ typescript@~4.2.3: languageName: node linkType: hard +"which-boxed-primitive@npm:^1.0.2": + version: 1.0.2 + resolution: "which-boxed-primitive@npm:1.0.2" + dependencies: + is-bigint: ^1.0.1 + is-boolean-object: ^1.1.0 + is-number-object: ^1.0.4 + is-string: ^1.0.5 + is-symbol: ^1.0.3 + checksum: 771ef43357afbba9febf2da4867b2971ada0a5126227f9b7926751525e3721f7f5f3722f8c60af67881714d9a82a98ed686f1768490cfb2cd40518df5f2e056e + languageName: node + linkType: hard + "which-module@npm:^1.0.0": version: 1.0.0 resolution: "which-module@npm:1.0.0" @@ -15441,15 +15657,6 @@ typescript@~4.2.3: languageName: node linkType: hard -"write@npm:1.0.3": - version: 1.0.3 - resolution: "write@npm:1.0.3" - dependencies: - mkdirp: ^0.5.1 - checksum: e8f8fddefea3eaaf4c8bacf072161f82d5e05c5fb8f003e1bae52673b94b88a4954d97688c7403a20301d2f6e9f61363b1affe74286b499b39bc0c42f17a56cb - languageName: node - linkType: hard - "ws@npm:^7.4.5": version: 7.4.6 resolution: "ws@npm:7.4.6"