UNPKG

3.07 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../src/options.js"],"names":["CompatibilityValues","InvariantModeValues","ReactOutputValues","defaultOptions"],"mappings":";;;;;;;AAAA;;;;;;;;;AASA;AAKO,MAAMA,sBAAsB,CAAC,SAAD,EAAY,gBAAZ,EAA8B,QAA9B,EAAwC,kBAAxC,EAA4D,QAA5D,EAAsE,YAAtE,CAA5B;;AAWA,MAAMC,sBAAsB,CACjC,OADiC,EAEjC,cAFiC,EAGjC,cAHiC,EAIjC,eAJiC,EAKjC,qBALiC,EAMjC,qBANiC,EAOjC,qBAPiC,EAQjC,qBARiC,CAA5B;;AAYA,MAAMC,oBAAoB,CAAC,gBAAD,EAAmB,KAAnB,EAA0B,UAA1B,CAA1B;;AA+CA,MAAMC,iBAAiB,EAAvB","sourcesContent":["/**\n * Copyright (c) 2017-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\n/* @flow strict-local */\n\nimport type { ErrorHandler } from \"./errors.js\";\n\nexport type Compatibility = \"browser\" | \"jsc-600-1-4-17\" | \"mobile\" | \"node-source-maps\" | \"fb-www\" | \"node-react\";\nexport const CompatibilityValues = [\"browser\", \"jsc-600-1-4-17\", \"mobile\", \"node-source-maps\", \"fb-www\", \"node-react\"];\n\nexport type InvariantModeTypes =\n | \"throw\"\n | \"console.info\"\n | \"console.warn\"\n | \"console.error\"\n | \"nativeLoggingHook+0\"\n | \"nativeLoggingHook+1\"\n | \"nativeLoggingHook+3\"\n | \"nativeLoggingHook+2\";\nexport const InvariantModeValues = [\n \"throw\",\n \"console.info\",\n \"console.warn\",\n \"console.error\",\n \"nativeLoggingHook+0\",\n \"nativeLoggingHook+1\",\n \"nativeLoggingHook+2\",\n \"nativeLoggingHook+3\",\n];\n\nexport type ReactOutputTypes = \"create-element\" | \"jsx\" | \"bytecode\";\nexport const ReactOutputValues = [\"create-element\", \"jsx\", \"bytecode\"];\n\nexport type RealmOptions = {\n check?: Array<number>,\n compatibility?: Compatibility,\n debugNames?: boolean,\n errorHandler?: ErrorHandler,\n mathRandomSeed?: string,\n invariantLevel?: number,\n invariantMode?: InvariantModeTypes,\n emitConcreteModel?: boolean,\n uniqueSuffix?: string,\n residual?: boolean,\n serialize?: boolean,\n strictlyMonotonicDateNow?: boolean,\n timeout?: number,\n maxStackDepth?: number,\n instantRender?: boolean,\n reactEnabled?: boolean,\n reactOutput?: ReactOutputTypes,\n reactVerbose?: boolean,\n reactOptimizeNestedFunctions?: boolean,\n stripFlow?: boolean,\n abstractValueImpliesMax?: number,\n};\n\nexport type SerializerOptions = {\n lazyObjectsRuntime?: string,\n delayInitializations?: boolean,\n delayUnsupportedRequires?: boolean,\n accelerateUnsupportedRequires?: boolean,\n initializeMoreModules?: boolean,\n internalDebug?: boolean,\n debugScopes?: boolean,\n debugIdentifiers?: Array<string>,\n logStatistics?: boolean,\n logModules?: boolean,\n profile?: boolean,\n inlineExpressions?: boolean,\n trace?: boolean,\n heapGraphFormat?: \"DotLanguage\" | \"VISJS\",\n};\n\nexport type PartialEvaluatorOptions = {\n sourceMaps?: boolean,\n};\n\nexport const defaultOptions = {};\n"],"file":"options.js"}
\No newline at end of file