Skip to content

Commit 704dbd2

Browse files
greatsage-raphaelljharb
authored andcommitted
Default-rule switched to parsers.all
Meeting with Jordan default-rule with parsers.all parserOptions for failing tests
1 parent e96dbc1 commit 704dbd2

3 files changed

Lines changed: 191 additions & 204 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"npm-which": "^3.0.1",
8989
"nyc": "^11.9.0",
9090
"object.entries": "^1.1.5",
91+
"object.fromentries": "^2.0.5",
9192
"redux": "^3.7.2",
9293
"rimraf": "^2.7.1",
9394
"safe-publish-latest": "^2.0.0",

tests/src/parsers.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ const parsers = {
132132
|| features.has('flow')
133133
|| features.has('ts')
134134
|| features.has('types')
135-
|| (features.has('fragment') && semver.satisfies(version, '< 5'));
135+
//if it has fragments use version 5 and higher // create features for export from
136+
|| (features.has('fragment') && semver.satisfies(version, '< 5'))
137+
|| features.has('');
136138

137139
const skipBabel = features.has('no-babel');
138140
const skipOldBabel = skipBabel || features.has('no-babel-old') || semver.satisfies(version, '>= 8');

0 commit comments

Comments
 (0)