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:
@@ -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}`,
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
|
||||
"plugins": [
|
||||
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
|
||||
"plugins": [
|
||||
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{
|
||||
"plugins": [["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]]
|
||||
"plugins": [
|
||||
["transform-runtime", { "corejs": { "version": 3, "proposals": true } }]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user