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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
242 changed files with 2866 additions and 1719 deletions

View File

@ -32,13 +32,13 @@
"derequire": "^2.0.2", "derequire": "^2.0.2",
"duplicate-package-checker-webpack-plugin": "^2.1.0", "duplicate-package-checker-webpack-plugin": "^2.1.0",
"enhanced-resolve": "^3.0.0", "enhanced-resolve": "^3.0.0",
"eslint": "^5.16.0", "eslint": "^6.0.1",
"eslint-config-babel": "^9.0.0", "eslint-config-babel": "^9.0.0",
"eslint-plugin-flowtype": "^3.8.2", "eslint-plugin-flowtype": "^3.8.2",
"eslint-plugin-import": "^2.17.2", "eslint-plugin-import": "^2.17.2",
"eslint-plugin-prettier": "^3.1.0", "eslint-plugin-prettier": "^3.1.0",
"fancy-log": "^1.3.3", "fancy-log": "^1.3.3",
"flow-bin": "^0.94.0", "flow-bin": "^0.102.0",
"graceful-fs": "^4.1.15", "graceful-fs": "^4.1.15",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-babel": "^8.0.0", "gulp-babel": "^8.0.0",
@ -48,11 +48,11 @@
"gulp-rename": "^1.4.0", "gulp-rename": "^1.4.0",
"gulp-uglify": "^3.0.2", "gulp-uglify": "^3.0.2",
"gulp-watch": "^5.0.1", "gulp-watch": "^5.0.1",
"husky": "^2.3.0", "husky": "^3.0.0",
"jest": "^24.8.0", "jest": "^24.8.0",
"lerna": "^3.14.2", "lerna": "^3.14.2",
"lerna-changelog": "^0.5.0", "lerna-changelog": "^0.5.0",
"lint-staged": "^8.1.7", "lint-staged": "^9.2.0",
"lodash": "^4.17.13", "lodash": "^4.17.13",
"merge-stream": "^1.0.1", "merge-stream": "^1.0.1",
"output-file-sync": "^2.0.0", "output-file-sync": "^2.0.0",

View File

