diff --git a/codemods/codeshift.config.js b/codemods/codeshift.config.js deleted file mode 100644 index 5613a27c..00000000 --- a/codemods/codeshift.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - presets: { - 'use-resource-imports': require.resolve( - './transforms/use-resource-imports' - ), - }, -}; diff --git a/codemods/codeshift.config.ts b/codemods/codeshift.config.ts new file mode 100644 index 00000000..c9c47c84 --- /dev/null +++ b/codemods/codeshift.config.ts @@ -0,0 +1,7 @@ +import useResourceImports from './transforms/use-resource-imports'; + +export default { + presets: { + 'use-resource-imports': useResourceImports, + }, +}; diff --git a/package-lock.json b/package-lock.json index 4f512ff1..42a8b9fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,9 +30,9 @@ "@babel/preset-react": "^7.9.4", "@babel/preset-typescript": "^7.9.0", "@babel/runtime": "^7.9.6", - "@codeshift/cli": "^0.13.0", - "@codeshift/test-utils": "^0.3.0", - "@codeshift/utils": "^0.2.0", + "@codeshift/cli": "^0.15.3", + "@codeshift/test-utils": "^0.3.2", + "@codeshift/utils": "^0.2.5", "@testing-library/jest-dom": "^5.7.0", "@testing-library/react": "^10.0.4", "@types/enzyme": "^3.10.5", @@ -2260,15 +2260,16 @@ "license": "MIT" }, "node_modules/@codeshift/cli": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@codeshift/cli/-/cli-0.13.0.tgz", - "integrity": "sha512-g1+tPuuPXW56pmydu54r1z5266lAyekdJA7vwRCTQzNzFzxevqSkOixNZeanGX8URfd+zdol8iE2Yzmc+8w37A==", + "version": "0.15.3", + "resolved": "https://registry.npmjs.org/@codeshift/cli/-/cli-0.15.3.tgz", + "integrity": "sha512-4iZfvUxCOi8Zpcqm0w7iDokV0IylZCrsmytbfkc90KAdVu9k7C2qJnudFE/3oQiuB/hG4Gpq7KFPx5GpU1jFLg==", "dev": true, "dependencies": { - "@codeshift/fetcher": "^0.2.0", - "@codeshift/initializer": "^0.4.3", + "@codeshift/core": "^0.1.2", + "@codeshift/fetcher": "^0.3.1", + "@codeshift/initializer": "^0.4.9", "@codeshift/types": "*", - "@codeshift/validator": "^0.4.3", + "@codeshift/validator": "^0.5.1", "chalk": "^4.1.0", "commander": "^8.2.0", "find-up": "^5.0.0", @@ -2279,11 +2280,14 @@ "lodash": "^4.17.21", "ora": "^5.4.1", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" }, "bin": { "codeshift": "bin/codeshift-cli.js", "codeshift-cli": "bin/codeshift-cli.js" + }, + "engines": { + "node": ">=14" } }, "node_modules/@codeshift/cli/node_modules/ansi-styles": { @@ -2465,10 +2469,119 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/@codeshift/core": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@codeshift/core/-/core-0.1.4.tgz", + "integrity": "sha512-Z9zkX5QuyeYaztgACPzR4NK+n2XR3wlYKqCAP0VnmoXk6EOEoT21/a9cM/g3vxdPWYyvb1YYvSZ+F5KK6xA/kA==", + "dev": true, + "dependencies": { + "@babel/core": "^7.13.16", + "@babel/parser": "^7.13.16", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8", + "@babel/plugin-proposal-optional-chaining": "^7.13.12", + "@babel/plugin-transform-modules-commonjs": "^7.13.8", + "@babel/preset-flow": "^7.13.13", + "@babel/preset-typescript": "^7.13.16", + "@babel/register": "^7.13.16", + "@types/neo-async": "^2.6.0", + "@types/write-file-atomic": "^4.0.0", + "babel-core": "^7.0.0-bridge.0", + "chalk": "^4.1.0", + "graceful-fs": "^4.2.4", + "jscodeshift": "^0.13.1", + "neo-async": "^2.5.0", + "write-file-atomic": "^2.3.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@codeshift/core/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@codeshift/core/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@codeshift/core/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@codeshift/core/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@codeshift/core/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@codeshift/core/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@codeshift/core/node_modules/write-file-atomic": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", + "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, "node_modules/@codeshift/fetcher": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@codeshift/fetcher/-/fetcher-0.2.0.tgz", - "integrity": "sha512-wQFqsXtSsFoW/mcAK213H2o1kGnyaEgw1p+GP/mdvdAm89tvUtGFd+AF7buP7epVNkU57ZVPQe/Izg8HWgutsw==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@codeshift/fetcher/-/fetcher-0.3.1.tgz", + "integrity": "sha512-bqMaLAst/Xki4wRJtvuvhhWv3M8VUgxDwdT37JKErpDqonmg7/5kRFNycpXEJUb767lluJtSfuUc+6dEc5bmtQ==", "dev": true, "dependencies": { "@codeshift/types": "*", @@ -2476,7 +2589,10 @@ "fs-extra": "^9.1.0", "globby": "^11.1.0", "live-plugin-manager": "^0.15.1", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" + }, + "engines": { + "node": ">=14" } }, "node_modules/@codeshift/fetcher/node_modules/ansi-styles": { @@ -2489,6 +2605,9 @@ }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/@codeshift/fetcher/node_modules/chalk": { @@ -2502,6 +2621,9 @@ }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/@codeshift/fetcher/node_modules/color-convert": { @@ -2580,9 +2702,9 @@ } }, "node_modules/@codeshift/initializer": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@codeshift/initializer/-/initializer-0.4.3.tgz", - "integrity": "sha512-o1U7qy+hcrVJ9/B8YRGuohWkxV/4njj4hA0Q7pTpqgv6O7R81+aUAq/fgmOv3ABMdjJGZLa79ua8iKED0P1NxA==", + "version": "0.4.9", + "resolved": "https://registry.npmjs.org/@codeshift/initializer/-/initializer-0.4.9.tgz", + "integrity": "sha512-kmYtEG5IoiMxakp1PVt8EY/G7/+ib1HTC1QtK/5PBYfTFTYOkhf8C4VbHRV/QaLP0B3G0WHj6qVXn8Fs3zeobw==", "dev": true, "dependencies": { "@codeshift/cli": "*", @@ -2591,7 +2713,10 @@ "fs-extra": "^9.1.0", "recast": "^0.20.4", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" + }, + "engines": { + "node": ">=14" } }, "node_modules/@codeshift/initializer/node_modules/fs-extra": { @@ -2634,9 +2759,9 @@ } }, "node_modules/@codeshift/initializer/node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2664,39 +2789,48 @@ "dev": true }, "node_modules/@codeshift/test-utils": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@codeshift/test-utils/-/test-utils-0.3.0.tgz", - "integrity": "sha512-JzKXmppJgwbi0rt/8ol0FZECk+gDMce4m3q9zoOQT52lDsEQS+ZdSSF9Vkl4uhyej24D2D0KbAdNKLu8W3uqQQ==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@codeshift/test-utils/-/test-utils-0.3.2.tgz", + "integrity": "sha512-Hse6OV1cfRvKNY3Ay0uWMy/tFWyfIvL2E+KFlaSJhWo29OKq3eBYOMwIPbRc4aL7aJpU+pASQEFLNMIK58opRw==", "dev": true, "dependencies": { "jscodeshift": "^0.13.1" + }, + "engines": { + "node": ">=14" } }, "node_modules/@codeshift/types": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@codeshift/types/-/types-0.0.6.tgz", - "integrity": "sha512-ibtZ5NXICu2ios/LwD4UIoea9OmRhjJIGCh7xYGLA0hKWLd1A4QiY6nVUdEhQoGqE81gfX9/ys6X1WvDT0I4+Q==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@codeshift/types/-/types-0.0.7.tgz", + "integrity": "sha512-gG02j2ahYNe+nqn5NwjWK179vWHQYtUoA6aUA6w91iHB0gu616XqHG8cAK2K4OIKyZ9p+63e4FJQyT76T6fQIg==", "dev": true }, "node_modules/@codeshift/utils": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@codeshift/utils/-/utils-0.2.0.tgz", - "integrity": "sha512-8AhU3EEWzck7/8edA5dyKVEgcOL1kwvQkgAvU8cvIVSLRHcuXgmm3ytcO5ViXiVQXuT2WtoWBk8998sZAnowPQ==", - "dev": true + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@codeshift/utils/-/utils-0.2.5.tgz", + "integrity": "sha512-igRBTN/ybRXdsswW6FkE/dhY1ES1yNTXgMF/hwTGZlYng3opUBzfzqnJbxVMIrDP9ZIKIR/ZQHPASvjERoG3zA==", + "dev": true, + "engines": { + "node": ">=14" + } }, "node_modules/@codeshift/validator": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@codeshift/validator/-/validator-0.4.3.tgz", - "integrity": "sha512-Skbp2cGFAHP8sPi9JcEoS2U0Kc2oyGbziwjdcssciSg2w/7iO4Xb8tVM9AJyGJavmK1Q2Q0Zh4pujXDyDdZpkg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@codeshift/validator/-/validator-0.5.1.tgz", + "integrity": "sha512-NGesplvTVvvSx2Xw4ObStwG2blPR3vT8kumS6o1NbAnJNUrj2GaGWAimpKxn2hWKyc26RjnVB5fRuGkewEVOWg==", "dev": true, "dependencies": { - "@codeshift/fetcher": "^0.2.0", - "@codeshift/types": "^0.0.6", + "@codeshift/fetcher": "^0.3.1", + "@codeshift/types": "^0.0.7", "fs-extra": "^9.1.0", "lodash": "^4.17.21", "recast": "^0.20.4", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" + }, + "engines": { + "node": ">=14" } }, "node_modules/@codeshift/validator/node_modules/fs-extra": { @@ -2739,9 +2873,9 @@ } }, "node_modules/@codeshift/validator/node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2768,6 +2902,28 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@definitelytyped/header-parser": { "version": "0.0.122", "resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.122.tgz", @@ -4251,6 +4407,30 @@ "node": ">= 10" } }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, "node_modules/@types/aria-query": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz", @@ -4352,9 +4532,9 @@ } }, "node_modules/@types/debug": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.7.tgz", - "integrity": "sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", + "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", "dev": true, "dependencies": { "@types/ms": "*" @@ -4606,6 +4786,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", "dev": true }, + "node_modules/@types/neo-async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@types/neo-async/-/neo-async-2.6.0.tgz", + "integrity": "sha512-UEjlEGoI9BqRoQiUOL91NJMPfte5xBwKDVhmnrYhaHf9q27F9XtjYEVD5DstSEfeYM1h8klhsUhdmcPMp8chIA==", + "dev": true + }, "node_modules/@types/node": { "version": "18.7.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.6.tgz", @@ -4614,9 +4800,9 @@ "license": "MIT" }, "node_modules/@types/node-fetch": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz", - "integrity": "sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.4.tgz", + "integrity": "sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==", "dev": true, "dependencies": { "@types/node": "*", @@ -4713,9 +4899,9 @@ "license": "MIT" }, "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", "dev": true }, "node_modules/@types/serve-index": { @@ -4793,6 +4979,15 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/write-file-atomic": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/write-file-atomic/-/write-file-atomic-4.0.0.tgz", + "integrity": "sha512-piEKt2KKBUtye+feTlfdPjtW7uPFsAaLNX3/f6AJD+Y1T1YPTFwnqtlO9Y+gy9qGshrvxKa/Kay9vqbyVIuhwQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/ws": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", @@ -16632,9 +16827,9 @@ } }, "node_modules/live-plugin-manager/node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -22369,29 +22564,55 @@ "license": "MIT" }, "node_modules/ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", - "dev": true, - "dependencies": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", "arg": "^4.1.0", "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "source-map-support": "^0.5.17", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "bin": { "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", "ts-node-script": "dist/bin-script.js", "ts-node-transpile-only": "dist/bin-transpile.js", "ts-script": "dist/bin-script-deprecated.js" }, - "engines": { - "node": ">=10.0.0" - }, "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "engines": { + "node": ">=0.4.0" } }, "node_modules/ts-node/node_modules/diff": { @@ -22403,16 +22624,6 @@ "node": ">=0.3.1" } }, - "node_modules/ts-node/node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "node_modules/tsconfig-paths": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", @@ -23129,6 +23340,12 @@ "dev": true, "license": "MIT" }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, "node_modules/v8-to-istanbul": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", @@ -26240,15 +26457,16 @@ "dev": true }, "@codeshift/cli": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@codeshift/cli/-/cli-0.13.0.tgz", - "integrity": "sha512-g1+tPuuPXW56pmydu54r1z5266lAyekdJA7vwRCTQzNzFzxevqSkOixNZeanGX8URfd+zdol8iE2Yzmc+8w37A==", + "version": "0.15.3", + "resolved": "https://registry.npmjs.org/@codeshift/cli/-/cli-0.15.3.tgz", + "integrity": "sha512-4iZfvUxCOi8Zpcqm0w7iDokV0IylZCrsmytbfkc90KAdVu9k7C2qJnudFE/3oQiuB/hG4Gpq7KFPx5GpU1jFLg==", "dev": true, "requires": { - "@codeshift/fetcher": "^0.2.0", - "@codeshift/initializer": "^0.4.3", + "@codeshift/core": "^0.1.2", + "@codeshift/fetcher": "^0.3.1", + "@codeshift/initializer": "^0.4.9", "@codeshift/types": "*", - "@codeshift/validator": "^0.4.3", + "@codeshift/validator": "^0.5.1", "chalk": "^4.1.0", "commander": "^8.2.0", "find-up": "^5.0.0", @@ -26259,7 +26477,7 @@ "lodash": "^4.17.21", "ora": "^5.4.1", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" }, "dependencies": { "ansi-styles": { @@ -26399,10 +26617,97 @@ } } }, + "@codeshift/core": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@codeshift/core/-/core-0.1.4.tgz", + "integrity": "sha512-Z9zkX5QuyeYaztgACPzR4NK+n2XR3wlYKqCAP0VnmoXk6EOEoT21/a9cM/g3vxdPWYyvb1YYvSZ+F5KK6xA/kA==", + "dev": true, + "requires": { + "@babel/core": "^7.13.16", + "@babel/parser": "^7.13.16", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8", + "@babel/plugin-proposal-optional-chaining": "^7.13.12", + "@babel/plugin-transform-modules-commonjs": "^7.13.8", + "@babel/preset-flow": "^7.13.13", + "@babel/preset-typescript": "^7.13.16", + "@babel/register": "^7.13.16", + "@types/neo-async": "^2.6.0", + "@types/write-file-atomic": "^4.0.0", + "babel-core": "^7.0.0-bridge.0", + "chalk": "^4.1.0", + "graceful-fs": "^4.2.4", + "jscodeshift": "^0.13.1", + "neo-async": "^2.5.0", + "write-file-atomic": "^2.3.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "write-file-atomic": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", + "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + } + } + }, "@codeshift/fetcher": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@codeshift/fetcher/-/fetcher-0.2.0.tgz", - "integrity": "sha512-wQFqsXtSsFoW/mcAK213H2o1kGnyaEgw1p+GP/mdvdAm89tvUtGFd+AF7buP7epVNkU57ZVPQe/Izg8HWgutsw==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@codeshift/fetcher/-/fetcher-0.3.1.tgz", + "integrity": "sha512-bqMaLAst/Xki4wRJtvuvhhWv3M8VUgxDwdT37JKErpDqonmg7/5kRFNycpXEJUb767lluJtSfuUc+6dEc5bmtQ==", "dev": true, "requires": { "@codeshift/types": "*", @@ -26410,7 +26715,7 @@ "fs-extra": "^9.1.0", "globby": "^11.1.0", "live-plugin-manager": "^0.15.1", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" }, "dependencies": { "ansi-styles": { @@ -26493,9 +26798,9 @@ } }, "@codeshift/initializer": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@codeshift/initializer/-/initializer-0.4.3.tgz", - "integrity": "sha512-o1U7qy+hcrVJ9/B8YRGuohWkxV/4njj4hA0Q7pTpqgv6O7R81+aUAq/fgmOv3ABMdjJGZLa79ua8iKED0P1NxA==", + "version": "0.4.9", + "resolved": "https://registry.npmjs.org/@codeshift/initializer/-/initializer-0.4.9.tgz", + "integrity": "sha512-kmYtEG5IoiMxakp1PVt8EY/G7/+ib1HTC1QtK/5PBYfTFTYOkhf8C4VbHRV/QaLP0B3G0WHj6qVXn8Fs3zeobw==", "dev": true, "requires": { "@codeshift/cli": "*", @@ -26504,7 +26809,7 @@ "fs-extra": "^9.1.0", "recast": "^0.20.4", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" }, "dependencies": { "fs-extra": { @@ -26539,9 +26844,9 @@ } }, "semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -26562,39 +26867,39 @@ } }, "@codeshift/test-utils": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@codeshift/test-utils/-/test-utils-0.3.0.tgz", - "integrity": "sha512-JzKXmppJgwbi0rt/8ol0FZECk+gDMce4m3q9zoOQT52lDsEQS+ZdSSF9Vkl4uhyej24D2D0KbAdNKLu8W3uqQQ==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@codeshift/test-utils/-/test-utils-0.3.2.tgz", + "integrity": "sha512-Hse6OV1cfRvKNY3Ay0uWMy/tFWyfIvL2E+KFlaSJhWo29OKq3eBYOMwIPbRc4aL7aJpU+pASQEFLNMIK58opRw==", "dev": true, "requires": { "jscodeshift": "^0.13.1" } }, "@codeshift/types": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@codeshift/types/-/types-0.0.6.tgz", - "integrity": "sha512-ibtZ5NXICu2ios/LwD4UIoea9OmRhjJIGCh7xYGLA0hKWLd1A4QiY6nVUdEhQoGqE81gfX9/ys6X1WvDT0I4+Q==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@codeshift/types/-/types-0.0.7.tgz", + "integrity": "sha512-gG02j2ahYNe+nqn5NwjWK179vWHQYtUoA6aUA6w91iHB0gu616XqHG8cAK2K4OIKyZ9p+63e4FJQyT76T6fQIg==", "dev": true }, "@codeshift/utils": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@codeshift/utils/-/utils-0.2.0.tgz", - "integrity": "sha512-8AhU3EEWzck7/8edA5dyKVEgcOL1kwvQkgAvU8cvIVSLRHcuXgmm3ytcO5ViXiVQXuT2WtoWBk8998sZAnowPQ==", + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@codeshift/utils/-/utils-0.2.5.tgz", + "integrity": "sha512-igRBTN/ybRXdsswW6FkE/dhY1ES1yNTXgMF/hwTGZlYng3opUBzfzqnJbxVMIrDP9ZIKIR/ZQHPASvjERoG3zA==", "dev": true }, "@codeshift/validator": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@codeshift/validator/-/validator-0.4.3.tgz", - "integrity": "sha512-Skbp2cGFAHP8sPi9JcEoS2U0Kc2oyGbziwjdcssciSg2w/7iO4Xb8tVM9AJyGJavmK1Q2Q0Zh4pujXDyDdZpkg==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@codeshift/validator/-/validator-0.5.1.tgz", + "integrity": "sha512-NGesplvTVvvSx2Xw4ObStwG2blPR3vT8kumS6o1NbAnJNUrj2GaGWAimpKxn2hWKyc26RjnVB5fRuGkewEVOWg==", "dev": true, "requires": { - "@codeshift/fetcher": "^0.2.0", - "@codeshift/types": "^0.0.6", + "@codeshift/fetcher": "^0.3.1", + "@codeshift/types": "^0.0.7", "fs-extra": "^9.1.0", "lodash": "^4.17.21", "recast": "^0.20.4", "semver": "^7.3.5", - "ts-node": "^9.1.1" + "ts-node": "^10.9.1" }, "dependencies": { "fs-extra": { @@ -26629,9 +26934,9 @@ } }, "semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -26651,6 +26956,27 @@ } } }, + "@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "dependencies": { + "@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + } + } + }, "@definitelytyped/header-parser": { "version": "0.0.122", "resolved": "https://registry.npmjs.org/@definitelytyped/header-parser/-/header-parser-0.0.122.tgz", @@ -27701,6 +28027,30 @@ "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true }, + "@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, "@types/aria-query": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz", @@ -27796,9 +28146,9 @@ } }, "@types/debug": { - "version": "4.1.7", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.7.tgz", - "integrity": "sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==", + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", + "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", "dev": true, "requires": { "@types/ms": "*" @@ -28023,6 +28373,12 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", "dev": true }, + "@types/neo-async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@types/neo-async/-/neo-async-2.6.0.tgz", + "integrity": "sha512-UEjlEGoI9BqRoQiUOL91NJMPfte5xBwKDVhmnrYhaHf9q27F9XtjYEVD5DstSEfeYM1h8klhsUhdmcPMp8chIA==", + "dev": true + }, "@types/node": { "version": "18.7.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.6.tgz", @@ -28030,9 +28386,9 @@ "dev": true }, "@types/node-fetch": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz", - "integrity": "sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.4.tgz", + "integrity": "sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==", "dev": true, "requires": { "@types/node": "*", @@ -28121,9 +28477,9 @@ "dev": true }, "@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", "dev": true }, "@types/serve-index": { @@ -28197,6 +28553,15 @@ "integrity": "sha512-zqqcGKyNWgTLFBxmaexGUKQyWqeG7HjXj20EuQJSJWwXe54BjX0ihIo5cJB9yAQzH8dNugJ9GvkBYMjPXs/PJw==", "dev": true }, + "@types/write-file-atomic": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/write-file-atomic/-/write-file-atomic-4.0.0.tgz", + "integrity": "sha512-piEKt2KKBUtye+feTlfdPjtW7uPFsAaLNX3/f6AJD+Y1T1YPTFwnqtlO9Y+gy9qGshrvxKa/Kay9vqbyVIuhwQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/ws": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", @@ -36690,9 +37055,9 @@ } }, "semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -40920,34 +41285,37 @@ "dev": true }, "ts-node": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", - "integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==", - "dev": true, - "requires": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "dev": true, + "requires": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", "arg": "^4.1.0", "create-require": "^1.1.0", "diff": "^4.0.1", "make-error": "^1.1.1", - "source-map-support": "^0.5.17", + "v8-compile-cache-lib": "^3.0.1", "yn": "3.1.1" }, "dependencies": { + "acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true + }, "diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true - }, - "source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } } } }, @@ -41468,6 +41836,12 @@ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, + "v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, "v8-to-istanbul": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", diff --git a/package.json b/package.json index ea5e2199..fd0d3466 100644 --- a/package.json +++ b/package.json @@ -86,9 +86,9 @@ "@babel/preset-react": "^7.9.4", "@babel/preset-typescript": "^7.9.0", "@babel/runtime": "^7.9.6", - "@codeshift/cli": "^0.13.0", - "@codeshift/test-utils": "^0.3.0", - "@codeshift/utils": "^0.2.0", + "@codeshift/cli": "^0.15.3", + "@codeshift/test-utils": "^0.3.2", + "@codeshift/utils": "^0.2.5", "@testing-library/jest-dom": "^5.7.0", "@testing-library/react": "^10.0.4", "@types/enzyme": "^3.10.5",