Skip to content

Commit 924e891

Browse files
committed
Update babel-plugin-tester
1 parent fced06a commit 924e891

File tree

3 files changed

+29
-17
lines changed

3 files changed

+29
-17
lines changed

packages/babel-plugin-react-native-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"main": "index.js",
99
"devDependencies": {
1010
"babel-core": "^6.26.3",
11-
"babel-plugin-tester": "^5.0.0"
11+
"babel-plugin-tester": "^7.0.4"
1212
},
1313
"author": "Nicolas Gallagher",
1414
"license": "MIT",

packages/babel-plugin-react-native-web/src/__tests__/index-test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ const { ColorPropType, StyleSheet, View, TouchableOpacity, processColor } = requ
6464
];
6565

6666
pluginTester({
67+
babelOptions: {
68+
generatorOpts: {
69+
jsescOption: {
70+
quotes: 'single'
71+
}
72+
}
73+
},
6774
plugin,
6875
tests
6976
});

yarn.lock

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3396,16 +3396,13 @@ [email protected], babel-plugin-syntax-jsx@^6.18.0:
33963396
version "6.18.0"
33973397
resolved "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
33983398

3399-
babel-plugin-tester@^5.0.0:
3400-
version "5.5.2"
3401-
resolved "https://registry.yarnpkg.com/babel-plugin-tester/-/babel-plugin-tester-5.5.2.tgz#593ab7978d30450c1b3ebf4aa9c884b04952fe09"
3402-
integrity sha512-Ycsy0wTxKZtKagDYGzuB5YlaY6nmKmbgOvPoEcrRvDLTpMEQZuD3mc+MZ7pO7TG18E2pEJRjRWv6h7FJmbe6rQ==
3399+
babel-plugin-tester@^7.0.4:
3400+
version "7.0.4"
3401+
resolved "https://registry.yarnpkg.com/babel-plugin-tester/-/babel-plugin-tester-7.0.4.tgz#a5e1156a69635a973de2451f0722aceb401deb86"
3402+
integrity sha512-ZKhOa0aaaPNQVOZjxJ4svy8lIKjHswzCNxv3WROmirlFz+5IM22hzNg+p4MGC/C3Tv3sX5JfYSKJIcUE9aPdsA==
34033403
dependencies:
3404-
common-tags "^1.4.0"
3405-
invariant "^2.2.2"
3406-
lodash.merge "^4.6.0"
3407-
path-exists "^3.0.0"
3408-
strip-indent "^2.0.0"
3404+
lodash.mergewith "^4.6.2"
3405+
strip-indent "^3.0.0"
34093406

34103407
babel-plugin-transform-inline-consecutive-adds@^0.4.3:
34113408
version "0.4.3"
@@ -4409,10 +4406,6 @@ commander@~2.17.1:
44094406
version "2.17.1"
44104407
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
44114408

4412-
common-tags@^1.4.0:
4413-
version "1.8.0"
4414-
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
4415-
44164409
commondir@^1.0.1:
44174410
version "1.0.1"
44184411
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
@@ -8842,10 +8835,10 @@ lodash.memoize@^4.1.2:
88428835
version "4.1.2"
88438836
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
88448837

8845-
lodash.merge@^4.6.0:
8838+
lodash.mergewith@^4.6.2:
88468839
version "4.6.2"
8847-
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
8848-
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
8840+
resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55"
8841+
integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==
88498842

88508843
lodash.sortby@^4.7.0:
88518844
version "4.7.0"
@@ -9334,6 +9327,11 @@ min-document@^2.19.0:
93349327
dependencies:
93359328
dom-walk "^0.1.0"
93369329

9330+
min-indent@^1.0.0:
9331+
version "1.0.0"
9332+
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.0.tgz#cfc45c37e9ec0d8f0a0ec3dd4ef7f7c3abe39256"
9333+
integrity sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=
9334+
93379335
mini-css-extract-plugin@^0.8.0:
93389336
version "0.8.0"
93399337
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz#81d41ec4fe58c713a96ad7c723cdb2d0bd4d70e1"
@@ -12777,6 +12775,13 @@ strip-indent@^2.0.0:
1277712775
version "2.0.0"
1277812776
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
1277912777

12778+
strip-indent@^3.0.0:
12779+
version "3.0.0"
12780+
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001"
12781+
integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==
12782+
dependencies:
12783+
min-indent "^1.0.0"
12784+
1278012785
strip-json-comments@^3.0.1:
1278112786
version "3.0.1"
1278212787
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7"

0 commit comments

Comments
 (0)