diff --git a/.eslintignore b/.eslintignore index a6053227..e3483049 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,6 @@ # compiled output /dist/ +/tmp/ # dependencies /node_modules/ @@ -7,7 +8,5 @@ # misc !.* .*/ -.eslintcache /src/blueprints/ /tests/fixtures/ -/tmp/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..9103a60d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,143 @@ +# Contributing to ember-codemod-v1-to-v2 + +Open source projects like `ember-codemod-v1-to-v2` live on your words of encouragement and contribution. Please give feedback, report issues, or submit pull requests! + +Here are some guidelines to help you and everyone else. + + +## Local development + +
+Install dependencies + +1. Fork and clone this repo. + + ```sh + git clone git@github.com:/ember-codemod-v1-to-v2.git + ``` + +1. Change directory. + + ```sh + cd ember-codemod-v1-to-v2 + ``` + +1. Use `yarn` to install dependencies. + + ```sh + yarn install + ``` + +
+ + +
+Lint files + +1. When you write code, please check that it meets the linting rules. + + ```sh + yarn lint + ``` + +1. You can run `lint:fix` to automatically fix linting errors. + + ```sh + yarn lint:fix + ``` + +
+ + +
+Run tests + +1. When you write code, please check that all tests continue to pass. + + ```sh + yarn test + ``` + +
+ + +
+ +Publish packages (for admins) + +1. Generate a [personal access token](https://github.com/settings/tokens/) in GitHub, with default values for scopes (none selected). + +1. Create a pull request, in which you update the package version and `CHANGELOG`. + + ```sh + GITHUB_AUTH= yarn changelog + ``` + +1. Create a tag such as `1.0.0` (the name satisfies the regular expression `^\d+\.\d+\.\d+`). + +
+ + +## How can I help? + +If you haven't before, I encourage you to watch [Sean Massa's mini-talk](https://www.youtube.com/watch?v=CcSKlsc_AhQ) on what it means to be a contributor. To sum up the talk, you can be a contributor in many ways. I want you to discover a path that meets your goals well! + +Here are some suggestions to help you start: + + +
+Give feedback 💞 + +1. An open source project's value comes from people using the code and extending it to make greater things. Let me know how the codemod worked on your Ember addon! + +1. You can **create an issue** to: + + - Share how you used `ember-codemod-v1-to-v2` + - Share what you liked or didn't like about `ember-codemod-v1-to-v2` + +
+ + +
+Help with marketing 📢 + +1. Platforms include: + + - Blog post + - GitHub star + - Meetup or conference talk + - Social media + - Word of mouth + +
+ + +
+Join this project 👩‍💻👨‍💻 + +1. Help me maintain the project! I have limited time and there is much that I don't know. + + - Cut releases + - Research new ways to implement v2 addons + - Respond to issues + - Review pull requests + +
+ + +
+Make issues 📝 + +1. In addition to sharing feedback (described in `Give feedback`), you can create an issue to: + + - Ask for better documentation + - Ask for new feature or refactor + - Report bug + - Report outdated dependency + +1. When reporting a bug, please provide details to help me understand what's going on. If possible, please use the latest version of `ember-codemod-v1-to-v2` and set up a public demo that I and (other people) can check the code. + +
+ + +💡 Have ideas for contribution? Reach out to `@ijlee2` on [Discord](https://discord.com/invite/emberjs)! diff --git a/README.md b/README.md index 35fa46af..f10a9e23 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,8 @@ You can also look at another codemod called [`ember-addon-migrator`](https://git ## Contributing +See the [Contributing](CONTRIBUTING.md) guide for details. + If you have an open-sourced addon (v1 or v2) that I can use as a reference, reach out to me on [Discord](https://discord.gg/emberjs) at `ijlee2`. Please star this project so that I can gauge its importance to you and the Ember community. ⭐ diff --git a/package.json b/package.json index 2a2af7e1..eebf3439 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,11 @@ "glob": "^10.2.2", "lodash.template": "^4.5.0", "strip-json-comments": "^5.0.0", - "yargs": "^17.7.1" + "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.21.4", - "@babel/eslint-parser": "^7.21.3", + "@babel/core": "^7.21.8", + "@babel/eslint-parser": "^7.21.8", "@sondr3/minitest": "^0.1.1", "eslint": "^8.39.0", "eslint-config-prettier": "^8.8.0", diff --git a/src/migration/ember-addon/steps/update-addon-package-json.js b/src/migration/ember-addon/steps/update-addon-package-json.js index 89392871..acc131fc 100644 --- a/src/migration/ember-addon/steps/update-addon-package-json.js +++ b/src/migration/ember-addon/steps/update-addon-package-json.js @@ -50,6 +50,7 @@ function updateDevDependencies(packageJson, options) { '@babel/core', '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-decorators', + '@babel/runtime', '@embroider/addon-dev', '@rollup/plugin-babel', 'rollup', diff --git a/src/utils/blueprints/decide-version.js b/src/utils/blueprints/decide-version.js index 3e5418cf..f06d05e7 100644 --- a/src/utils/blueprints/decide-version.js +++ b/src/utils/blueprints/decide-version.js @@ -1,8 +1,9 @@ const latestVersions = new Map([ - ['@babel/core', '7.21.4'], + ['@babel/core', '7.21.8'], ['@babel/plugin-proposal-class-properties', '7.18.6'], ['@babel/plugin-proposal-decorators', '7.21.0'], - ['@babel/preset-typescript', '7.21.4'], + ['@babel/preset-typescript', '7.21.5'], + ['@babel/runtime', '7.21.5'], ['@embroider/addon-dev', '3.0.0'], ['@embroider/addon-shim', '1.8.4'], ['@rollup/plugin-babel', '6.0.3'], @@ -10,7 +11,7 @@ const latestVersions = new Map([ ['ember-auto-import', '2.6.3'], ['ember-cli-babel', '7.26.11'], ['ember-cli-htmlbars', '6.2.0'], - ['rollup', '3.21.0'], + ['rollup', '3.21.3'], ['rollup-plugin-copy', '3.4.0'], ['rollup-plugin-ts', '3.2.0'], ]); diff --git a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json index 603f3592..8372348a 100644 --- a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json index 603f3592..8372348a 100644 --- a/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json index ac1be6df..ada01c5f 100644 --- a/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json @@ -60,12 +60,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.20.7", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "engines": { diff --git a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json index 977754a6..01718e88 100644 --- a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json index 1b02cfcb..b8b8d276 100644 --- a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json index b52ba34d..b2bd8ca0 100644 --- a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json @@ -33,12 +33,13 @@ "ember-cli-typescript": "^5.2.1" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json index f06559b3..539320ee 100644 --- a/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json @@ -30,12 +30,13 @@ "@embroider/addon-shim": "^1.8.4" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json index f06559b3..539320ee 100644 --- a/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json @@ -30,12 +30,13 @@ "@embroider/addon-shim": "^1.8.4" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json index f06559b3..539320ee 100644 --- a/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json @@ -30,12 +30,13 @@ "@embroider/addon-shim": "^1.8.4" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json index b52ba34d..b2bd8ca0 100644 --- a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json @@ -33,12 +33,13 @@ "ember-cli-typescript": "^5.2.1" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json index 1b02cfcb..b8b8d276 100644 --- a/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json index 603f3592..8372348a 100644 --- a/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json index ac1be6df..ada01c5f 100644 --- a/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json @@ -60,12 +60,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.20.7", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "engines": { diff --git a/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json index cd6ead58..88dcda83 100644 --- a/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json @@ -60,12 +60,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.20.7", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", "@rollup/plugin-babel": "^6.0.3", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0" }, "engines": { diff --git a/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json index 977754a6..01718e88 100644 --- a/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json index 1b02cfcb..b8b8d276 100644 --- a/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json @@ -63,12 +63,13 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.21.4", + "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/preset-typescript": "^7.21.4", + "@babel/preset-typescript": "^7.21.5", + "@babel/runtime": "^7.21.5", "@embroider/addon-dev": "^3.0.0", - "rollup": "^3.21.0", + "rollup": "^3.21.3", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-ts": "^3.2.0" }, diff --git a/tests/utils/blueprints/decide-version.test.js b/tests/utils/blueprints/decide-version.test.js index 5c7b3a86..279132e3 100644 --- a/tests/utils/blueprints/decide-version.test.js +++ b/tests/utils/blueprints/decide-version.test.js @@ -11,7 +11,7 @@ test('utils | blueprints | decide-version > package is installed', function () { test('utils | blueprints | decide-version > package is not installed and we provide the latest version', function () { const version = decideVersion('rollup', options); - assert.strictEqual(version, '^3.21.0'); + assert.strictEqual(version, '^3.21.3'); }); test('utils | blueprints | decide-version > package is not installed and we forgot to provide the latest version', function () { diff --git a/yarn.lock b/yarn.lock index 205c9e1d..ba97a359 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,66 +17,66 @@ dependencies: "@babel/highlight" "^7.18.6" -"@babel/compat-data@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.4.tgz#457ffe647c480dff59c2be092fc3acf71195c87f" - integrity sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g== +"@babel/compat-data@^7.21.5": + version "7.21.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" + integrity sha512-KYMqFYTaenzMK4yUtf4EW9wc4N9ef80FsbMtkwool5zpwl4YrT1SdWYSTRcT94KO4hannogdS+LxY7L+arP3gA== -"@babel/core@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.4.tgz#c6dc73242507b8e2a27fd13a9c1814f9fa34a659" - integrity sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA== +"@babel/core@^7.21.8": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" + integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.4" - "@babel/helper-compilation-targets" "^7.21.4" - "@babel/helper-module-transforms" "^7.21.2" - "@babel/helpers" "^7.21.0" - "@babel/parser" "^7.21.4" + "@babel/generator" "^7.21.5" + "@babel/helper-compilation-targets" "^7.21.5" + "@babel/helper-module-transforms" "^7.21.5" + "@babel/helpers" "^7.21.5" + "@babel/parser" "^7.21.8" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.4" - "@babel/types" "^7.21.4" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.2" semver "^6.3.0" -"@babel/eslint-parser@^7.21.3": - version "7.21.3" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.21.3.tgz#d79e822050f2de65d7f368a076846e7184234af7" - integrity sha512-kfhmPimwo6k4P8zxNs8+T7yR44q1LdpsZdE1NkCsVlfiuTPRfnGgjaF8Qgug9q9Pou17u6wneYF0lDCZJATMFg== +"@babel/eslint-parser@^7.21.8": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz#59fb6fc4f3b017ab86987c076226ceef7b2b2ef2" + integrity sha512-HLhI+2q+BP3sf78mFUZNCGc10KEmoUqtUT1OCdMZsN+qr4qFeLUod62/zAnF3jNQstwyasDkZnVXwfK2Bml7MQ== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" semver "^6.3.0" -"@babel/generator@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.4.tgz#64a94b7448989f421f919d5239ef553b37bb26bc" - integrity sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA== +"@babel/generator@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" + integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== dependencies: - "@babel/types" "^7.21.4" + "@babel/types" "^7.21.5" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" -"@babel/helper-compilation-targets@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz#770cd1ce0889097ceacb99418ee6934ef0572656" - integrity sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg== +"@babel/helper-compilation-targets@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.5.tgz#631e6cc784c7b660417421349aac304c94115366" + integrity sha512-1RkbFGUKex4lvsB9yhIfWltJM5cZKUftB2eNajaDv3dCMEp49iBG0K14uH8NnX9IPux2+mK7JGEOB0jn48/J6w== dependencies: - "@babel/compat-data" "^7.21.4" + "@babel/compat-data" "^7.21.5" "@babel/helper-validator-option" "^7.21.0" browserslist "^4.21.3" lru-cache "^5.1.1" semver "^6.3.0" -"@babel/helper-environment-visitor@^7.18.9": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" - integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== +"@babel/helper-environment-visitor@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" + integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== "@babel/helper-function-name@^7.21.0": version "7.21.0" @@ -93,33 +93,33 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-module-imports@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== +"@babel/helper-module-imports@^7.21.4": + version "7.21.4" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz#ac88b2f76093637489e718a90cec6cf8a9b029af" + integrity sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg== dependencies: - "@babel/types" "^7.18.6" + "@babel/types" "^7.21.4" -"@babel/helper-module-transforms@^7.21.2": - version "7.21.2" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" - integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== +"@babel/helper-module-transforms@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" + integrity sha512-bI2Z9zBGY2q5yMHoBvJ2a9iX3ZOAzJPm7Q8Yz6YeoUjU/Cvhmi2G4QyTNyPBqqXSgTjUxRg3L0xV45HvkNWWBw== dependencies: - "@babel/helper-environment-visitor" "^7.18.9" - "@babel/helper-module-imports" "^7.18.6" - "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-environment-visitor" "^7.21.5" + "@babel/helper-module-imports" "^7.21.4" + "@babel/helper-simple-access" "^7.21.5" "@babel/helper-split-export-declaration" "^7.18.6" "@babel/helper-validator-identifier" "^7.19.1" "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.2" - "@babel/types" "^7.21.2" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" -"@babel/helper-simple-access@^7.20.2": - version "7.20.2" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" - integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== +"@babel/helper-simple-access@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.21.5.tgz#d697a7971a5c39eac32c7e63c0921c06c8a249ee" + integrity sha512-ENPDAMC1wAjR0uaCUwliBdiSl1KBJAVnMTzXqi64c2MG8MPR6ii4qf7bSXDqSFbr4W6W028/rf5ivoHop5/mkg== dependencies: - "@babel/types" "^7.20.2" + "@babel/types" "^7.21.5" "@babel/helper-split-export-declaration@^7.18.6": version "7.18.6" @@ -128,10 +128,10 @@ dependencies: "@babel/types" "^7.18.6" -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== +"@babel/helper-string-parser@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.21.5.tgz#2b3eea65443c6bdc31c22d037c65f6d323b6b2bd" + integrity sha512-5pTUx3hAJaZIdW99sJ6ZUUgWq/Y+Hja7TowEnLNMm1VivRgZQL3vpBY3qUACVsvw+yQU6+YgfBVmcbLaZtrA1w== "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" @@ -143,14 +143,14 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== -"@babel/helpers@^7.21.0": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" - integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== +"@babel/helpers@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.5.tgz#5bac66e084d7a4d2d9696bdf0175a93f7fb63c08" + integrity sha512-BSY+JSlHxOmGsPTydUkPf1MdMQ3M81x5xGCOVgWM3G8XH77sJ292Y2oqcp0CbbgxhqBuI46iUz1tT7hqP7EfgA== dependencies: "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.0" - "@babel/types" "^7.21.0" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" "@babel/highlight@^7.18.6": version "7.18.6" @@ -161,10 +161,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.20.7", "@babel/parser@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.4.tgz#94003fdfc520bbe2875d4ae557b43ddb6d880f17" - integrity sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw== +"@babel/parser@^7.20.7", "@babel/parser@^7.21.5", "@babel/parser@^7.21.8": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.8.tgz#642af7d0333eab9c0ad70b14ac5e76dbde7bfdf8" + integrity sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA== "@babel/template@^7.20.7": version "7.20.7" @@ -175,28 +175,28 @@ "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" -"@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2", "@babel/traverse@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.4.tgz#a836aca7b116634e97a6ed99976236b3282c9d36" - integrity sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q== +"@babel/traverse@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.5.tgz#ad22361d352a5154b498299d523cf72998a4b133" + integrity sha512-AhQoI3YjWi6u/y/ntv7k48mcrCXmus0t79J9qPNlk/lAsFlCiJ047RmbfMOawySTHtywXhbXgpx/8nXMYd+oFw== dependencies: "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.4" - "@babel/helper-environment-visitor" "^7.18.9" + "@babel/generator" "^7.21.5" + "@babel/helper-environment-visitor" "^7.21.5" "@babel/helper-function-name" "^7.21.0" "@babel/helper-hoist-variables" "^7.18.6" "@babel/helper-split-export-declaration" "^7.18.6" - "@babel/parser" "^7.21.4" - "@babel/types" "^7.21.4" + "@babel/parser" "^7.21.5" + "@babel/types" "^7.21.5" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.18.6", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.21.4": - version "7.21.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.4.tgz#2d5d6bb7908699b3b416409ffd3b5daa25b030d4" - integrity sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA== +"@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" + integrity sha512-m4AfNvVF2mVC/F7fDEdH2El3HzUg9It/XsCxZiOTTA3m3qYfcSVSbTfM6Q9xG+hYDniZssYhlXKKUMD5m8tF4Q== dependencies: - "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-string-parser" "^7.21.5" "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" @@ -2490,10 +2490,10 @@ yargs@^16.0.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.1.0, yargs@^17.7.1: - version "17.7.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.1.tgz#34a77645201d1a8fc5213ace787c220eabbd0967" - integrity sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw== +yargs@^17.1.0, yargs@^17.7.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: cliui "^8.0.1" escalade "^3.1.1"