diff --git a/crates/oxc_codegen/src/gen.rs b/crates/oxc_codegen/src/gen.rs index 00c5590511433..cc09bda3b378e 100644 --- a/crates/oxc_codegen/src/gen.rs +++ b/crates/oxc_codegen/src/gen.rs @@ -65,7 +65,7 @@ impl<'a, const MINIFY: bool> Gen for Directive<'a> { // A Use Strict Directive may not contain an EscapeSequence or LineContinuation. // So here should print original `directive` value, the `expression` value is escaped str. // See https://github.com/babel/babel/blob/main/packages/babel-generator/src/generators/base.ts#L64 - p.wrap_quote(self.directive.as_str(), |p, _| { + p.wrap_quote(|p, _| { p.print_str(self.directive.as_str()); }); p.print_semicolon_after_statement(); @@ -1268,7 +1268,7 @@ impl<'a, const MINIFY: bool> Gen for RegExpLiteral<'a> { } } -fn print_unquoted_str(s: &str, quote: char, p: &mut Codegen<{ MINIFY }>) { +fn print_unquoted_str(s: &str, quote: u8, p: &mut Codegen<{ MINIFY }>) { let mut chars = s.chars().peekable(); while let Some(c) = chars.next() { @@ -1308,21 +1308,21 @@ fn print_unquoted_str(s: &str, quote: char, p: &mut Codegen< p.print_str("\\\\"); } '\'' => { - if quote == '\'' { + if quote == b'\'' { p.print_str("\\'"); } else { p.print_str("'"); } } '\"' => { - if quote == '"' { + if quote == b'"' { p.print_str("\\\""); } else { p.print_str("\""); } } '`' => { - if quote == '`' { + if quote == b'`' { p.print_str("\\`"); } else { p.print_str("`"); @@ -1354,7 +1354,7 @@ impl<'a, const MINIFY: bool> Gen for StringLiteral<'a> { fn gen(&self, p: &mut Codegen<{ MINIFY }>, _ctx: Context) { p.add_source_mapping(self.span.start); let s = self.value.as_str(); - p.wrap_quote(s, |p, quote| { + p.wrap_quote(|p, quote| { print_unquoted_str(s, quote, p); }); } @@ -2239,7 +2239,7 @@ impl<'a, const MINIFY: bool> Gen for JSXAttributeValue<'a> { Self::Element(el) => el.gen(p, ctx), Self::StringLiteral(lit) => { p.print_char(b'"'); - print_unquoted_str(&lit.value, '"', p); + print_unquoted_str(&lit.value, b'"', p); p.print_char(b'"'); } Self::ExpressionContainer(expr_container) => expr_container.gen(p, ctx), diff --git a/crates/oxc_codegen/src/lib.rs b/crates/oxc_codegen/src/lib.rs index aba8b9fce4745..509046add1ad1 100644 --- a/crates/oxc_codegen/src/lib.rs +++ b/crates/oxc_codegen/src/lib.rs @@ -39,6 +39,12 @@ pub type CodeGenerator<'a> = Codegen<'a, false>; /// Code generator with whitespace removal. pub type WhitespaceRemover<'a> = Codegen<'a, true>; +#[derive(Default, Clone, Copy)] +pub struct CodegenOptions { + /// Use single quotes instead of double quotes. + pub single_quote: bool, +} + #[derive(Default, Clone, Copy)] pub struct CommentOptions { /// Enable preserve annotate comments, like `/* #__PURE__ */` and `/* #__NO_SIDE_EFFECTS__ */`. @@ -51,6 +57,7 @@ pub struct CodegenReturn { } pub struct Codegen<'a, const MINIFY: bool> { + options: CodegenOptions, comment_options: CommentOptions, source_text: &'a str, @@ -80,6 +87,9 @@ pub struct Codegen<'a, const MINIFY: bool> { /// Track the current indentation level indent: u32, + /// Fast path for [CodegenOptions::single_quote] + quote: u8, + // Builders sourcemap_builder: Option, @@ -112,6 +122,7 @@ impl<'a, const MINIFY: bool> Codegen<'a, MINIFY> { #[must_use] pub fn new() -> Self { Self { + options: CodegenOptions::default(), comment_options: CommentOptions::default(), source_text: "", trivias: Trivias::default(), @@ -127,6 +138,7 @@ impl<'a, const MINIFY: bool> Codegen<'a, MINIFY> { start_of_arrow_expr: 0, start_of_default_export: 0, indent: 0, + quote: b'"', sourcemap_builder: None, move_comment_map: MoveCommentMap::default(), } @@ -141,6 +153,13 @@ impl<'a, const MINIFY: bool> Codegen<'a, MINIFY> { self } + #[must_use] + pub fn with_options(mut self, options: CodegenOptions) -> Self { + self.options = options; + self.quote = if options.single_quote { b'\'' } else { b'"' }; + self + } + #[must_use] pub fn enable_comment( mut self, @@ -467,11 +486,10 @@ impl<'a, const MINIFY: bool> Codegen<'a, MINIFY> { } #[inline] - fn wrap_quote(&mut self, s: &str, mut f: F) { - let quote = Self::choose_quote(s); - self.print_char(quote as u8); - f(self, quote); - self.print_char(quote as u8); + fn wrap_quote(&mut self, mut f: F) { + self.print_char(self.quote); + f(self, self.quote); + self.print_char(self.quote); } fn print_directives_and_statements( @@ -512,24 +530,6 @@ impl<'a, const MINIFY: bool> Codegen<'a, MINIFY> { sourcemap_builder.add_source_mapping_for_name(&self.code, span, name); } } - - fn choose_quote(s: &str) -> char { - let mut single_cost = 0; - let mut double_cost = 0; - for c in s.chars() { - match c { - '\'' => single_cost += 1, - '"' => double_cost += 1, - _ => {} - } - } - - if single_cost > double_cost { - '"' - } else { - '\'' - } - } } pub(crate) type MoveCommentMap = FxHashMap; diff --git a/crates/oxc_codegen/tests/mod.rs b/crates/oxc_codegen/tests/mod.rs index b92a852333297..1eddff5081632 100644 --- a/crates/oxc_codegen/tests/mod.rs +++ b/crates/oxc_codegen/tests/mod.rs @@ -1,25 +1,29 @@ use oxc_allocator::Allocator; -use oxc_codegen::{CodeGenerator, CommentOptions}; +use oxc_codegen::{CodeGenerator, CodegenOptions, CommentOptions}; use oxc_parser::Parser; use oxc_span::SourceType; -fn test(source_text: &str, expected: &str) { +fn check(source_text: &str, expected: &str, source_type: SourceType) { let allocator = Allocator::default(); - let source_type = SourceType::default().with_module(true); let ret = Parser::new(&allocator, source_text, source_type).parse(); - let result = CodeGenerator::new().build(&ret.program).source_text; + let result = CodeGenerator::new() + .with_options(CodegenOptions { single_quote: true }) + .build(&ret.program) + .source_text; assert_eq!(expected, result, "for source {source_text}, expect {expected}, got {result}"); } +fn test(source_text: &str, expected: &str) { + let source_type = SourceType::default().with_module(true); + check(source_text, expected, source_type); +} + fn test_ts(source_text: &str, expected: &str, is_typescript_definition: bool) { - let allocator = Allocator::default(); let source_type = SourceType::default() .with_typescript(true) .with_typescript_definition(is_typescript_definition) .with_module(true); - let ret = Parser::new(&allocator, source_text, source_type).parse(); - let result = CodeGenerator::new().build(&ret.program).source_text; - assert_eq!(expected, result, "for source {source_text}, expect {expected}, got {result}"); + check(source_text, expected, source_type); } #[test] @@ -30,7 +34,7 @@ fn string() { test("let x = '\t'", "let x = '\t';\n"); test(r"let x = '\v'", "let x = '\\v';\n"); test("let x = '\\n'", "let x = '\\n';\n"); - test("let x = '\\''", "let x = \"'\";\n"); + test("let x = '\\''", "let x = '\\'';\n"); test("let x = '\\\"'", "let x = '\"';\n"); // test( "let x = '\\'''", "let x = `''`;\n"); test("let x = '\\\\'", "let x = '\\\\';\n"); diff --git a/crates/oxc_isolated_declarations/tests/snapshots/as-const.snap b/crates/oxc_isolated_declarations/tests/snapshots/as-const.snap index b35fe392a066a..ee24feeabf582 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/as-const.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/as-const.snap @@ -5,8 +5,8 @@ input_file: crates/oxc_isolated_declarations/tests/fixtures/as-const.ts ==================== .D.TS ==================== declare const F: { - readonly string: 'string'; - readonly templateLiteral: 'templateLiteral'; + readonly string: "string"; + readonly templateLiteral: "templateLiteral"; readonly number: 1.23; readonly bigint: -1_2_3n; readonly boolean: true; @@ -15,8 +15,8 @@ declare const F: { readonly function: (a: string) => void; readonly arrow: (a: string) => void; readonly object: { - readonly a: 'a'; - readonly b: 'b'; + readonly a: "a"; + readonly b: "b"; }; - readonly array: readonly ['a', undefined, { readonly b: '\n'}]; + readonly array: readonly ["a", undefined, { readonly b: "\n"}]; }; diff --git a/crates/oxc_isolated_declarations/tests/snapshots/class.snap b/crates/oxc_isolated_declarations/tests/snapshots/class.snap index 1a8522d645f46..11ccf7a237701 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/class.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/class.snap @@ -20,7 +20,7 @@ export declare abstract class Qux { baz(): void; } export declare class Baz { - readonly prop1 = 'some string'; + readonly prop1 = "some string"; prop2: string; private prop3; private prop4; diff --git a/crates/oxc_isolated_declarations/tests/snapshots/eliminate-imports.snap b/crates/oxc_isolated_declarations/tests/snapshots/eliminate-imports.snap index ec55dd2d9e76f..404f2992eafe2 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/eliminate-imports.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/eliminate-imports.snap @@ -4,11 +4,11 @@ input_file: crates/oxc_isolated_declarations/tests/fixtures/eliminate-imports.ts --- ==================== .D.TS ==================== -import { AExtend, BExtend, Type, CImplements1, CImplements2, CType, ThisType1, ThisType2 } from 'mod'; +import { AExtend, BExtend, Type, CImplements1, CImplements2, CType, ThisType1, ThisType2 } from "mod"; export interface A extends AExtend {} export declare class B extends BExtend {} export declare class C implements CImplements1, CImplements2 {} export declare function foo(this: ThisType1 ): void; export declare const bar: (this: ThisType2 ) => void; -import { type InferType1, type InferType2 } from 'infer'; +import { type InferType1, type InferType2 } from "infer"; export type F = X extends infer U extends InferType2 ? U : never; diff --git a/crates/oxc_isolated_declarations/tests/snapshots/infer-template-literal.snap b/crates/oxc_isolated_declarations/tests/snapshots/infer-template-literal.snap index fcef01f361c44..82e5b40842c57 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/infer-template-literal.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/infer-template-literal.snap @@ -4,11 +4,11 @@ input_file: crates/oxc_isolated_declarations/tests/fixtures/infer-template-liter --- ==================== .D.TS ==================== -export declare const CSS_VARS_HELPER = 'useCssVars'; +export declare const CSS_VARS_HELPER = "useCssVars"; export declare function g(func?: string): void; export declare const F: { - readonly a: 'a'; - readonly b: readonly ['b']; + readonly a: "a"; + readonly b: readonly ["b"]; }; export declare let GOOD: string; export declare const BAD: unknown; diff --git a/crates/oxc_isolated_declarations/tests/snapshots/mapped-types.snap b/crates/oxc_isolated_declarations/tests/snapshots/mapped-types.snap index 1f783ec233824..e9656e3d14c79 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/mapped-types.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/mapped-types.snap @@ -4,8 +4,8 @@ input_file: crates/oxc_isolated_declarations/tests/fixtures/mapped-types.ts --- ==================== .D.TS ==================== -import { K } from 'foo'; -import { T } from 'bar'; +import { K } from "foo"; +import { T } from "bar"; export interface I { prop: { [key in K] : T}; } diff --git a/crates/oxc_linter/src/fixer.rs b/crates/oxc_linter/src/fixer.rs index e952d248c3522..448063c6615c1 100644 --- a/crates/oxc_linter/src/fixer.rs +++ b/crates/oxc_linter/src/fixer.rs @@ -1,6 +1,6 @@ use std::borrow::Cow; -use oxc_codegen::Codegen; +use oxc_codegen::{CodeGenerator, CodegenOptions}; use oxc_diagnostics::OxcDiagnostic; use oxc_span::{GetSpan, Span, SPAN}; @@ -219,8 +219,8 @@ impl<'c, 'a: 'c> RuleFixer<'c, 'a> { } #[allow(clippy::unused_self)] - pub fn codegen(self) -> Codegen<'a, false> { - Codegen::::new() + pub fn codegen(self) -> CodeGenerator<'a> { + CodeGenerator::new().with_options(CodegenOptions { single_quote: true }) } #[allow(clippy::unused_self)] diff --git a/crates/oxc_minifier/tests/mod.rs b/crates/oxc_minifier/tests/mod.rs index c156e0408cb0c..cc2bdd929bb3b 100644 --- a/crates/oxc_minifier/tests/mod.rs +++ b/crates/oxc_minifier/tests/mod.rs @@ -6,7 +6,7 @@ mod oxc; // mod terser; use oxc_allocator::Allocator; -use oxc_codegen::WhitespaceRemover; +use oxc_codegen::{CodegenOptions, WhitespaceRemover}; use oxc_minifier::{CompressOptions, Minifier, MinifierOptions}; use oxc_parser::Parser; use oxc_span::SourceType; @@ -20,7 +20,10 @@ pub(crate) fn minify( let ret = Parser::new(&allocator, source_text, source_type).parse(); let program = allocator.alloc(ret.program); Minifier::new(options).build(&allocator, program); - WhitespaceRemover::new().build(program).source_text + WhitespaceRemover::new() + .with_options(CodegenOptions { single_quote: true }) + .build(program) + .source_text } pub(crate) fn test(source_text: &str, expected: &str) { diff --git a/crates/oxc_minifier/tests/oxc/remove_dead_code.rs b/crates/oxc_minifier/tests/oxc/remove_dead_code.rs index 3bdb288818d6e..7668779bbae12 100644 --- a/crates/oxc_minifier/tests/oxc/remove_dead_code.rs +++ b/crates/oxc_minifier/tests/oxc/remove_dead_code.rs @@ -1,5 +1,5 @@ use oxc_allocator::Allocator; -use oxc_codegen::CodeGenerator; +use oxc_codegen::{CodeGenerator, CodegenOptions}; use oxc_minifier::RemoveDeadCode; use oxc_parser::Parser; use oxc_span::SourceType; @@ -12,7 +12,10 @@ fn print(source_text: &str, remove_dead_code: bool) -> String { if remove_dead_code { RemoveDeadCode::new(&allocator).build(program); } - CodeGenerator::new().build(program).source_text + CodeGenerator::new() + .with_options(CodegenOptions { single_quote: true }) + .build(program) + .source_text } pub(crate) fn test(source_text: &str, expected: &str) { diff --git a/crates/oxc_minifier/tests/oxc/replace_global_defines.rs b/crates/oxc_minifier/tests/oxc/replace_global_defines.rs index 0c390a1adc710..204234f7cd679 100644 --- a/crates/oxc_minifier/tests/oxc/replace_global_defines.rs +++ b/crates/oxc_minifier/tests/oxc/replace_global_defines.rs @@ -1,5 +1,5 @@ use oxc_allocator::Allocator; -use oxc_codegen::WhitespaceRemover; +use oxc_codegen::{CodegenOptions, WhitespaceRemover}; use oxc_minifier::{ReplaceGlobalDefines, ReplaceGlobalDefinesConfig}; use oxc_parser::Parser; use oxc_span::SourceType; @@ -11,7 +11,10 @@ pub(crate) fn test(source_text: &str, expected: &str, config: ReplaceGlobalDefin let ret = Parser::new(&allocator, source_text, source_type).parse(); let program = allocator.alloc(ret.program); ReplaceGlobalDefines::new(&allocator, config).build(program); - WhitespaceRemover::new().build(program).source_text + WhitespaceRemover::new() + .with_options(CodegenOptions { single_quote: true }) + .build(program) + .source_text }; assert_eq!(minified, expected, "for source {source_text}"); } diff --git a/tasks/coverage/codegen_sourcemap.snap b/tasks/coverage/codegen_sourcemap.snap index 6a6ad154e3694..956dc94fecb58 100644 --- a/tasks/coverage/codegen_sourcemap.snap +++ b/tasks/coverage/codegen_sourcemap.snap @@ -107,7 +107,7 @@ Unexpected token (5:4-5:14) " isElement" --> (1:48-1:58) " isElement" (5:14-5:30) "(shouldBeElement" --> (1:58-1:74) "(shouldBeElement" (5:30-6:4) "),\n\t\t " --> (1:74-1:76) ")," -(6:4-7:4) " 'Element expected',\n\t\t " --> (1:76-1:96) " 'Element expected'," +(6:4-7:4) " 'Element expected',\n\t\t " --> (1:76-1:96) " \"Element expected\"," (7:4-8:4) " opt_message\n\t " --> (1:96-1:108) " opt_message" (8:4-10:1) ")\n\t);\n" --> (1:108-2:0) "));" (10:1-12:0) "}\n" --> (2:0-3:0) "\n}" @@ -135,7 +135,7 @@ Unexpected token (5:4-5:14) " isElement" --> (1:48-1:58) " isElement" (5:14-5:30) "(shouldBeElement" --> (1:58-1:74) "(shouldBeElement" (5:30-6:4) "),\n\t\t " --> (1:74-1:76) ")," -(6:4-7:4) " 'Element expected',\n\t\t " --> (1:76-1:96) " 'Element expected'," +(6:4-7:4) " 'Element expected',\n\t\t " --> (1:76-1:96) " \"Element expected\"," (7:4-8:4) " opt_message\n\t " --> (1:96-1:108) " opt_message" (8:4-10:1) ")\n\t);\n" --> (1:108-2:0) "));" (10:1-12:0) "}\n" --> (2:0-3:0) "\n}" @@ -174,7 +174,7 @@ Unexpected token (7:18-7:20) " {" --> (4:18-4:19) " " (7:20-8:2) "},\n " --> (4:19-5:1) "{},\n" (8:2-8:3) " " --> (5:1-5:2) "\t" -(8:3-8:9) "[\"fn\"]" --> (5:2-5:9) "['fn']:" +(8:3-8:9) "[\"fn\"]" --> (5:2-5:9) "[\"fn\"]:" (8:9-8:20) ":function()" --> (5:9-5:20) " function()" (8:20-8:22) " {" --> (5:20-5:21) " " (8:22-9:2) "},\n " --> (5:21-6:1) "{},\n" @@ -197,7 +197,7 @@ Unexpected token (11:9-11:12) " { " --> (8:8-8:9) " " (11:12-12:2) "},\n " --> (8:9-9:1) "{},\n" (12:2-12:3) " " --> (9:1-9:2) "\t" -(12:3-12:11) "[\"fn\"]()" --> (9:2-9:10) "['fn']()" +(12:3-12:11) "[\"fn\"]()" --> (9:2-9:10) "[\"fn\"]()" (12:11-12:14) " { " --> (9:10-9:11) " " (12:14-13:2) "},\n " --> (9:11-10:1) "{},\n" (13:2-13:3) " " --> (10:1-10:2) "\t" @@ -229,7 +229,7 @@ Unexpected token (20:18-20:20) " {" --> (16:19-16:20) " " (20:20-21:2) "};\n " --> (16:20-17:1) "{};\n" (21:2-21:3) " " --> (17:1-17:2) "\t" -(21:3-21:9) "[\"fn\"]" --> (17:2-17:10) "['fn'] =" +(21:3-21:9) "[\"fn\"]" --> (17:2-17:10) "[\"fn\"] =" (21:9-21:20) "=function()" --> (17:10-17:21) " function()" (21:20-21:22) " {" --> (17:21-17:22) " " (21:22-22:2) "};\n " --> (17:22-18:1) "{};\n" @@ -252,7 +252,7 @@ Unexpected token (24:9-24:12) " { " --> (20:8-20:9) " " (24:12-25:2) "};\n " --> (20:9-21:1) "{}\n" (25:2-25:3) " " --> (21:1-21:2) "\t" -(25:3-25:11) "[\"fn\"]()" --> (21:2-21:10) "['fn']()" +(25:3-25:11) "[\"fn\"]()" --> (21:2-21:10) "[\"fn\"]()" (25:11-25:14) " { " --> (21:10-21:11) " " (25:14-26:2) "};\n " --> (21:11-22:1) "{}\n" (26:2-26:3) " " --> (22:1-22:2) "\t" @@ -292,7 +292,7 @@ Unexpected token (34:20-34:22) " {" --> (29:20-29:21) " " (34:22-35:2) "},\n " --> (29:21-30:1) "{},\n" (35:2-35:3) " " --> (30:1-30:2) "\t" -(35:3-35:9) "[\"fn\"]" --> (30:2-30:9) "['fn']:" +(35:3-35:9) "[\"fn\"]" --> (30:2-30:9) "[\"fn\"]:" (35:9-35:18) ":function" --> (30:9-30:18) " function" (35:18-35:22) " a()" --> (30:18-30:22) " a()" (35:22-35:24) " {" --> (30:22-30:23) " " @@ -329,7 +329,7 @@ Unexpected token (42:20-42:22) " {" --> (36:21-36:22) " " (42:22-43:2) "};\n " --> (36:22-37:1) "{};\n" (43:2-43:3) " " --> (37:1-37:2) "\t" -(43:3-43:9) "[\"fn\"]" --> (37:2-37:10) "['fn'] =" +(43:3-43:9) "[\"fn\"]" --> (37:2-37:10) "[\"fn\"] =" (43:9-43:18) "=function" --> (37:10-37:19) " function" (43:18-43:22) " a()" --> (37:19-37:23) " a()" (43:22-43:24) " {" --> (37:23-37:24) " " @@ -416,25 +416,25 @@ Invalid Character `[` - react.development.js -(9:0-11:0) "\n'use strict';\n" --> (0:0-1:0) "'use strict';" +(9:0-11:0) "\n'use strict';\n" --> (0:0-1:0) "\"use strict\";" (11:0-11:4) "\nif " --> (1:0-1:4) "\nif " (11:4-11:12) "(process" --> (1:4-1:12) "(process" (11:12-11:16) ".env" --> (1:12-1:16) ".env" (11:16-11:29) ".NODE_ENV !==" --> (1:16-1:29) ".NODE_ENV !==" -(11:29-11:43) " \"production\")" --> (1:29-1:43) " 'production')" +(11:29-11:43) " \"production\")" --> (1:29-1:43) " \"production\")" (11:43-12:2) " {\n " --> (1:43-2:0) " {" (12:2-12:3) " " --> (2:0-2:2) "\n\t" (12:3-12:14) "(function()" --> (2:2-2:13) "(function()" (12:14-13:0) " {" --> (2:13-3:0) " {" -(13:0-15:0) "\n'use strict';\n" --> (3:0-4:2) "\n\t\t'use strict';\n\t" +(13:0-15:0) "\n'use strict';\n" --> (3:0-4:2) "\n\t\t\"use strict\";\n\t" (15:0-15:4) "\nvar" --> (4:2-4:6) "\tvar" (15:4-15:14) " _assign =" --> (4:6-4:16) " _assign =" (15:14-15:22) " require" --> (4:16-4:24) " require" -(15:22-15:38) "('object-assign'" --> (4:24-4:40) "('object-assign'" +(15:22-15:38) "('object-assign'" --> (4:24-4:40) "(\"object-assign\"" (15:38-18:0) ");\n\n// TODO: this is special because it gets imported during build." --> (4:40-5:2) ");\n\t" (18:0-18:4) "\nvar" --> (5:2-5:6) "\tvar" (18:4-18:19) " ReactVersion =" --> (5:6-5:21) " ReactVersion =" -(18:19-25:0) " '17.0.2';\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance." --> (5:21-6:2) " '17.0.2';\n\t" +(18:19-25:0) " '17.0.2';\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance." --> (5:21-6:2) " \"17.0.2\";\n\t" (25:0-25:4) "\nvar" --> (6:2-6:6) "\tvar" (25:4-25:25) " REACT_ELEMENT_TYPE =" --> (6:6-6:27) " REACT_ELEMENT_TYPE =" (25:25-26:0) " 0xeac7;" --> (6:27-7:2) " 0xeac7;\n\t" @@ -497,7 +497,7 @@ Invalid Character `[` (44:31-46:0) " 0xeae3;\n" --> (25:33-26:0) " 0xeae3;" (46:0-46:11) "\nif (typeof" --> (26:0-26:13) "\n\t\tif (typeof" (46:11-46:22) " Symbol ===" --> (26:13-26:24) " Symbol ===" -(46:22-46:36) " 'function' &&" --> (26:24-26:38) " 'function' &&" +(46:22-46:36) " 'function' &&" --> (26:24-26:38) " \"function\" &&" (46:36-46:43) " Symbol" --> (26:38-26:45) " Symbol" (46:43-46:48) ".for)" --> (26:45-26:50) ".for)" (46:48-47:2) " {\n " --> (26:50-27:3) " {\n\t\t" @@ -507,98 +507,98 @@ Invalid Character `[` (47:25-48:2) ".for;\n " --> (27:26-28:0) ".for;" (48:2-48:23) " REACT_ELEMENT_TYPE =" --> (28:0-28:24) "\n\t\t\tREACT_ELEMENT_TYPE =" (48:23-48:33) " symbolFor" --> (28:24-28:34) " symbolFor" -(48:33-48:49) "('react.element'" --> (28:34-28:50) "('react.element'" +(48:33-48:49) "('react.element'" --> (28:34-28:50) "(\"react.element\"" (48:49-49:2) ");\n " --> (28:50-29:0) ");" (49:2-49:22) " REACT_PORTAL_TYPE =" --> (29:0-29:23) "\n\t\t\tREACT_PORTAL_TYPE =" (49:22-49:32) " symbolFor" --> (29:23-29:33) " symbolFor" -(49:32-49:47) "('react.portal'" --> (29:33-29:48) "('react.portal'" +(49:32-49:47) "('react.portal'" --> (29:33-29:48) "(\"react.portal\"" (49:47-50:2) ");\n " --> (29:48-30:0) ");" (50:2-50:10) " exports" --> (30:0-30:11) "\n\t\t\texports" (50:10-50:21) ".Fragment =" --> (30:11-30:22) ".Fragment =" (50:21-50:31) " symbolFor" --> (30:22-30:32) " symbolFor" -(50:31-50:48) "('react.fragment'" --> (30:32-30:49) "('react.fragment'" +(50:31-50:48) "('react.fragment'" --> (30:32-30:49) "(\"react.fragment\"" (50:48-51:2) ");\n " --> (30:49-31:0) ");" (51:2-51:10) " exports" --> (31:0-31:11) "\n\t\t\texports" (51:10-51:23) ".StrictMode =" --> (31:11-31:24) ".StrictMode =" (51:23-51:33) " symbolFor" --> (31:24-31:34) " symbolFor" -(51:33-51:53) "('react.strict_mode'" --> (31:34-31:54) "('react.strict_mode'" +(51:33-51:53) "('react.strict_mode'" --> (31:34-31:54) "(\"react.strict_mode\"" (51:53-52:2) ");\n " --> (31:54-32:0) ");" (52:2-52:10) " exports" --> (32:0-32:11) "\n\t\t\texports" (52:10-52:21) ".Profiler =" --> (32:11-32:22) ".Profiler =" (52:21-52:31) " symbolFor" --> (32:22-32:32) " symbolFor" -(52:31-52:48) "('react.profiler'" --> (32:32-32:49) "('react.profiler'" +(52:31-52:48) "('react.profiler'" --> (32:32-32:49) "(\"react.profiler\"" (52:48-53:2) ");\n " --> (32:49-33:0) ");" (53:2-53:24) " REACT_PROVIDER_TYPE =" --> (33:0-33:25) "\n\t\t\tREACT_PROVIDER_TYPE =" (53:24-53:34) " symbolFor" --> (33:25-33:35) " symbolFor" -(53:34-53:51) "('react.provider'" --> (33:35-33:52) "('react.provider'" +(53:34-53:51) "('react.provider'" --> (33:35-33:52) "(\"react.provider\"" (53:51-54:2) ");\n " --> (33:52-34:0) ");" (54:2-54:23) " REACT_CONTEXT_TYPE =" --> (34:0-34:24) "\n\t\t\tREACT_CONTEXT_TYPE =" (54:23-54:33) " symbolFor" --> (34:24-34:34) " symbolFor" -(54:33-54:49) "('react.context'" --> (34:34-34:50) "('react.context'" +(54:33-54:49) "('react.context'" --> (34:34-34:50) "(\"react.context\"" (54:49-55:2) ");\n " --> (34:50-35:0) ");" (55:2-55:27) " REACT_FORWARD_REF_TYPE =" --> (35:0-35:28) "\n\t\t\tREACT_FORWARD_REF_TYPE =" (55:27-55:37) " symbolFor" --> (35:28-35:38) " symbolFor" -(55:37-55:57) "('react.forward_ref'" --> (35:38-35:58) "('react.forward_ref'" +(55:37-55:57) "('react.forward_ref'" --> (35:38-35:58) "(\"react.forward_ref\"" (55:57-56:2) ");\n " --> (35:58-36:0) ");" (56:2-56:10) " exports" --> (36:0-36:11) "\n\t\t\texports" (56:10-56:21) ".Suspense =" --> (36:11-36:22) ".Suspense =" (56:21-56:31) " symbolFor" --> (36:22-36:32) " symbolFor" -(56:31-56:48) "('react.suspense'" --> (36:32-36:49) "('react.suspense'" +(56:31-56:48) "('react.suspense'" --> (36:32-36:49) "(\"react.suspense\"" (56:48-57:2) ");\n " --> (36:49-37:0) ");" (57:2-57:29) " REACT_SUSPENSE_LIST_TYPE =" --> (37:0-37:30) "\n\t\t\tREACT_SUSPENSE_LIST_TYPE =" (57:29-57:39) " symbolFor" --> (37:30-37:40) " symbolFor" -(57:39-57:61) "('react.suspense_list'" --> (37:40-37:62) "('react.suspense_list'" +(57:39-57:61) "('react.suspense_list'" --> (37:40-37:62) "(\"react.suspense_list\"" (57:61-58:2) ");\n " --> (37:62-38:0) ");" (58:2-58:20) " REACT_MEMO_TYPE =" --> (38:0-38:21) "\n\t\t\tREACT_MEMO_TYPE =" (58:20-58:30) " symbolFor" --> (38:21-38:31) " symbolFor" -(58:30-58:43) "('react.memo'" --> (38:31-38:44) "('react.memo'" +(58:30-58:43) "('react.memo'" --> (38:31-38:44) "(\"react.memo\"" (58:43-59:2) ");\n " --> (38:44-39:0) ");" (59:2-59:20) " REACT_LAZY_TYPE =" --> (39:0-39:21) "\n\t\t\tREACT_LAZY_TYPE =" (59:20-59:30) " symbolFor" --> (39:21-39:31) " symbolFor" -(59:30-59:43) "('react.lazy'" --> (39:31-39:44) "('react.lazy'" +(59:30-59:43) "('react.lazy'" --> (39:31-39:44) "(\"react.lazy\"" (59:43-60:2) ");\n " --> (39:44-40:0) ");" (60:2-60:21) " REACT_BLOCK_TYPE =" --> (40:0-40:22) "\n\t\t\tREACT_BLOCK_TYPE =" (60:21-60:31) " symbolFor" --> (40:22-40:32) " symbolFor" -(60:31-60:45) "('react.block'" --> (40:32-40:46) "('react.block'" +(60:31-60:45) "('react.block'" --> (40:32-40:46) "(\"react.block\"" (60:45-61:2) ");\n " --> (40:46-41:0) ");" (61:2-61:28) " REACT_SERVER_BLOCK_TYPE =" --> (41:0-41:29) "\n\t\t\tREACT_SERVER_BLOCK_TYPE =" (61:28-61:38) " symbolFor" --> (41:29-41:39) " symbolFor" -(61:38-61:59) "('react.server.block'" --> (41:39-41:60) "('react.server.block'" +(61:38-61:59) "('react.server.block'" --> (41:39-41:60) "(\"react.server.block\"" (61:59-62:2) ");\n " --> (41:60-42:0) ");" (62:2-62:27) " REACT_FUNDAMENTAL_TYPE =" --> (42:0-42:28) "\n\t\t\tREACT_FUNDAMENTAL_TYPE =" (62:27-62:37) " symbolFor" --> (42:28-42:38) " symbolFor" -(62:37-62:57) "('react.fundamental'" --> (42:38-42:58) "('react.fundamental'" +(62:37-62:57) "('react.fundamental'" --> (42:38-42:58) "(\"react.fundamental\"" (62:57-63:2) ");\n " --> (42:58-43:0) ");" (63:2-63:21) " REACT_SCOPE_TYPE =" --> (43:0-43:22) "\n\t\t\tREACT_SCOPE_TYPE =" (63:21-63:31) " symbolFor" --> (43:22-43:32) " symbolFor" -(63:31-63:45) "('react.scope'" --> (43:32-43:46) "('react.scope'" +(63:31-63:45) "('react.scope'" --> (43:32-43:46) "(\"react.scope\"" (63:45-64:2) ");\n " --> (43:46-44:0) ");" (64:2-64:25) " REACT_OPAQUE_ID_TYPE =" --> (44:0-44:26) "\n\t\t\tREACT_OPAQUE_ID_TYPE =" (64:25-64:35) " symbolFor" --> (44:26-44:36) " symbolFor" -(64:35-64:53) "('react.opaque.id'" --> (44:36-44:54) "('react.opaque.id'" +(64:35-64:53) "('react.opaque.id'" --> (44:36-44:54) "(\"react.opaque.id\"" (64:53-65:2) ");\n " --> (44:54-45:0) ");" (65:2-65:34) " REACT_DEBUG_TRACING_MODE_TYPE =" --> (45:0-45:35) "\n\t\t\tREACT_DEBUG_TRACING_MODE_TYPE =" (65:34-65:44) " symbolFor" --> (45:35-45:45) " symbolFor" -(65:44-65:69) "('react.debug_trace_mode'" --> (45:45-45:70) "('react.debug_trace_mode'" +(65:44-65:69) "('react.debug_trace_mode'" --> (45:45-45:70) "(\"react.debug_trace_mode\"" (65:69-66:2) ");\n " --> (45:70-46:0) ");" (66:2-66:25) " REACT_OFFSCREEN_TYPE =" --> (46:0-46:26) "\n\t\t\tREACT_OFFSCREEN_TYPE =" (66:25-66:35) " symbolFor" --> (46:26-46:36) " symbolFor" -(66:35-66:53) "('react.offscreen'" --> (46:36-46:54) "('react.offscreen'" +(66:35-66:53) "('react.offscreen'" --> (46:36-46:54) "(\"react.offscreen\"" (66:53-67:2) ");\n " --> (46:54-47:0) ");" (67:2-67:29) " REACT_LEGACY_HIDDEN_TYPE =" --> (47:0-47:30) "\n\t\t\tREACT_LEGACY_HIDDEN_TYPE =" (67:29-67:39) " symbolFor" --> (47:30-47:40) " symbolFor" -(67:39-67:61) "('react.legacy_hidden'" --> (47:40-47:62) "('react.legacy_hidden'" +(67:39-67:61) "('react.legacy_hidden'" --> (47:40-47:62) "(\"react.legacy_hidden\"" (67:61-68:1) ");\n" --> (47:62-48:2) ");\n\t" (68:1-70:0) "}\n" --> (48:2-49:2) "\t}\n\t" (70:0-70:4) "\nvar" --> (49:2-49:6) "\tvar" (70:4-70:35) " MAYBE_ITERATOR_SYMBOL = typeof" --> (49:6-49:37) " MAYBE_ITERATOR_SYMBOL = typeof" (70:35-70:46) " Symbol ===" --> (49:37-49:48) " Symbol ===" -(70:46-70:60) " 'function' &&" --> (49:48-49:62) " 'function' &&" +(70:46-70:60) " 'function' &&" --> (49:48-49:62) " \"function\" &&" (70:60-70:67) " Symbol" --> (49:62-49:69) " Symbol" (70:67-71:0) ".iterator;" --> (49:69-50:2) ".iterator;\n\t" (71:0-71:4) "\nvar" --> (50:2-50:6) "\tvar" (71:4-71:27) " FAUX_ITERATOR_SYMBOL =" --> (50:6-50:29) " FAUX_ITERATOR_SYMBOL =" -(71:27-72:0) " '@@iterator';" --> (50:29-51:2) " '@@iterator';\n\t" +(71:27-72:0) " '@@iterator';" --> (50:29-51:2) " \"@@iterator\";\n\t" (72:0-72:9) "\nfunction" --> (51:2-51:11) "\tfunction" (72:9-72:23) " getIteratorFn" --> (51:11-51:25) " getIteratorFn" (72:23-72:38) "(maybeIterable)" --> (51:25-51:40) "(maybeIterable)" @@ -607,7 +607,7 @@ Invalid Character `[` (73:6-73:24) "(maybeIterable ===" --> (52:7-52:25) "(maybeIterable ===" (73:24-73:39) " null || typeof" --> (52:25-52:40) " null || typeof" (73:39-73:57) " maybeIterable !==" --> (52:40-52:58) " maybeIterable !==" -(73:57-73:67) " 'object')" --> (52:58-52:68) " 'object')" +(73:57-73:67) " 'object')" --> (52:58-52:68) " \"object\")" (73:67-74:4) " {\n " --> (52:68-53:0) " {" (74:4-74:11) " return" --> (53:0-53:11) "\n\t\t\t\treturn" (74:11-75:3) " null;\n " --> (53:11-54:3) " null;\n\t\t" @@ -621,7 +621,7 @@ Invalid Character `[` (77:101-79:2) "[FAUX_ITERATOR_SYMBOL];\n\n " --> (55:102-56:0) "[FAUX_ITERATOR_SYMBOL];" (79:2-79:13) " if (typeof" --> (56:0-56:14) "\n\t\t\tif (typeof" (79:13-79:31) " maybeIterator ===" --> (56:14-56:32) " maybeIterator ===" -(79:31-79:43) " 'function')" --> (56:32-56:44) " 'function')" +(79:31-79:43) " 'function')" --> (56:32-56:44) " \"function\")" (79:43-80:4) " {\n " --> (56:44-57:0) " {" (80:4-80:11) " return" --> (57:0-57:11) "\n\t\t\t\treturn" (80:11-81:3) " maybeIterator;\n " --> (57:11-58:3) " maybeIterator;\n\t\t" @@ -683,7 +683,7 @@ Invalid Character `[` (137:56-138:4) " {\n " --> (78:56-79:4) " {\n\t\t\t" (138:4-138:8) " var" --> (79:4-79:8) "\tvar" (138:8-138:16) " stack =" --> (79:8-79:16) " stack =" -(138:16-140:4) " ''; // Add an extra top frame while an element is being validated\n\n " --> (79:16-80:0) " '';" +(138:16-140:4) " ''; // Add an extra top frame while an element is being validated\n\n " --> (79:16-80:0) " \"\";" (140:4-140:8) " if " --> (80:0-80:8) "\n\t\t\t\tif " (140:8-140:32) "(currentExtraStackFrame)" --> (80:8-80:32) "(currentExtraStackFrame)" (140:32-141:6) " {\n " --> (80:32-81:0) " {" @@ -700,7 +700,7 @@ Invalid Character `[` (148:6-148:15) " stack +=" --> (85:0-85:14) "\n\t\t\t\t\tstack +=" (148:15-148:21) " impl(" --> (85:14-85:20) " impl(" (148:21-148:25) ") ||" --> (85:20-85:24) ") ||" -(148:25-149:5) " '';\n " --> (85:24-86:4) " '';\n\t\t\t" +(148:25-149:5) " '';\n " --> (85:24-86:4) " \"\";\n\t\t\t" (149:5-151:4) "}\n\n " --> (86:4-87:0) "\t}" (151:4-151:11) " return" --> (87:0-87:11) "\n\t\t\t\treturn" (151:11-152:3) " stack;\n " --> (87:11-88:3) " stack;\n\t\t" @@ -762,7 +762,7 @@ Invalid Character `[` (183:33-184:5) "[_key];\n " --> (104:32-105:4) "[_key];\n\t\t\t" (184:5-186:4) "}\n\n " --> (105:4-106:0) "\t}" (186:4-186:17) " printWarning" --> (106:0-106:17) "\n\t\t\t\tprintWarning" -(186:17-186:25) "('warn'," --> (106:17-106:25) "('warn'," +(186:17-186:25) "('warn'," --> (106:17-106:25) "(\"warn\"," (186:25-186:33) " format," --> (106:25-106:33) " format," (186:33-186:38) " args" --> (106:33-106:38) " args" (186:38-187:3) ");\n " --> (106:38-107:3) ");\n\t\t" @@ -799,7 +799,7 @@ Invalid Character `[` (192:34-193:5) "[_key2];\n " --> (112:33-113:4) "[_key2];\n\t\t\t" (193:5-195:4) "}\n\n " --> (113:4-114:0) "\t}" (195:4-195:17) " printWarning" --> (114:0-114:17) "\n\t\t\t\tprintWarning" -(195:17-195:26) "('error'," --> (114:17-114:26) "('error'," +(195:17-195:26) "('error'," --> (114:17-114:26) "(\"error\"," (195:26-195:34) " format," --> (114:26-114:34) " format," (195:34-195:39) " args" --> (114:34-114:39) " args" (195:39-196:3) ");\n " --> (114:39-115:3) ");\n\t\t" @@ -823,10 +823,10 @@ Invalid Character `[` (204:57-206:4) ");\n\n " --> (120:57-121:0) ");" (206:4-206:8) " if " --> (121:0-121:8) "\n\t\t\t\tif " (206:8-206:18) "(stack !==" --> (121:8-121:18) "(stack !==" -(206:18-206:22) " '')" --> (121:18-121:22) " '')" +(206:18-206:22) " '')" --> (121:18-121:22) " \"\")" (206:22-207:6) " {\n " --> (121:22-122:0) " {" (207:6-207:16) " format +=" --> (122:0-122:15) "\n\t\t\t\t\tformat +=" -(207:16-208:6) " '%s';\n " --> (122:15-123:0) " '%s';" +(207:16-208:6) " '%s';\n " --> (122:15-123:0) " \"%s\";" (208:6-208:13) " args =" --> (123:0-123:12) "\n\t\t\t\t\targs =" (208:13-208:18) " args" --> (123:12-123:17) " args" (208:18-208:25) ".concat" --> (123:17-123:24) ".concat" @@ -843,13 +843,13 @@ Invalid Character `[` (211:44-211:50) "(item)" --> (125:43-125:49) "(item)" (211:50-212:6) " {\n " --> (125:49-126:0) " {" (212:6-212:13) " return" --> (126:0-126:12) "\n\t\t\t\t\treturn" -(212:13-212:18) " '' +" --> (126:12-126:17) " '' +" +(212:13-212:18) " '' +" --> (126:12-126:17) " \"\" +" (212:18-213:5) " item;\n " --> (126:17-127:4) " item;\n\t\t\t" (213:5-213:6) "}" --> (127:4-127:6) "\t}" (213:6-215:4) "); // Careful: RN currently depends on this prefix\n\n " --> (127:6-128:0) ");" (215:4-215:19) " argsWithFormat" --> (128:0-128:19) "\n\t\t\t\targsWithFormat" (215:19-215:27) ".unshift" --> (128:19-128:27) ".unshift" -(215:27-215:41) "('Warning: ' +" --> (128:27-128:41) "('Warning: ' +" +(215:27-215:41) "('Warning: ' +" --> (128:27-128:41) "(\"Warning: \" +" (215:41-215:48) " format" --> (128:41-128:48) " format" (215:48-219:4) "); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n " --> (128:48-129:0) ");" (219:4-219:13) " Function" --> (129:0-129:13) "\n\t\t\t\tFunction" @@ -884,11 +884,11 @@ Invalid Character `[` (228:54-228:69) ".displayName ||" --> (136:54-136:69) ".displayName ||" (228:69-228:82) " _constructor" --> (136:69-136:82) " _constructor" (228:82-228:91) ".name) ||" --> (136:82-136:91) ".name) ||" -(228:91-229:4) " 'ReactClass';\n " --> (136:91-137:4) " 'ReactClass';\n\t\t\t" +(228:91-229:4) " 'ReactClass';\n " --> (136:91-137:4) " \"ReactClass\";\n\t\t\t" (229:4-229:8) " var" --> (137:4-137:8) "\tvar" (229:8-229:21) " warningKey =" --> (137:8-137:21) " warningKey =" (229:21-229:37) " componentName +" --> (137:21-137:37) " componentName +" -(229:37-229:43) " \".\" +" --> (137:37-137:43) " '.' +" +(229:37-229:43) " \".\" +" --> (137:37-137:43) " \".\" +" (229:43-231:4) " callerName;\n\n " --> (137:43-138:0) " callerName;" (231:4-231:8) " if " --> (138:0-138:8) "\n\t\t\t\tif " (231:8-231:48) "(didWarnStateUpdateForUnmountedComponent" --> (138:8-138:48) "(didWarnStateUpdateForUnmountedComponent" @@ -898,9 +898,9 @@ Invalid Character `[` (233:5-235:4) "}\n\n " --> (140:4-141:0) "\t}" (235:4-235:10) " error" --> (141:0-141:10) "\n\t\t\t\terror" (235:10-235:69) "(\"Can't call %s on a component that is not yet mounted. \" +" --> (141:10-141:69) "(\"Can't call %s on a component that is not yet mounted. \" +" -(235:69-235:140) " 'This is a no-op, but it might indicate a bug in your application. ' +" --> (141:69-141:140) " 'This is a no-op, but it might indicate a bug in your application. ' +" -(235:140-235:212) " 'Instead, assign to `this.state` directly or define a `state = {};` ' +" --> (141:140-141:212) " 'Instead, assign to `this.state` directly or define a `state = {};` ' +" -(235:212-235:274) " 'class property with the desired state in the %s component.'," --> (141:212-141:274) " 'class property with the desired state in the %s component.'," +(235:69-235:140) " 'This is a no-op, but it might indicate a bug in your application. ' +" --> (141:69-141:140) " \"This is a no-op, but it might indicate a bug in your application. \" +" +(235:140-235:212) " 'Instead, assign to `this.state` directly or define a `state = {};` ' +" --> (141:140-141:212) " \"Instead, assign to `this.state` directly or define a `state = {};` \" +" +(235:212-235:274) " 'class property with the desired state in the %s component.'," --> (141:212-141:274) " \"class property with the desired state in the %s component.\"," (235:274-235:286) " callerName," --> (141:274-141:286) " callerName," (235:286-235:300) " componentName" --> (141:286-141:300) " componentName" (235:300-237:4) ");\n\n " --> (141:300-142:0) ");" @@ -927,7 +927,7 @@ Invalid Character `[` (272:70-273:4) " {\n " --> (149:70-150:0) " {" (273:4-273:13) " warnNoop" --> (150:0-150:13) "\n\t\t\t\twarnNoop" (273:13-273:29) "(publicInstance," --> (150:13-150:29) "(publicInstance," -(273:29-273:43) " 'forceUpdate'" --> (150:29-150:43) " 'forceUpdate'" +(273:29-273:43) " 'forceUpdate'" --> (150:29-150:43) " \"forceUpdate\"" (273:43-274:3) ");\n " --> (150:43-151:3) ");\n\t\t" (274:3-289:2) "},\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @param {?function} callback Called after component is updated.\n * @param {?string} callerName name of the calling function in the public API.\n * @internal\n */\n " --> (151:3-152:3) "\t},\n\t\t" (289:2-289:23) " enqueueReplaceState:" --> (152:3-152:24) "\tenqueueReplaceState:" @@ -939,7 +939,7 @@ Invalid Character `[` (289:86-290:4) " {\n " --> (152:86-153:0) " {" (290:4-290:13) " warnNoop" --> (153:0-153:13) "\n\t\t\t\twarnNoop" (290:13-290:29) "(publicInstance," --> (153:13-153:29) "(publicInstance," -(290:29-290:44) " 'replaceState'" --> (153:29-153:44) " 'replaceState'" +(290:29-290:44) " 'replaceState'" --> (153:29-153:44) " \"replaceState\"" (290:44-291:3) ");\n " --> (153:44-154:3) ");\n\t\t" (291:3-305:2) "},\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @param {?function} callback Called after component is updated.\n * @param {?string} Name of the calling function in the public API.\n * @internal\n */\n " --> (154:3-155:3) "\t},\n\t\t" (305:2-305:19) " enqueueSetState:" --> (155:3-155:20) "\tenqueueSetState:" @@ -951,7 +951,7 @@ Invalid Character `[` (305:81-306:4) " {\n " --> (155:81-156:0) " {" (306:4-306:13) " warnNoop" --> (156:0-156:13) "\n\t\t\t\twarnNoop" (306:13-306:29) "(publicInstance," --> (156:13-156:29) "(publicInstance," -(306:29-306:40) " 'setState'" --> (156:29-156:40) " 'setState'" +(306:29-306:40) " 'setState'" --> (156:29-156:40) " \"setState\"" (306:40-307:3) ");\n " --> (156:40-157:3) ");\n\t\t" (307:3-308:1) "}\n" --> (157:3-158:2) "\t}\n\t" (308:1-310:0) "};\n" --> (158:2-159:2) "\t};\n\t" @@ -999,16 +999,16 @@ Invalid Character `[` (357:65-358:2) " {\n " --> (170:66-171:0) " {" (358:2-358:15) " if (!(typeof" --> (171:0-171:16) "\n\t\t\tif (!(typeof" (358:15-358:32) " partialState ===" --> (171:16-171:33) " partialState ===" -(358:32-358:51) " 'object' || typeof" --> (171:33-171:52) " 'object' || typeof" +(358:32-358:51) " 'object' || typeof" --> (171:33-171:52) " \"object\" || typeof" (358:51-358:68) " partialState ===" --> (171:52-171:69) " partialState ===" -(358:68-358:82) " 'function' ||" --> (171:69-171:83) " 'function' ||" +(358:68-358:82) " 'function' ||" --> (171:69-171:83) " \"function\" ||" (358:82-358:98) " partialState ==" --> (171:83-171:99) " partialState ==" (358:98-358:105) " null))" --> (171:99-171:106) " null))" (358:105-359:4) " {\n " --> (171:106-172:4) " {\n\t\t\t" (359:4-360:6) " {\n " --> (172:4-173:0) "\t{" (360:6-360:12) " throw" --> (173:0-173:11) "\n\t\t\t\t\tthrow" (360:12-360:19) " Error(" --> (173:11-173:17) " Error" -(360:19-360:140) " \"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\" " --> (173:17-173:137) "('setState(...): takes an object of state variables to update or a function which returns an object of state variables.'" +(360:19-360:140) " \"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\" " --> (173:17-173:137) "(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\"" (360:140-361:5) ");\n " --> (173:137-174:4) ");\n\t\t\t" (361:5-362:3) "}\n " --> (174:4-175:3) "\t}\n\t\t" (362:3-364:2) "}\n\n " --> (175:3-176:0) "\t}" @@ -1018,7 +1018,7 @@ Invalid Character `[` (364:31-364:37) "(this," --> (176:32-176:38) "(this," (364:37-364:51) " partialState," --> (176:38-176:52) " partialState," (364:51-364:61) " callback," --> (176:52-176:62) " callback," -(364:61-364:72) " 'setState'" --> (176:62-176:73) " 'setState'" +(364:61-364:72) " 'setState'" --> (176:62-176:73) " \"setState\"" (364:72-365:1) ");\n" --> (176:73-177:2) ");\n\t" (365:1-382:0) "};\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\n\n" --> (177:2-178:0) "\t};" (382:0-382:10) "\nComponent" --> (178:0-178:12) "\n\t\tComponent" @@ -1032,7 +1032,7 @@ Invalid Character `[` (383:15-383:34) ".enqueueForceUpdate" --> (179:16-179:35) ".enqueueForceUpdate" (383:34-383:40) "(this," --> (179:35-179:41) "(this," (383:40-383:50) " callback," --> (179:41-179:51) " callback," -(383:50-383:64) " 'forceUpdate'" --> (179:51-179:65) " 'forceUpdate'" +(383:50-383:64) " 'forceUpdate'" --> (179:51-179:65) " \"forceUpdate\"" (383:64-384:1) ");\n" --> (179:65-180:2) ");\n\t" (384:1-392:0) "};\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\n\n" --> (180:2-181:2) "\t};\n\t" (392:0-393:2) "\n{\n " --> (181:2-182:3) "\t{\n\t\t" @@ -1041,15 +1041,15 @@ Invalid Character `[` (393:23-394:4) " {\n " --> (182:24-183:4) " {\n\t\t\t" (394:4-394:15) " isMounted:" --> (183:4-183:15) "\tisMounted:" (394:15-394:16) " " --> (183:15-183:16) " " -(394:16-394:29) "['isMounted'," --> (183:16-183:29) "['isMounted'," -(394:29-394:103) " 'Instead, make sure to clean up subscriptions and pending requests in ' +" --> (183:29-183:103) " 'Instead, make sure to clean up subscriptions and pending requests in ' +" -(394:103-394:151) " 'componentWillUnmount to prevent memory leaks.'" --> (183:103-183:151) " 'componentWillUnmount to prevent memory leaks.'" +(394:16-394:29) "['isMounted'," --> (183:16-183:29) "[\"isMounted\"," +(394:29-394:103) " 'Instead, make sure to clean up subscriptions and pending requests in ' +" --> (183:29-183:103) " \"Instead, make sure to clean up subscriptions and pending requests in \" +" +(394:103-394:151) " 'componentWillUnmount to prevent memory leaks.'" --> (183:103-183:151) " \"componentWillUnmount to prevent memory leaks.\"" (394:151-395:4) "],\n " --> (183:151-184:4) "],\n\t\t\t" (395:4-395:18) " replaceState:" --> (184:4-184:18) "\treplaceState:" (395:18-395:19) " " --> (184:18-184:19) " " -(395:19-395:35) "['replaceState'," --> (184:19-184:35) "['replaceState'," -(395:35-395:88) " 'Refactor your code to use setState instead (see ' +" --> (184:35-184:88) " 'Refactor your code to use setState instead (see ' +" -(395:88-395:138) " 'https://github.com/facebook/react/issues/3236).'" --> (184:88-184:138) " 'https://github.com/facebook/react/issues/3236).'" +(395:19-395:35) "['replaceState'," --> (184:19-184:35) "[\"replaceState\"," +(395:35-395:88) " 'Refactor your code to use setState instead (see ' +" --> (184:35-184:88) " \"Refactor your code to use setState instead (see \" +" +(395:88-395:138) " 'https://github.com/facebook/react/issues/3236).'" --> (184:88-184:138) " \"https://github.com/facebook/react/issues/3236).\"" (395:138-396:3) "]\n " --> (184:138-185:3) "]\n\t\t" (396:3-398:2) "};\n\n " --> (185:3-186:3) "\t};\n\t\t" (398:2-398:6) " var" --> (186:3-186:7) "\tvar" @@ -1068,7 +1068,7 @@ Invalid Character `[` (400:11-400:23) " function ()" --> (187:65-187:76) " function()" (400:23-401:8) " {\n " --> (187:76-188:0) " {" (401:8-401:13) " warn" --> (188:0-188:10) "\n\t\t\t\t\twarn" -(401:13-401:76) "('%s(...) is deprecated in plain JavaScript React classes. %s'," --> (188:10-188:73) "('%s(...) is deprecated in plain JavaScript React classes. %s'," +(401:13-401:76) "('%s(...) is deprecated in plain JavaScript React classes. %s'," --> (188:10-188:73) "(\"%s(...) is deprecated in plain JavaScript React classes. %s\"," (401:76-401:81) " info" --> (188:73-188:78) " info" (401:81-401:85) "[0]," --> (188:78-188:82) "[0]," (401:85-401:90) " info" --> (188:82-188:87) " info" @@ -1174,16 +1174,16 @@ Invalid Character `[` (451:31-451:46) ".displayName ||" --> (218:32-218:47) ".displayName ||" (451:46-451:56) " innerType" --> (218:47-218:57) " innerType" (451:56-451:64) ".name ||" --> (218:57-218:65) ".name ||" -(451:64-452:2) " '';\n " --> (218:65-219:0) " '';" +(451:64-452:2) " '';\n " --> (218:65-219:0) " \"\";" (452:2-452:9) " return" --> (219:0-219:10) "\n\t\t\treturn" (452:9-452:19) " outerType" --> (219:10-219:20) " outerType" (452:19-452:35) ".displayName || " --> (219:20-219:36) ".displayName || " (452:35-452:52) "(functionName !==" --> (219:36-219:53) "(functionName !==" -(452:52-452:57) " '' ?" --> (219:53-219:58) " '' ?" +(452:52-452:57) " '' ?" --> (219:53-219:58) " \"\" ?" (452:57-452:71) " wrapperName +" --> (219:58-219:72) " wrapperName +" -(452:71-452:77) " \"(\" +" --> (219:72-219:78) " '(' +" +(452:71-452:77) " \"(\" +" --> (219:72-219:78) " \"(\" +" (452:77-452:92) " functionName +" --> (219:78-219:93) " functionName +" -(452:92-452:98) " \")\" :" --> (219:93-219:99) " ')' :" +(452:92-452:98) " \")\" :" --> (219:93-219:99) " \")\" :" (452:98-453:1) " wrapperName);\n" --> (219:99-220:2) " wrapperName);\n\t" (453:1-455:0) "}\n" --> (220:2-221:2) "\t}\n\t" (455:0-455:9) "\nfunction" --> (221:2-221:11) "\tfunction" @@ -1193,7 +1193,7 @@ Invalid Character `[` (456:2-456:9) " return" --> (222:0-222:10) "\n\t\t\treturn" (456:9-456:14) " type" --> (222:10-222:15) " type" (456:14-456:29) ".displayName ||" --> (222:15-222:30) ".displayName ||" -(456:29-457:1) " 'Context';\n" --> (222:30-223:2) " 'Context';\n\t" +(456:29-457:1) " 'Context';\n" --> (222:30-223:2) " \"Context\";\n\t" (457:1-459:0) "}\n" --> (223:2-224:2) "\t}\n\t" (459:0-459:9) "\nfunction" --> (224:2-224:11) "\tfunction" (459:9-459:26) " getComponentName" --> (224:11-224:28) " getComponentName" @@ -1210,17 +1210,17 @@ Invalid Character `[` (466:4-466:15) " if (typeof" --> (229:0-229:15) "\n\t\t\t\tif (typeof" (466:15-466:20) " type" --> (229:15-229:20) " type" (466:20-466:28) ".tag ===" --> (229:20-229:28) ".tag ===" -(466:28-466:38) " 'number')" --> (229:28-229:38) " 'number')" +(466:28-466:38) " 'number')" --> (229:28-229:38) " \"number\")" (466:38-467:6) " {\n " --> (229:38-230:0) " {" (467:6-467:12) " error" --> (230:0-230:11) "\n\t\t\t\t\terror" -(467:12-467:70) "('Received an unexpected object in getComponentName(). ' +" --> (230:11-230:69) "('Received an unexpected object in getComponentName(). ' +" -(467:70-467:125) " 'This is likely a bug in React. Please file an issue.'" --> (230:69-230:124) " 'This is likely a bug in React. Please file an issue.'" +(467:12-467:70) "('Received an unexpected object in getComponentName(). ' +" --> (230:11-230:69) "(\"Received an unexpected object in getComponentName(). \" +" +(467:70-467:125) " 'This is likely a bug in React. Please file an issue.'" --> (230:69-230:124) " \"This is likely a bug in React. Please file an issue.\"" (467:125-468:5) ");\n " --> (230:124-231:4) ");\n\t\t\t" (468:5-469:3) "}\n " --> (231:4-232:3) "\t}\n\t\t" (469:3-471:2) "}\n\n " --> (232:3-233:0) "\t}" (471:2-471:13) " if (typeof" --> (233:0-233:14) "\n\t\t\tif (typeof" (471:13-471:22) " type ===" --> (233:14-233:23) " type ===" -(471:22-471:34) " 'function')" --> (233:23-233:35) " 'function')" +(471:22-471:34) " 'function')" --> (233:23-233:35) " \"function\")" (471:34-472:4) " {\n " --> (233:35-234:0) " {" (472:4-472:11) " return" --> (234:0-234:11) "\n\t\t\t\treturn" (472:11-472:16) " type" --> (234:11-234:16) " type" @@ -1231,7 +1231,7 @@ Invalid Character `[` (473:3-475:2) "}\n\n " --> (235:3-236:0) "\t}" (475:2-475:13) " if (typeof" --> (236:0-236:14) "\n\t\t\tif (typeof" (475:13-475:22) " type ===" --> (236:14-236:23) " type ===" -(475:22-475:32) " 'string')" --> (236:23-236:33) " 'string')" +(475:22-475:32) " 'string')" --> (236:23-236:33) " \"string\")" (475:32-476:4) " {\n " --> (236:33-237:0) " {" (476:4-476:11) " return" --> (237:0-237:11) "\n\t\t\t\treturn" (476:11-477:3) " type;\n " --> (237:11-238:3) " type;\n\t\t" @@ -1243,34 +1243,34 @@ Invalid Character `[` (480:9-480:17) " exports" --> (240:9-240:17) " exports" (480:17-481:6) ".Fragment:\n " --> (240:17-240:26) ".Fragment" (481:6-481:13) " return" --> (240:26-240:34) ": return" -(481:13-483:4) " 'Fragment';\n\n " --> (240:34-241:0) " 'Fragment';" +(481:13-483:4) " 'Fragment';\n\n " --> (240:34-241:0) " \"Fragment\";" (483:4-483:9) " case" --> (241:0-241:9) "\n\t\t\t\tcase" (483:9-484:6) " REACT_PORTAL_TYPE:\n " --> (241:9-241:27) " REACT_PORTAL_TYPE" (484:6-484:13) " return" --> (241:27-241:35) ": return" -(484:13-486:4) " 'Portal';\n\n " --> (241:35-242:0) " 'Portal';" +(484:13-486:4) " 'Portal';\n\n " --> (241:35-242:0) " \"Portal\";" (486:4-486:9) " case" --> (242:0-242:9) "\n\t\t\t\tcase" (486:9-486:17) " exports" --> (242:9-242:17) " exports" (486:17-487:6) ".Profiler:\n " --> (242:17-242:26) ".Profiler" (487:6-487:13) " return" --> (242:26-242:34) ": return" -(487:13-489:4) " 'Profiler';\n\n " --> (242:34-243:0) " 'Profiler';" +(487:13-489:4) " 'Profiler';\n\n " --> (242:34-243:0) " \"Profiler\";" (489:4-489:9) " case" --> (243:0-243:9) "\n\t\t\t\tcase" (489:9-489:17) " exports" --> (243:9-243:17) " exports" (489:17-490:6) ".StrictMode:\n " --> (243:17-243:28) ".StrictMode" (490:6-490:13) " return" --> (243:28-243:36) ": return" -(490:13-492:4) " 'StrictMode';\n\n " --> (243:36-244:0) " 'StrictMode';" +(490:13-492:4) " 'StrictMode';\n\n " --> (243:36-244:0) " \"StrictMode\";" (492:4-492:9) " case" --> (244:0-244:9) "\n\t\t\t\tcase" (492:9-492:17) " exports" --> (244:9-244:17) " exports" (492:17-493:6) ".Suspense:\n " --> (244:17-244:26) ".Suspense" (493:6-493:13) " return" --> (244:26-244:34) ": return" -(493:13-495:4) " 'Suspense';\n\n " --> (244:34-245:0) " 'Suspense';" +(493:13-495:4) " 'Suspense';\n\n " --> (244:34-245:0) " \"Suspense\";" (495:4-495:9) " case" --> (245:0-245:9) "\n\t\t\t\tcase" (495:9-496:6) " REACT_SUSPENSE_LIST_TYPE:\n " --> (245:9-245:34) " REACT_SUSPENSE_LIST_TYPE" (496:6-496:13) " return" --> (245:34-245:42) ": return" -(496:13-497:3) " 'SuspenseList';\n " --> (245:42-246:3) " 'SuspenseList';\n\t\t" +(496:13-497:3) " 'SuspenseList';\n " --> (245:42-246:3) " \"SuspenseList\";\n\t\t" (497:3-499:2) "}\n\n " --> (246:3-247:0) "\t}" (499:2-499:13) " if (typeof" --> (247:0-247:14) "\n\t\t\tif (typeof" (499:13-499:22) " type ===" --> (247:14-247:23) " type ===" -(499:22-499:32) " 'object')" --> (247:23-247:33) " 'object')" +(499:22-499:32) " 'object')" --> (247:23-247:33) " \"object\")" (499:32-500:4) " {\n " --> (247:33-248:0) " {" (500:4-500:12) " switch " --> (248:0-248:12) "\n\t\t\t\tswitch " (500:12-500:17) "(type" --> (248:12-248:17) "(type" @@ -1285,7 +1285,7 @@ Invalid Character `[` (503:15-503:30) " getContextName" --> (251:13-251:28) " getContextName" (503:30-503:38) "(context" --> (251:28-251:36) "(context" (503:38-503:41) ") +" --> (251:36-251:39) ") +" -(503:41-505:6) " '.Consumer';\n\n " --> (251:39-252:0) " '.Consumer';" +(503:41-505:6) " '.Consumer';\n\n " --> (251:39-252:0) " \".Consumer\";" (505:6-505:11) " case" --> (252:0-252:10) "\n\t\t\t\t\tcase" (505:11-506:8) " REACT_PROVIDER_TYPE:\n " --> (252:10-253:6) " REACT_PROVIDER_TYPE:\n\t\t\t\t\t" (506:8-506:12) " var" --> (253:6-253:10) "\tvar" @@ -1296,7 +1296,7 @@ Invalid Character `[` (507:30-507:39) "(provider" --> (254:28-254:37) "(provider" (507:39-507:48) "._context" --> (254:37-254:46) "._context" (507:48-507:51) ") +" --> (254:46-254:49) ") +" -(507:51-509:6) " '.Provider';\n\n " --> (254:49-255:0) " '.Provider';" +(507:51-509:6) " '.Provider';\n\n " --> (254:49-255:0) " \".Provider\";" (509:6-509:11) " case" --> (255:0-255:10) "\n\t\t\t\t\tcase" (509:11-510:8) " REACT_FORWARD_REF_TYPE:\n " --> (255:10-255:33) " REACT_FORWARD_REF_TYPE" (510:8-510:15) " return" --> (255:33-255:41) ": return" @@ -1304,7 +1304,7 @@ Invalid Character `[` (510:30-510:36) "(type," --> (255:56-255:62) "(type," (510:36-510:41) " type" --> (255:62-255:67) " type" (510:41-510:49) ".render," --> (255:67-255:75) ".render," -(510:49-510:62) " 'ForwardRef'" --> (255:75-255:88) " 'ForwardRef'" +(510:49-510:62) " 'ForwardRef'" --> (255:75-255:88) " \"ForwardRef\"" (510:62-512:6) ");\n\n " --> (255:88-256:0) ");" (512:6-512:11) " case" --> (256:0-256:10) "\n\t\t\t\t\tcase" (512:11-513:8) " REACT_MEMO_TYPE:\n " --> (256:10-256:26) " REACT_MEMO_TYPE" @@ -1389,7 +1389,7 @@ Invalid Character `[` (551:8-551:23) "(hasOwnProperty" --> (285:8-285:23) "(hasOwnProperty" (551:23-551:28) ".call" --> (285:23-285:28) ".call" (551:28-551:36) "(config," --> (285:28-285:36) "(config," -(551:36-551:42) " 'ref'" --> (285:36-285:42) " 'ref'" +(551:36-551:42) " 'ref'" --> (285:36-285:42) " \"ref\"" (551:42-551:44) "))" --> (285:42-285:44) "))" (551:44-552:6) " {\n " --> (285:44-286:5) " {\n\t\t\t\t" (552:6-552:10) " var" --> (286:5-286:9) "\tvar" @@ -1397,7 +1397,7 @@ Invalid Character `[` (552:19-552:26) " Object" --> (286:18-286:25) " Object" (552:26-552:51) ".getOwnPropertyDescriptor" --> (286:25-286:50) ".getOwnPropertyDescriptor" (552:51-552:59) "(config," --> (286:50-286:58) "(config," -(552:59-552:65) " 'ref'" --> (286:58-286:64) " 'ref'" +(552:59-552:65) " 'ref'" --> (286:58-286:64) " \"ref\"" (552:65-552:66) ")" --> (286:64-286:65) ")" (552:66-554:6) ".get;\n\n " --> (286:65-287:0) ".get;" (554:6-554:10) " if " --> (287:0-287:9) "\n\t\t\t\t\tif " @@ -1424,7 +1424,7 @@ Invalid Character `[` (565:8-565:23) "(hasOwnProperty" --> (296:8-296:23) "(hasOwnProperty" (565:23-565:28) ".call" --> (296:23-296:28) ".call" (565:28-565:36) "(config," --> (296:28-296:36) "(config," -(565:36-565:42) " 'key'" --> (296:36-296:42) " 'key'" +(565:36-565:42) " 'key'" --> (296:36-296:42) " \"key\"" (565:42-565:44) "))" --> (296:42-296:44) "))" (565:44-566:6) " {\n " --> (296:44-297:5) " {\n\t\t\t\t" (566:6-566:10) " var" --> (297:5-297:9) "\tvar" @@ -1432,7 +1432,7 @@ Invalid Character `[` (566:19-566:26) " Object" --> (297:18-297:25) " Object" (566:26-566:51) ".getOwnPropertyDescriptor" --> (297:25-297:50) ".getOwnPropertyDescriptor" (566:51-566:59) "(config," --> (297:50-297:58) "(config," -(566:59-566:65) " 'key'" --> (297:58-297:64) " 'key'" +(566:59-566:65) " 'key'" --> (297:58-297:64) " \"key\"" (566:65-566:66) ")" --> (297:64-297:65) ")" (566:66-568:6) ".get;\n\n " --> (297:65-298:0) ".get;" (568:6-568:10) " if " --> (298:0-298:9) "\n\t\t\t\t\tif " @@ -1466,10 +1466,10 @@ Invalid Character `[` (581:8-581:37) " specialPropKeyWarningShown =" --> (309:0-309:35) "\n\t\t\t\t\t\tspecialPropKeyWarningShown =" (581:37-583:8) " true;\n\n " --> (309:35-310:0) " true;" (583:8-583:14) " error" --> (310:0-310:12) "\n\t\t\t\t\t\terror" -(583:14-583:76) "('%s: `key` is not a prop. Trying to access it will result ' +" --> (310:12-310:74) "('%s: `key` is not a prop. Trying to access it will result ' +" -(583:76-583:143) " 'in `undefined` being returned. If you need to access the same ' +" --> (310:74-310:141) " 'in `undefined` being returned. If you need to access the same ' +" -(583:143-583:216) " 'value within the child component, you should pass it as a different ' +" --> (310:141-310:214) " 'value within the child component, you should pass it as a different ' +" -(583:216-583:266) " 'prop. (https://reactjs.org/link/special-props)'," --> (310:214-310:264) " 'prop. (https://reactjs.org/link/special-props)'," +(583:14-583:76) "('%s: `key` is not a prop. Trying to access it will result ' +" --> (310:12-310:74) "(\"%s: `key` is not a prop. Trying to access it will result \" +" +(583:76-583:143) " 'in `undefined` being returned. If you need to access the same ' +" --> (310:74-310:141) " \"in `undefined` being returned. If you need to access the same \" +" +(583:143-583:216) " 'value within the child component, you should pass it as a different ' +" --> (310:141-310:214) " \"value within the child component, you should pass it as a different \" +" +(583:216-583:266) " 'prop. (https://reactjs.org/link/special-props)'," --> (310:214-310:264) " \"prop. (https://reactjs.org/link/special-props)\"," (583:266-583:278) " displayName" --> (310:264-310:276) " displayName" (583:278-584:7) ");\n " --> (310:276-311:5) ");\n\t\t\t\t" (584:7-585:5) "}\n " --> (311:5-312:4) "\t}\n\t\t\t" @@ -1481,7 +1481,7 @@ Invalid Character `[` (589:2-589:9) " Object" --> (315:0-315:10) "\n\t\t\tObject" (589:9-589:24) ".defineProperty" --> (315:10-315:25) ".defineProperty" (589:24-589:31) "(props," --> (315:25-315:32) "(props," -(589:31-589:38) " 'key'," --> (315:32-315:39) " 'key'," +(589:31-589:38) " 'key'," --> (315:32-315:39) " \"key\"," (589:38-590:4) " {\n " --> (315:39-316:4) " {\n\t\t\t" (590:4-590:9) " get:" --> (316:4-316:9) "\tget:" (590:9-591:4) " warnAboutAccessingKey,\n " --> (316:9-317:4) " warnAboutAccessingKey,\n\t\t\t" @@ -1506,10 +1506,10 @@ Invalid Character `[` (599:8-599:37) " specialPropRefWarningShown =" --> (324:0-324:35) "\n\t\t\t\t\t\tspecialPropRefWarningShown =" (599:37-601:8) " true;\n\n " --> (324:35-325:0) " true;" (601:8-601:14) " error" --> (325:0-325:12) "\n\t\t\t\t\t\terror" -(601:14-601:76) "('%s: `ref` is not a prop. Trying to access it will result ' +" --> (325:12-325:74) "('%s: `ref` is not a prop. Trying to access it will result ' +" -(601:76-601:143) " 'in `undefined` being returned. If you need to access the same ' +" --> (325:74-325:141) " 'in `undefined` being returned. If you need to access the same ' +" -(601:143-601:216) " 'value within the child component, you should pass it as a different ' +" --> (325:141-325:214) " 'value within the child component, you should pass it as a different ' +" -(601:216-601:266) " 'prop. (https://reactjs.org/link/special-props)'," --> (325:214-325:264) " 'prop. (https://reactjs.org/link/special-props)'," +(601:14-601:76) "('%s: `ref` is not a prop. Trying to access it will result ' +" --> (325:12-325:74) "(\"%s: `ref` is not a prop. Trying to access it will result \" +" +(601:76-601:143) " 'in `undefined` being returned. If you need to access the same ' +" --> (325:74-325:141) " \"in `undefined` being returned. If you need to access the same \" +" +(601:143-601:216) " 'value within the child component, you should pass it as a different ' +" --> (325:141-325:214) " \"value within the child component, you should pass it as a different \" +" +(601:216-601:266) " 'prop. (https://reactjs.org/link/special-props)'," --> (325:214-325:264) " \"prop. (https://reactjs.org/link/special-props)\"," (601:266-601:278) " displayName" --> (325:264-325:276) " displayName" (601:278-602:7) ");\n " --> (325:276-326:5) ");\n\t\t\t\t" (602:7-603:5) "}\n " --> (326:5-327:4) "\t}\n\t\t\t" @@ -1521,7 +1521,7 @@ Invalid Character `[` (607:2-607:9) " Object" --> (330:0-330:10) "\n\t\t\tObject" (607:9-607:24) ".defineProperty" --> (330:10-330:25) ".defineProperty" (607:24-607:31) "(props," --> (330:25-330:32) "(props," -(607:31-607:38) " 'ref'," --> (330:32-330:39) " 'ref'," +(607:31-607:38) " 'ref'," --> (330:32-330:39) " \"ref\"," (607:38-608:4) " {\n " --> (330:39-331:4) " {\n\t\t\t" (608:4-608:9) " get:" --> (331:4-331:9) "\tget:" (608:9-609:4) " warnAboutAccessingRef,\n " --> (331:9-332:4) " warnAboutAccessingRef,\n\t\t\t" @@ -1538,7 +1538,7 @@ Invalid Character `[` (615:4-615:15) " if (typeof" --> (337:0-337:15) "\n\t\t\t\tif (typeof" (615:15-615:22) " config" --> (337:15-337:22) " config" (615:22-615:30) ".ref ===" --> (337:22-337:30) ".ref ===" -(615:30-615:42) " 'string' &&" --> (337:30-337:42) " 'string' &&" +(615:30-615:42) " 'string' &&" --> (337:30-337:42) " \"string\" &&" (615:42-615:60) " ReactCurrentOwner" --> (337:42-337:60) " ReactCurrentOwner" (615:60-615:71) ".current &&" --> (337:60-337:71) ".current &&" (615:71-615:78) " config" --> (337:71-337:78) " config" @@ -1561,16 +1561,16 @@ Invalid Character `[` (618:34-618:50) "[componentName])" --> (339:33-339:49) "[componentName])" (618:50-619:8) " {\n " --> (339:49-340:0) " {" (619:8-619:14) " error" --> (340:0-340:12) "\n\t\t\t\t\t\terror" -(619:14-619:64) "('Component \"%s\" contains the string ref \"%s\". ' +" --> (340:12-340:62) "('Component \"%s\" contains the string ref \"%s\". ' +" -(619:64-619:136) " 'Support for string refs will be removed in a future major release. ' +" --> (340:62-340:134) " 'Support for string refs will be removed in a future major release. ' +" -(619:136-619:207) " 'This case cannot be automatically converted to an arrow function. ' +" --> (340:134-340:205) " 'This case cannot be automatically converted to an arrow function. ' +" -(619:207-619:291) " 'We ask you to manually fix this case by using useRef() or createRef() instead. ' +" --> (340:205-340:289) " 'We ask you to manually fix this case by using useRef() or createRef() instead. ' +" -(619:291-619:337) " 'Learn more about using refs safely here: ' +" --> (340:289-340:335) " 'Learn more about using refs safely here: ' +" -(619:337-619:388) " 'https://reactjs.org/link/strict-mode-string-ref'," --> (340:335-340:386) " 'https://reactjs.org/link/strict-mode-string-ref'," -(619:388-619:403) " componentName," --> (340:386-340:401) " componentName," -(619:403-619:410) " config" --> (340:401-340:408) " config" -(619:410-619:414) ".ref" --> (340:408-340:412) ".ref" -(619:414-621:8) ");\n\n " --> (340:412-341:0) ");" +(619:14-619:64) "('Component \"%s\" contains the string ref \"%s\". ' +" --> (340:12-340:66) "(\"Component \\\"%s\\\" contains the string ref \\\"%s\\\". \" +" +(619:64-619:136) " 'Support for string refs will be removed in a future major release. ' +" --> (340:66-340:138) " \"Support for string refs will be removed in a future major release. \" +" +(619:136-619:207) " 'This case cannot be automatically converted to an arrow function. ' +" --> (340:138-340:209) " \"This case cannot be automatically converted to an arrow function. \" +" +(619:207-619:291) " 'We ask you to manually fix this case by using useRef() or createRef() instead. ' +" --> (340:209-340:293) " \"We ask you to manually fix this case by using useRef() or createRef() instead. \" +" +(619:291-619:337) " 'Learn more about using refs safely here: ' +" --> (340:293-340:339) " \"Learn more about using refs safely here: \" +" +(619:337-619:388) " 'https://reactjs.org/link/strict-mode-string-ref'," --> (340:339-340:390) " \"https://reactjs.org/link/strict-mode-string-ref\"," +(619:388-619:403) " componentName," --> (340:390-340:405) " componentName," +(619:403-619:410) " config" --> (340:405-340:412) " config" +(619:410-619:414) ".ref" --> (340:412-340:416) ".ref" +(619:414-621:8) ");\n\n " --> (340:416-341:0) ");" (621:8-621:31) " didWarnAboutStringRefs" --> (341:0-341:29) "\n\t\t\t\t\t\tdidWarnAboutStringRefs" (621:31-621:48) "[componentName] =" --> (341:29-341:46) "[componentName] =" (621:48-622:7) " true;\n " --> (341:46-342:5) " true;\n\t\t\t\t" @@ -1614,7 +1614,7 @@ Invalid Character `[` (671:11-671:26) ".defineProperty" --> (357:11-357:26) ".defineProperty" (671:26-671:34) "(element" --> (357:26-357:34) "(element" (671:34-671:42) "._store," --> (357:34-357:42) "._store," -(671:42-671:55) " 'validated'," --> (357:42-357:55) " 'validated'," +(671:42-671:55) " 'validated'," --> (357:42-357:55) " \"validated\"," (671:55-672:6) " {\n " --> (357:55-358:5) " {\n\t\t\t\t" (672:6-672:20) " configurable:" --> (358:5-358:19) "\tconfigurable:" (672:20-673:6) " false,\n " --> (358:19-359:5) " false,\n\t\t\t\t" @@ -1629,7 +1629,7 @@ Invalid Character `[` (678:4-678:11) " Object" --> (363:0-363:11) "\n\t\t\t\tObject" (678:11-678:26) ".defineProperty" --> (363:11-363:26) ".defineProperty" (678:26-678:35) "(element," --> (363:26-363:35) "(element," -(678:35-678:44) " '_self'," --> (363:35-363:44) " '_self'," +(678:35-678:44) " '_self'," --> (363:35-363:44) " \"_self\"," (678:44-679:6) " {\n " --> (363:44-364:5) " {\n\t\t\t\t" (679:6-679:20) " configurable:" --> (364:5-364:19) "\tconfigurable:" (679:20-680:6) " false,\n " --> (364:19-365:5) " false,\n\t\t\t\t" @@ -1644,7 +1644,7 @@ Invalid Character `[` (686:4-686:11) " Object" --> (369:0-369:11) "\n\t\t\t\tObject" (686:11-686:26) ".defineProperty" --> (369:11-369:26) ".defineProperty" (686:26-686:35) "(element," --> (369:26-369:35) "(element," -(686:35-686:46) " '_source'," --> (369:35-369:46) " '_source'," +(686:35-686:46) " '_source'," --> (369:35-369:46) " \"_source\"," (686:46-687:6) " {\n " --> (369:46-370:5) " {\n\t\t\t\t" (687:6-687:20) " configurable:" --> (370:5-370:19) "\tconfigurable:" (687:20-688:6) " false,\n " --> (370:19-371:5) " false,\n\t\t\t\t" @@ -1722,7 +1722,7 @@ Invalid Character `[` (724:27-724:29) "))" --> (396:27-396:29) "))" (724:29-725:6) " {\n " --> (396:29-397:0) " {" (725:6-725:12) " key =" --> (397:0-397:11) "\n\t\t\t\t\tkey =" -(725:12-725:17) " '' +" --> (397:11-397:16) " '' +" +(725:12-725:17) " '' +" --> (397:11-397:16) " \"\" +" (725:17-725:24) " config" --> (397:16-397:23) " config" (725:24-726:5) ".key;\n " --> (397:23-398:4) ".key;\n\t\t\t" (726:5-728:4) "}\n\n " --> (398:4-399:0) "\t}" @@ -1845,12 +1845,12 @@ Invalid Character `[` (773:6-773:10) " var" --> (432:5-432:9) "\tvar" (773:10-773:31) " displayName = typeof" --> (432:9-432:30) " displayName = typeof" (773:31-773:40) " type ===" --> (432:30-432:39) " type ===" -(773:40-773:53) " 'function' ?" --> (432:39-432:52) " 'function' ?" +(773:40-773:53) " 'function' ?" --> (432:39-432:52) " \"function\" ?" (773:53-773:58) " type" --> (432:52-432:57) " type" (773:58-773:73) ".displayName ||" --> (432:57-432:72) ".displayName ||" (773:73-773:78) " type" --> (432:72-432:77) " type" (773:78-773:86) ".name ||" --> (432:77-432:85) ".name ||" -(773:86-773:98) " 'Unknown' :" --> (432:85-432:97) " 'Unknown' :" +(773:86-773:98) " 'Unknown' :" --> (432:85-432:97) " \"Unknown\" :" (773:98-775:6) " type;\n\n " --> (432:97-433:0) " type;" (775:6-775:10) " if " --> (433:0-433:9) "\n\t\t\t\t\tif " (775:10-775:15) "(key)" --> (433:9-433:14) "(key)" @@ -1922,9 +1922,9 @@ Invalid Character `[` (798:4-799:6) " {\n " --> (449:4-450:0) "\t{" (799:6-799:12) " throw" --> (450:0-450:11) "\n\t\t\t\t\tthrow" (799:12-799:19) " Error(" --> (450:11-450:17) " Error" -(799:19-799:102) " \"React.cloneElement(...): The argument must be a React element, but you passed \" +" --> (450:17-450:100) "('React.cloneElement(...): The argument must be a React element, but you passed ' +" +(799:19-799:102) " \"React.cloneElement(...): The argument must be a React element, but you passed \" +" --> (450:17-450:100) "(\"React.cloneElement(...): The argument must be a React element, but you passed \" +" (799:102-799:112) " element +" --> (450:100-450:110) " element +" -(799:112-799:117) " \".\" " --> (450:110-450:114) " '.'" +(799:112-799:117) " \".\" " --> (450:110-450:114) " \".\"" (799:117-800:5) ");\n " --> (450:114-451:4) ");\n\t\t\t" (800:5-801:3) "}\n " --> (451:4-452:3) "\t}\n\t\t" (801:3-803:2) "}\n\n " --> (452:3-453:3) "\t}\n\t\t" @@ -1980,7 +1980,7 @@ Invalid Character `[` (826:27-826:29) "))" --> (465:27-465:29) "))" (826:29-827:6) " {\n " --> (465:29-466:0) " {" (827:6-827:12) " key =" --> (466:0-466:11) "\n\t\t\t\t\tkey =" -(827:12-827:17) " '' +" --> (466:11-466:16) " '' +" +(827:12-827:17) " '' +" --> (466:11-466:16) " \"\" +" (827:17-827:24) " config" --> (466:16-466:23) " config" (827:24-828:5) ".key;\n " --> (466:23-467:4) ".key;\n\t\t\t" (828:5-831:4) "} // Remaining properties override existing props\n\n\n " --> (467:4-468:4) "\t}\n\t\t\t" @@ -2091,7 +2091,7 @@ Invalid Character `[` (875:32-876:2) " {\n " --> (494:34-495:0) " {" (876:2-876:16) " return typeof" --> (495:0-495:17) "\n\t\t\treturn typeof" (876:16-876:27) " object ===" --> (495:17-495:28) " object ===" -(876:27-876:39) " 'object' &&" --> (495:28-495:40) " 'object' &&" +(876:27-876:39) " 'object' &&" --> (495:28-495:40) " \"object\" &&" (876:39-876:50) " object !==" --> (495:40-495:51) " object !==" (876:50-876:58) " null &&" --> (495:51-495:59) " null &&" (876:58-876:65) " object" --> (495:59-495:66) " object" @@ -2100,10 +2100,10 @@ Invalid Character `[` (877:1-879:0) "}\n" --> (496:2-497:2) "\t}\n\t" (879:0-879:4) "\nvar" --> (497:2-497:6) "\tvar" (879:4-879:16) " SEPARATOR =" --> (497:6-497:18) " SEPARATOR =" -(879:16-880:0) " '.';" --> (497:18-498:2) " '.';\n\t" +(879:16-880:0) " '.';" --> (497:18-498:2) " \".\";\n\t" (880:0-880:4) "\nvar" --> (498:2-498:6) "\tvar" (880:4-880:19) " SUBSEPARATOR =" --> (498:6-498:21) " SUBSEPARATOR =" -(880:19-888:0) " ':';\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n" --> (498:21-499:2) " ':';\n\t" +(880:19-888:0) " ':';\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n" --> (498:21-499:2) " \":\";\n\t" (888:0-888:9) "\nfunction" --> (499:2-499:11) "\tfunction" (888:9-888:16) " escape" --> (499:11-499:18) " escape" (888:16-888:21) "(key)" --> (499:18-499:23) "(key)" @@ -2114,10 +2114,10 @@ Invalid Character `[` (890:2-890:6) " var" --> (501:3-501:7) "\tvar" (890:6-890:22) " escaperLookup =" --> (501:7-501:23) " escaperLookup =" (890:22-891:4) " {\n " --> (501:23-502:4) " {\n\t\t\t" -(891:4-891:9) " '=':" --> (502:4-502:9) "\t'=':" -(891:9-892:4) " '=0',\n " --> (502:9-503:4) " '=0',\n\t\t\t" -(892:4-892:9) " ':':" --> (503:4-503:9) "\t':':" -(892:9-893:3) " '=2'\n " --> (503:9-504:3) " '=2'\n\t\t" +(891:4-891:9) " '=':" --> (502:4-502:9) "\t\"=\":" +(891:9-892:4) " '=0',\n " --> (502:9-503:4) " \"=0\",\n\t\t\t" +(892:4-892:9) " ':':" --> (503:4-503:9) "\t\":\":" +(892:9-893:3) " '=2'\n " --> (503:9-504:3) " \"=2\"\n\t\t" (893:3-894:2) "};\n " --> (504:3-505:3) "\t};\n\t\t" (894:2-894:6) " var" --> (505:3-505:7) "\tvar" (894:6-894:22) " escapedString =" --> (505:7-505:23) " escapedString =" @@ -2133,7 +2133,7 @@ Invalid Character `[` (896:3-896:4) "}" --> (507:3-507:5) "\t}" (896:4-897:2) ");\n " --> (507:5-508:0) ");" (897:2-897:9) " return" --> (508:0-508:10) "\n\t\t\treturn" -(897:9-897:15) " '$' +" --> (508:10-508:16) " '$' +" +(897:9-897:15) " '$' +" --> (508:10-508:16) " \"$\" +" (897:15-898:1) " escapedString;\n" --> (508:16-509:2) " escapedString;\n\t" (898:1-905:0) "}\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\n" --> (509:2-510:2) "\t}\n\t" (905:0-905:4) "\nvar" --> (510:2-510:6) "\tvar" @@ -2150,7 +2150,7 @@ Invalid Character `[` (909:9-909:14) " text" --> (513:10-513:15) " text" (909:14-909:22) ".replace" --> (513:15-513:23) ".replace" (909:22-909:50) "(userProvidedKeyEscapeRegex," --> (513:23-513:51) "(userProvidedKeyEscapeRegex," -(909:50-909:56) " '$&/'" --> (513:51-513:57) " '$&/'" +(909:50-909:56) " '$&/'" --> (513:51-513:57) " \"$&/\"" (909:56-910:1) ");\n" --> (513:57-514:2) ");\n\t" (910:1-920:0) "}\n/**\n * Generate a key string that identifies a element within a set.\n *\n * @param {*} element A element that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\n\n" --> (514:2-515:2) "\t}\n\t" (920:0-920:9) "\nfunction" --> (515:2-515:11) "\tfunction" @@ -2160,7 +2160,7 @@ Invalid Character `[` (920:39-923:2) " {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n " --> (515:41-516:0) " {" (923:2-923:13) " if (typeof" --> (516:0-516:14) "\n\t\t\tif (typeof" (923:13-923:25) " element ===" --> (516:14-516:26) " element ===" -(923:25-923:37) " 'object' &&" --> (516:26-516:38) " 'object' &&" +(923:25-923:37) " 'object' &&" --> (516:26-516:38) " \"object\" &&" (923:37-923:49) " element !==" --> (516:38-516:50) " element !==" (923:49-923:57) " null &&" --> (516:50-516:58) " null &&" (923:57-923:65) " element" --> (516:58-516:66) " element" @@ -2169,7 +2169,7 @@ Invalid Character `[` (923:78-925:4) " {\n // Explicit key\n " --> (516:79-517:0) " {" (925:4-925:11) " return" --> (517:0-517:11) "\n\t\t\t\treturn" (925:11-925:18) " escape" --> (517:11-517:18) " escape" -(925:18-925:23) "('' +" --> (517:18-517:23) "('' +" +(925:18-925:23) "('' +" --> (517:18-517:23) "(\"\" +" (925:23-925:31) " element" --> (517:23-517:31) " element" (925:31-925:35) ".key" --> (517:31-517:35) ".key" (925:35-926:3) ");\n " --> (517:35-518:3) ");\n\t\t" @@ -2193,9 +2193,9 @@ Invalid Character `[` (933:20-935:2) " children;\n\n " --> (522:21-523:0) " children;" (935:2-935:6) " if " --> (523:0-523:7) "\n\t\t\tif " (935:6-935:15) "(type ===" --> (523:7-523:16) "(type ===" -(935:15-935:30) " 'undefined' ||" --> (523:16-523:31) " 'undefined' ||" +(935:15-935:30) " 'undefined' ||" --> (523:16-523:31) " \"undefined\" ||" (935:30-935:39) " type ===" --> (523:31-523:40) " type ===" -(935:39-935:50) " 'boolean')" --> (523:40-523:51) " 'boolean')" +(935:39-935:50) " 'boolean')" --> (523:40-523:51) " \"boolean\")" (935:50-937:4) " {\n // All of the above are perceived as null.\n " --> (523:51-524:0) " {" (937:4-937:15) " children =" --> (524:0-524:15) "\n\t\t\t\tchildren =" (937:15-938:3) " null;\n " --> (524:15-525:3) " null;\n\t\t" @@ -2215,14 +2215,14 @@ Invalid Character `[` (945:12-945:4) " switch " --> (530:12-530:18) "(type)" (945:4-946:6) " switch (type) {\n " --> (530:18-531:0) " {" (946:6-946:11) " case" --> (531:0-531:10) "\n\t\t\t\t\tcase" -(946:11-947:6) " 'string':\n " --> (531:10-532:0) " 'string':" +(946:11-947:6) " 'string':\n " --> (531:10-532:0) " \"string\":" (947:6-947:11) " case" --> (532:0-532:10) "\n\t\t\t\t\tcase" -(947:11-948:8) " 'number':\n " --> (532:10-533:0) " 'number':" +(947:11-948:8) " 'number':\n " --> (532:10-533:0) " \"number\":" (948:8-948:25) " invokeCallback =" --> (533:0-533:23) "\n\t\t\t\t\t\tinvokeCallback =" (948:25-949:8) " true;\n " --> (533:23-534:0) " true;" (949:8-951:6) " break;\n\n " --> (534:0-535:0) "\n\t\t\t\t\t\tbreak;" (951:6-951:11) " case" --> (535:0-535:10) "\n\t\t\t\t\tcase" -(951:11-952:8) " 'object':\n " --> (535:10-535:19) " 'object'" +(951:11-952:8) " 'object':\n " --> (535:10-535:19) " \"object\"" (952:8-952:16) " switch " --> (535:19-535:28) ": switch " (952:16-952:25) "(children" --> (535:28-535:37) "(children" (952:25-952:8) " switch (children" --> (535:37-535:47) ".$$typeof)" @@ -2250,7 +2250,7 @@ Invalid Character `[` (966:4-966:8) " var" --> (544:4-544:8) "\tvar" (966:8-966:19) " childKey =" --> (544:8-544:19) " childKey =" (966:19-966:33) " nameSoFar ===" --> (544:19-544:33) " nameSoFar ===" -(966:33-966:38) " '' ?" --> (544:33-544:38) " '' ?" +(966:33-966:38) " '' ?" --> (544:33-544:38) " \"\" ?" (966:38-966:50) " SEPARATOR +" --> (544:38-544:50) " SEPARATOR +" (966:50-966:64) " getElementKey" --> (544:50-544:64) " getElementKey" (966:64-966:72) "(_child," --> (544:64-544:72) "(_child," @@ -2265,7 +2265,7 @@ Invalid Character `[` (968:36-969:6) " {\n " --> (545:36-546:5) " {\n\t\t\t\t" (969:6-969:10) " var" --> (546:5-546:9) "\tvar" (969:10-969:28) " escapedChildKey =" --> (546:9-546:27) " escapedChildKey =" -(969:28-971:6) " '';\n\n " --> (546:27-547:0) " '';" +(969:28-971:6) " '';\n\n " --> (546:27-547:0) " \"\";" (971:6-971:10) " if " --> (547:0-547:9) "\n\t\t\t\t\tif " (971:10-971:22) "(childKey !=" --> (547:9-547:21) "(childKey !=" (971:22-971:28) " null)" --> (547:21-547:27) " null)" @@ -2274,13 +2274,13 @@ Invalid Character `[` (972:26-972:48) " escapeUserProvidedKey" --> (548:24-548:46) " escapeUserProvidedKey" (972:48-972:57) "(childKey" --> (548:46-548:55) "(childKey" (972:57-972:60) ") +" --> (548:55-548:58) ") +" -(972:60-973:7) " '/';\n " --> (548:58-549:5) " '/';\n\t\t\t\t" +(972:60-973:7) " '/';\n " --> (548:58-549:5) " \"/\";\n\t\t\t\t" (973:7-975:6) "}\n\n " --> (549:5-550:0) "\t}" (975:6-975:19) " mapIntoArray" --> (550:0-550:18) "\n\t\t\t\t\tmapIntoArray" (975:19-975:32) "(mappedChild," --> (550:18-550:31) "(mappedChild," (975:32-975:39) " array," --> (550:31-550:38) " array," (975:39-975:56) " escapedChildKey," --> (550:38-550:55) " escapedChildKey," -(975:56-975:60) " ''," --> (550:55-550:59) " ''," +(975:56-975:60) " ''," --> (550:55-550:59) " \"\"," (975:60-975:70) " function " --> (550:59-550:68) " function" (975:70-975:73) "(c)" --> (550:68-550:71) "(c)" (975:73-976:8) " {\n " --> (550:71-551:0) " {" @@ -2309,12 +2309,12 @@ Invalid Character `[` (983:54-983:66) " mappedChild" --> (555:115-555:127) " mappedChild" (983:66-984:8) ".key) ? // $FlowFixMe Flow incorrectly thinks existing element's key can be a number\n " --> (555:127-555:134) ".key) ?" (984:8-984:30) " escapeUserProvidedKey" --> (555:134-555:156) " escapeUserProvidedKey" -(984:30-984:35) "('' +" --> (555:156-555:161) "('' +" +(984:30-984:35) "('' +" --> (555:156-555:161) "(\"\" +" (984:35-984:47) " mappedChild" --> (555:161-555:173) " mappedChild" (984:47-984:51) ".key" --> (555:173-555:177) ".key" (984:51-984:54) ") +" --> (555:177-555:180) ") +" -(984:54-984:60) " '/' :" --> (555:180-555:186) " '/' :" -(984:60-984:66) " '') +" --> (555:186-555:192) " '') +" +(984:54-984:60) " '/' :" --> (555:180-555:186) " \"/\" :" +(984:60-984:66) " '') +" --> (555:186-555:192) " \"\") +" (984:66-984:75) " childKey" --> (555:192-555:201) " childKey" (984:75-985:7) ");\n " --> (555:201-556:5) ");\n\t\t\t\t" (985:7-987:6) "}\n\n " --> (556:5-557:0) "\t}" @@ -2336,7 +2336,7 @@ Invalid Character `[` (997:2-997:6) " var" --> (564:3-564:7) "\tvar" (997:6-997:23) " nextNamePrefix =" --> (564:7-564:24) " nextNamePrefix =" (997:23-997:37) " nameSoFar ===" --> (564:24-564:38) " nameSoFar ===" -(997:37-997:42) " '' ?" --> (564:38-564:43) " '' ?" +(997:37-997:42) " '' ?" --> (564:38-564:43) " \"\" ?" (997:42-997:54) " SEPARATOR :" --> (564:43-564:55) " SEPARATOR :" (997:54-997:66) " nameSoFar +" --> (564:55-564:67) " nameSoFar +" (997:66-999:2) " SUBSEPARATOR;\n\n " --> (564:67-565:0) " SUBSEPARATOR;" @@ -2382,7 +2382,7 @@ Invalid Character `[` (1006:44-1008:4) ");\n\n " --> (572:44-573:0) ");" (1008:4-1008:15) " if (typeof" --> (573:0-573:15) "\n\t\t\t\tif (typeof" (1008:15-1008:30) " iteratorFn ===" --> (573:15-573:30) " iteratorFn ===" -(1008:30-1008:42) " 'function')" --> (573:30-573:42) " 'function')" +(1008:30-1008:42) " 'function')" --> (573:30-573:42) " \"function\")" (1008:42-1009:6) " {\n " --> (573:42-574:5) " {\n\t\t\t\t" (1009:6-1009:10) " var" --> (574:5-574:9) "\tvar" (1009:10-1009:29) " iterableChildren =" --> (574:9-574:28) " iterableChildren =" @@ -2397,8 +2397,8 @@ Invalid Character `[` (1014:15-1014:33) "!didWarnAboutMaps)" --> (577:12-577:30) "!didWarnAboutMaps)" (1014:33-1015:12) " {\n " --> (577:30-578:0) " {" (1015:12-1015:17) " warn" --> (578:0-578:13) "\n\t\t\t\t\t\t\t\twarn" -(1015:17-1015:63) "('Using Maps as children is not supported. ' +" --> (578:13-578:59) "('Using Maps as children is not supported. ' +" -(1015:63-1015:110) " 'Use an array of keyed ReactElements instead.'" --> (578:59-578:106) " 'Use an array of keyed ReactElements instead.'" +(1015:17-1015:63) "('Using Maps as children is not supported. ' +" --> (578:13-578:59) "(\"Using Maps as children is not supported. \" +" +(1015:63-1015:110) " 'Use an array of keyed ReactElements instead.'" --> (578:59-578:106) " \"Use an array of keyed ReactElements instead.\"" (1015:110-1016:11) ");\n " --> (578:106-579:7) ");\n\t\t\t\t\t\t" (1016:11-1018:10) "}\n\n " --> (579:7-580:0) "\t}" (1018:10-1018:29) " didWarnAboutMaps =" --> (580:0-580:26) "\n\t\t\t\t\t\t\tdidWarnAboutMaps =" @@ -2443,30 +2443,30 @@ Invalid Character `[` (1030:7-1031:5) "}\n " --> (590:5-591:4) "\t}\n\t\t\t" (1031:5-1031:15) "} else if " --> (591:4-591:15) "\t} else if " (1031:15-1031:24) "(type ===" --> (591:15-591:24) "(type ===" -(1031:24-1031:34) " 'object')" --> (591:24-591:34) " 'object')" +(1031:24-1031:34) " 'object')" --> (591:24-591:34) " \"object\")" (1031:34-1032:6) " {\n " --> (591:34-592:5) " {\n\t\t\t\t" (1032:6-1032:10) " var" --> (592:5-592:9) "\tvar" (1032:10-1032:27) " childrenString =" --> (592:9-592:26) " childrenString =" -(1032:27-1032:32) " '' +" --> (592:26-592:31) " '' +" +(1032:27-1032:32) " '' +" --> (592:26-592:31) " \"\" +" (1032:32-1034:6) " children;\n\n " --> (592:31-593:5) " children;\n\t\t\t\t" (1034:6-1035:8) " {\n " --> (593:5-594:6) "\t{\n\t\t\t\t\t" (1035:8-1036:10) " {\n " --> (594:6-595:0) "\t{" (1036:10-1036:16) " throw" --> (595:0-595:13) "\n\t\t\t\t\t\t\tthrow" (1036:16-1036:23) " Error(" --> (595:13-595:19) " Error" -(1036:23-1036:76) " \"Objects are not valid as a React child (found: \" + " --> (595:19-595:72) "('Objects are not valid as a React child (found: ' + " +(1036:23-1036:76) " \"Objects are not valid as a React child (found: \" + " --> (595:19-595:72) "(\"Objects are not valid as a React child (found: \" + " (1036:76-1036:95) "(childrenString ===" --> (595:72-595:91) "(childrenString ===" -(1036:95-1036:115) " '[object Object]' ?" --> (595:91-595:111) " '[object Object]' ?" -(1036:115-1036:138) " 'object with keys {' +" --> (595:111-595:134) " 'object with keys {' +" +(1036:95-1036:115) " '[object Object]' ?" --> (595:91-595:111) " \"[object Object]\" ?" +(1036:115-1036:138) " 'object with keys {' +" --> (595:111-595:134) " \"object with keys {\" +" (1036:138-1036:145) " Object" --> (595:134-595:141) " Object" (1036:145-1036:150) ".keys" --> (595:141-595:146) ".keys" (1036:150-1036:159) "(children" --> (595:146-595:155) "(children" (1036:159-1036:160) ")" --> (595:155-595:156) ")" (1036:160-1036:165) ".join" --> (595:156-595:161) ".join" -(1036:165-1036:170) "(', '" --> (595:161-595:166) "(', '" +(1036:165-1036:170) "(', '" --> (595:161-595:166) "(\", \"" (1036:170-1036:173) ") +" --> (595:166-595:169) ") +" -(1036:173-1036:179) " '}' :" --> (595:169-595:175) " '}' :" +(1036:173-1036:179) " '}' :" --> (595:169-595:175) " \"}\" :" (1036:179-1036:197) " childrenString) +" --> (595:175-595:193) " childrenString) +" -(1036:197-1036:274) " \"). If you meant to render a collection of children, use an array instead.\" " --> (595:193-595:269) " '). If you meant to render a collection of children, use an array instead.'" +(1036:197-1036:274) " \"). If you meant to render a collection of children, use an array instead.\" " --> (595:193-595:269) " \"). If you meant to render a collection of children, use an array instead.\"" (1036:274-1037:9) ");\n " --> (595:269-596:6) ");\n\t\t\t\t\t" (1037:9-1038:7) "}\n " --> (596:6-597:5) "\t}\n\t\t\t\t" (1038:7-1039:5) "}\n " --> (597:5-598:4) "\t}\n\t\t\t" @@ -2498,8 +2498,8 @@ Invalid Character `[` (1065:2-1065:15) " mapIntoArray" --> (608:0-608:16) "\n\t\t\tmapIntoArray" (1065:15-1065:25) "(children," --> (608:16-608:26) "(children," (1065:25-1065:33) " result," --> (608:26-608:34) " result," -(1065:33-1065:37) " ''," --> (608:34-608:38) " ''," -(1065:37-1065:41) " ''," --> (608:38-608:42) " ''," +(1065:33-1065:37) " ''," --> (608:34-608:38) " \"\"," +(1065:37-1065:41) " ''," --> (608:38-608:42) " \"\"," (1065:41-1065:51) " function " --> (608:42-608:51) " function" (1065:51-1065:58) "(child)" --> (608:51-608:58) "(child)" (1065:58-1066:4) " {\n " --> (608:58-609:0) " {" @@ -2580,7 +2580,7 @@ Invalid Character `[` (1137:4-1138:6) " {\n " --> (632:4-633:0) "\t{" (1138:6-1138:12) " throw" --> (633:0-633:11) "\n\t\t\t\t\tthrow" (1138:12-1138:19) " Error(" --> (633:11-633:17) " Error" -(1138:19-1138:92) " \"React.Children.only expected to receive a single React element child.\" " --> (633:17-633:89) "('React.Children.only expected to receive a single React element child.'" +(1138:19-1138:92) " \"React.Children.only expected to receive a single React element child.\" " --> (633:17-633:89) "(\"React.Children.only expected to receive a single React element child.\"" (1138:92-1139:5) ");\n " --> (633:89-634:4) ");\n\t\t\t" (1139:5-1140:3) "}\n " --> (634:4-635:3) "\t}\n\t\t" (1140:3-1142:2) "}\n\n " --> (635:3-636:0) "\t}" @@ -2605,11 +2605,11 @@ Invalid Character `[` (1150:10-1150:35) "(calculateChangedBits !==" --> (643:9-643:34) "(calculateChangedBits !==" (1150:35-1150:50) " null && typeof" --> (643:34-643:49) " null && typeof" (1150:50-1150:75) " calculateChangedBits !==" --> (643:49-643:74) " calculateChangedBits !==" -(1150:75-1150:87) " 'function')" --> (643:74-643:86) " 'function')" +(1150:75-1150:87) " 'function')" --> (643:74-643:86) " \"function\")" (1150:87-1151:8) " {\n " --> (643:86-644:0) " {" (1151:8-1151:14) " error" --> (644:0-644:12) "\n\t\t\t\t\t\terror" -(1151:14-1151:80) "('createContext: Expected the optional second argument to be a ' +" --> (644:12-644:78) "('createContext: Expected the optional second argument to be a ' +" -(1151:80-1151:114) " 'function. Instead received: %s'," --> (644:78-644:112) " 'function. Instead received: %s'," +(1151:14-1151:80) "('createContext: Expected the optional second argument to be a ' +" --> (644:12-644:78) "(\"createContext: Expected the optional second argument to be a \" +" +(1151:80-1151:114) " 'function. Instead received: %s'," --> (644:78-644:112) " \"function. Instead received: %s\"," (1151:114-1151:135) " calculateChangedBits" --> (644:112-644:133) " calculateChangedBits" (1151:135-1152:7) ");\n " --> (644:133-645:5) ");\n\t\t\t\t" (1152:7-1153:5) "}\n " --> (645:5-646:4) "\t}\n\t\t\t" @@ -2677,8 +2677,8 @@ Invalid Character `[` (1195:12-1195:50) " hasWarnedAboutUsingConsumerProvider =" --> (674:0-674:46) "\n\t\t\t\t\t\t\t\thasWarnedAboutUsingConsumerProvider =" (1195:50-1197:12) " true;\n\n " --> (674:46-675:0) " true;" (1197:12-1197:18) " error" --> (675:0-675:14) "\n\t\t\t\t\t\t\t\terror" -(1197:18-1197:101) "('Rendering is not supported and will be removed in ' +" --> (675:14-675:97) "('Rendering is not supported and will be removed in ' +" -(1197:101-1197:178) " 'a future major release. Did you mean to render instead?'" --> (675:97-675:174) " 'a future major release. Did you mean to render instead?'" +(1197:18-1197:101) "('Rendering is not supported and will be removed in ' +" --> (675:14-675:97) "(\"Rendering is not supported and will be removed in \" +" +(1197:101-1197:178) " 'a future major release. Did you mean to render instead?'" --> (675:97-675:174) " \"a future major release. Did you mean to render instead?\"" (1197:178-1198:11) ");\n " --> (675:174-676:7) ");\n\t\t\t\t\t\t" (1198:11-1200:10) "}\n\n " --> (676:7-677:0) "\t}" (1200:10-1200:17) " return" --> (677:0-677:14) "\n\t\t\t\t\t\t\treturn" @@ -2759,8 +2759,8 @@ Invalid Character `[` (1233:12-1233:56) " hasWarnedAboutUsingNestedContextConsumers =" --> (709:0-709:51) "\n\t\t\t\t\t\t\thasWarnedAboutUsingNestedContextConsumers =" (1233:56-1235:12) " true;\n\n " --> (709:51-710:0) " true;" (1235:12-1235:18) " error" --> (710:0-710:13) "\n\t\t\t\t\t\t\terror" -(1235:18-1235:101) "('Rendering is not supported and will be removed in ' +" --> (710:13-710:96) "('Rendering is not supported and will be removed in ' +" -(1235:101-1235:178) " 'a future major release. Did you mean to render instead?'" --> (710:96-710:173) " 'a future major release. Did you mean to render instead?'" +(1235:18-1235:101) "('Rendering is not supported and will be removed in ' +" --> (710:13-710:96) "(\"Rendering is not supported and will be removed in \" +" +(1235:101-1235:178) " 'a future major release. Did you mean to render instead?'" --> (710:96-710:173) " \"a future major release. Did you mean to render instead?\"" (1235:178-1236:11) ");\n " --> (710:173-711:6) ");\n\t\t\t\t\t" (1236:11-1238:10) "}\n\n " --> (711:6-712:0) "\t}" (1238:10-1238:17) " return" --> (712:0-712:13) "\n\t\t\t\t\t\treturn" @@ -2785,7 +2785,7 @@ Invalid Character `[` (1246:15-1246:52) "!hasWarnedAboutDisplayNameOnConsumer)" --> (719:12-719:49) "!hasWarnedAboutDisplayNameOnConsumer)" (1246:52-1247:12) " {\n " --> (719:49-720:0) " {" (1247:12-1247:17) " warn" --> (720:0-720:13) "\n\t\t\t\t\t\t\t\twarn" -(1247:17-1247:79) "('Setting `displayName` on Context.Consumer has no effect. ' +" --> (720:13-720:75) "('Setting `displayName` on Context.Consumer has no effect. ' +" +(1247:17-1247:79) "('Setting `displayName` on Context.Consumer has no effect. ' +" --> (720:13-720:75) "(\"Setting `displayName` on Context.Consumer has no effect. \" +" (1247:79-1247:157) " \"You should set it directly on the context with Context.displayName = '%s'.\"," --> (720:75-720:153) " \"You should set it directly on the context with Context.displayName = '%s'.\"," (1247:157-1247:169) " displayName" --> (720:153-720:165) " displayName" (1247:169-1249:12) ");\n\n " --> (720:165-721:0) ");" @@ -2869,9 +2869,9 @@ Invalid Character `[` (1284:32-1284:43) " undefined)" --> (749:29-749:40) " undefined)" (1284:43-1285:12) " {\n " --> (749:40-750:0) " {" (1285:12-1285:18) " error" --> (750:0-750:14) "\n\t\t\t\t\t\t\t\terror" -(1285:18-1285:77) "('lazy: Expected the result of a dynamic import() call. ' +" --> (750:14-750:73) "('lazy: Expected the result of a dynamic import() call. ' +" -(1285:77-1286:12) " 'Instead received: %s\\n\\nYour code should look like: \\n ' + // Break up imports to avoid accidentally parsing them as dependencies.\n " --> (750:73-750:134) " 'Instead received: %s\\n\\nYour code should look like: \\n ' +" -(1286:12-1286:51) " 'const MyComponent = lazy(() => imp' +" --> (750:134-750:173) " 'const MyComponent = lazy(() => imp' +" +(1285:18-1285:77) "('lazy: Expected the result of a dynamic import() call. ' +" --> (750:14-750:73) "(\"lazy: Expected the result of a dynamic import() call. \" +" +(1285:77-1286:12) " 'Instead received: %s\\n\\nYour code should look like: \\n ' + // Break up imports to avoid accidentally parsing them as dependencies.\n " --> (750:73-750:134) " \"Instead received: %s\\n\\nYour code should look like: \\n \" +" +(1286:12-1286:51) " 'const MyComponent = lazy(() => imp' +" --> (750:134-750:173) " \"const MyComponent = lazy(() => imp\" +" (1286:51-1286:76) " \"ort('./MyComponent'))\"," --> (750:173-750:198) " \"ort('./MyComponent'))\"," (1286:76-1286:89) " moduleObject" --> (750:198-750:211) " moduleObject" (1286:89-1287:11) ");\n " --> (750:211-751:7) ");\n\t\t\t\t\t\t" @@ -2970,16 +2970,16 @@ Invalid Character `[` (1335:23-1335:40) "(newDefaultProps)" --> (790:20-790:37) "(newDefaultProps)" (1335:40-1336:10) " {\n " --> (790:37-791:0) " {" (1336:10-1336:16) " error" --> (791:0-791:13) "\n\t\t\t\t\t\t\terror" -(1336:16-1336:86) "('React.lazy(...): It is not supported to assign `defaultProps` to ' +" --> (791:13-791:83) "('React.lazy(...): It is not supported to assign `defaultProps` to ' +" -(1336:86-1336:156) " 'a lazy component import. Either specify them where the component ' +" --> (791:83-791:153) " 'a lazy component import. Either specify them where the component ' +" -(1336:156-1336:212) " 'is defined, or create a wrapping component around it.'" --> (791:153-791:209) " 'is defined, or create a wrapping component around it.'" +(1336:16-1336:86) "('React.lazy(...): It is not supported to assign `defaultProps` to ' +" --> (791:13-791:83) "(\"React.lazy(...): It is not supported to assign `defaultProps` to \" +" +(1336:86-1336:156) " 'a lazy component import. Either specify them where the component ' +" --> (791:83-791:153) " \"a lazy component import. Either specify them where the component \" +" +(1336:156-1336:212) " 'is defined, or create a wrapping component around it.'" --> (791:153-791:209) " \"is defined, or create a wrapping component around it.\"" (1336:212-1338:10) ");\n\n " --> (791:209-792:0) ");" (1338:10-1338:25) " defaultProps =" --> (792:0-792:22) "\n\t\t\t\t\t\t\tdefaultProps =" (1338:25-1341:10) " newDefaultProps; // Match production behavior more closely:\n // $FlowFixMe\n\n " --> (792:22-793:0) " newDefaultProps;" (1341:10-1341:17) " Object" --> (793:0-793:14) "\n\t\t\t\t\t\t\tObject" (1341:17-1341:32) ".defineProperty" --> (793:14-793:29) ".defineProperty" (1341:32-1341:42) "(lazyType," --> (793:29-793:39) "(lazyType," -(1341:42-1341:58) " 'defaultProps'," --> (793:39-793:55) " 'defaultProps'," +(1341:42-1341:58) " 'defaultProps'," --> (793:39-793:55) " \"defaultProps\"," (1341:58-1342:12) " {\n " --> (793:55-793:56) " " (1342:12-1342:24) " enumerable:" --> (793:56-793:68) "{enumerable:" (1342:24-1343:11) " true\n " --> (793:68-793:72) " tru" @@ -3002,16 +3002,16 @@ Invalid Character `[` (1351:23-1351:37) "(newPropTypes)" --> (801:20-801:34) "(newPropTypes)" (1351:37-1352:10) " {\n " --> (801:34-802:0) " {" (1352:10-1352:16) " error" --> (802:0-802:13) "\n\t\t\t\t\t\t\terror" -(1352:16-1352:83) "('React.lazy(...): It is not supported to assign `propTypes` to ' +" --> (802:13-802:80) "('React.lazy(...): It is not supported to assign `propTypes` to ' +" -(1352:83-1352:153) " 'a lazy component import. Either specify them where the component ' +" --> (802:80-802:150) " 'a lazy component import. Either specify them where the component ' +" -(1352:153-1352:209) " 'is defined, or create a wrapping component around it.'" --> (802:150-802:206) " 'is defined, or create a wrapping component around it.'" +(1352:16-1352:83) "('React.lazy(...): It is not supported to assign `propTypes` to ' +" --> (802:13-802:80) "(\"React.lazy(...): It is not supported to assign `propTypes` to \" +" +(1352:83-1352:153) " 'a lazy component import. Either specify them where the component ' +" --> (802:80-802:150) " \"a lazy component import. Either specify them where the component \" +" +(1352:153-1352:209) " 'is defined, or create a wrapping component around it.'" --> (802:150-802:206) " \"is defined, or create a wrapping component around it.\"" (1352:209-1354:10) ");\n\n " --> (802:206-803:0) ");" (1354:10-1354:22) " propTypes =" --> (803:0-803:19) "\n\t\t\t\t\t\t\tpropTypes =" (1354:22-1357:10) " newPropTypes; // Match production behavior more closely:\n // $FlowFixMe\n\n " --> (803:19-804:0) " newPropTypes;" (1357:10-1357:17) " Object" --> (804:0-804:14) "\n\t\t\t\t\t\t\tObject" (1357:17-1357:32) ".defineProperty" --> (804:14-804:29) ".defineProperty" (1357:32-1357:42) "(lazyType," --> (804:29-804:39) "(lazyType," -(1357:42-1357:55) " 'propTypes'," --> (804:39-804:52) " 'propTypes'," +(1357:42-1357:55) " 'propTypes'," --> (804:39-804:52) " \"propTypes\"," (1357:55-1358:12) " {\n " --> (804:52-804:53) " " (1358:12-1358:24) " enumerable:" --> (804:53-804:65) "{enumerable:" (1358:24-1359:11) " true\n " --> (804:65-804:69) " tru" @@ -3038,19 +3038,19 @@ Invalid Character `[` (1370:46-1370:63) " REACT_MEMO_TYPE)" --> (813:46-813:63) " REACT_MEMO_TYPE)" (1370:63-1371:6) " {\n " --> (813:63-814:0) " {" (1371:6-1371:12) " error" --> (814:0-814:11) "\n\t\t\t\t\terror" -(1371:12-1371:77) "('forwardRef requires a render function but received a `memo` ' +" --> (814:11-814:76) "('forwardRef requires a render function but received a `memo` ' +" -(1371:77-1371:131) " 'component. Instead of forwardRef(memo(...)), use ' +" --> (814:76-814:130) " 'component. Instead of forwardRef(memo(...)), use ' +" -(1371:131-1371:156) " 'memo(forwardRef(...)).'" --> (814:130-814:155) " 'memo(forwardRef(...)).'" +(1371:12-1371:77) "('forwardRef requires a render function but received a `memo` ' +" --> (814:11-814:76) "(\"forwardRef requires a render function but received a `memo` \" +" +(1371:77-1371:131) " 'component. Instead of forwardRef(memo(...)), use ' +" --> (814:76-814:130) " \"component. Instead of forwardRef(memo(...)), use \" +" +(1371:131-1371:156) " 'memo(forwardRef(...)).'" --> (814:130-814:155) " \"memo(forwardRef(...)).\"" (1371:156-1372:5) ");\n " --> (814:155-815:4) ");\n\t\t\t" (1372:5-1372:22) "} else if (typeof" --> (815:4-815:22) "\t} else if (typeof" (1372:22-1372:33) " render !==" --> (815:22-815:33) " render !==" -(1372:33-1372:45) " 'function')" --> (815:33-815:45) " 'function')" +(1372:33-1372:45) " 'function')" --> (815:33-815:45) " \"function\")" (1372:45-1373:6) " {\n " --> (815:45-816:0) " {" (1373:6-1373:12) " error" --> (816:0-816:11) "\n\t\t\t\t\terror" -(1373:12-1373:71) "('forwardRef requires a render function but was given %s.'," --> (816:11-816:70) "('forwardRef requires a render function but was given %s.'," +(1373:12-1373:71) "('forwardRef requires a render function but was given %s.'," --> (816:11-816:70) "(\"forwardRef requires a render function but was given %s.\"," (1373:71-1373:82) " render ===" --> (816:70-816:81) " render ===" (1373:82-1373:89) " null ?" --> (816:81-816:88) " null ?" -(1373:89-1373:105) " 'null' : typeof" --> (816:88-816:104) " 'null' : typeof" +(1373:89-1373:105) " 'null' : typeof" --> (816:88-816:104) " \"null\" : typeof" (1373:105-1373:112) " render" --> (816:104-816:111) " render" (1373:112-1374:5) ");\n " --> (816:111-817:4) ");\n\t\t\t" (1374:5-1374:11) "} else" --> (817:4-817:11) "\t} else" @@ -3064,12 +3064,12 @@ Invalid Character `[` (1375:51-1375:54) " 2)" --> (818:50-818:53) " 2)" (1375:54-1376:8) " {\n " --> (818:53-819:0) " {" (1376:8-1376:14) " error" --> (819:0-819:12) "\n\t\t\t\t\t\terror" -(1376:14-1376:94) "('forwardRef render functions accept exactly two parameters: props and ref. %s'," --> (819:12-819:92) "('forwardRef render functions accept exactly two parameters: props and ref. %s'," +(1376:14-1376:94) "('forwardRef render functions accept exactly two parameters: props and ref. %s'," --> (819:12-819:92) "(\"forwardRef render functions accept exactly two parameters: props and ref. %s\"," (1376:94-1376:101) " render" --> (819:92-819:99) " render" (1376:101-1376:112) ".length ===" --> (819:99-819:110) ".length ===" (1376:112-1376:116) " 1 ?" --> (819:110-819:114) " 1 ?" -(1376:116-1376:161) " 'Did you forget to use the ref parameter?' :" --> (819:114-819:159) " 'Did you forget to use the ref parameter?' :" -(1376:161-1376:207) " 'Any additional parameter will be undefined.'" --> (819:159-819:205) " 'Any additional parameter will be undefined.'" +(1376:116-1376:161) " 'Did you forget to use the ref parameter?' :" --> (819:114-819:159) " \"Did you forget to use the ref parameter?\" :" +(1376:161-1376:207) " 'Any additional parameter will be undefined.'" --> (819:159-819:205) " \"Any additional parameter will be undefined.\"" (1376:207-1377:7) ");\n " --> (819:205-820:5) ");\n\t\t\t\t" (1377:7-1378:5) "}\n " --> (820:5-821:4) "\t}\n\t\t\t" (1378:5-1380:4) "}\n\n " --> (821:4-822:0) "\t}" @@ -3086,8 +3086,8 @@ Invalid Character `[` (1381:61-1381:67) " null)" --> (823:60-823:66) " null)" (1381:67-1382:8) " {\n " --> (823:66-824:0) " {" (1382:8-1382:14) " error" --> (824:0-824:12) "\n\t\t\t\t\t\terror" -(1382:14-1382:89) "('forwardRef render functions do not support propTypes or defaultProps. ' +" --> (824:12-824:87) "('forwardRef render functions do not support propTypes or defaultProps. ' +" -(1382:89-1382:136) " 'Did you accidentally pass a React component?'" --> (824:87-824:134) " 'Did you accidentally pass a React component?'" +(1382:14-1382:89) "('forwardRef render functions do not support propTypes or defaultProps. ' +" --> (824:12-824:87) "(\"forwardRef render functions do not support propTypes or defaultProps. \" +" +(1382:89-1382:136) " 'Did you accidentally pass a React component?'" --> (824:87-824:134) " \"Did you accidentally pass a React component?\"" (1382:136-1383:7) ");\n " --> (824:134-825:5) ");\n\t\t\t\t" (1383:7-1384:5) "}\n " --> (825:5-826:4) "\t}\n\t\t\t" (1384:5-1385:3) "}\n " --> (826:4-827:3) "\t}\n\t\t" @@ -3106,7 +3106,7 @@ Invalid Character `[` (1394:4-1394:11) " Object" --> (834:0-834:11) "\n\t\t\t\tObject" (1394:11-1394:26) ".defineProperty" --> (834:11-834:26) ".defineProperty" (1394:26-1394:39) "(elementType," --> (834:26-834:39) "(elementType," -(1394:39-1394:54) " 'displayName'," --> (834:39-834:54) " 'displayName'," +(1394:39-1394:54) " 'displayName'," --> (834:39-834:54) " \"displayName\"," (1394:54-1395:6) " {\n " --> (834:54-835:5) " {\n\t\t\t\t" (1395:6-1395:18) " enumerable:" --> (835:5-835:17) "\tenumerable:" (1395:18-1396:6) " false,\n " --> (835:17-836:5) " false,\n\t\t\t\t" @@ -3149,9 +3149,9 @@ Invalid Character `[` (1417:34-1418:2) " {\n " --> (851:36-852:0) " {" (1418:2-1418:13) " if (typeof" --> (852:0-852:14) "\n\t\t\tif (typeof" (1418:13-1418:22) " type ===" --> (852:14-852:23) " type ===" -(1418:22-1418:41) " 'string' || typeof" --> (852:23-852:42) " 'string' || typeof" +(1418:22-1418:41) " 'string' || typeof" --> (852:23-852:42) " \"string\" || typeof" (1418:41-1418:50) " type ===" --> (852:42-852:51) " type ===" -(1418:50-1418:62) " 'function')" --> (852:51-852:63) " 'function')" +(1418:50-1418:62) " 'function')" --> (852:51-852:63) " \"function\")" (1418:62-1419:4) " {\n " --> (852:63-853:0) " {" (1419:4-1419:11) " return" --> (853:0-853:11) "\n\t\t\t\treturn" (1419:11-1420:3) " true;\n " --> (853:11-854:3) " true;\n\t\t" @@ -3182,7 +3182,7 @@ Invalid Character `[` (1425:3-1427:2) "}\n\n " --> (857:3-858:0) "\t}" (1427:2-1427:13) " if (typeof" --> (858:0-858:14) "\n\t\t\tif (typeof" (1427:13-1427:22) " type ===" --> (858:14-858:23) " type ===" -(1427:22-1427:34) " 'object' &&" --> (858:23-858:35) " 'object' &&" +(1427:22-1427:34) " 'object' &&" --> (858:23-858:35) " \"object\" &&" (1427:34-1427:43) " type !==" --> (858:35-858:44) " type !==" (1427:43-1427:49) " null)" --> (858:44-858:50) " null)" (1427:49-1428:4) " {\n " --> (858:50-859:0) " {" @@ -3231,11 +3231,11 @@ Invalid Character `[` (1438:33-1438:35) "))" --> (867:33-867:35) "))" (1438:35-1439:6) " {\n " --> (867:35-868:0) " {" (1439:6-1439:12) " error" --> (868:0-868:11) "\n\t\t\t\t\terror" -(1439:12-1439:71) "('memo: The first argument must be a component. Instead ' +" --> (868:11-868:70) "('memo: The first argument must be a component. Instead ' +" -(1439:71-1439:87) " 'received: %s'," --> (868:70-868:86) " 'received: %s'," +(1439:12-1439:71) "('memo: The first argument must be a component. Instead ' +" --> (868:11-868:70) "(\"memo: The first argument must be a component. Instead \" +" +(1439:71-1439:87) " 'received: %s'," --> (868:70-868:86) " \"received: %s\"," (1439:87-1439:96) " type ===" --> (868:86-868:95) " type ===" (1439:96-1439:103) " null ?" --> (868:95-868:102) " null ?" -(1439:103-1439:119) " 'null' : typeof" --> (868:102-868:118) " 'null' : typeof" +(1439:103-1439:119) " 'null' : typeof" --> (868:102-868:118) " \"null\" : typeof" (1439:119-1439:124) " type" --> (868:118-868:123) " type" (1439:124-1440:5) ");\n " --> (868:123-869:4) ");\n\t\t\t" (1440:5-1441:3) "}\n " --> (869:4-870:3) "\t}\n\t\t" @@ -3259,7 +3259,7 @@ Invalid Character `[` (1451:4-1451:11) " Object" --> (878:0-878:11) "\n\t\t\t\tObject" (1451:11-1451:26) ".defineProperty" --> (878:11-878:26) ".defineProperty" (1451:26-1451:39) "(elementType," --> (878:26-878:39) "(elementType," -(1451:39-1451:54) " 'displayName'," --> (878:39-878:54) " 'displayName'," +(1451:39-1451:54) " 'displayName'," --> (878:39-878:54) " \"displayName\"," (1451:54-1452:6) " {\n " --> (878:54-879:5) " {\n\t\t\t\t" (1452:6-1452:18) " enumerable:" --> (879:5-879:17) "\tenumerable:" (1452:18-1453:6) " false,\n " --> (879:17-880:5) " false,\n\t\t\t\t" @@ -3307,7 +3307,7 @@ Invalid Character `[` (1474:4-1475:6) " {\n " --> (897:4-898:0) "\t{" (1475:6-1475:12) " throw" --> (898:0-898:11) "\n\t\t\t\t\tthrow" (1475:12-1475:19) " Error(" --> (898:11-898:17) " Error" -(1475:19-1475:454) " \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\" " --> (898:17-898:451) "('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'" +(1475:19-1475:454) " \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\" " --> (898:17-898:451) "(\"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\"" (1475:454-1476:5) ");\n " --> (898:451-899:4) ");\n\t\t\t" (1476:5-1477:3) "}\n " --> (899:4-900:3) "\t}\n\t\t" (1477:3-1479:2) "}\n\n " --> (900:3-901:0) "\t}" @@ -3329,21 +3329,21 @@ Invalid Character `[` (1486:34-1486:45) " undefined)" --> (906:34-906:45) " undefined)" (1486:45-1487:6) " {\n " --> (906:45-907:0) " {" (1487:6-1487:12) " error" --> (907:0-907:11) "\n\t\t\t\t\terror" -(1487:12-1487:69) "('useContext() second argument is reserved for future ' +" --> (907:11-907:68) "('useContext() second argument is reserved for future ' +" -(1487:69-1487:117) " 'use in React. Passing it is not supported. ' +" --> (907:68-907:116) " 'use in React. Passing it is not supported. ' +" -(1487:117-1487:138) " 'You passed: %s.%s'," --> (907:116-907:137) " 'You passed: %s.%s'," +(1487:12-1487:69) "('useContext() second argument is reserved for future ' +" --> (907:11-907:68) "(\"useContext() second argument is reserved for future \" +" +(1487:69-1487:117) " 'use in React. Passing it is not supported. ' +" --> (907:68-907:116) " \"use in React. Passing it is not supported. \" +" +(1487:117-1487:138) " 'You passed: %s.%s'," --> (907:116-907:137) " \"You passed: %s.%s\"," (1487:138-1487:168) " unstable_observedBits, typeof" --> (907:137-907:167) " unstable_observedBits, typeof" (1487:168-1487:194) " unstable_observedBits ===" --> (907:167-907:193) " unstable_observedBits ===" -(1487:194-1487:206) " 'number' &&" --> (907:193-907:205) " 'number' &&" +(1487:194-1487:206) " 'number' &&" --> (907:193-907:205) " \"number\" &&" (1487:206-1487:212) " Array" --> (907:205-907:211) " Array" (1487:212-1487:220) ".isArray" --> (907:211-907:219) ".isArray" (1487:220-1487:230) "(arguments" --> (907:219-907:229) "(arguments" (1487:230-1487:233) "[2]" --> (907:229-907:232) "[2]" (1487:233-1487:236) ") ?" --> (907:232-907:235) ") ?" -(1487:236-1487:281) " '\\n\\nDid you call array.map(useContext)? ' +" --> (907:235-907:280) " '\\n\\nDid you call array.map(useContext)? ' +" -(1487:281-1487:332) " 'Calling Hooks inside a loop is not supported. ' +" --> (907:280-907:331) " 'Calling Hooks inside a loop is not supported. ' +" -(1487:332-1487:390) " 'Learn more at https://reactjs.org/link/rules-of-hooks' :" --> (907:331-907:389) " 'Learn more at https://reactjs.org/link/rules-of-hooks' :" -(1487:390-1487:393) " ''" --> (907:389-907:392) " ''" +(1487:236-1487:281) " '\\n\\nDid you call array.map(useContext)? ' +" --> (907:235-907:280) " \"\\n\\nDid you call array.map(useContext)? \" +" +(1487:281-1487:332) " 'Calling Hooks inside a loop is not supported. ' +" --> (907:280-907:331) " \"Calling Hooks inside a loop is not supported. \" +" +(1487:332-1487:390) " 'Learn more at https://reactjs.org/link/rules-of-hooks' :" --> (907:331-907:389) " \"Learn more at https://reactjs.org/link/rules-of-hooks\" :" +(1487:390-1487:393) " ''" --> (907:389-907:392) " \"\"" (1487:393-1488:5) ");\n " --> (907:392-908:4) ");\n\t\t\t" (1488:5-1491:4) "} // TODO: add a more generic warning for invalid values.\n\n\n " --> (908:4-909:0) "\t}" (1491:4-1491:8) " if " --> (909:0-909:8) "\n\t\t\t\tif " @@ -3361,8 +3361,8 @@ Invalid Character `[` (1495:35-1495:44) " Context)" --> (911:34-911:43) " Context)" (1495:44-1496:8) " {\n " --> (911:43-912:0) " {" (1496:8-1496:14) " error" --> (912:0-912:12) "\n\t\t\t\t\t\terror" -(1496:14-1496:102) "('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' +" --> (912:12-912:100) "('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' +" -(1496:102-1496:189) " 'removed in a future major release. Did you mean to call useContext(Context) instead?'" --> (912:100-912:187) " 'removed in a future major release. Did you mean to call useContext(Context) instead?'" +(1496:14-1496:102) "('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' +" --> (912:12-912:100) "(\"Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be \" +" +(1496:102-1496:189) " 'removed in a future major release. Did you mean to call useContext(Context) instead?'" --> (912:100-912:187) " \"removed in a future major release. Did you mean to call useContext(Context) instead?\"" (1496:189-1497:7) ");\n " --> (912:187-913:5) ");\n\t\t\t\t" (1497:7-1497:17) "} else if " --> (913:5-913:16) "\t} else if " (1497:17-1497:29) "(realContext" --> (913:16-913:28) "(realContext" @@ -3370,8 +3370,8 @@ Invalid Character `[` (1497:42-1497:51) " Context)" --> (913:41-913:50) " Context)" (1497:51-1498:8) " {\n " --> (913:50-914:0) " {" (1498:8-1498:14) " error" --> (914:0-914:12) "\n\t\t\t\t\t\terror" -(1498:14-1498:74) "('Calling useContext(Context.Provider) is not supported. ' +" --> (914:12-914:72) "('Calling useContext(Context.Provider) is not supported. ' +" -(1498:74-1498:126) " 'Did you mean to call useContext(Context) instead?'" --> (914:72-914:124) " 'Did you mean to call useContext(Context) instead?'" +(1498:14-1498:74) "('Calling useContext(Context.Provider) is not supported. ' +" --> (914:12-914:72) "(\"Calling useContext(Context.Provider) is not supported. \" +" +(1498:74-1498:126) " 'Did you mean to call useContext(Context) instead?'" --> (914:72-914:124) " \"Did you mean to call useContext(Context) instead?\"" (1498:126-1499:7) ");\n " --> (914:124-915:5) ");\n\t\t\t\t" (1499:7-1500:5) "}\n " --> (915:5-916:4) "\t}\n\t\t\t" (1500:5-1501:3) "}\n " --> (916:4-917:3) "\t}\n\t\t" @@ -3719,8 +3719,8 @@ Invalid Character `[` (1632:24-1632:27) " 0)" --> (1016:24-1016:27) " 0)" (1632:27-1633:6) " {\n " --> (1016:27-1017:0) " {" (1633:6-1633:12) " error" --> (1017:0-1017:11) "\n\t\t\t\t\terror" -(1633:12-1633:48) "('disabledDepth fell below zero. ' +" --> (1017:11-1017:47) "('disabledDepth fell below zero. ' +" -(1633:48-1633:96) " 'This is a bug in React. Please file an issue.'" --> (1017:47-1017:95) " 'This is a bug in React. Please file an issue.'" +(1633:12-1633:48) "('disabledDepth fell below zero. ' +" --> (1017:11-1017:47) "(\"disabledDepth fell below zero. \" +" +(1633:48-1633:96) " 'This is a bug in React. Please file an issue.'" --> (1017:47-1017:95) " \"This is a bug in React. Please file an issue.\"" (1633:96-1634:5) ");\n " --> (1017:95-1018:4) ");\n\t\t\t" (1634:5-1635:3) "}\n " --> (1018:4-1019:3) "\t}\n\t\t" (1635:3-1636:1) "}\n" --> (1019:3-1020:2) "\t}\n\t" @@ -3763,11 +3763,11 @@ Invalid Character `[` (1648:17-1648:26) " match &&" --> (1030:15-1030:24) " match &&" (1648:26-1648:32) " match" --> (1030:24-1030:30) " match" (1648:32-1648:38) "[1] ||" --> (1030:30-1030:36) "[1] ||" -(1648:38-1649:7) " '';\n " --> (1030:36-1031:5) " '';\n\t\t\t\t" +(1648:38-1649:7) " '';\n " --> (1030:36-1031:5) " \"\";\n\t\t\t\t" (1649:7-1650:5) "}\n " --> (1031:5-1032:4) "\t}\n\t\t\t" (1650:5-1653:4) "} // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n " --> (1032:4-1033:0) "\t}" (1653:4-1653:11) " return" --> (1033:0-1033:11) "\n\t\t\t\treturn" -(1653:11-1653:18) " '\\n' +" --> (1033:11-1033:18) " '\\n' +" +(1653:11-1653:18) " '\\n' +" --> (1033:11-1033:18) " \"\\n\" +" (1653:18-1653:27) " prefix +" --> (1033:18-1033:27) " prefix +" (1653:27-1654:3) " name;\n " --> (1033:27-1034:3) " name;\n\t\t" (1654:3-1655:1) "}\n" --> (1034:3-1035:2) "\t}\n\t" @@ -3781,7 +3781,7 @@ Invalid Character `[` (1660:2-1660:6) " var" --> (1039:3-1039:7) "\tvar" (1660:6-1660:31) " PossiblyWeakMap = typeof" --> (1039:7-1039:32) " PossiblyWeakMap = typeof" (1660:31-1660:43) " WeakMap ===" --> (1039:32-1039:44) " WeakMap ===" -(1660:43-1660:56) " 'function' ?" --> (1039:44-1039:57) " 'function' ?" +(1660:43-1660:56) " 'function' ?" --> (1039:44-1039:57) " \"function\" ?" (1660:56-1660:66) " WeakMap :" --> (1039:57-1039:67) " WeakMap :" (1660:66-1661:2) " Map;\n " --> (1039:67-1040:0) " Map;" (1661:2-1661:24) " componentFrameCache =" --> (1040:0-1040:25) "\n\t\t\tcomponentFrameCache =" @@ -3798,7 +3798,7 @@ Invalid Character `[` (1666:13-1666:22) " reentry)" --> (1043:14-1043:23) " reentry)" (1666:22-1667:4) " {\n " --> (1043:23-1044:0) " {" (1667:4-1667:11) " return" --> (1044:0-1044:11) "\n\t\t\t\treturn" -(1667:11-1668:3) " '';\n " --> (1044:11-1045:3) " '';\n\t\t" +(1667:11-1668:3) " '';\n " --> (1044:11-1045:3) " \"\";\n\t\t" (1668:3-1670:2) "}\n\n " --> (1045:3-1046:3) "\t}\n\t\t" (1670:2-1671:4) " {\n " --> (1046:3-1047:4) "\t{\n\t\t\t" (1671:4-1671:8) " var" --> (1047:4-1047:8) "\tvar" @@ -3855,7 +3855,7 @@ Invalid Character `[` (1702:13-1702:28) ".defineProperty" --> (1067:12-1067:27) ".defineProperty" (1702:28-1702:33) "(Fake" --> (1067:27-1067:32) "(Fake" (1702:33-1702:44) ".prototype," --> (1067:32-1067:43) ".prototype," -(1702:44-1702:53) " 'props'," --> (1067:43-1067:52) " 'props'," +(1702:44-1702:53) " 'props'," --> (1067:43-1067:52) " \"props\"," (1702:53-1703:8) " {\n " --> (1067:52-1067:53) " " (1703:8-1703:13) " set:" --> (1067:53-1067:58) "{set:" (1703:13-1703:25) " function ()" --> (1067:58-1067:69) " function()" @@ -3868,7 +3868,7 @@ Invalid Character `[` (1708:8-1710:6) ");\n\n " --> (1069:8-1070:0) ");" (1710:6-1710:17) " if (typeof" --> (1070:0-1070:16) "\n\t\t\t\t\tif (typeof" (1710:17-1710:29) " Reflect ===" --> (1070:16-1070:28) " Reflect ===" -(1710:29-1710:41) " 'object' &&" --> (1070:28-1070:40) " 'object' &&" +(1710:29-1710:41) " 'object' &&" --> (1070:28-1070:40) " \"object\" &&" (1710:41-1710:49) " Reflect" --> (1070:40-1070:48) " Reflect" (1710:49-1710:60) ".construct)" --> (1070:48-1070:59) ".construct)" (1710:60-1713:8) " {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n " --> (1070:59-1071:0) " {" @@ -3936,21 +3936,21 @@ Invalid Character `[` (1740:18-1740:36) " control && typeof" --> (1094:18-1094:36) " control && typeof" (1740:36-1740:43) " sample" --> (1094:36-1094:43) " sample" (1740:43-1740:53) ".stack ===" --> (1094:43-1094:53) ".stack ===" -(1740:53-1740:63) " 'string')" --> (1094:53-1094:63) " 'string')" +(1740:53-1740:63) " 'string')" --> (1094:53-1094:63) " \"string\")" (1740:63-1743:6) " {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n " --> (1094:63-1095:5) " {\n\t\t\t\t" (1743:6-1743:10) " var" --> (1095:5-1095:9) "\tvar" (1743:10-1743:24) " sampleLines =" --> (1095:9-1095:23) " sampleLines =" (1743:24-1743:31) " sample" --> (1095:23-1095:30) " sample" (1743:31-1743:37) ".stack" --> (1095:30-1095:36) ".stack" (1743:37-1743:43) ".split" --> (1095:36-1095:42) ".split" -(1743:43-1743:48) "('\\n'" --> (1095:42-1095:47) "('\\n'" +(1743:43-1743:48) "('\\n'" --> (1095:42-1095:47) "(\"\\n\"" (1743:48-1744:6) ");\n " --> (1095:47-1096:5) ");\n\t\t\t\t" (1744:6-1744:10) " var" --> (1096:5-1096:9) "\tvar" (1744:10-1744:25) " controlLines =" --> (1096:9-1096:24) " controlLines =" (1744:25-1744:33) " control" --> (1096:24-1096:32) " control" (1744:33-1744:39) ".stack" --> (1096:32-1096:38) ".stack" (1744:39-1744:45) ".split" --> (1096:38-1096:44) ".split" -(1744:45-1744:50) "('\\n'" --> (1096:44-1096:49) "('\\n'" +(1744:45-1744:50) "('\\n'" --> (1096:44-1096:49) "(\"\\n\"" (1744:50-1745:6) ");\n " --> (1096:49-1097:5) ");\n\t\t\t\t" (1745:6-1745:10) " var" --> (1097:5-1097:9) "\tvar" (1745:10-1745:14) " s =" --> (1097:9-1097:13) " s =" @@ -4008,17 +4008,17 @@ Invalid Character `[` (1773:63-1775:16) " {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n " --> (1108:58-1109:10) " {\n\t\t\t\t\t\t\t\t\t" (1775:16-1775:20) " var" --> (1109:10-1109:14) "\tvar" (1775:20-1775:29) " _frame =" --> (1109:14-1109:23) " _frame =" -(1775:29-1775:36) " '\\n' +" --> (1109:23-1109:30) " '\\n' +" +(1775:29-1775:36) " '\\n' +" --> (1109:23-1109:30) " \"\\n\" +" (1775:36-1775:48) " sampleLines" --> (1109:30-1109:42) " sampleLines" (1775:48-1775:51) "[s]" --> (1109:42-1109:45) "[s]" (1775:51-1775:59) ".replace" --> (1109:45-1109:53) ".replace" -(1775:59-1775:71) "(' at new '," --> (1109:53-1109:65) "(' at new '," -(1775:71-1775:78) " ' at '" --> (1109:65-1109:72) " ' at '" +(1775:59-1775:71) "(' at new '," --> (1109:53-1109:65) "(\" at new \"," +(1775:71-1775:78) " ' at '" --> (1109:65-1109:72) " \" at \"" (1775:78-1777:16) ");\n\n " --> (1109:72-1110:10) ");\n\t\t\t\t\t\t\t\t\t" (1777:16-1778:18) " {\n " --> (1110:10-1111:0) "\t{" (1778:18-1778:29) " if (typeof" --> (1111:0-1111:22) "\n\t\t\t\t\t\t\t\t\t\t\tif (typeof" (1778:29-1778:36) " fn ===" --> (1111:22-1111:29) " fn ===" -(1778:36-1778:48) " 'function')" --> (1111:29-1111:41) " 'function')" +(1778:36-1778:48) " 'function')" --> (1111:29-1111:41) " \"function\")" (1778:48-1779:20) " {\n " --> (1111:41-1112:0) " {" (1779:20-1779:40) " componentFrameCache" --> (1112:0-1112:32) "\n\t\t\t\t\t\t\t\t\t\t\t\tcomponentFrameCache" (1779:40-1779:44) ".set" --> (1112:32-1112:36) ".set" @@ -4062,18 +4062,18 @@ Invalid Character `[` (1805:21-1805:36) ".displayName ||" --> (1132:22-1132:37) ".displayName ||" (1805:36-1805:39) " fn" --> (1132:37-1132:40) " fn" (1805:39-1805:46) ".name :" --> (1132:40-1132:47) ".name :" -(1805:46-1806:2) " '';\n " --> (1132:47-1133:3) " '';\n\t\t" +(1805:46-1806:2) " '';\n " --> (1132:47-1133:3) " \"\";\n\t\t" (1806:2-1806:6) " var" --> (1133:3-1133:7) "\tvar" (1806:6-1806:23) " syntheticFrame =" --> (1133:7-1133:24) " syntheticFrame =" (1806:23-1806:30) " name ?" --> (1133:24-1133:31) " name ?" (1806:30-1806:60) " describeBuiltInComponentFrame" --> (1133:31-1133:61) " describeBuiltInComponentFrame" (1806:60-1806:65) "(name" --> (1133:61-1133:66) "(name" (1806:65-1806:68) ") :" --> (1133:66-1133:69) ") :" -(1806:68-1808:2) " '';\n\n " --> (1133:69-1134:3) " '';\n\t\t" +(1806:68-1808:2) " '';\n\n " --> (1133:69-1134:3) " \"\";\n\t\t" (1808:2-1809:4) " {\n " --> (1134:3-1135:0) "\t{" (1809:4-1809:15) " if (typeof" --> (1135:0-1135:15) "\n\t\t\t\tif (typeof" (1809:15-1809:22) " fn ===" --> (1135:15-1135:22) " fn ===" -(1809:22-1809:34) " 'function')" --> (1135:22-1135:34) " 'function')" +(1809:22-1809:34) " 'function')" --> (1135:22-1135:34) " \"function\")" (1809:34-1810:6) " {\n " --> (1135:34-1136:0) " {" (1810:6-1810:26) " componentFrameCache" --> (1136:0-1136:25) "\n\t\t\t\t\tcomponentFrameCache" (1810:26-1810:30) ".set" --> (1136:25-1136:29) ".set" @@ -4123,11 +4123,11 @@ Invalid Character `[` (1829:14-1829:20) " null)" --> (1151:15-1151:21) " null)" (1829:20-1830:4) " {\n " --> (1151:21-1152:0) " {" (1830:4-1830:11) " return" --> (1152:0-1152:11) "\n\t\t\t\treturn" -(1830:11-1831:3) " '';\n " --> (1152:11-1153:3) " '';\n\t\t" +(1830:11-1831:3) " '';\n " --> (1152:11-1153:3) " \"\";\n\t\t" (1831:3-1833:2) "}\n\n " --> (1153:3-1154:0) "\t}" (1833:2-1833:13) " if (typeof" --> (1154:0-1154:14) "\n\t\t\tif (typeof" (1833:13-1833:22) " type ===" --> (1154:14-1154:23) " type ===" -(1833:22-1833:34) " 'function')" --> (1154:23-1154:35) " 'function')" +(1833:22-1833:34) " 'function')" --> (1154:23-1154:35) " \"function\")" (1833:34-1834:4) " {\n " --> (1154:35-1155:4) " {\n\t\t\t" (1834:4-1835:6) " {\n " --> (1155:4-1156:0) "\t{" (1835:6-1835:13) " return" --> (1156:0-1156:12) "\n\t\t\t\t\treturn" @@ -4141,7 +4141,7 @@ Invalid Character `[` (1837:3-1839:2) "}\n\n " --> (1158:3-1159:0) "\t}" (1839:2-1839:13) " if (typeof" --> (1159:0-1159:14) "\n\t\t\tif (typeof" (1839:13-1839:22) " type ===" --> (1159:14-1159:23) " type ===" -(1839:22-1839:32) " 'string')" --> (1159:23-1159:33) " 'string')" +(1839:22-1839:32) " 'string')" --> (1159:23-1159:33) " \"string\")" (1839:32-1840:4) " {\n " --> (1159:33-1160:0) " {" (1840:4-1840:11) " return" --> (1160:0-1160:11) "\n\t\t\t\treturn" (1840:11-1840:41) " describeBuiltInComponentFrame" --> (1160:11-1160:41) " describeBuiltInComponentFrame" @@ -4156,18 +4156,18 @@ Invalid Character `[` (1844:17-1845:6) ".Suspense:\n " --> (1163:17-1163:26) ".Suspense" (1845:6-1845:13) " return" --> (1163:26-1163:34) ": return" (1845:13-1845:43) " describeBuiltInComponentFrame" --> (1163:34-1163:64) " describeBuiltInComponentFrame" -(1845:43-1845:54) "('Suspense'" --> (1163:64-1163:75) "('Suspense'" +(1845:43-1845:54) "('Suspense'" --> (1163:64-1163:75) "(\"Suspense\"" (1845:54-1847:4) ");\n\n " --> (1163:75-1164:0) ");" (1847:4-1847:9) " case" --> (1164:0-1164:9) "\n\t\t\t\tcase" (1847:9-1848:6) " REACT_SUSPENSE_LIST_TYPE:\n " --> (1164:9-1164:34) " REACT_SUSPENSE_LIST_TYPE" (1848:6-1848:13) " return" --> (1164:34-1164:42) ": return" (1848:13-1848:43) " describeBuiltInComponentFrame" --> (1164:42-1164:72) " describeBuiltInComponentFrame" -(1848:43-1848:58) "('SuspenseList'" --> (1164:72-1164:87) "('SuspenseList'" +(1848:43-1848:58) "('SuspenseList'" --> (1164:72-1164:87) "(\"SuspenseList\"" (1848:58-1849:3) ");\n " --> (1164:87-1165:3) ");\n\t\t" (1849:3-1851:2) "}\n\n " --> (1165:3-1166:0) "\t}" (1851:2-1851:13) " if (typeof" --> (1166:0-1166:14) "\n\t\t\tif (typeof" (1851:13-1851:22) " type ===" --> (1166:14-1166:23) " type ===" -(1851:22-1851:32) " 'object')" --> (1166:23-1166:33) " 'object')" +(1851:22-1851:32) " 'object')" --> (1166:23-1166:33) " \"object\")" (1851:32-1852:4) " {\n " --> (1166:33-1167:0) " {" (1852:4-1852:12) " switch " --> (1167:0-1167:12) "\n\t\t\t\tswitch " (1852:12-1852:17) "(type" --> (1167:12-1167:17) "(type" @@ -4228,7 +4228,7 @@ Invalid Character `[` (1874:5-1875:3) "}\n " --> (1179:4-1180:3) "\t}\n\t\t" (1875:3-1877:2) "}\n\n " --> (1180:3-1181:0) "\t}" (1877:2-1877:9) " return" --> (1181:0-1181:10) "\n\t\t\treturn" -(1877:9-1878:1) " '';\n" --> (1181:10-1182:2) " '';\n\t" +(1877:9-1878:1) " '';\n" --> (1181:10-1182:2) " \"\";\n\t" (1878:1-1880:0) "}\n" --> (1182:2-1183:2) "\t}\n\t" (1880:0-1880:4) "\nvar" --> (1183:2-1183:6) "\tvar" (1880:4-1880:25) " loggedTypeFailures =" --> (1183:6-1183:27) " loggedTypeFailures =" @@ -4312,27 +4312,27 @@ Invalid Character `[` (1909:10-1909:21) " if (typeof" --> (1203:0-1203:18) "\n\t\t\t\t\t\t\tif (typeof" (1909:21-1909:31) " typeSpecs" --> (1203:18-1203:28) " typeSpecs" (1909:31-1909:49) "[typeSpecName] !==" --> (1203:28-1203:46) "[typeSpecName] !==" -(1909:49-1909:61) " 'function')" --> (1203:46-1203:58) " 'function')" +(1909:49-1909:61) " 'function')" --> (1203:46-1203:58) " \"function\")" (1909:61-1910:12) " {\n " --> (1203:58-1204:8) " {\n\t\t\t\t\t\t\t" (1910:12-1910:16) " var" --> (1204:8-1204:12) "\tvar" (1910:16-1910:22) " err =" --> (1204:12-1204:18) " err =" (1910:22-1910:29) " Error(" --> (1204:18-1204:25) " Error(" (1910:29-1910:46) "(componentName ||" --> (1204:25-1204:42) "(componentName ||" -(1910:46-1910:63) " 'React class') +" --> (1204:42-1204:59) " 'React class') +" -(1910:63-1910:70) " ': ' +" --> (1204:59-1204:66) " ': ' +" +(1910:46-1910:63) " 'React class') +" --> (1204:42-1204:59) " \"React class\") +" +(1910:63-1910:70) " ': ' +" --> (1204:59-1204:66) " \": \" +" (1910:70-1910:81) " location +" --> (1204:66-1204:77) " location +" -(1910:81-1910:93) " ' type `' +" --> (1204:77-1204:89) " ' type `' +" +(1910:81-1910:93) " ' type `' +" --> (1204:77-1204:89) " \" type `\" +" (1910:93-1910:108) " typeSpecName +" --> (1204:89-1204:104) " typeSpecName +" -(1910:108-1910:127) " '` is invalid; ' +" --> (1204:104-1204:123) " '` is invalid; ' +" -(1910:127-1910:215) " 'it must be a function, usually from the `prop-types` package, but received `' + typeof" --> (1204:123-1204:211) " 'it must be a function, usually from the `prop-types` package, but received `' + typeof" +(1910:108-1910:127) " '` is invalid; ' +" --> (1204:104-1204:123) " \"` is invalid; \" +" +(1910:127-1910:215) " 'it must be a function, usually from the `prop-types` package, but received `' + typeof" --> (1204:123-1204:211) " \"it must be a function, usually from the `prop-types` package, but received `\" + typeof" (1910:215-1910:225) " typeSpecs" --> (1204:211-1204:221) " typeSpecs" (1910:225-1910:241) "[typeSpecName] +" --> (1204:221-1204:237) "[typeSpecName] +" -(1910:241-1910:248) " '`.' +" --> (1204:237-1204:244) " '`.' +" -(1910:248-1910:344) " 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'" --> (1204:244-1204:340) " 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'" +(1910:241-1910:248) " '`.' +" --> (1204:237-1204:244) " \"`.\" +" +(1910:248-1910:344) " 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'" --> (1204:244-1204:340) " \"This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\"" (1910:344-1911:12) ");\n " --> (1204:340-1205:0) ");" (1911:12-1911:16) " err" --> (1205:0-1205:12) "\n\t\t\t\t\t\t\t\terr" (1911:16-1911:23) ".name =" --> (1205:12-1205:19) ".name =" -(1911:23-1912:12) " 'Invariant Violation';\n " --> (1205:19-1206:0) " 'Invariant Violation';" +(1911:23-1912:12) " 'Invariant Violation';\n " --> (1205:19-1206:0) " \"Invariant Violation\";" (1912:12-1912:18) " throw" --> (1206:0-1206:14) "\n\t\t\t\t\t\t\t\tthrow" (1912:18-1913:11) " err;\n " --> (1206:14-1207:7) " err;\n\t\t\t\t\t\t" (1913:11-1915:10) "}\n\n " --> (1207:7-1208:0) "\t}" @@ -4344,7 +4344,7 @@ Invalid Character `[` (1915:66-1915:81) " componentName," --> (1208:63-1208:78) " componentName," (1915:81-1915:91) " location," --> (1208:78-1208:88) " location," (1915:91-1915:97) " null," --> (1208:88-1208:94) " null," -(1915:97-1915:144) " 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'" --> (1208:94-1208:141) " 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'" +(1915:97-1915:144) " 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'" --> (1208:94-1208:141) " \"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\"" (1915:144-1916:9) ");\n " --> (1208:141-1209:6) ");\n\t\t\t\t\t" (1916:9-1916:17) "} catch " --> (1209:6-1209:15) "\t} catch " (1916:17-1916:21) "(ex)" --> (1209:15-1209:19) "(ex)" @@ -4361,14 +4361,14 @@ Invalid Character `[` (1921:40-1921:48) "(element" --> (1213:37-1213:45) "(element" (1921:48-1923:10) ");\n\n " --> (1213:45-1214:0) ");" (1923:10-1923:16) " error" --> (1214:0-1214:13) "\n\t\t\t\t\t\t\terror" -(1923:16-1923:49) "('%s: type specification of %s' +" --> (1214:13-1214:46) "('%s: type specification of %s' +" -(1923:49-1923:89) " ' `%s` is invalid; the type checker ' +" --> (1214:46-1214:86) " ' `%s` is invalid; the type checker ' +" -(1923:89-1923:155) " 'function must return `null` or an `Error` but returned a %s. ' +" --> (1214:86-1214:152) " 'function must return `null` or an `Error` but returned a %s. ' +" -(1923:155-1923:223) " 'You may have forgotten to pass an argument to the type checker ' +" --> (1214:152-1214:220) " 'You may have forgotten to pass an argument to the type checker ' +" -(1923:223-1923:290) " 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +" --> (1214:220-1214:287) " 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +" -(1923:290-1923:325) " 'shape all require an argument).'," --> (1214:287-1214:322) " 'shape all require an argument).'," +(1923:16-1923:49) "('%s: type specification of %s' +" --> (1214:13-1214:46) "(\"%s: type specification of %s\" +" +(1923:49-1923:89) " ' `%s` is invalid; the type checker ' +" --> (1214:46-1214:86) " \" `%s` is invalid; the type checker \" +" +(1923:89-1923:155) " 'function must return `null` or an `Error` but returned a %s. ' +" --> (1214:86-1214:152) " \"function must return `null` or an `Error` but returned a %s. \" +" +(1923:155-1923:223) " 'You may have forgotten to pass an argument to the type checker ' +" --> (1214:152-1214:220) " \"You may have forgotten to pass an argument to the type checker \" +" +(1923:223-1923:290) " 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +" --> (1214:220-1214:287) " \"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and \" +" +(1923:290-1923:325) " 'shape all require an argument).'," --> (1214:287-1214:322) " \"shape all require an argument).\"," (1923:325-1923:342) " componentName ||" --> (1214:322-1214:339) " componentName ||" -(1923:342-1923:357) " 'React class'," --> (1214:339-1214:354) " 'React class'," +(1923:342-1923:357) " 'React class'," --> (1214:339-1214:354) " \"React class\"," (1923:357-1923:367) " location," --> (1214:354-1214:364) " location," (1923:367-1923:388) " typeSpecName, typeof" --> (1214:364-1214:385) " typeSpecName, typeof" (1923:388-1923:396) " error$1" --> (1214:385-1214:393) " error$1" @@ -4392,7 +4392,7 @@ Invalid Character `[` (1932:40-1932:48) "(element" --> (1219:37-1219:45) "(element" (1932:48-1934:10) ");\n\n " --> (1219:45-1220:0) ");" (1934:10-1934:16) " error" --> (1220:0-1220:13) "\n\t\t\t\t\t\t\terror" -(1934:16-1934:38) "('Failed %s type: %s'," --> (1220:13-1220:35) "('Failed %s type: %s'," +(1934:16-1934:38) "('Failed %s type: %s'," --> (1220:13-1220:35) "(\"Failed %s type: %s\"," (1934:38-1934:48) " location," --> (1220:35-1220:45) " location," (1934:48-1934:56) " error$1" --> (1220:45-1220:53) " error$1" (1934:56-1934:64) ".message" --> (1220:53-1220:61) ".message" @@ -4464,13 +4464,13 @@ Invalid Character `[` (1965:8-1965:14) "(name)" --> (1245:8-1245:14) "(name)" (1965:14-1966:6) " {\n " --> (1245:14-1246:0) " {" (1966:6-1966:13) " return" --> (1246:0-1246:12) "\n\t\t\t\t\treturn" -(1966:13-1966:50) " '\\n\\nCheck the render method of `' +" --> (1246:12-1246:49) " '\\n\\nCheck the render method of `' +" +(1966:13-1966:50) " '\\n\\nCheck the render method of `' +" --> (1246:12-1246:49) " \"\\n\\nCheck the render method of `\" +" (1966:50-1966:57) " name +" --> (1246:49-1246:56) " name +" -(1966:57-1967:5) " '`.';\n " --> (1246:56-1247:4) " '`.';\n\t\t\t" +(1966:57-1967:5) " '`.';\n " --> (1246:56-1247:4) " \"`.\";\n\t\t\t" (1967:5-1968:3) "}\n " --> (1247:4-1248:3) "\t}\n\t\t" (1968:3-1970:2) "}\n\n " --> (1248:3-1249:0) "\t}" (1970:2-1970:9) " return" --> (1249:0-1249:10) "\n\t\t\treturn" -(1970:9-1971:1) " '';\n" --> (1249:10-1250:2) " '';\n\t" +(1970:9-1971:1) " '';\n" --> (1249:10-1250:2) " \"\";\n\t" (1971:1-1973:0) "}\n" --> (1250:2-1251:2) "\t}\n\t" (1973:0-1973:9) "\nfunction" --> (1251:2-1251:11) "\tfunction" (1973:9-1973:36) " getSourceInfoErrorAddendum" --> (1251:11-1251:38) " getSourceInfoErrorAddendum" @@ -4486,21 +4486,21 @@ Invalid Character `[` (1975:26-1975:35) ".fileName" --> (1253:26-1253:35) ".fileName" (1975:35-1975:43) ".replace" --> (1253:35-1253:43) ".replace" (1975:43-1975:56) "(/^.*[\\\\\\/]/," --> (1253:43-1253:56) "(/^.*[\\\\\\/]/," -(1975:56-1975:59) " ''" --> (1253:56-1253:59) " ''" +(1975:56-1975:59) " ''" --> (1253:56-1253:59) " \"\"" (1975:59-1976:4) ");\n " --> (1253:59-1254:4) ");\n\t\t\t" (1976:4-1976:8) " var" --> (1254:4-1254:8) "\tvar" (1976:8-1976:21) " lineNumber =" --> (1254:8-1254:21) " lineNumber =" (1976:21-1976:28) " source" --> (1254:21-1254:28) " source" (1976:28-1977:4) ".lineNumber;\n " --> (1254:28-1255:0) ".lineNumber;" (1977:4-1977:11) " return" --> (1255:0-1255:11) "\n\t\t\t\treturn" -(1977:11-1977:39) " '\\n\\nCheck your code at ' +" --> (1255:11-1255:39) " '\\n\\nCheck your code at ' +" +(1977:11-1977:39) " '\\n\\nCheck your code at ' +" --> (1255:11-1255:39) " \"\\n\\nCheck your code at \" +" (1977:39-1977:50) " fileName +" --> (1255:39-1255:50) " fileName +" -(1977:50-1977:56) " ':' +" --> (1255:50-1255:56) " ':' +" +(1977:50-1977:56) " ':' +" --> (1255:50-1255:56) " \":\" +" (1977:56-1977:69) " lineNumber +" --> (1255:56-1255:69) " lineNumber +" -(1977:69-1978:3) " '.';\n " --> (1255:69-1256:3) " '.';\n\t\t" +(1977:69-1978:3) " '.';\n " --> (1255:69-1256:3) " \".\";\n\t\t" (1978:3-1980:2) "}\n\n " --> (1256:3-1257:0) "\t}" (1980:2-1980:9) " return" --> (1257:0-1257:10) "\n\t\t\treturn" -(1980:9-1981:1) " '';\n" --> (1257:10-1258:2) " '';\n\t" +(1980:9-1981:1) " '';\n" --> (1257:10-1258:2) " \"\";\n\t" (1981:1-1983:0) "}\n" --> (1258:2-1259:2) "\t}\n\t" (1983:0-1983:9) "\nfunction" --> (1259:2-1259:11) "\tfunction" (1983:9-1983:44) " getSourceInfoErrorAddendumForProps" --> (1259:11-1259:46) " getSourceInfoErrorAddendumForProps" @@ -4519,7 +4519,7 @@ Invalid Character `[` (1985:60-1986:3) ");\n " --> (1261:60-1262:3) ");\n\t\t" (1986:3-1988:2) "}\n\n " --> (1262:3-1263:0) "\t}" (1988:2-1988:9) " return" --> (1263:0-1263:10) "\n\t\t\treturn" -(1988:9-1989:1) " '';\n" --> (1263:10-1264:2) " '';\n\t" +(1988:9-1989:1) " '';\n" --> (1263:10-1264:2) " \"\";\n\t" (1989:1-1997:0) "}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n" --> (1264:2-1265:2) "\t}\n\t" (1997:0-1997:4) "\nvar" --> (1265:2-1265:6) "\tvar" (1997:4-1997:28) " ownerHasKeyUseWarning =" --> (1265:6-1265:30) " ownerHasKeyUseWarning =" @@ -4539,7 +4539,7 @@ Invalid Character `[` (2003:4-2003:8) " var" --> (1269:4-1269:8) "\tvar" (2003:8-2003:28) " parentName = typeof" --> (1269:8-1269:28) " parentName = typeof" (2003:28-2003:43) " parentType ===" --> (1269:28-1269:43) " parentType ===" -(2003:43-2003:54) " 'string' ?" --> (1269:43-1269:54) " 'string' ?" +(2003:43-2003:54) " 'string' ?" --> (1269:43-1269:54) " \"string\" ?" (2003:54-2003:67) " parentType :" --> (1269:54-1269:67) " parentType :" (2003:67-2003:78) " parentType" --> (1269:67-1269:78) " parentType" (2003:78-2003:93) ".displayName ||" --> (1269:78-1269:93) ".displayName ||" @@ -4549,9 +4549,9 @@ Invalid Character `[` (2005:8-2005:20) "(parentName)" --> (1270:8-1270:20) "(parentName)" (2005:20-2006:6) " {\n " --> (1270:20-1271:0) " {" (2006:6-2006:13) " info =" --> (1271:0-1271:12) "\n\t\t\t\t\tinfo =" -(2006:13-2006:61) " \"\\n\\nCheck the top-level render call using <\" +" --> (1271:12-1271:60) " '\\n\\nCheck the top-level render call using <' +" +(2006:13-2006:61) " \"\\n\\nCheck the top-level render call using <\" +" --> (1271:12-1271:60) " \"\\n\\nCheck the top-level render call using <\" +" (2006:61-2006:74) " parentName +" --> (1271:60-1271:73) " parentName +" -(2006:74-2007:5) " \">.\";\n " --> (1271:73-1272:4) " '>.';\n\t\t\t" +(2006:74-2007:5) " \">.\";\n " --> (1271:73-1272:4) " \">.\";\n\t\t\t" (2007:5-2008:3) "}\n " --> (1272:4-1273:3) "\t}\n\t\t" (2008:3-2010:2) "}\n\n " --> (1273:3-1274:0) "\t}" (2010:2-2010:9) " return" --> (1274:0-1274:10) "\n\t\t\treturn" @@ -4594,7 +4594,7 @@ Invalid Character `[` (2037:53-2041:2) " true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n " --> (1285:54-1286:3) " true;\n\t\t" (2041:2-2041:6) " var" --> (1286:3-1286:7) "\tvar" (2041:6-2041:19) " childOwner =" --> (1286:7-1286:20) " childOwner =" -(2041:19-2043:2) " '';\n\n " --> (1286:20-1287:0) " '';" +(2041:19-2043:2) " '';\n\n " --> (1286:20-1287:0) " \"\";" (2043:2-2043:6) " if " --> (1287:0-1287:7) "\n\t\t\tif " (2043:6-2043:17) "(element &&" --> (1287:7-1287:18) "(element &&" (2043:17-2043:25) " element" --> (1287:18-1287:26) " element" @@ -4605,24 +4605,24 @@ Invalid Character `[` (2043:72-2043:81) ".current)" --> (1287:73-1287:82) ".current)" (2043:81-2045:4) " {\n // Give the component that originally created this child.\n " --> (1287:82-1288:0) " {" (2045:4-2045:17) " childOwner =" --> (1288:0-1288:17) "\n\t\t\t\tchildOwner =" -(2045:17-2045:50) " \" It was passed a child from \" +" --> (1288:17-1288:50) " ' It was passed a child from ' +" +(2045:17-2045:50) " \" It was passed a child from \" +" --> (1288:17-1288:50) " \" It was passed a child from \" +" (2045:50-2045:67) " getComponentName" --> (1288:50-1288:67) " getComponentName" (2045:67-2045:75) "(element" --> (1288:67-1288:75) "(element" (2045:75-2045:82) "._owner" --> (1288:75-1288:82) "._owner" (2045:82-2045:87) ".type" --> (1288:82-1288:87) ".type" (2045:87-2045:90) ") +" --> (1288:87-1288:90) ") +" -(2045:90-2046:3) " \".\";\n " --> (1288:90-1289:3) " '.';\n\t\t" +(2045:90-2046:3) " \".\";\n " --> (1288:90-1289:3) " \".\";\n\t\t" (2046:3-2048:2) "}\n\n " --> (1289:3-1290:3) "\t}\n\t\t" (2048:2-2049:4) " {\n " --> (1290:3-1291:0) "\t{" (2049:4-2049:36) " setCurrentlyValidatingElement$1" --> (1291:0-1291:36) "\n\t\t\t\tsetCurrentlyValidatingElement$1" (2049:36-2049:44) "(element" --> (1291:36-1291:44) "(element" (2049:44-2051:4) ");\n\n " --> (1291:44-1292:0) ");" (2051:4-2051:10) " error" --> (1292:0-1292:10) "\n\t\t\t\terror" -(2051:10-2051:68) "('Each child in a list should have a unique \"key\" prop.' +" --> (1292:10-1292:68) "('Each child in a list should have a unique \"key\" prop.' +" -(2051:68-2051:140) " '%s%s See https://reactjs.org/link/warning-keys for more information.'," --> (1292:68-1292:140) " '%s%s See https://reactjs.org/link/warning-keys for more information.'," -(2051:140-2051:167) " currentComponentErrorInfo," --> (1292:140-1292:167) " currentComponentErrorInfo," -(2051:167-2051:178) " childOwner" --> (1292:167-1292:178) " childOwner" -(2051:178-2053:4) ");\n\n " --> (1292:178-1293:0) ");" +(2051:10-2051:68) "('Each child in a list should have a unique \"key\" prop.' +" --> (1292:10-1292:70) "(\"Each child in a list should have a unique \\\"key\\\" prop.\" +" +(2051:68-2051:140) " '%s%s See https://reactjs.org/link/warning-keys for more information.'," --> (1292:70-1292:142) " \"%s%s See https://reactjs.org/link/warning-keys for more information.\"," +(2051:140-2051:167) " currentComponentErrorInfo," --> (1292:142-1292:169) " currentComponentErrorInfo," +(2051:167-2051:178) " childOwner" --> (1292:169-1292:180) " childOwner" +(2051:178-2053:4) ");\n\n " --> (1292:180-1293:0) ");" (2053:4-2053:36) " setCurrentlyValidatingElement$1" --> (1293:0-1293:36) "\n\t\t\t\tsetCurrentlyValidatingElement$1" (2053:36-2053:41) "(null" --> (1293:36-1293:41) "(null" (2053:41-2054:3) ");\n " --> (1293:41-1294:3) ");\n\t\t" @@ -4635,7 +4635,7 @@ Invalid Character `[` (2067:45-2068:2) " {\n " --> (1296:47-1297:0) " {" (2068:2-2068:13) " if (typeof" --> (1297:0-1297:14) "\n\t\t\tif (typeof" (2068:13-2068:22) " node !==" --> (1297:14-1297:23) " node !==" -(2068:22-2068:32) " 'object')" --> (1297:23-1297:33) " 'object')" +(2068:22-2068:32) " 'object')" --> (1297:23-1297:33) " \"object\")" (2068:32-2069:4) " {\n " --> (1297:33-1298:0) " {" (2069:4-2070:3) " return;\n " --> (1298:0-1299:3) "\n\t\t\t\treturn;\n\t\t" (2070:3-2072:2) "}\n\n " --> (1299:3-1300:0) "\t}" @@ -4693,7 +4693,7 @@ Invalid Character `[` (2086:40-2088:4) ");\n\n " --> (1312:40-1313:0) ");" (2088:4-2088:15) " if (typeof" --> (1313:0-1313:15) "\n\t\t\t\tif (typeof" (2088:15-2088:30) " iteratorFn ===" --> (1313:15-1313:30) " iteratorFn ===" -(2088:30-2088:42) " 'function')" --> (1313:30-1313:42) " 'function')" +(2088:30-2088:42) " 'function')" --> (1313:30-1313:42) " \"function\")" (2088:42-2091:6) " {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n " --> (1313:42-1314:0) " {" (2091:6-2091:10) " if " --> (1314:0-1314:9) "\n\t\t\t\t\tif " (2091:10-2091:25) "(iteratorFn !==" --> (1314:9-1314:24) "(iteratorFn !==" @@ -4747,7 +4747,7 @@ Invalid Character `[` (2116:25-2116:34) " type ===" --> (1329:25-1329:34) " type ===" (2116:34-2116:54) " undefined || typeof" --> (1329:34-1329:54) " undefined || typeof" (2116:54-2116:63) " type ===" --> (1329:54-1329:63) " type ===" -(2116:63-2116:73) " 'string')" --> (1329:63-1329:73) " 'string')" +(2116:63-2116:73) " 'string')" --> (1329:63-1329:73) " \"string\")" (2116:73-2117:6) " {\n " --> (1329:73-1330:0) " {" (2117:6-2118:5) " return;\n " --> (1330:0-1331:4) "\n\t\t\t\t\treturn;\n\t\t\t" (2118:5-2120:4) "}\n\n " --> (1331:4-1332:4) "\t}\n\t\t\t" @@ -4755,14 +4755,14 @@ Invalid Character `[` (2120:8-2122:4) " propTypes;\n\n " --> (1332:8-1333:0) " propTypes;" (2122:4-2122:15) " if (typeof" --> (1333:0-1333:15) "\n\t\t\t\tif (typeof" (2122:15-2122:24) " type ===" --> (1333:15-1333:24) " type ===" -(2122:24-2122:36) " 'function')" --> (1333:24-1333:36) " 'function')" +(2122:24-2122:36) " 'function')" --> (1333:24-1333:36) " \"function\")" (2122:36-2123:6) " {\n " --> (1333:36-1334:0) " {" (2123:6-2123:18) " propTypes =" --> (1334:0-1334:17) "\n\t\t\t\t\tpropTypes =" (2123:18-2123:23) " type" --> (1334:17-1334:22) " type" (2123:23-2124:5) ".propTypes;\n " --> (1334:22-1335:4) ".propTypes;\n\t\t\t" (2124:5-2124:22) "} else if (typeof" --> (1335:4-1335:22) "\t} else if (typeof" (2124:22-2124:31) " type ===" --> (1335:22-1335:31) " type ===" -(2124:31-2124:44) " 'object' && " --> (1335:31-1335:44) " 'object' && " +(2124:31-2124:44) " 'object' && " --> (1335:31-1335:44) " \"object\" && " (2124:44-2124:49) "(type" --> (1335:44-1335:49) "(type" (2124:49-2124:62) ".$$typeof ===" --> (1335:49-1335:62) ".$$typeof ===" (2124:62-2126:4) " REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n " --> (1335:62-1335:88) " REACT_FORWARD_REF_TYPE ||" @@ -4789,7 +4789,7 @@ Invalid Character `[` (2135:21-2135:32) "(propTypes," --> (1342:20-1342:31) "(propTypes," (2135:32-2135:40) " element" --> (1342:31-1342:39) " element" (2135:40-2135:47) ".props," --> (1342:39-1342:46) ".props," -(2135:47-2135:55) " 'prop'," --> (1342:46-1342:54) " 'prop'," +(2135:47-2135:55) " 'prop'," --> (1342:46-1342:54) " \"prop\"," (2135:55-2135:61) " name," --> (1342:54-1342:60) " name," (2135:61-2135:69) " element" --> (1342:60-1342:68) " element" (2135:69-2136:5) ");\n " --> (1342:68-1343:4) ");\n\t\t\t" @@ -4807,22 +4807,22 @@ Invalid Character `[` (2139:35-2139:40) "(type" --> (1345:34-1345:39) "(type" (2139:40-2141:6) ");\n\n " --> (1345:39-1346:0) ");" (2141:6-2141:12) " error" --> (1346:0-1346:11) "\n\t\t\t\t\terror" -(2141:12-2141:115) "('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?'," --> (1346:11-1346:114) "('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?'," +(2141:12-2141:115) "('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?'," --> (1346:11-1346:114) "(\"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?\"," (2141:115-2141:124) " _name ||" --> (1346:114-1346:123) " _name ||" -(2141:124-2141:134) " 'Unknown'" --> (1346:123-1346:133) " 'Unknown'" +(2141:124-2141:134) " 'Unknown'" --> (1346:123-1346:133) " \"Unknown\"" (2141:134-2142:5) ");\n " --> (1346:133-1347:4) ");\n\t\t\t" (2142:5-2144:4) "}\n\n " --> (1347:4-1348:0) "\t}" (2144:4-2144:15) " if (typeof" --> (1348:0-1348:15) "\n\t\t\t\tif (typeof" (2144:15-2144:20) " type" --> (1348:15-1348:20) " type" (2144:20-2144:40) ".getDefaultProps ===" --> (1348:20-1348:40) ".getDefaultProps ===" -(2144:40-2144:55) " 'function' && " --> (1348:40-1348:55) " 'function' && " +(2144:40-2144:55) " 'function' && " --> (1348:40-1348:55) " \"function\" && " (2144:55-2144:60) "!type" --> (1348:55-1348:60) "!type" (2144:60-2144:76) ".getDefaultProps" --> (1348:60-1348:76) ".getDefaultProps" (2144:76-2144:98) ".isReactClassApproved)" --> (1348:76-1348:98) ".isReactClassApproved)" (2144:98-2145:6) " {\n " --> (1348:98-1349:0) " {" (2145:6-2145:12) " error" --> (1349:0-1349:11) "\n\t\t\t\t\terror" -(2145:12-2145:75) "('getDefaultProps is only used on classic React.createClass ' +" --> (1349:11-1349:74) "('getDefaultProps is only used on classic React.createClass ' +" -(2145:75-2145:142) " 'definitions. Use a static property named `defaultProps` instead.'" --> (1349:74-1349:141) " 'definitions. Use a static property named `defaultProps` instead.'" +(2145:12-2145:75) "('getDefaultProps is only used on classic React.createClass ' +" --> (1349:11-1349:74) "(\"getDefaultProps is only used on classic React.createClass \" +" +(2145:75-2145:142) " 'definitions. Use a static property named `defaultProps` instead.'" --> (1349:74-1349:141) " \"definitions. Use a static property named `defaultProps` instead.\"" (2145:142-2146:5) ");\n " --> (1349:141-1350:4) ");\n\t\t\t" (2146:5-2147:3) "}\n " --> (1350:4-1351:3) "\t}\n\t\t" (2147:3-2148:1) "}\n" --> (1351:3-1352:2) "\t}\n\t" @@ -4854,16 +4854,16 @@ Invalid Character `[` (2160:21-2162:6) "[i];\n\n " --> (1357:20-1358:0) "[i];" (2162:6-2162:10) " if " --> (1358:0-1358:9) "\n\t\t\t\t\tif " (2162:10-2162:18) "(key !==" --> (1358:9-1358:17) "(key !==" -(2162:18-2162:32) " 'children' &&" --> (1358:17-1358:31) " 'children' &&" +(2162:18-2162:32) " 'children' &&" --> (1358:17-1358:31) " \"children\" &&" (2162:32-2162:40) " key !==" --> (1358:31-1358:39) " key !==" -(2162:40-2162:47) " 'key')" --> (1358:39-1358:46) " 'key')" +(2162:40-2162:47) " 'key')" --> (1358:39-1358:46) " \"key\")" (2162:47-2163:8) " {\n " --> (1358:46-1359:0) " {" (2163:8-2163:40) " setCurrentlyValidatingElement$1" --> (1359:0-1359:38) "\n\t\t\t\t\t\tsetCurrentlyValidatingElement$1" (2163:40-2163:49) "(fragment" --> (1359:38-1359:47) "(fragment" (2163:49-2165:8) ");\n\n " --> (1359:47-1360:0) ");" (2165:8-2165:14) " error" --> (1360:0-1360:12) "\n\t\t\t\t\t\terror" -(2165:14-2165:67) "('Invalid prop `%s` supplied to `React.Fragment`. ' +" --> (1360:12-1360:65) "('Invalid prop `%s` supplied to `React.Fragment`. ' +" -(2165:67-2165:127) " 'React.Fragment can only have `key` and `children` props.'," --> (1360:65-1360:125) " 'React.Fragment can only have `key` and `children` props.'," +(2165:14-2165:67) "('Invalid prop `%s` supplied to `React.Fragment`. ' +" --> (1360:12-1360:65) "(\"Invalid prop `%s` supplied to `React.Fragment`. \" +" +(2165:67-2165:127) " 'React.Fragment can only have `key` and `children` props.'," --> (1360:65-1360:125) " \"React.Fragment can only have `key` and `children` props.\"," (2165:127-2165:131) " key" --> (1360:125-1360:129) " key" (2165:131-2167:8) ");\n\n " --> (1360:129-1361:0) ");" (2167:8-2167:40) " setCurrentlyValidatingElement$1" --> (1361:0-1361:38) "\n\t\t\t\t\t\tsetCurrentlyValidatingElement$1" @@ -4881,7 +4881,7 @@ Invalid Character `[` (2173:38-2173:47) "(fragment" --> (1366:37-1366:46) "(fragment" (2173:47-2175:6) ");\n\n " --> (1366:46-1367:0) ");" (2175:6-2175:12) " error" --> (1367:0-1367:11) "\n\t\t\t\t\terror" -(2175:12-2175:68) "('Invalid attribute `ref` supplied to `React.Fragment`.'" --> (1367:11-1367:67) "('Invalid attribute `ref` supplied to `React.Fragment`.'" +(2175:12-2175:68) "('Invalid attribute `ref` supplied to `React.Fragment`.'" --> (1367:11-1367:67) "(\"Invalid attribute `ref` supplied to `React.Fragment`.\"" (2175:68-2177:6) ");\n\n " --> (1367:67-1368:0) ");" (2177:6-2177:38) " setCurrentlyValidatingElement$1" --> (1368:0-1368:37) "\n\t\t\t\t\tsetCurrentlyValidatingElement$1" (2177:38-2177:43) "(null" --> (1368:37-1368:42) "(null" @@ -4905,12 +4905,12 @@ Invalid Character `[` (2185:18-2186:4) " {\n " --> (1374:19-1375:4) " {\n\t\t\t" (2186:4-2186:8) " var" --> (1375:4-1375:8) "\tvar" (2186:8-2186:15) " info =" --> (1375:8-1375:15) " info =" -(2186:15-2188:4) " '';\n\n " --> (1375:15-1376:0) " '';" +(2186:15-2188:4) " '';\n\n " --> (1375:15-1376:0) " \"\";" (2188:4-2188:8) " if " --> (1376:0-1376:8) "\n\t\t\t\tif " (2188:8-2188:17) "(type ===" --> (1376:8-1376:17) "(type ===" (2188:17-2188:37) " undefined || typeof" --> (1376:17-1376:37) " undefined || typeof" (2188:37-2188:46) " type ===" --> (1376:37-1376:46) " type ===" -(2188:46-2188:58) " 'object' &&" --> (1376:46-1376:58) " 'object' &&" +(2188:46-2188:58) " 'object' &&" --> (1376:46-1376:58) " \"object\" &&" (2188:58-2188:67) " type !==" --> (1376:58-1376:67) " type !==" (2188:67-2188:75) " null &&" --> (1376:67-1376:75) " null &&" (2188:75-2188:82) " Object" --> (1376:75-1376:82) " Object" @@ -4921,7 +4921,7 @@ Invalid Character `[` (2188:104-2188:107) " 0)" --> (1376:104-1376:107) " 0)" (2188:107-2189:6) " {\n " --> (1376:107-1377:0) " {" (2189:6-2189:14) " info +=" --> (1377:0-1377:13) "\n\t\t\t\t\tinfo +=" -(2189:14-2189:77) " ' You likely forgot to export your component from the file ' +" --> (1377:13-1377:76) " ' You likely forgot to export your component from the file ' +" +(2189:14-2189:77) " ' You likely forgot to export your component from the file ' +" --> (1377:13-1377:76) " \" You likely forgot to export your component from the file \" +" (2189:77-2190:5) " \"it's defined in, or you might have mixed up default and named imports.\";\n " --> (1377:76-1378:4) " \"it's defined in, or you might have mixed up default and named imports.\";\n\t\t\t" (2190:5-2192:4) "}\n\n " --> (1378:4-1379:4) "\t}\n\t\t\t" (2192:4-2192:8) " var" --> (1379:4-1379:8) "\tvar" @@ -4947,7 +4947,7 @@ Invalid Character `[` (2202:17-2202:23) " null)" --> (1386:17-1386:23) " null)" (2202:23-2203:6) " {\n " --> (1386:23-1387:0) " {" (2203:6-2203:19) " typeString =" --> (1387:0-1387:18) "\n\t\t\t\t\ttypeString =" -(2203:19-2204:5) " 'null';\n " --> (1387:18-1388:4) " 'null';\n\t\t\t" +(2203:19-2204:5) " 'null';\n " --> (1387:18-1388:4) " \"null\";\n\t\t\t" (2204:5-2204:15) "} else if " --> (1388:4-1388:15) "\t} else if " (2204:15-2204:21) "(Array" --> (1388:15-1388:21) "(Array" (2204:21-2204:29) ".isArray" --> (1388:21-1388:29) ".isArray" @@ -4955,7 +4955,7 @@ Invalid Character `[` (2204:34-2204:36) "))" --> (1388:34-1388:36) "))" (2204:36-2205:6) " {\n " --> (1388:36-1389:0) " {" (2205:6-2205:19) " typeString =" --> (1389:0-1389:18) "\n\t\t\t\t\ttypeString =" -(2205:19-2206:5) " 'array';\n " --> (1389:18-1390:4) " 'array';\n\t\t\t" +(2205:19-2206:5) " 'array';\n " --> (1389:18-1390:4) " \"array\";\n\t\t\t" (2206:5-2206:15) "} else if " --> (1390:4-1390:15) "\t} else if " (2206:15-2206:24) "(type !==" --> (1390:15-1390:24) "(type !==" (2206:24-2206:37) " undefined &&" --> (1390:24-1390:37) " undefined &&" @@ -4964,15 +4964,15 @@ Invalid Character `[` (2206:55-2206:75) " REACT_ELEMENT_TYPE)" --> (1390:55-1390:75) " REACT_ELEMENT_TYPE)" (2206:75-2207:6) " {\n " --> (1390:75-1391:0) " {" (2207:6-2207:19) " typeString =" --> (1391:0-1391:18) "\n\t\t\t\t\ttypeString =" -(2207:19-2207:26) " \"<\" + " --> (1391:18-1391:25) " '<' + " +(2207:19-2207:26) " \"<\" + " --> (1391:18-1391:25) " \"<\" + " (2207:26-2207:43) "(getComponentName" --> (1391:25-1391:42) "(getComponentName" (2207:43-2207:48) "(type" --> (1391:42-1391:47) "(type" (2207:48-2207:53) ".type" --> (1391:47-1391:52) ".type" (2207:53-2207:57) ") ||" --> (1391:52-1391:56) ") ||" -(2207:57-2207:70) " 'Unknown') +" --> (1391:56-1391:69) " 'Unknown') +" -(2207:70-2208:6) " \" />\";\n " --> (1391:69-1392:0) " ' />';" +(2207:57-2207:70) " 'Unknown') +" --> (1391:56-1391:69) " \"Unknown\") +" +(2207:70-2208:6) " \" />\";\n " --> (1391:69-1392:0) " \" />\";" (2208:6-2208:13) " info =" --> (1392:0-1392:12) "\n\t\t\t\t\tinfo =" -(2208:13-2209:5) " ' Did you accidentally export a JSX literal instead of a component?';\n " --> (1392:12-1393:4) " ' Did you accidentally export a JSX literal instead of a component?';\n\t\t\t" +(2208:13-2209:5) " ' Did you accidentally export a JSX literal instead of a component?';\n " --> (1392:12-1393:4) " \" Did you accidentally export a JSX literal instead of a component?\";\n\t\t\t" (2209:5-2209:11) "} else" --> (1393:4-1393:11) "\t} else" (2209:11-2210:6) " {\n " --> (1393:11-1394:0) " {" (2210:6-2210:26) " typeString = typeof" --> (1394:0-1394:25) "\n\t\t\t\t\ttypeString = typeof" @@ -4980,9 +4980,9 @@ Invalid Character `[` (2211:5-2213:4) "}\n\n " --> (1395:4-1396:4) "\t}\n\t\t\t" (2213:4-2214:6) " {\n " --> (1396:4-1397:0) "\t{" (2214:6-2214:12) " error" --> (1397:0-1397:11) "\n\t\t\t\t\terror" -(2214:12-2214:80) "('React.createElement: type is invalid -- expected a string (for ' +" --> (1397:11-1397:79) "('React.createElement: type is invalid -- expected a string (for ' +" -(2214:80-2214:141) " 'built-in components) or a class/function (for composite ' +" --> (1397:79-1397:140) " 'built-in components) or a class/function (for composite ' +" -(2214:141-2214:171) " 'components) but got: %s.%s'," --> (1397:140-1397:170) " 'components) but got: %s.%s'," +(2214:12-2214:80) "('React.createElement: type is invalid -- expected a string (for ' +" --> (1397:11-1397:79) "(\"React.createElement: type is invalid -- expected a string (for \" +" +(2214:80-2214:141) " 'built-in components) or a class/function (for composite ' +" --> (1397:79-1397:140) " \"built-in components) or a class/function (for composite \" +" +(2214:141-2214:171) " 'components) but got: %s.%s'," --> (1397:140-1397:170) " \"components) but got: %s.%s\"," (2214:171-2214:183) " typeString," --> (1397:170-1397:182) " typeString," (2214:183-2214:188) " info" --> (1397:182-1397:187) " info" (2214:188-2215:5) ");\n " --> (1397:187-1398:4) ");\n\t\t\t" @@ -5062,15 +5062,15 @@ Invalid Character `[` (2251:6-2251:44) " didWarnAboutDeprecatedCreateFactory =" --> (1422:0-1422:43) "\n\t\t\t\t\tdidWarnAboutDeprecatedCreateFactory =" (2251:44-2253:6) " true;\n\n " --> (1422:43-1423:0) " true;" (2253:6-2253:11) " warn" --> (1423:0-1423:10) "\n\t\t\t\t\twarn" -(2253:11-2253:75) "('React.createFactory() is deprecated and will be removed in ' +" --> (1423:10-1423:74) "('React.createFactory() is deprecated and will be removed in ' +" -(2253:75-2253:123) " 'a future major release. Consider using JSX ' +" --> (1423:74-1423:122) " 'a future major release. Consider using JSX ' +" -(2253:123-2253:172) " 'or use React.createElement() directly instead.'" --> (1423:122-1423:171) " 'or use React.createElement() directly instead.'" +(2253:11-2253:75) "('React.createFactory() is deprecated and will be removed in ' +" --> (1423:10-1423:74) "(\"React.createFactory() is deprecated and will be removed in \" +" +(2253:75-2253:123) " 'a future major release. Consider using JSX ' +" --> (1423:74-1423:122) " \"a future major release. Consider using JSX \" +" +(2253:123-2253:172) " 'or use React.createElement() directly instead.'" --> (1423:122-1423:171) " \"or use React.createElement() directly instead.\"" (2253:172-2254:5) ");\n " --> (1423:171-1424:4) ");\n\t\t\t" (2254:5-2257:4) "} // Legacy hook: remove it\n\n\n " --> (1424:4-1425:0) "\t}" (2257:4-2257:11) " Object" --> (1425:0-1425:11) "\n\t\t\t\tObject" (2257:11-2257:26) ".defineProperty" --> (1425:11-1425:26) ".defineProperty" (2257:26-2257:44) "(validatedFactory," --> (1425:26-1425:44) "(validatedFactory," -(2257:44-2257:52) " 'type'," --> (1425:44-1425:52) " 'type'," +(2257:44-2257:52) " 'type'," --> (1425:44-1425:52) " \"type\"," (2257:52-2258:6) " {\n " --> (1425:52-1426:5) " {\n\t\t\t\t" (2258:6-2258:18) " enumerable:" --> (1426:5-1426:17) "\tenumerable:" (2258:18-2259:6) " false,\n " --> (1426:17-1427:5) " false,\n\t\t\t\t" @@ -5078,13 +5078,13 @@ Invalid Character `[` (2259:11-2259:23) " function ()" --> (1427:10-1427:21) " function()" (2259:23-2260:8) " {\n " --> (1427:21-1428:0) " {" (2260:8-2260:13) " warn" --> (1428:0-1428:11) "\n\t\t\t\t\t\twarn" -(2260:13-2260:72) "('Factory.type is deprecated. Access the class directly ' +" --> (1428:11-1428:70) "('Factory.type is deprecated. Access the class directly ' +" -(2260:72-2260:110) " 'before passing it to createFactory.'" --> (1428:70-1428:108) " 'before passing it to createFactory.'" +(2260:13-2260:72) "('Factory.type is deprecated. Access the class directly ' +" --> (1428:11-1428:70) "(\"Factory.type is deprecated. Access the class directly \" +" +(2260:72-2260:110) " 'before passing it to createFactory.'" --> (1428:70-1428:108) " \"before passing it to createFactory.\"" (2260:110-2262:8) ");\n\n " --> (1428:108-1429:0) ");" (2262:8-2262:15) " Object" --> (1429:0-1429:13) "\n\t\t\t\t\t\tObject" (2262:15-2262:30) ".defineProperty" --> (1429:13-1429:28) ".defineProperty" (2262:30-2262:36) "(this," --> (1429:28-1429:34) "(this," -(2262:36-2262:44) " 'type'," --> (1429:34-1429:42) " 'type'," +(2262:36-2262:44) " 'type'," --> (1429:34-1429:42) " \"type\"," (2262:44-2263:10) " {\n " --> (1429:42-1429:43) " " (2263:10-2263:17) " value:" --> (1429:43-1429:50) "{value:" (2263:17-2264:9) " type\n " --> (1429:50-1429:54) " typ" @@ -5264,8 +5264,8 @@ Invalid Character `[` - string-literal-newline/input.js -(0:0-3:0) "\"before\\\nafter\";\n" --> (0:0-2:0) "'before\\\nafter';" -(3:0-6:1) "\n\"before\\\n\\\nafter\";\n" --> (2:0-5:1) "\n'before\\\n\\\nafter';\n" +(0:0-3:0) "\"before\\\nafter\";\n" --> (0:0-2:0) "\"before\\\nafter\";" +(3:0-6:1) "\n\"before\\\n\\\nafter\";\n" --> (2:0-5:1) "\n\"before\\\n\\\nafter\";\n" diff --git a/tasks/coverage/transpile.snap b/tasks/coverage/transpile.snap index 0332906f3bbc4..fbcb5bca9e0b0 100644 --- a/tasks/coverage/transpile.snap +++ b/tasks/coverage/transpile.snap @@ -22,9 +22,9 @@ export type A = { [(globalThis.Symbol).unscopables]: number; [aliasing.isConcatSpreadable]: number; [1]: number; - ['2']: number; + ["2"]: number; [(missing2)]: number; - [Math.random() > 0.5 ? 'f1' : 'f2']: number; + [Math.random() > 0.5 ? "f1" : "f2"]: number; }; export interface B { [missing]: number; @@ -35,9 +35,9 @@ export interface B { [(globalThis.Symbol).unscopables]: number; [aliasing.isConcatSpreadable]: number; [1]: number; - ['2']: number; + ["2"]: number; [(missing2)]: number; - [Math.random() > 0.5 ? 'f1' : 'f2']: number; + [Math.random() > 0.5 ? "f1" : "f2"]: number; } export class C { [missing]: number = 1; @@ -48,9 +48,9 @@ export class C { [(globalThis.Symbol).unscopables]: number = 1; [aliasing.isConcatSpreadable]: number = 1; [1]: number = 1; - ['2']: number = 1; + ["2"]: number = 1; [(missing2)]: number = 1; - [Math.random() > 0.5 ? 'f1' : 'f2']: number = 1; + [Math.random() > 0.5 ? "f1" : "f2"]: number = 1; } export const D = { [missing]: 1, @@ -61,9 +61,9 @@ export const D = { [(globalThis.Symbol).unscopables]: 1, [aliasing.isConcatSpreadable]: 1, [1]: 1, - ['2']: 1, + ["2"]: 1, [(missing2)]: 1, - [Math.random() > 0.5 ? 'f1' : 'f2']: 1 + [Math.random() > 0.5 ? "f1" : "f2"]: 1 }; //// [declarationComputedPropertyNames.d.ts] //// @@ -80,9 +80,9 @@ export type A = { [(globalThis.Symbol).unscopables]: number; [aliasing.isConcatSpreadable]: number; [1]: number; - ['2']: number; + ["2"]: number; [(missing2)]: number; - [Math.random() > 0.5 ? 'f1' : 'f2']: number; + [Math.random() > 0.5 ? "f1" : "f2"]: number; }; export interface B { [missing]: number; @@ -93,17 +93,17 @@ export interface B { [(globalThis.Symbol).unscopables]: number; [aliasing.isConcatSpreadable]: number; [1]: number; - ['2']: number; + ["2"]: number; [(missing2)]: number; - [Math.random() > 0.5 ? 'f1' : 'f2']: number; + [Math.random() > 0.5 ? "f1" : "f2"]: number; } export declare class C { [1]: number; - ['2']: number; + ["2"]: number; } export declare const D: { 1: number; - '2': number; + "2": number; }; export {}; x TS9010: Variable must have an explicit type annotation with