@ -92,7 +92,7 @@ const assertTest = function(stdout, stderr, opts, cwd) {
if ( if (
// saveInFiles always creates an empty .babelrc, so lets exclude for now // saveInFiles always creates an empty .babelrc, so lets exclude for now
filename !== ".babelrc" && filename !== ".babelrc" &&
!opts.inFiles.hasOwnProperty(filename) !Object.prototype.hasOwnProperty.call(opts.inFiles, filename)
) { ) {
const expected = opts.outFiles[filename]; const expected = opts.outFiles[filename];
const actual = actualFiles[filename]; const actual = actualFiles[filename];

View File

@ -268,13 +268,11 @@ function babelrcLoadEnabled(
}); });
} }
const validateConfigFile = makeWeakCache( const validateConfigFile = makeWeakCache((file: ConfigFile): ValidatedFile => ({
(file: ConfigFile): ValidatedFile => ({ filepath: file.filepath,
filepath: file.filepath, dirname: file.dirname,
dirname: file.dirname, options: validate("configfile", file.options),
options: validate("configfile", file.options), }));
}),
);
const validateBabelrcFile = makeWeakCache( const validateBabelrcFile = makeWeakCache(
(file: ConfigFile): ValidatedFile => ({ (file: ConfigFile): ValidatedFile => ({
@ -284,13 +282,11 @@ const validateBabelrcFile = makeWeakCache(
}), }),
); );
const validateExtendFile = makeWeakCache( const validateExtendFile = makeWeakCache((file: ConfigFile): ValidatedFile => ({
(file: ConfigFile): ValidatedFile => ({ filepath: file.filepath,
filepath: file.filepath, dirname: file.dirname,
dirname: file.dirname, options: validate("extendsfile", file.options),
options: validate("extendsfile", file.options), }));
}),
);
/** /**
* Build a config chain for just the programmatic options passed into Babel. * Build a config chain for just the programmatic options passed into Babel.
@ -549,7 +545,7 @@ function normalizeOptions(opts: ValidatedOptions): ValidatedOptions {
// "sourceMap" is just aliased to sourceMap, so copy it over as // "sourceMap" is just aliased to sourceMap, so copy it over as
// we merge the options together. // we merge the options together.
if (options.hasOwnProperty("sourceMap")) { if (Object.prototype.hasOwnProperty.call(options, "sourceMap")) {
options.sourceMaps = options.sourceMap; options.sourceMaps = options.sourceMap;
delete options.sourceMap; delete options.sourceMap;
} }

View File

@ -278,7 +278,7 @@ export function assertConfigFileSearch(
) { ) {
throw new Error( throw new Error(
`${msg(loc)} must be a undefined, a boolean, a string, ` + `${msg(loc)} must be a undefined, a boolean, a string, ` +
`got ${JSON.stringify(value)}`, `got ${JSON.stringify((value: any))}`,
); );
} }
@ -302,7 +302,7 @@ export function assertBabelrcSearch(
} else if (!checkValidTest(value)) { } else if (!checkValidTest(value)) {
throw new Error( throw new Error(
`${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` + `${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` +
`or an array of those, got ${JSON.stringify(value)}`, `or an array of those, got ${JSON.stringify((value: any))}`,
); );
} }
return (value: any); return (value: any);

View File

@ -1,7 +1,7 @@
// @flow // @flow
import type { PluginPasses } from "../../config"; import type { PluginPasses } from "../../config";
import convertSourceMap, { type SourceMap } from "convert-source-map"; import convertSourceMap, { typeof SourceMap } from "convert-source-map";
import generate from "@babel/generator"; import generate from "@babel/generator";
import type File from "./file"; import type File from "./file";

View File

@ -1,6 +1,6 @@
// @flow // @flow
import type { SourceMap } from "convert-source-map"; import typeof { SourceMap } from "convert-source-map";
import sourceMap from "source-map"; import sourceMap from "source-map";
export default function mergeSourceMap( export default function mergeSourceMap(

View File

@ -1,6 +1,6 @@
// @flow // @flow
import traverse from "@babel/traverse"; import traverse from "@babel/traverse";
import type { SourceMap } from "convert-source-map"; import typeof { SourceMap } from "convert-source-map";
import type { ResolvedConfig, PluginPasses } from "../config"; import type { ResolvedConfig, PluginPasses } from "../config";

View File

@ -1,3 +1,3 @@
{ {
"parserOpts": {"createParenthesizedExpressions": true} "parserOpts": { "createParenthesizedExpressions": true }
} }

View File

@ -1,5 +1,3 @@
{ {
"plugins": [ "plugins": [["proposal-private-methods", { "loose": false }]]
["proposal-private-methods", { "loose": false }]
]
} }

View File

@ -1,5 +1,3 @@
{ {
"plugins": [ "plugins": [["proposal-private-methods", { "loose": true }]]
["proposal-private-methods", { "loose": true }]
]
} }

View File

@ -169,9 +169,7 @@ export default function get(entryLoc): Array<Suite> {
if (minimumVersion == null) { if (minimumVersion == null) {
throw new Error( throw new Error(
`'minNodeVersion' has invalid semver format: ${ `'minNodeVersion' has invalid semver format: ${taskOpts.minNodeVersion}`,
taskOpts.minNodeVersion
}`,
); );
} }

View File

@ -77,7 +77,7 @@ const assertTest = function(stdout, stderr, opts) {
const actualFiles = readDir(path.join(tmpLoc)); const actualFiles = readDir(path.join(tmpLoc));
Object.keys(actualFiles).forEach(function(filename) { Object.keys(actualFiles).forEach(function(filename) {
if (!opts.inFiles.hasOwnProperty(filename)) { if (!Object.prototype.hasOwnProperty.call(opts.inFiles, filename)) {
const expected = opts.outFiles[filename]; const expected = opts.outFiles[filename];
const actual = actualFiles[filename]; const actual = actualFiles[filename];

View File

@ -1137,9 +1137,7 @@ export default class ExpressionParser extends LValParser {
if (node.property.name !== propertyName || containsEsc) { if (node.property.name !== propertyName || containsEsc) {
this.raise( this.raise(
node.property.start, node.property.start,
`The only valid meta property for ${meta.name} is ${ `The only valid meta property for ${meta.name} is ${meta.name}.${propertyName}`,
meta.name
}.${propertyName}`,
); );
} }

View File

@ -369,9 +369,8 @@ export default (superClass: Class<Parser>): Class<Parser> =>
) { ) {
throw this.unexpected( throw this.unexpected(
pattern.start, pattern.start,
`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${ "Name in a signature must be an Identifier, ObjectPattern or ArrayPattern," +
pattern.type `instead got ${pattern.type}`,
}`,
); );
} }
return pattern; return pattern;

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token, expected \",\" (1:12)" "throws": "Unexpected token, expected \",\" (1:12)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (4:6)" "throws": "Identifier 'foo' has already been declared (4:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:4)" "throws": "Identifier 'foo' has already been declared (3:4)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (4:6)" "throws": "Identifier 'foo' has already been declared (4:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:4)" "throws": "Identifier 'foo' has already been declared (3:4)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:15)" "throws": "Identifier 'foo' has already been declared (2:15)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (1:35)" "throws": "Identifier 'foo' has already been declared (1:35)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:11)" "throws": "Identifier 'foo' has already been declared (3:11)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:28)" "throws": "Identifier 'foo' has already been declared (2:28)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:6)" "throws": "Identifier 'foo' has already been declared (3:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:6)" "throws": "Identifier 'foo' has already been declared (3:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:6)" "throws": "Identifier 'foo' has already been declared (2:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:9)" "throws": "Identifier 'foo' has already been declared (2:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:4)" "throws": "Identifier 'foo' has already been declared (2:4)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (2:4)" "throws": "Identifier 'foo' has already been declared (2:4)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'f' has already been declared (1:28)" "throws": "Identifier 'f' has already been declared (1:28)"
} }

View File

@ -1,4 +1,4 @@
{ {
"sourceType": "module", "sourceType": "module",
"throws":"Identifier 'foo' has already been declared (2:9)" "throws": "Identifier 'foo' has already been declared (2:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (3:6)" "throws": "Identifier 'foo' has already been declared (3:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'f' has already been declared (1:28)" "throws": "Identifier 'f' has already been declared (1:28)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'foo' has already been declared (1:9)" "throws": "Identifier 'foo' has already been declared (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'a' has already been declared (3:8)" "throws": "Identifier 'a' has already been declared (3:8)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Identifier 'i' has already been declared (2:8)" "throws": "Identifier 'i' has already been declared (2:8)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:36)" "throws": "Binding 'eval' in strict mode (1:36)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:36)" "throws": "Binding 'arguments' in strict mode (1:36)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:47)" "throws": "Binding 'eval' in strict mode (1:47)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:47)" "throws": "Binding 'arguments' in strict mode (1:47)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'eval' in strict mode (1:32)" "throws": "Assigning to 'eval' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'arguments' in strict mode (1:32)" "throws": "Assigning to 'arguments' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'eval' in strict mode (1:34)" "throws": "Assigning to 'eval' in strict mode (1:34)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'eval' in strict mode (1:34)" "throws": "Assigning to 'eval' in strict mode (1:34)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'arguments' in strict mode (1:34)" "throws": "Assigning to 'arguments' in strict mode (1:34)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'arguments' in strict mode (1:34)" "throws": "Assigning to 'arguments' in strict mode (1:34)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'eval' in strict mode (1:32)" "throws": "Assigning to 'eval' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'eval' in strict mode (1:32)" "throws": "Assigning to 'eval' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'arguments' in strict mode (1:32)" "throws": "Assigning to 'arguments' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Assigning to 'arguments' in strict mode (1:32)" "throws": "Assigning to 'arguments' in strict mode (1:32)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:41)" "throws": "Binding 'eval' in strict mode (1:41)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:41)" "throws": "Binding 'arguments' in strict mode (1:41)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:9)" "throws": "Binding 'eval' in strict mode (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:9)" "throws": "Binding 'arguments' in strict mode (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:42)" "throws": "Binding 'eval' in strict mode (1:42)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:42)" "throws": "Binding 'arguments' in strict mode (1:42)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:10)" "throws": "Binding 'eval' in strict mode (1:10)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:10)" "throws": "Binding 'arguments' in strict mode (1:10)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:47)" "throws": "Binding 'eval' in strict mode (1:47)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'package' in strict mode (1:10)" "throws": "Binding 'package' in strict mode (1:10)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:48)" "throws": "Binding 'eval' in strict mode (1:48)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:41)" "throws": "Binding 'eval' in strict mode (1:41)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:49)" "throws": "Binding 'eval' in strict mode (1:49)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:15)" "throws": "Binding 'eval' in strict mode (1:15)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:15)" "throws": "Binding 'arguments' in strict mode (1:15)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:48)" "throws": "Binding 'eval' in strict mode (1:48)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'arguments' in strict mode (1:48)" "throws": "Binding 'arguments' in strict mode (1:48)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'static' in strict mode (1:15)" "throws": "Binding 'static' in strict mode (1:15)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'static' in strict mode (1:9)" "throws": "Binding 'static' in strict mode (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:11)" "throws": "Binding 'eval' in strict mode (1:11)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'package' in strict mode (1:11)" "throws": "Binding 'package' in strict mode (1:11)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'eval' in strict mode (1:12)" "throws": "Binding 'eval' in strict mode (1:12)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Binding 'package' in strict mode (1:12)" "throws": "Binding 'package' in strict mode (1:12)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Argument name clash (2:11)" "throws": "Argument name clash (2:11)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token (1:19)" "throws": "Unexpected token (1:19)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token (1:19)" "throws": "Unexpected token (1:19)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token (1:22)" "throws": "Unexpected token (1:22)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Invalid left-hand side in for-loop (2:5)" "throws": "Invalid left-hand side in for-loop (2:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "for-in loop variable declaration may not have an initializer (1:5)" "throws": "for-in loop variable declaration may not have an initializer (1:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "for-in loop variable declaration may not have an initializer (1:5)" "throws": "for-in loop variable declaration may not have an initializer (1:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "for-in loop variable declaration may not have an initializer (2:5)" "throws": "for-in loop variable declaration may not have an initializer (2:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "for-in loop variable declaration may not have an initializer (1:5)" "throws": "for-in loop variable declaration may not have an initializer (1:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "for-in loop variable declaration may not have an initializer (1:5)" "throws": "for-in loop variable declaration may not have an initializer (1:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Invalid left-hand side in for-loop (2:5)" "throws": "Invalid left-hand side in for-loop (2:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token, expected \";\" (1:7)" "throws": "Unexpected token, expected \";\" (1:7)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token, expected \")\" (1:15)" "throws": "Unexpected token, expected \")\" (1:15)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Can not use 'yield' as identifier inside a generator (1:16)" "throws": "Can not use 'yield' as identifier inside a generator (1:16)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token, expected \";\" (1:9)" "throws": "Unexpected token, expected \";\" (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:6)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:8)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:8)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:5)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:5)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:7)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:7)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:4)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:4)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:6)" "throws": "'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:6)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "new.target can only be used in functions (2:2)" "throws": "new.target can only be used in functions (2:2)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "The only valid meta property for new is new.target (1:19)" "throws": "The only valid meta property for new is new.target (1:19)"
} }

View File

@ -1,4 +1,4 @@
{ {
"sourceType": "module", "sourceType": "module",
"throws": "`foo` has already been exported. Exported identifiers must be unique. (2:15)" "throws": "`foo` has already been exported. Exported identifiers must be unique. (2:15)"
} }

View File

@ -1,4 +1,4 @@
{ {
"sourceType": "module", "sourceType": "module",
"throws": "Unexpected token, expected \",\" (1:11)" "throws": "Unexpected token, expected \",\" (1:11)"
} }

View File

@ -1,4 +1,4 @@
{ {
"sourceType": "module", "sourceType": "module",
"throws": "Unexpected token (1:9)" "throws": "Unexpected token (1:9)"
} }

View File

@ -1,3 +1,3 @@
{ {
"throws": "Unexpected token, expected \",\" (3:4)" "throws": "Unexpected token, expected \",\" (3:4)"
} }

Some files were not shown because too many files have changed in this diff Show More