Revert bump to babel 51 (babel/babel-eslint#640)
This commit is contained in:
parent
92507e598f
commit
9342a5b74c
@ -3,6 +3,7 @@ language: node_js
|
|||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
- "6"
|
- "6"
|
||||||
|
- "4"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var babylonToEspree = require("./babylon-to-espree");
|
var babylonToEspree = require("./babylon-to-espree");
|
||||||
var parse = require("@babel/parser").parse;
|
var parse = require("babylon").parse;
|
||||||
var tt = require("@babel/parser").tokTypes;
|
var tt = require("babylon").tokTypes;
|
||||||
var traverse = require("@babel/traverse").default;
|
var traverse = require("@babel/traverse").default;
|
||||||
var codeFrameColumns = require("@babel/code-frame").codeFrameColumns;
|
var codeFrameColumns = require("@babel/code-frame").codeFrameColumns;
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ module.exports = function(code, options) {
|
|||||||
"asyncGenerators",
|
"asyncGenerators",
|
||||||
"classConstructorCall",
|
"classConstructorCall",
|
||||||
"classProperties",
|
"classProperties",
|
||||||
"decorators-legacy",
|
"decorators",
|
||||||
"doExpressions",
|
"doExpressions",
|
||||||
"exponentiationOperator",
|
"exponentiationOperator",
|
||||||
"exportDefaultFrom",
|
"exportDefaultFrom",
|
||||||
|
|||||||
@ -11,10 +11,10 @@
|
|||||||
"url": "https://github.com/babel/babel-eslint.git"
|
"url": "https://github.com/babel/babel-eslint.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/code-frame": "7.0.0-beta.51",
|
"@babel/code-frame": "7.0.0-beta.44",
|
||||||
"@babel/parser": "7.0.0-beta.51",
|
"@babel/traverse": "7.0.0-beta.44",
|
||||||
"@babel/traverse": "7.0.0-beta.51",
|
"@babel/types": "7.0.0-beta.44",
|
||||||
"@babel/types": "7.0.0-beta.51",
|
"babylon": "7.0.0-beta.44",
|
||||||
"eslint-scope": "~3.7.1",
|
"eslint-scope": "~3.7.1",
|
||||||
"eslint-visitor-keys": "^1.0.0"
|
"eslint-visitor-keys": "^1.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -10,19 +10,19 @@
|
|||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
js-tokens "^3.0.0"
|
js-tokens "^3.0.0"
|
||||||
|
|
||||||
"@babel/code-frame@7.0.0-beta.51":
|
"@babel/code-frame@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.51.tgz#bd71d9b192af978df915829d39d4094456439a0c"
|
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.44.tgz#2a02643368de80916162be70865c97774f3adbd9"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/highlight" "7.0.0-beta.51"
|
"@babel/highlight" "7.0.0-beta.44"
|
||||||
|
|
||||||
"@babel/generator@7.0.0-beta.51":
|
"@babel/generator@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.51.tgz#6c7575ffde761d07485e04baedc0392c6d9e30f6"
|
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.0.0-beta.44.tgz#c7e67b9b5284afcf69b309b50d7d37f3e5033d42"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
jsesc "^2.5.1"
|
jsesc "^2.5.1"
|
||||||
lodash "^4.17.5"
|
lodash "^4.2.0"
|
||||||
source-map "^0.5.0"
|
source-map "^0.5.0"
|
||||||
trim-right "^1.0.1"
|
trim-right "^1.0.1"
|
||||||
|
|
||||||
@ -34,13 +34,13 @@
|
|||||||
"@babel/template" "7.0.0-beta.36"
|
"@babel/template" "7.0.0-beta.36"
|
||||||
"@babel/types" "7.0.0-beta.36"
|
"@babel/types" "7.0.0-beta.36"
|
||||||
|
|
||||||
"@babel/helper-function-name@7.0.0-beta.51":
|
"@babel/helper-function-name@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.51.tgz#21b4874a227cf99ecafcc30a90302da5a2640561"
|
resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.44.tgz#e18552aaae2231100a6e485e03854bc3532d44dd"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/helper-get-function-arity" "7.0.0-beta.51"
|
"@babel/helper-get-function-arity" "7.0.0-beta.44"
|
||||||
"@babel/template" "7.0.0-beta.51"
|
"@babel/template" "7.0.0-beta.44"
|
||||||
"@babel/types" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
|
|
||||||
"@babel/helper-get-function-arity@7.0.0-beta.36":
|
"@babel/helper-get-function-arity@7.0.0-beta.36":
|
||||||
version "7.0.0-beta.36"
|
version "7.0.0-beta.36"
|
||||||
@ -48,30 +48,26 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "7.0.0-beta.36"
|
"@babel/types" "7.0.0-beta.36"
|
||||||
|
|
||||||
"@babel/helper-get-function-arity@7.0.0-beta.51":
|
"@babel/helper-get-function-arity@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.51.tgz#3281b2d045af95c172ce91b20825d85ea4676411"
|
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.44.tgz#d03ca6dd2b9f7b0b1e6b32c56c72836140db3a15"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
|
|
||||||
"@babel/helper-split-export-declaration@7.0.0-beta.51":
|
"@babel/helper-split-export-declaration@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.51.tgz#8a6c3f66c4d265352fc077484f9f6e80a51ab978"
|
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.44.tgz#c0b351735e0fbcb3822c8ad8db4e583b05ebd9dc"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/types" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
|
|
||||||
"@babel/highlight@7.0.0-beta.51":
|
"@babel/highlight@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.51.tgz#e8844ae25a1595ccfd42b89623b4376ca06d225d"
|
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.44.tgz#18c94ce543916a80553edcdcf681890b200747d5"
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk "^2.0.0"
|
chalk "^2.0.0"
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
js-tokens "^3.0.0"
|
js-tokens "^3.0.0"
|
||||||
|
|
||||||
"@babel/parser@7.0.0-beta.51":
|
|
||||||
version "7.0.0-beta.51"
|
|
||||||
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0-beta.51.tgz#27cec2df409df60af58270ed8f6aa55409ea86f6"
|
|
||||||
|
|
||||||
"@babel/template@7.0.0-beta.36":
|
"@babel/template@7.0.0-beta.36":
|
||||||
version "7.0.0-beta.36"
|
version "7.0.0-beta.36"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.36.tgz#02e903de5d68bd7899bce3c5b5447e59529abb00"
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.36.tgz#02e903de5d68bd7899bce3c5b5447e59529abb00"
|
||||||
@ -81,14 +77,14 @@
|
|||||||
babylon "7.0.0-beta.36"
|
babylon "7.0.0-beta.36"
|
||||||
lodash "^4.2.0"
|
lodash "^4.2.0"
|
||||||
|
|
||||||
"@babel/template@7.0.0-beta.51":
|
"@babel/template@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.51.tgz#9602a40aebcf357ae9677e2532ef5fc810f5fbff"
|
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/code-frame" "7.0.0-beta.51"
|
"@babel/code-frame" "7.0.0-beta.44"
|
||||||
"@babel/parser" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
"@babel/types" "7.0.0-beta.51"
|
babylon "7.0.0-beta.44"
|
||||||
lodash "^4.17.5"
|
lodash "^4.2.0"
|
||||||
|
|
||||||
"@babel/traverse@7.0.0-beta.36":
|
"@babel/traverse@7.0.0-beta.36":
|
||||||
version "7.0.0-beta.36"
|
version "7.0.0-beta.36"
|
||||||
@ -103,20 +99,20 @@
|
|||||||
invariant "^2.2.0"
|
invariant "^2.2.0"
|
||||||
lodash "^4.2.0"
|
lodash "^4.2.0"
|
||||||
|
|
||||||
"@babel/traverse@7.0.0-beta.51":
|
"@babel/traverse@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.51.tgz#981daf2cec347a6231d3aa1d9e1803b03aaaa4a8"
|
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.44.tgz#a970a2c45477ad18017e2e465a0606feee0d2966"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/code-frame" "7.0.0-beta.51"
|
"@babel/code-frame" "7.0.0-beta.44"
|
||||||
"@babel/generator" "7.0.0-beta.51"
|
"@babel/generator" "7.0.0-beta.44"
|
||||||
"@babel/helper-function-name" "7.0.0-beta.51"
|
"@babel/helper-function-name" "7.0.0-beta.44"
|
||||||
"@babel/helper-split-export-declaration" "7.0.0-beta.51"
|
"@babel/helper-split-export-declaration" "7.0.0-beta.44"
|
||||||
"@babel/parser" "7.0.0-beta.51"
|
"@babel/types" "7.0.0-beta.44"
|
||||||
"@babel/types" "7.0.0-beta.51"
|
babylon "7.0.0-beta.44"
|
||||||
debug "^3.1.0"
|
debug "^3.1.0"
|
||||||
globals "^11.1.0"
|
globals "^11.1.0"
|
||||||
invariant "^2.2.0"
|
invariant "^2.2.0"
|
||||||
lodash "^4.17.5"
|
lodash "^4.2.0"
|
||||||
|
|
||||||
"@babel/types@7.0.0-beta.36":
|
"@babel/types@7.0.0-beta.36":
|
||||||
version "7.0.0-beta.36"
|
version "7.0.0-beta.36"
|
||||||
@ -126,12 +122,12 @@
|
|||||||
lodash "^4.2.0"
|
lodash "^4.2.0"
|
||||||
to-fast-properties "^2.0.0"
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
"@babel/types@7.0.0-beta.51":
|
"@babel/types@7.0.0-beta.44":
|
||||||
version "7.0.0-beta.51"
|
version "7.0.0-beta.44"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.51.tgz#d802b7b543b5836c778aa691797abf00f3d97ea9"
|
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.0.0-beta.44.tgz#6b1b164591f77dec0a0342aca995f2d046b3a757"
|
||||||
dependencies:
|
dependencies:
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
lodash "^4.17.5"
|
lodash "^4.2.0"
|
||||||
to-fast-properties "^2.0.0"
|
to-fast-properties "^2.0.0"
|
||||||
|
|
||||||
acorn-jsx@^3.0.0:
|
acorn-jsx@^3.0.0:
|
||||||
@ -242,6 +238,10 @@ babylon@7.0.0-beta.36:
|
|||||||
version "7.0.0-beta.36"
|
version "7.0.0-beta.36"
|
||||||
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.36.tgz#3a3683ba6a9a1e02b0aa507c8e63435e39305b9e"
|
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.36.tgz#3a3683ba6a9a1e02b0aa507c8e63435e39305b9e"
|
||||||
|
|
||||||
|
babylon@7.0.0-beta.44:
|
||||||
|
version "7.0.0-beta.44"
|
||||||
|
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.44.tgz#89159e15e6e30c5096e22d738d8c0af8a0e8ca1d"
|
||||||
|
|
||||||
balanced-match@^1.0.0:
|
balanced-match@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
||||||
@ -1121,10 +1121,6 @@ lodash@^4.15.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0:
|
|||||||
version "4.17.5"
|
version "4.17.5"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
|
||||||
|
|
||||||
lodash@^4.17.5:
|
|
||||||
version "4.17.10"
|
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7"
|
|
||||||
|
|
||||||
log-symbols@^1.0.2:
|
log-symbols@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user