Update dev dependencies and fix linting errors (#10228)

* chore: Uppate dev dependencies

* chore: Fix lint errors

* chore: Format options.json files

* chore: Fix stupid flow errors

* Update test262 whitelist

Seems test262-stream was updated and now these tests work.
This commit is contained in:
Daniel Tschinder
2019-07-27 15:09:30 +02:00
committed by GitHub
parent 6a9d2538e0
commit 4f0840ab88
242 changed files with 2866 additions and 1719 deletions

View File

@@ -314,9 +314,7 @@ export default declare((api, options, dirname) => {
node.callee = t.memberExpression(
t.callExpression(
this.addDefaultImport(
`${moduleName}/${corejsRoot}/instance/${
InstanceProperties[propertyName].path
}`,
`${moduleName}/${corejsRoot}/instance/${InstanceProperties[propertyName].path}`,
`${propertyName}InstanceProperty`,
),
[context2],
@@ -407,9 +405,7 @@ export default declare((api, options, dirname) => {
path.replaceWith(
t.callExpression(
this.addDefaultImport(
`${moduleName}/${corejsRoot}/instance/${
InstanceProperties[propertyName].path
}`,
`${moduleName}/${corejsRoot}/instance/${InstanceProperties[propertyName].path}`,
`${propertyName}InstanceProperty`,
),
[object],
@@ -421,9 +417,7 @@ export default declare((api, options, dirname) => {
path.replaceWith(
this.addDefaultImport(
`${modulePath}/${corejsRoot}/${
StaticProperties[objectName][propertyName].path
}`,
`${modulePath}/${corejsRoot}/${StaticProperties[objectName][propertyName].path}`,
`${objectName}$${propertyName}`,
),
);

View File

@@ -1,3 +1,5 @@
{
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
"plugins": [
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
]
}

View File

@@ -1,3 +1,5 @@
{
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
"plugins": [
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
]
}

View File

@@ -1,3 +1,5 @@
{
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
"plugins": [
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
]
}