Skip to content

Commit 5a1a104

Browse files
lencioniskovhus
andauthored
Use ^ semver ranges for dependencies (#324)
* Use ^ semver ranges for dependencies This is a small followup to #323 Using ^ will allow projects that consume this package as a dependency to be more flexible with the versions of these dependencies. * Bump version to 0.29 Co-authored-by: Kenneth Skovhus <skovhus@users.noreply.github.com>
1 parent 191cbe2 commit 5a1a104

File tree

2 files changed

+61
-61
lines changed

2 files changed

+61
-61
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-codemods",
3-
"version": "0.28.0",
3+
"version": "0.29.0",
44
"description": "Codemods for migrating test files to Jest",
55
"license": "MIT",
66
"repository": "skovhus/jest-codemods",
@@ -53,16 +53,16 @@
5353
"codemods"
5454
],
5555
"dependencies": {
56-
"@babel/core": "7.18.6",
57-
"@babel/preset-env": "7.18.6",
58-
"chalk": "4.1.2",
59-
"execa": "4.1.0",
60-
"globby": "11.1.0",
61-
"inquirer": "8.2.4",
62-
"is-git-clean": "1.1.0",
63-
"jscodeshift": "0.13.1",
64-
"meow": "7.1.1",
65-
"update-notifier": "5.1.0"
56+
"@babel/core": "^7.18.6",
57+
"@babel/preset-env": "^7.18.6",
58+
"chalk": "^4.1.2",
59+
"execa": "^4.1.0",
60+
"globby": "^11.1.0",
61+
"inquirer": "^8.2.4",
62+
"is-git-clean": "^1.1.0",
63+
"jscodeshift": "^0.13.1",
64+
"meow": "^7.1.1",
65+
"update-notifier": "^5.1.0"
6666
},
6767
"devDependencies": {
6868
"@types/jest": "28.1.4",

yarn.lock

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -57,27 +57,6 @@
5757
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.18.6.tgz#8b37d24e88e8e21c499d4328db80577d8882fa53"
5858
integrity sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==
5959

60-
"@babel/core@7.18.6":
61-
version "7.18.6"
62-
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.6.tgz#54a107a3c298aee3fe5e1947a6464b9b6faca03d"
63-
integrity sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==
64-
dependencies:
65-
"@ampproject/remapping" "^2.1.0"
66-
"@babel/code-frame" "^7.18.6"
67-
"@babel/generator" "^7.18.6"
68-
"@babel/helper-compilation-targets" "^7.18.6"
69-
"@babel/helper-module-transforms" "^7.18.6"
70-
"@babel/helpers" "^7.18.6"
71-
"@babel/parser" "^7.18.6"
72-
"@babel/template" "^7.18.6"
73-
"@babel/traverse" "^7.18.6"
74-
"@babel/types" "^7.18.6"
75-
convert-source-map "^1.7.0"
76-
debug "^4.1.0"
77-
gensync "^1.0.0-beta.2"
78-
json5 "^2.2.1"
79-
semver "^6.3.0"
80-
8160
"@babel/core@^7.11.6":
8261
version "7.17.10"
8362
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.10.tgz#74ef0fbf56b7dfc3f198fc2d927f4f03e12f4b05"
@@ -141,6 +120,27 @@
141120
semver "^6.3.0"
142121
source-map "^0.5.0"
143122

123+
"@babel/core@^7.18.6":
124+
version "7.18.6"
125+
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.6.tgz#54a107a3c298aee3fe5e1947a6464b9b6faca03d"
126+
integrity sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==
127+
dependencies:
128+
"@ampproject/remapping" "^2.1.0"
129+
"@babel/code-frame" "^7.18.6"
130+
"@babel/generator" "^7.18.6"
131+
"@babel/helper-compilation-targets" "^7.18.6"
132+
"@babel/helper-module-transforms" "^7.18.6"
133+
"@babel/helpers" "^7.18.6"
134+
"@babel/parser" "^7.18.6"
135+
"@babel/template" "^7.18.6"
136+
"@babel/traverse" "^7.18.6"
137+
"@babel/types" "^7.18.6"
138+
convert-source-map "^1.7.0"
139+
debug "^4.1.0"
140+
gensync "^1.0.0-beta.2"
141+
json5 "^2.2.1"
142+
semver "^6.3.0"
143+
144144
"@babel/generator@^7.16.7":
145145
version "7.16.7"
146146
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.7.tgz#b42bf46a3079fa65e1544135f32e7958f048adbb"
@@ -1307,7 +1307,7 @@
13071307
"@babel/helper-create-regexp-features-plugin" "^7.18.6"
13081308
"@babel/helper-plugin-utils" "^7.18.6"
13091309

1310-
"@babel/preset-env@7.18.6":
1310+
"@babel/preset-env@^7.18.6":
13111311
version "7.18.6"
13121312
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.6.tgz#953422e98a5f66bc56cd0b9074eaea127ec86ace"
13131313
integrity sha512-WrthhuIIYKrEFAwttYzgRNQ5hULGmwTj+D6l7Zdfsv5M7IWV/OZbUfbeL++Qrzx1nVJwWROIFhCHRYQV4xbPNw==
@@ -2728,14 +2728,6 @@ caniuse-lite@^1.0.30001332:
27282728
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001339.tgz#f9aece4ea8156071613b27791547ba0b33f176cf"
27292729
integrity sha512-Es8PiVqCe+uXdms0Gu5xP5PF2bxLR7OBp3wUzUnuO7OHzhOfCyg3hdiGWVPVxhiuniOzng+hTc1u3fEQ0TlkSQ==
27302730

2731-
chalk@4.1.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2:
2732-
version "4.1.2"
2733-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
2734-
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
2735-
dependencies:
2736-
ansi-styles "^4.1.0"
2737-
supports-color "^7.1.0"
2738-
27392731
chalk@^2.0.0:
27402732
version "2.4.2"
27412733
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -2761,6 +2753,14 @@ chalk@^4.0.0:
27612753
ansi-styles "^4.1.0"
27622754
supports-color "^7.1.0"
27632755

2756+
chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2:
2757+
version "4.1.2"
2758+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
2759+
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
2760+
dependencies:
2761+
ansi-styles "^4.1.0"
2762+
supports-color "^7.1.0"
2763+
27642764
char-regex@^1.0.2:
27652765
version "1.0.2"
27662766
resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
@@ -3393,7 +3393,19 @@ esutils@^2.0.2:
33933393
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
33943394
integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
33953395

3396-
execa@4.1.0:
3396+
execa@^0.4.0:
3397+
version "0.4.0"
3398+
resolved "https://registry.yarnpkg.com/execa/-/execa-0.4.0.tgz#4eb6467a36a095fabb2970ff9d5e3fb7bce6ebc3"
3399+
integrity sha1-TrZGejaglfq7KXD/nV4/t7zm68M=
3400+
dependencies:
3401+
cross-spawn-async "^2.1.1"
3402+
is-stream "^1.1.0"
3403+
npm-run-path "^1.0.0"
3404+
object-assign "^4.0.1"
3405+
path-key "^1.0.0"
3406+
strip-eof "^1.0.0"
3407+
3408+
execa@^4.1.0:
33973409
version "4.1.0"
33983410
resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a"
33993411
integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==
@@ -3408,18 +3420,6 @@ execa@4.1.0:
34083420
signal-exit "^3.0.2"
34093421
strip-final-newline "^2.0.0"
34103422

3411-
execa@^0.4.0:
3412-
version "0.4.0"
3413-
resolved "https://registry.yarnpkg.com/execa/-/execa-0.4.0.tgz#4eb6467a36a095fabb2970ff9d5e3fb7bce6ebc3"
3414-
integrity sha1-TrZGejaglfq7KXD/nV4/t7zm68M=
3415-
dependencies:
3416-
cross-spawn-async "^2.1.1"
3417-
is-stream "^1.1.0"
3418-
npm-run-path "^1.0.0"
3419-
object-assign "^4.0.1"
3420-
path-key "^1.0.0"
3421-
strip-eof "^1.0.0"
3422-
34233423
execa@^5.0.0:
34243424
version "5.1.1"
34253425
resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd"
@@ -3786,7 +3786,7 @@ globals@^13.15.0:
37863786
dependencies:
37873787
type-fest "^0.20.2"
37883788

3789-
globby@11.1.0, globby@^11.0.4, globby@^11.1.0:
3789+
globby@^11.0.4, globby@^11.1.0:
37903790
version "11.1.0"
37913791
resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
37923792
integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
@@ -4031,7 +4031,7 @@ ini@~1.3.0:
40314031
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84"
40324032
integrity sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==
40334033

4034-
inquirer@8.2.4:
4034+
inquirer@^8.2.4:
40354035
version "8.2.4"
40364036
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4"
40374037
integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==
@@ -4159,10 +4159,10 @@ is-generator-fn@^2.0.0:
41594159
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
41604160
integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==
41614161

4162-
is-git-clean@1.1.0:
4162+
is-git-clean@^1.1.0:
41634163
version "1.1.0"
41644164
resolved "https://registry.yarnpkg.com/is-git-clean/-/is-git-clean-1.1.0.tgz#13abd6dda711bb08aafd42604da487845ddcf88d"
4165-
integrity sha1-E6vW3acRuwiq/UJgTaSHhF3c+I0=
4165+
integrity sha512-1aodl49sbfsEV8GsIhw5lJdqObgQFLSUB2TSOXNYujCD322chTJPBIY+Q1NjXSM4V7rGh6vrWyKidIcGaVae6g==
41664166
dependencies:
41674167
execa "^0.4.0"
41684168
is-obj "^1.0.1"
@@ -4746,7 +4746,7 @@ js-yaml@^4.1.0:
47464746
dependencies:
47474747
argparse "^2.0.1"
47484748

4749-
jscodeshift@0.13.1:
4749+
jscodeshift@^0.13.1:
47504750
version "0.13.1"
47514751
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.13.1.tgz#69bfe51e54c831296380585c6d9e733512aecdef"
47524752
integrity sha512-lGyiEbGOvmMRKgWk4vf+lUrCWO/8YR8sUR3FKF1Cq5fovjZDlIcw3Hu5ppLHAnEXshVffvaM0eyuY/AbOeYpnQ==
@@ -5049,7 +5049,7 @@ map-visit@^1.0.0:
50495049
dependencies:
50505050
object-visit "^1.0.0"
50515051

5052-
meow@7.1.1:
5052+
meow@^7.1.1:
50535053
version "7.1.1"
50545054
resolved "https://registry.yarnpkg.com/meow/-/meow-7.1.1.tgz#7c01595e3d337fcb0ec4e8eed1666ea95903d306"
50555055
integrity sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==
@@ -6683,7 +6683,7 @@ unset-value@^1.0.0:
66836683
has-value "^0.3.1"
66846684
isobject "^3.0.0"
66856685

6686-
update-notifier@5.1.0:
6686+
update-notifier@^5.1.0:
66876687
version "5.1.0"
66886688
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9"
66896689
integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw==

0 commit comments

Comments
 (0)