зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1673368 - [devtools] Remove dependency on devtools-launchpad in webpack config. jdescottes. r=jdescottes
This patch is simply inlining what was in devtools-launchpad directly into the debugger's webpack config. In order for the bundling script to still work, we had to add the dependencies that were used in devtools-launchpad. For some reason, this shifted a lot of modules in the generated files (but files have the same size before and after, so I guess nothing changed). Next patch in the serie will cleanup this webpack config. Differential Revision: https://phabricator.services.mozilla.com/D96017
This commit is contained in:
Родитель
49df3505ce
Коммит
e783099865
|
@ -706,11 +706,404 @@
|
|||
"../../babel-loader/lib/index.js??ref--1!../../../src/context-menu/menu.js": 555,
|
||||
"../../babel-loader/lib/index.js??ref--1!../../../../framework/menu.js": 556,
|
||||
"../../babel-loader/lib/index.js??ref--1!../../../../framework/menu-item.js": 557,
|
||||
"../../babel-loader/lib/index.js??ref--1!../../../../shared/telemetry.js": 558
|
||||
"../../babel-loader/lib/index.js??ref--1!../../../../shared/telemetry.js": 558,
|
||||
"../node_modules/@babel/types/lib/index.js": 2,
|
||||
"../node_modules/@babel/types/lib/validators/generated/index.js": 559,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-utils/index.js": 560,
|
||||
"../node_modules/@babel/types/lib/builders/generated/index.js": 561,
|
||||
"../node_modules/lodash/_root.js": 562,
|
||||
"../node_modules/lodash/isArray.js": 563,
|
||||
"../node_modules/@babel/types/lib/definitions/index.js": 564,
|
||||
"../node_modules/lodash/isObjectLike.js": 565,
|
||||
"../node_modules/source-map/lib/util.js": 566,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-utils/src/privileged-network-request.js": 567,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-utils/src/worker-utils.js": 568,
|
||||
"../node_modules/lodash/_baseGetTag.js": 569,
|
||||
"../node_modules/lodash/_Symbol.js": 570,
|
||||
"../node_modules/@babel/types/lib/definitions/utils.js": 571,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/ast.js": 572,
|
||||
"../node_modules/lodash/isObject.js": 573,
|
||||
"../node_modules/lodash/_getNative.js": 574,
|
||||
"../node_modules/@babel/types/lib/constants/index.js": 575,
|
||||
"../node_modules/@babel/types/lib/clone/cloneNode.js": 576,
|
||||
"../node_modules/lodash/isSymbol.js": 577,
|
||||
"../node_modules/lodash/_getTag.js": 578,
|
||||
"../node_modules/@babel/types/lib/validators/is.js": 579,
|
||||
"../node_modules/@babel/types/lib/validators/isValidIdentifier.js": 580,
|
||||
"../node_modules/source-map/lib/source-map-generator.js": 581,
|
||||
"../node_modules/source-map/lib/base64-vlq.js": 582,
|
||||
"../node_modules/source-map/lib/array-set.js": 583,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/index.js": 584,
|
||||
"../node_modules/charenc/charenc.js": 585,
|
||||
"../node_modules/lodash/_ListCache.js": 586,
|
||||
"../node_modules/lodash/_assocIndexOf.js": 587,
|
||||
"../node_modules/lodash/eq.js": 588,
|
||||
"../node_modules/lodash/_freeGlobal.js": 589,
|
||||
"../node_modules/webpack/buildin/global.js": 590,
|
||||
"../node_modules/lodash/_nativeCreate.js": 591,
|
||||
"../node_modules/lodash/_getMapData.js": 592,
|
||||
"../node_modules/lodash/_copyObject.js": 593,
|
||||
"../node_modules/lodash/keys.js": 594,
|
||||
"../node_modules/lodash/isBuffer.js": 595,
|
||||
"../node_modules/lodash/_baseUnary.js": 596,
|
||||
"../node_modules/lodash/_nodeUtil.js": 597,
|
||||
"../node_modules/lodash/_isPrototype.js": 598,
|
||||
"../node_modules/lodash/isArrayLike.js": 599,
|
||||
"../node_modules/@babel/types/lib/definitions/core.js": 600,
|
||||
"../node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js": 601,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/helpers.js": 602,
|
||||
"../node_modules/@babel/generator/lib/index.js": 603,
|
||||
"../node_modules/lodash/toInteger.js": 604,
|
||||
"../node_modules/lodash/toString.js": 605,
|
||||
"../node_modules/lodash/_toKey.js": 606,
|
||||
"../node_modules/process/browser.js": 607,
|
||||
"../packages/devtools-source-map/node_modules/source-map/source-map.js": 608,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/util.js": 609,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-wasm-dwarf/index.js": 610,
|
||||
"../node_modules/fuzzaldrin-plus/lib/scorer.js": 611,
|
||||
"../node_modules/@babel/types/lib/utils/shallowEqual.js": 612,
|
||||
"../node_modules/lodash/_Stack.js": 613,
|
||||
"../node_modules/lodash/_Map.js": 614,
|
||||
"../node_modules/lodash/_getRawTag.js": 615,
|
||||
"../node_modules/lodash/_objectToString.js": 616,
|
||||
"../node_modules/lodash/_MapCache.js": 617,
|
||||
"../node_modules/lodash/isArguments.js": 618,
|
||||
"../node_modules/webpack/buildin/module.js": 619,
|
||||
"../node_modules/lodash/_isIndex.js": 620,
|
||||
"../node_modules/lodash/isTypedArray.js": 621,
|
||||
"../node_modules/lodash/isLength.js": 622,
|
||||
"../node_modules/lodash/_getSymbols.js": 623,
|
||||
"../node_modules/lodash/_getPrototype.js": 624,
|
||||
"../node_modules/lodash/_cloneArrayBuffer.js": 625,
|
||||
"../node_modules/@babel/types/lib/validators/isType.js": 626,
|
||||
"../node_modules/@babel/types/lib/validators/validate.js": 627,
|
||||
"../node_modules/@babel/types/lib/definitions/es2015.js": 628,
|
||||
"../node_modules/@babel/types/lib/utils/inherit.js": 629,
|
||||
"../node_modules/lodash/_baseFindIndex.js": 630,
|
||||
"../node_modules/lodash/_setToArray.js": 631,
|
||||
"../node_modules/source-map/source-map.js": 632,
|
||||
"../node_modules/source-map/lib/base64.js": 633,
|
||||
"../node_modules/source-map/lib/mapping-list.js": 634,
|
||||
"../node_modules/source-map/lib/source-map-consumer.js": 635,
|
||||
"../node_modules/source-map/lib/binary-search.js": 636,
|
||||
"../node_modules/source-map/lib/quick-sort.js": 637,
|
||||
"../node_modules/source-map/lib/source-node.js": 638,
|
||||
"../node_modules/lodash/_baseToString.js": 639,
|
||||
"../node_modules/lodash/_arrayMap.js": 640,
|
||||
"../node_modules/lodash/_isKey.js": 641,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-environment/index.js": 642,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/sourceMapRequests.js": 643,
|
||||
"../node_modules/md5/md5.js": 644,
|
||||
"../node_modules/crypt/crypt.js": 645,
|
||||
"../node_modules/is-buffer/index.js": 646,
|
||||
"../node_modules/fuzzaldrin-plus/lib/pathScorer.js": 647,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/getSymbols.js": 648,
|
||||
"../node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js": 649,
|
||||
"../node_modules/@babel/types/lib/validators/matchesPattern.js": 650,
|
||||
"../node_modules/lodash/isFunction.js": 651,
|
||||
"../node_modules/lodash/_toSource.js": 652,
|
||||
"../node_modules/lodash/_assignValue.js": 653,
|
||||
"../node_modules/lodash/_baseAssignValue.js": 654,
|
||||
"../node_modules/lodash/_arrayLikeKeys.js": 655,
|
||||
"../node_modules/lodash/_baseKeys.js": 656,
|
||||
"../node_modules/lodash/_overArg.js": 657,
|
||||
"../node_modules/lodash/keysIn.js": 658,
|
||||
"../node_modules/lodash/stubArray.js": 659,
|
||||
"../node_modules/lodash/_getSymbolsIn.js": 660,
|
||||
"../node_modules/lodash/_arrayPush.js": 661,
|
||||
"../node_modules/lodash/_getAllKeys.js": 662,
|
||||
"../node_modules/lodash/_baseGetAllKeys.js": 663,
|
||||
"../node_modules/lodash/_Set.js": 664,
|
||||
"../node_modules/lodash/_Uint8Array.js": 665,
|
||||
"../node_modules/@babel/types/lib/validators/isPlaceholderType.js": 666,
|
||||
"../node_modules/@babel/helper-validator-identifier/lib/index.js": 667,
|
||||
"../node_modules/@babel/types/lib/definitions/placeholders.js": 668,
|
||||
"../node_modules/@babel/types/lib/validators/isNode.js": 669,
|
||||
"../node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js": 670,
|
||||
"../node_modules/@babel/types/lib/comments/addComments.js": 671,
|
||||
"../node_modules/@babel/types/lib/comments/inheritInnerComments.js": 672,
|
||||
"../node_modules/lodash/_SetCache.js": 673,
|
||||
"../node_modules/lodash/_cacheHas.js": 674,
|
||||
"../node_modules/@babel/types/lib/comments/inheritLeadingComments.js": 675,
|
||||
"../node_modules/@babel/types/lib/comments/inheritsComments.js": 676,
|
||||
"../node_modules/@babel/types/lib/comments/inheritTrailingComments.js": 677,
|
||||
"../node_modules/@babel/types/lib/converters/toBlock.js": 678,
|
||||
"../node_modules/@babel/types/lib/converters/toIdentifier.js": 679,
|
||||
"../node_modules/@babel/types/lib/modifications/removePropertiesDeep.js": 680,
|
||||
"../node_modules/@babel/types/lib/traverse/traverseFast.js": 681,
|
||||
"../node_modules/@babel/types/lib/modifications/removeProperties.js": 682,
|
||||
"../node_modules/@babel/types/lib/validators/isLet.js": 683,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/simple-path.js": 684,
|
||||
"../node_modules/@babel/parser/lib/index.js": 685,
|
||||
"../node_modules/lodash/isEmpty.js": 686,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/sources.js": 687,
|
||||
"../node_modules/@babel/generator/lib/node/index.js": 688,
|
||||
"../node_modules/@babel/generator/lib/generators/modules.js": 689,
|
||||
"../node_modules/@babel/generator/lib/generators/types.js": 690,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/getFunctionName.js": 691,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/getScopes/index.js": 692,
|
||||
"../node_modules/lodash/_baseIteratee.js": 693,
|
||||
"../node_modules/lodash/_baseIsEqual.js": 694,
|
||||
"../node_modules/lodash/_equalArrays.js": 695,
|
||||
"../node_modules/lodash/_isStrictComparable.js": 696,
|
||||
"../node_modules/lodash/_matchesStrictComparable.js": 697,
|
||||
"../node_modules/lodash/_baseGet.js": 698,
|
||||
"../node_modules/lodash/_castPath.js": 699,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/contains.js": 700,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/search/get-matches.js": 701,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/source-map-generator.js": 702,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/base64-vlq.js": 703,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/array-set.js": 704,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/read-wasm-browser.js": 705,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/createConsumer.js": 706,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-wasm-dwarf/src/wasmAssetBrowser.js": 707,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/index.js": 708,
|
||||
"../node_modules/fuzzaldrin-plus/lib/query.js": 709,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/tabs/tab-list.js": 710,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/tabs/tab.js": 711,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/tabs/tab-panels.js": 712,
|
||||
"multi workers/parser/worker.js": 713,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/worker.js": 714,
|
||||
"../node_modules/@babel/types/lib/validators/react/isReactComponent.js": 715,
|
||||
"../node_modules/@babel/types/lib/validators/react/isCompatTag.js": 716,
|
||||
"../node_modules/@babel/types/lib/builders/react/buildChildren.js": 717,
|
||||
"../node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js": 718,
|
||||
"../node_modules/@babel/types/lib/builders/builder.js": 719,
|
||||
"../node_modules/lodash/clone.js": 720,
|
||||
"../node_modules/lodash/_baseClone.js": 721,
|
||||
"../node_modules/lodash/_listCacheClear.js": 722,
|
||||
"../node_modules/lodash/_listCacheDelete.js": 723,
|
||||
"../node_modules/lodash/_listCacheGet.js": 724,
|
||||
"../node_modules/lodash/_listCacheHas.js": 725,
|
||||
"../node_modules/lodash/_listCacheSet.js": 726,
|
||||
"../node_modules/lodash/_stackClear.js": 727,
|
||||
"../node_modules/lodash/_stackDelete.js": 728,
|
||||
"../node_modules/lodash/_stackGet.js": 729,
|
||||
"../node_modules/lodash/_stackHas.js": 730,
|
||||
"../node_modules/lodash/_stackSet.js": 731,
|
||||
"../node_modules/lodash/_baseIsNative.js": 732,
|
||||
"../node_modules/lodash/_isMasked.js": 733,
|
||||
"../node_modules/lodash/_coreJsData.js": 734,
|
||||
"../node_modules/lodash/_getValue.js": 735,
|
||||
"../node_modules/lodash/_mapCacheClear.js": 736,
|
||||
"../node_modules/lodash/_Hash.js": 737,
|
||||
"../node_modules/lodash/_hashClear.js": 738,
|
||||
"../node_modules/lodash/_hashDelete.js": 739,
|
||||
"../node_modules/lodash/_hashGet.js": 740,
|
||||
"../node_modules/lodash/_hashHas.js": 741,
|
||||
"../node_modules/lodash/_hashSet.js": 742,
|
||||
"../node_modules/lodash/_mapCacheDelete.js": 743,
|
||||
"../node_modules/lodash/_isKeyable.js": 744,
|
||||
"../node_modules/lodash/_mapCacheGet.js": 745,
|
||||
"../node_modules/lodash/_mapCacheHas.js": 746,
|
||||
"../node_modules/lodash/_mapCacheSet.js": 747,
|
||||
"../node_modules/lodash/_arrayEach.js": 748,
|
||||
"../node_modules/lodash/_defineProperty.js": 749,
|
||||
"../node_modules/lodash/_baseAssign.js": 750,
|
||||
"../node_modules/lodash/_baseTimes.js": 751,
|
||||
"../node_modules/lodash/_baseIsArguments.js": 752,
|
||||
"../node_modules/lodash/stubFalse.js": 753,
|
||||
"../node_modules/lodash/_baseIsTypedArray.js": 754,
|
||||
"../node_modules/lodash/_nativeKeys.js": 755,
|
||||
"../node_modules/lodash/_baseAssignIn.js": 756,
|
||||
"../node_modules/lodash/_baseKeysIn.js": 757,
|
||||
"../node_modules/lodash/_nativeKeysIn.js": 758,
|
||||
"../node_modules/lodash/_cloneBuffer.js": 759,
|
||||
"../node_modules/lodash/_copyArray.js": 760,
|
||||
"../node_modules/lodash/_copySymbols.js": 761,
|
||||
"../node_modules/lodash/_arrayFilter.js": 762,
|
||||
"../node_modules/lodash/_copySymbolsIn.js": 763,
|
||||
"../node_modules/lodash/_getAllKeysIn.js": 764,
|
||||
"../node_modules/lodash/_DataView.js": 765,
|
||||
"../node_modules/lodash/_Promise.js": 766,
|
||||
"../node_modules/lodash/_WeakMap.js": 767,
|
||||
"../node_modules/lodash/_initCloneArray.js": 768,
|
||||
"../node_modules/lodash/_initCloneByTag.js": 769,
|
||||
"../node_modules/lodash/_cloneDataView.js": 770,
|
||||
"../node_modules/lodash/_cloneRegExp.js": 771,
|
||||
"../node_modules/lodash/_cloneSymbol.js": 772,
|
||||
"../node_modules/lodash/_cloneTypedArray.js": 773,
|
||||
"../node_modules/lodash/_initCloneObject.js": 774,
|
||||
"../node_modules/lodash/_baseCreate.js": 775,
|
||||
"../node_modules/lodash/isMap.js": 776,
|
||||
"../node_modules/lodash/_baseIsMap.js": 777,
|
||||
"../node_modules/lodash/isSet.js": 778,
|
||||
"../node_modules/lodash/_baseIsSet.js": 779,
|
||||
"../node_modules/to-fast-properties/index.js": 780,
|
||||
"../node_modules/@babel/helper-validator-identifier/lib/identifier.js": 781,
|
||||
"../node_modules/@babel/helper-validator-identifier/lib/keyword.js": 782,
|
||||
"../node_modules/@babel/types/lib/definitions/flow.js": 783,
|
||||
"../node_modules/@babel/types/lib/definitions/jsx.js": 784,
|
||||
"../node_modules/@babel/types/lib/definitions/misc.js": 785,
|
||||
"../node_modules/@babel/types/lib/definitions/experimental.js": 786,
|
||||
"../node_modules/@babel/types/lib/definitions/typescript.js": 787,
|
||||
"../node_modules/@babel/types/lib/asserts/assertNode.js": 788,
|
||||
"../node_modules/@babel/types/lib/asserts/generated/index.js": 789,
|
||||
"../node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js": 790,
|
||||
"../node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js": 791,
|
||||
"../node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js": 792,
|
||||
"../node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js": 793,
|
||||
"../node_modules/@babel/types/lib/clone/clone.js": 794,
|
||||
"../node_modules/@babel/types/lib/clone/cloneDeep.js": 795,
|
||||
"../node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js": 796,
|
||||
"../node_modules/@babel/types/lib/clone/cloneWithoutLoc.js": 797,
|
||||
"../node_modules/@babel/types/lib/comments/addComment.js": 798,
|
||||
"../node_modules/lodash/uniq.js": 799,
|
||||
"../node_modules/lodash/_baseUniq.js": 800,
|
||||
"../node_modules/lodash/_setCacheAdd.js": 801,
|
||||
"../node_modules/lodash/_setCacheHas.js": 802,
|
||||
"../node_modules/lodash/_arrayIncludes.js": 803,
|
||||
"../node_modules/lodash/_baseIndexOf.js": 804,
|
||||
"../node_modules/lodash/_baseIsNaN.js": 805,
|
||||
"../node_modules/lodash/_strictIndexOf.js": 806,
|
||||
"../node_modules/lodash/_arrayIncludesWith.js": 807,
|
||||
"../node_modules/lodash/_createSet.js": 808,
|
||||
"../node_modules/lodash/noop.js": 809,
|
||||
"../node_modules/@babel/types/lib/comments/removeComments.js": 810,
|
||||
"../node_modules/@babel/types/lib/constants/generated/index.js": 811,
|
||||
"../node_modules/@babel/types/lib/converters/ensureBlock.js": 812,
|
||||
"../node_modules/@babel/types/lib/converters/toBindingIdentifierName.js": 813,
|
||||
"../node_modules/@babel/types/lib/converters/toComputedKey.js": 814,
|
||||
"../node_modules/@babel/types/lib/converters/toExpression.js": 815,
|
||||
"../node_modules/@babel/types/lib/converters/toKeyAlias.js": 816,
|
||||
"../node_modules/@babel/types/lib/converters/toSequenceExpression.js": 817,
|
||||
"../node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js": 818,
|
||||
"../node_modules/@babel/types/lib/converters/toStatement.js": 819,
|
||||
"../node_modules/@babel/types/lib/converters/valueToNode.js": 820,
|
||||
"../node_modules/lodash/isPlainObject.js": 821,
|
||||
"../node_modules/lodash/isRegExp.js": 822,
|
||||
"../node_modules/lodash/_baseIsRegExp.js": 823,
|
||||
"../node_modules/@babel/types/lib/modifications/appendToMemberExpression.js": 824,
|
||||
"../node_modules/@babel/types/lib/modifications/inherits.js": 825,
|
||||
"../node_modules/@babel/types/lib/modifications/prependToMemberExpression.js": 826,
|
||||
"../node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js": 827,
|
||||
"../node_modules/@babel/types/lib/traverse/traverse.js": 828,
|
||||
"../node_modules/@babel/types/lib/validators/isBinding.js": 829,
|
||||
"../node_modules/@babel/types/lib/validators/isBlockScoped.js": 830,
|
||||
"../node_modules/@babel/types/lib/validators/isImmutable.js": 831,
|
||||
"../node_modules/@babel/types/lib/validators/isNodesEquivalent.js": 832,
|
||||
"../node_modules/@babel/types/lib/validators/isReferenced.js": 833,
|
||||
"../node_modules/@babel/types/lib/validators/isScope.js": 834,
|
||||
"../node_modules/@babel/types/lib/validators/isSpecifierDefault.js": 835,
|
||||
"../node_modules/@babel/types/lib/validators/isValidES3Identifier.js": 836,
|
||||
"../node_modules/@babel/types/lib/validators/isVar.js": 837,
|
||||
"../node_modules/parse-script-tags/dist/index.js": 838,
|
||||
"../node_modules/parse-script-tags/dist/customParse.js": 839,
|
||||
"../node_modules/parse-script-tags/dist/parseScriptFragment.js": 840,
|
||||
"../node_modules/@babel/generator/lib/source-map.js": 841,
|
||||
"../node_modules/@babel/generator/lib/printer.js": 842,
|
||||
"../node_modules/lodash/isInteger.js": 843,
|
||||
"../node_modules/lodash/toFinite.js": 844,
|
||||
"../node_modules/lodash/toNumber.js": 845,
|
||||
"../node_modules/lodash/repeat.js": 846,
|
||||
"../node_modules/lodash/_baseRepeat.js": 847,
|
||||
"../node_modules/lodash/_isIterateeCall.js": 848,
|
||||
"../node_modules/@babel/generator/lib/buffer.js": 849,
|
||||
"../node_modules/@babel/generator/lib/node/whitespace.js": 850,
|
||||
"../node_modules/@babel/generator/lib/node/parentheses.js": 851,
|
||||
"../node_modules/@babel/generator/lib/generators/index.js": 852,
|
||||
"../node_modules/@babel/generator/lib/generators/template-literals.js": 853,
|
||||
"../node_modules/@babel/generator/lib/generators/expressions.js": 854,
|
||||
"../node_modules/@babel/generator/lib/generators/statements.js": 855,
|
||||
"../node_modules/@babel/generator/lib/generators/classes.js": 856,
|
||||
"../node_modules/@babel/generator/lib/generators/methods.js": 857,
|
||||
"../node_modules/jsesc/jsesc.js": 858,
|
||||
"../node_modules/buffer/index.js": 859,
|
||||
"../node_modules/base64-js/index.js": 860,
|
||||
"../node_modules/ieee754/index.js": 861,
|
||||
"../node_modules/isarray/index.js": 862,
|
||||
"../node_modules/@babel/generator/lib/generators/flow.js": 863,
|
||||
"../node_modules/@babel/generator/lib/generators/base.js": 864,
|
||||
"../node_modules/@babel/generator/lib/generators/jsx.js": 865,
|
||||
"../node_modules/@babel/generator/lib/generators/typescript.js": 866,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/inferClassName.js": 867,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/frameworks.js": 868,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/getScopes/visitor.js": 869,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/findOutOfScopeLocations.js": 870,
|
||||
"../node_modules/lodash/findIndex.js": 871,
|
||||
"../node_modules/lodash/_baseMatches.js": 872,
|
||||
"../node_modules/lodash/_baseIsMatch.js": 873,
|
||||
"../node_modules/lodash/_baseIsEqualDeep.js": 874,
|
||||
"../node_modules/lodash/_arraySome.js": 875,
|
||||
"../node_modules/lodash/_equalByTag.js": 876,
|
||||
"../node_modules/lodash/_mapToArray.js": 877,
|
||||
"../node_modules/lodash/_equalObjects.js": 878,
|
||||
"../node_modules/lodash/_getMatchData.js": 879,
|
||||
"../node_modules/lodash/_baseMatchesProperty.js": 880,
|
||||
"../node_modules/lodash/get.js": 881,
|
||||
"../node_modules/lodash/_stringToPath.js": 882,
|
||||
"../node_modules/lodash/_memoizeCapped.js": 883,
|
||||
"../node_modules/lodash/memoize.js": 884,
|
||||
"../node_modules/lodash/hasIn.js": 885,
|
||||
"../node_modules/lodash/_baseHasIn.js": 886,
|
||||
"../node_modules/lodash/_hasPath.js": 887,
|
||||
"../node_modules/lodash/identity.js": 888,
|
||||
"../node_modules/lodash/property.js": 889,
|
||||
"../node_modules/lodash/_baseProperty.js": 890,
|
||||
"../node_modules/lodash/_basePropertyDeep.js": 891,
|
||||
"../node_modules/lodash/findLastIndex.js": 892,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/steps.js": 893,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/utils/closest.js": 894,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/validate.js": 895,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/mapExpression.js": 896,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/mapOriginalExpression.js": 897,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/mapBindings.js": 898,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/parser/mapAwaitExpression.js": 899,
|
||||
"multi workers/pretty-print/worker.js": 900,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/pretty-print/worker.js": 901,
|
||||
"../node_modules/pretty-fast/pretty-fast.js": 902,
|
||||
"../node_modules/pretty-fast/node_modules/acorn/dist/acorn.js": 903,
|
||||
"multi workers/search/worker.js": 904,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/search/worker.js": 905,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!utils/assert.js": 906,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!utils/build-query.js": 907,
|
||||
"../node_modules/lodash/escapeRegExp.js": 908,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!workers/search/project-search.js": 909,
|
||||
"multi ../packages/devtools-source-map/src/worker.js": 910,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/worker.js": 911,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/source-map.js": 912,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/base64.js": 913,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/url-browser.js": 914,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/mapping-list.js": 915,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/source-map-consumer.js": 916,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/binary-search.js": 917,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/wasm.js": 918,
|
||||
"../packages/devtools-source-map/node_modules/source-map/lib/source-node.js": 919,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/assert.js": 920,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/fetchSourceMap.js": 921,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/wasmRemap.js": 922,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-wasm-dwarf/src/convertToJSON.js": 923,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-wasm-dwarf/src/wasmXScopes.js": 924,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-wasm-dwarf/src/wasmDwarfExpressions.js": 925,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/getOriginalStackFrames.js": 926,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-source-map/src/utils/assetRootBrowser.js": 927,
|
||||
"multi ../packages/devtools-source-map/src/index.js": 928,
|
||||
"multi vendors.js": 929,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!vendors.js": 930,
|
||||
"../node_modules/fuzzaldrin-plus/lib/fuzzaldrin.js": 931,
|
||||
"../node_modules/fuzzaldrin-plus/lib/filter.js": 932,
|
||||
"../node_modules/fuzzaldrin-plus/lib/matcher.js": 933,
|
||||
"../node_modules/react-transition-group/Transition.js": 934,
|
||||
"../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js": 935,
|
||||
"../node_modules/react-transition-group/utils/PropTypes.js": 936,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/tabs/index.js": 937,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/prop-types/ref.js": 938,
|
||||
"../node_modules/extract-text-webpack-plugin/dist/loader.js??ref--3-0!../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab.css": 939,
|
||||
"../node_modules/extract-text-webpack-plugin/dist/loader.js??ref--3-0!../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab-list.css": 940,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/tabs/tabs.js": 941,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../node_modules/react-aria-components/src/utils/unique-id.js": 942,
|
||||
"../node_modules/classnames/index.js": 943,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-splitter/index.js": 944,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-splitter/src/SplitBox.js": 945,
|
||||
"../node_modules/babel-loader/lib/index.js??ref--1!../packages/devtools-splitter/src/Draggable.js": 946,
|
||||
"../node_modules/extract-text-webpack-plugin/dist/loader.js??ref--3-0!../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../packages/devtools-splitter/src/SplitBox.css": 947,
|
||||
"../node_modules/lodash-move/lib/index.js": 948,
|
||||
"../node_modules/css-loader/lib/css-base.js": 949
|
||||
},
|
||||
"usedIds": {
|
||||
"0": 0,
|
||||
"1": 1,
|
||||
"2": 2,
|
||||
"3": 3,
|
||||
"4": 4,
|
||||
"5": 5,
|
||||
|
@ -1266,7 +1659,398 @@
|
|||
"555": 555,
|
||||
"556": 556,
|
||||
"557": 557,
|
||||
"558": 558
|
||||
"558": 558,
|
||||
"559": 559,
|
||||
"560": 560,
|
||||
"561": 561,
|
||||
"562": 562,
|
||||
"563": 563,
|
||||
"564": 564,
|
||||
"565": 565,
|
||||
"566": 566,
|
||||
"567": 567,
|
||||
"568": 568,
|
||||
"569": 569,
|
||||
"570": 570,
|
||||
"571": 571,
|
||||
"572": 572,
|
||||
"573": 573,
|
||||
"574": 574,
|
||||
"575": 575,
|
||||
"576": 576,
|
||||
"577": 577,
|
||||
"578": 578,
|
||||
"579": 579,
|
||||
"580": 580,
|
||||
"581": 581,
|
||||
"582": 582,
|
||||
"583": 583,
|
||||
"584": 584,
|
||||
"585": 585,
|
||||
"586": 586,
|
||||
"587": 587,
|
||||
"588": 588,
|
||||
"589": 589,
|
||||
"590": 590,
|
||||
"591": 591,
|
||||
"592": 592,
|
||||
"593": 593,
|
||||
"594": 594,
|
||||
"595": 595,
|
||||
"596": 596,
|
||||
"597": 597,
|
||||
"598": 598,
|
||||
"599": 599,
|
||||
"600": 600,
|
||||
"601": 601,
|
||||
"602": 602,
|
||||
"603": 603,
|
||||
"604": 604,
|
||||
"605": 605,
|
||||
"606": 606,
|
||||
"607": 607,
|
||||
"608": 608,
|
||||
"609": 609,
|
||||
"610": 610,
|
||||
"611": 611,
|
||||
"612": 612,
|
||||
"613": 613,
|
||||
"614": 614,
|
||||
"615": 615,
|
||||
"616": 616,
|
||||
"617": 617,
|
||||
"618": 618,
|
||||
"619": 619,
|
||||
"620": 620,
|
||||
"621": 621,
|
||||
"622": 622,
|
||||
"623": 623,
|
||||
"624": 624,
|
||||
"625": 625,
|
||||
"626": 626,
|
||||
"627": 627,
|
||||
"628": 628,
|
||||
"629": 629,
|
||||
"630": 630,
|
||||
"631": 631,
|
||||
"632": 632,
|
||||
"633": 633,
|
||||
"634": 634,
|
||||
"635": 635,
|
||||
"636": 636,
|
||||
"637": 637,
|
||||
"638": 638,
|
||||
"639": 639,
|
||||
"640": 640,
|
||||
"641": 641,
|
||||
"642": 642,
|
||||
"643": 643,
|
||||
"644": 644,
|
||||
"645": 645,
|
||||
"646": 646,
|
||||
"647": 647,
|
||||
"648": 648,
|
||||
"649": 649,
|
||||
"650": 650,
|
||||
"651": 651,
|
||||
"652": 652,
|
||||
"653": 653,
|
||||
"654": 654,
|
||||
"655": 655,
|
||||
"656": 656,
|
||||
"657": 657,
|
||||
"658": 658,
|
||||
"659": 659,
|
||||
"660": 660,
|
||||
"661": 661,
|
||||
"662": 662,
|
||||
"663": 663,
|
||||
"664": 664,
|
||||
"665": 665,
|
||||
"666": 666,
|
||||
"667": 667,
|
||||
"668": 668,
|
||||
"669": 669,
|
||||
"670": 670,
|
||||
"671": 671,
|
||||
"672": 672,
|
||||
"673": 673,
|
||||
"674": 674,
|
||||
"675": 675,
|
||||
"676": 676,
|
||||
"677": 677,
|
||||
"678": 678,
|
||||
"679": 679,
|
||||
"680": 680,
|
||||
"681": 681,
|
||||
"682": 682,
|
||||
"683": 683,
|
||||
"684": 684,
|
||||
"685": 685,
|
||||
"686": 686,
|
||||
"687": 687,
|
||||
"688": 688,
|
||||
"689": 689,
|
||||
"690": 690,
|
||||
"691": 691,
|
||||
"692": 692,
|
||||
"693": 693,
|
||||
"694": 694,
|
||||
"695": 695,
|
||||
"696": 696,
|
||||
"697": 697,
|
||||
"698": 698,
|
||||
"699": 699,
|
||||
"700": 700,
|
||||
"701": 701,
|
||||
"702": 702,
|
||||
"703": 703,
|
||||
"704": 704,
|
||||
"705": 705,
|
||||
"706": 706,
|
||||
"707": 707,
|
||||
"708": 708,
|
||||
"709": 709,
|
||||
"710": 710,
|
||||
"711": 711,
|
||||
"712": 712,
|
||||
"713": 713,
|
||||
"714": 714,
|
||||
"715": 715,
|
||||
"716": 716,
|
||||
"717": 717,
|
||||
"718": 718,
|
||||
"719": 719,
|
||||
"720": 720,
|
||||
"721": 721,
|
||||
"722": 722,
|
||||
"723": 723,
|
||||
"724": 724,
|
||||
"725": 725,
|
||||
"726": 726,
|
||||
"727": 727,
|
||||
"728": 728,
|
||||
"729": 729,
|
||||
"730": 730,
|
||||
"731": 731,
|
||||
"732": 732,
|
||||
"733": 733,
|
||||
"734": 734,
|
||||
"735": 735,
|
||||
"736": 736,
|
||||
"737": 737,
|
||||
"738": 738,
|
||||
"739": 739,
|
||||
"740": 740,
|
||||
"741": 741,
|
||||
"742": 742,
|
||||
"743": 743,
|
||||
"744": 744,
|
||||
"745": 745,
|
||||
"746": 746,
|
||||
"747": 747,
|
||||
"748": 748,
|
||||
"749": 749,
|
||||
"750": 750,
|
||||
"751": 751,
|
||||
"752": 752,
|
||||
"753": 753,
|
||||
"754": 754,
|
||||
"755": 755,
|
||||
"756": 756,
|
||||
"757": 757,
|
||||
"758": 758,
|
||||
"759": 759,
|
||||
"760": 760,
|
||||
"761": 761,
|
||||
"762": 762,
|
||||
"763": 763,
|
||||
"764": 764,
|
||||
"765": 765,
|
||||
"766": 766,
|
||||
"767": 767,
|
||||
"768": 768,
|
||||
"769": 769,
|
||||
"770": 770,
|
||||
"771": 771,
|
||||
"772": 772,
|
||||
"773": 773,
|
||||
"774": 774,
|
||||
"775": 775,
|
||||
"776": 776,
|
||||
"777": 777,
|
||||
"778": 778,
|
||||
"779": 779,
|
||||
"780": 780,
|
||||
"781": 781,
|
||||
"782": 782,
|
||||
"783": 783,
|
||||
"784": 784,
|
||||
"785": 785,
|
||||
"786": 786,
|
||||
"787": 787,
|
||||
"788": 788,
|
||||
"789": 789,
|
||||
"790": 790,
|
||||
"791": 791,
|
||||
"792": 792,
|
||||
"793": 793,
|
||||
"794": 794,
|
||||
"795": 795,
|
||||
"796": 796,
|
||||
"797": 797,
|
||||
"798": 798,
|
||||
"799": 799,
|
||||
"800": 800,
|
||||
"801": 801,
|
||||
"802": 802,
|
||||
"803": 803,
|
||||
"804": 804,
|
||||
"805": 805,
|
||||
"806": 806,
|
||||
"807": 807,
|
||||
"808": 808,
|
||||
"809": 809,
|
||||
"810": 810,
|
||||
"811": 811,
|
||||
"812": 812,
|
||||
"813": 813,
|
||||
"814": 814,
|
||||
"815": 815,
|
||||
"816": 816,
|
||||
"817": 817,
|
||||
"818": 818,
|
||||
"819": 819,
|
||||
"820": 820,
|
||||
"821": 821,
|
||||
"822": 822,
|
||||
"823": 823,
|
||||
"824": 824,
|
||||
"825": 825,
|
||||
"826": 826,
|
||||
"827": 827,
|
||||
"828": 828,
|
||||
"829": 829,
|
||||
"830": 830,
|
||||
"831": 831,
|
||||
"832": 832,
|
||||
"833": 833,
|
||||
"834": 834,
|
||||
"835": 835,
|
||||
"836": 836,
|
||||
"837": 837,
|
||||
"838": 838,
|
||||
"839": 839,
|
||||
"840": 840,
|
||||
"841": 841,
|
||||
"842": 842,
|
||||
"843": 843,
|
||||
"844": 844,
|
||||
"845": 845,
|
||||
"846": 846,
|
||||
"847": 847,
|
||||
"848": 848,
|
||||
"849": 849,
|
||||
"850": 850,
|
||||
"851": 851,
|
||||
"852": 852,
|
||||
"853": 853,
|
||||
"854": 854,
|
||||
"855": 855,
|
||||
"856": 856,
|
||||
"857": 857,
|
||||
"858": 858,
|
||||
"859": 859,
|
||||
"860": 860,
|
||||
"861": 861,
|
||||
"862": 862,
|
||||
"863": 863,
|
||||
"864": 864,
|
||||
"865": 865,
|
||||
"866": 866,
|
||||
"867": 867,
|
||||
"868": 868,
|
||||
"869": 869,
|
||||
"870": 870,
|
||||
"871": 871,
|
||||
"872": 872,
|
||||
"873": 873,
|
||||
"874": 874,
|
||||
"875": 875,
|
||||
"876": 876,
|
||||
"877": 877,
|
||||
"878": 878,
|
||||
"879": 879,
|
||||
"880": 880,
|
||||
"881": 881,
|
||||
"882": 882,
|
||||
"883": 883,
|
||||
"884": 884,
|
||||
"885": 885,
|
||||
"886": 886,
|
||||
"887": 887,
|
||||
"888": 888,
|
||||
"889": 889,
|
||||
"890": 890,
|
||||
"891": 891,
|
||||
"892": 892,
|
||||
"893": 893,
|
||||
"894": 894,
|
||||
"895": 895,
|
||||
"896": 896,
|
||||
"897": 897,
|
||||
"898": 898,
|
||||
"899": 899,
|
||||
"900": 900,
|
||||
"901": 901,
|
||||
"902": 902,
|
||||
"903": 903,
|
||||
"904": 904,
|
||||
"905": 905,
|
||||
"906": 906,
|
||||
"907": 907,
|
||||
"908": 908,
|
||||
"909": 909,
|
||||
"910": 910,
|
||||
"911": 911,
|
||||
"912": 912,
|
||||
"913": 913,
|
||||
"914": 914,
|
||||
"915": 915,
|
||||
"916": 916,
|
||||
"917": 917,
|
||||
"918": 918,
|
||||
"919": 919,
|
||||
"920": 920,
|
||||
"921": 921,
|
||||
"922": 922,
|
||||
"923": 923,
|
||||
"924": 924,
|
||||
"925": 925,
|
||||
"926": 926,
|
||||
"927": 927,
|
||||
"928": 928,
|
||||
"929": 929,
|
||||
"930": 930,
|
||||
"931": 931,
|
||||
"932": 932,
|
||||
"933": 933,
|
||||
"934": 934,
|
||||
"935": 935,
|
||||
"936": 936,
|
||||
"937": 937,
|
||||
"938": 938,
|
||||
"939": 939,
|
||||
"940": 940,
|
||||
"941": 941,
|
||||
"942": 942,
|
||||
"943": 943,
|
||||
"944": 944,
|
||||
"945": 945,
|
||||
"946": 946,
|
||||
"947": 947,
|
||||
"948": 948,
|
||||
"949": 949
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
|
@ -1310,5 +2094,68 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../packages/devtools-splitter/src/SplitBox.css": [
|
||||
{
|
||||
"modules": {
|
||||
"byIdentifier": {
|
||||
"../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../packages/devtools-splitter/src/SplitBox.css": 0,
|
||||
"../node_modules/css-loader/lib/css-base.js": 1
|
||||
},
|
||||
"usedIds": {
|
||||
"0": 0,
|
||||
"1": 1
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"byName": {},
|
||||
"byBlocks": {},
|
||||
"usedIds": {
|
||||
"0": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab.css": [
|
||||
{
|
||||
"modules": {
|
||||
"byIdentifier": {
|
||||
"../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab.css": 0,
|
||||
"../node_modules/css-loader/lib/css-base.js": 1
|
||||
},
|
||||
"usedIds": {
|
||||
"0": 0,
|
||||
"1": 1
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"byName": {},
|
||||
"byBlocks": {},
|
||||
"usedIds": {
|
||||
"0": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"extract-text-webpack-plugin ../node_modules/extract-text-webpack-plugin/dist ../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab-list.css": [
|
||||
{
|
||||
"modules": {
|
||||
"byIdentifier": {
|
||||
"../node_modules/css-loader/index.js??ref--3-1!../node_modules/postcss-loader/lib/index.js!../node_modules/react-aria-components/src/tabs/tab-list.css": 0,
|
||||
"../node_modules/css-loader/lib/css-base.js": 1
|
||||
},
|
||||
"usedIds": {
|
||||
"0": 0,
|
||||
"1": 1
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"byName": {},
|
||||
"byBlocks": {},
|
||||
"usedIds": {
|
||||
"0": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -74,58 +74,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ __webpack_require__.p = "/assets/build";
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 383);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 904);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 102:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const flag = __webpack_require__(103);
|
||||
|
||||
function isBrowser() {
|
||||
return typeof window == "object";
|
||||
}
|
||||
|
||||
function isNode() {
|
||||
return process && process.release && process.release.name == 'node';
|
||||
}
|
||||
|
||||
function isDevelopment() {
|
||||
if (!isNode() && isBrowser()) {
|
||||
const href = window.location ? window.location.href : "";
|
||||
return href.match(/^file:/) || href.match(/localhost:/);
|
||||
}
|
||||
|
||||
return "production" != "production";
|
||||
}
|
||||
|
||||
function isTesting() {
|
||||
return flag.testing;
|
||||
}
|
||||
|
||||
function isFirefoxPanel() {
|
||||
return !isDevelopment();
|
||||
}
|
||||
|
||||
function isFirefox() {
|
||||
return /firefox/i.test(navigator.userAgent);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
isDevelopment,
|
||||
isTesting,
|
||||
isFirefoxPanel,
|
||||
isFirefox
|
||||
};
|
||||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(35)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 103:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
|
@ -133,7 +86,73 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_103__;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 11:
|
||||
/***/ 560:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const networkRequest = __webpack_require__(567);
|
||||
|
||||
const workerUtils = __webpack_require__(568);
|
||||
|
||||
module.exports = {
|
||||
networkRequest,
|
||||
workerUtils
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 562:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var freeGlobal = __webpack_require__(589);
|
||||
|
||||
/** Detect free variable `self`. */
|
||||
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||||
|
||||
/** Used as a reference to the global object. */
|
||||
var root = freeGlobal || freeSelf || Function('return this')();
|
||||
|
||||
module.exports = root;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 563:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
* Checks if `value` is classified as an `Array` object.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isArray([1, 2, 3]);
|
||||
* // => true
|
||||
*
|
||||
* _.isArray(document.body.children);
|
||||
* // => false
|
||||
*
|
||||
* _.isArray('abc');
|
||||
* // => false
|
||||
*
|
||||
* _.isArray(_.noop);
|
||||
* // => false
|
||||
*/
|
||||
var isArray = Array.isArray;
|
||||
|
||||
module.exports = isArray;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 565:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
|
@ -169,7 +188,7 @@ module.exports = isObjectLike;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ 567:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
|
@ -200,7 +219,7 @@ module.exports = networkRequest;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ 568:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
|
@ -357,100 +376,12 @@ module.exports = {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 15:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var g;
|
||||
|
||||
// This works in non-strict mode
|
||||
g = (function() {
|
||||
return this;
|
||||
})();
|
||||
|
||||
try {
|
||||
// This works if eval is allowed (see CSP)
|
||||
g = g || Function("return this")() || (1,eval)("this");
|
||||
} catch(e) {
|
||||
// This works if the window reference is available
|
||||
if(typeof window === "object")
|
||||
g = window;
|
||||
}
|
||||
|
||||
// g can still be undefined, but nothing to do about it...
|
||||
// We return undefined, instead of nothing here, so it's
|
||||
// easier to handle this case. if(!global) { ...}
|
||||
|
||||
module.exports = g;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 170:
|
||||
/***/ 569:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = getMatches;
|
||||
|
||||
var _assert = _interopRequireDefault(__webpack_require__(385));
|
||||
|
||||
var _buildQuery = _interopRequireDefault(__webpack_require__(386));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function getMatches(query, text, modifiers) {
|
||||
if (!query || !text || !modifiers) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const regexQuery = (0, _buildQuery.default)(query, modifiers, {
|
||||
isGlobal: true
|
||||
});
|
||||
const matchedLocations = [];
|
||||
const lines = text.split("\n");
|
||||
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
let singleMatch;
|
||||
const line = lines[i];
|
||||
|
||||
while ((singleMatch = regexQuery.exec(line)) !== null) {
|
||||
// Flow doesn't understand the test above.
|
||||
if (!singleMatch) {
|
||||
throw new Error("no singleMatch");
|
||||
}
|
||||
|
||||
matchedLocations.push({
|
||||
line: i,
|
||||
ch: singleMatch.index
|
||||
}); // When the match is an empty string the regexQuery.lastIndex will not
|
||||
// change resulting in an infinite loop so we need to check for this and
|
||||
// increment it manually in that case. See issue #7023
|
||||
|
||||
if (singleMatch[0] === "") {
|
||||
(0, _assert.default)(!regexQuery.unicode, "lastIndex++ can cause issues in unicode mode");
|
||||
regexQuery.lastIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return matchedLocations;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 18:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var Symbol = __webpack_require__(19),
|
||||
getRawTag = __webpack_require__(71),
|
||||
objectToString = __webpack_require__(72);
|
||||
var Symbol = __webpack_require__(570),
|
||||
getRawTag = __webpack_require__(615),
|
||||
objectToString = __webpack_require__(616);
|
||||
|
||||
/** `Object#toString` result references. */
|
||||
var nullTag = '[object Null]',
|
||||
|
@ -480,10 +411,10 @@ module.exports = baseGetTag;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 19:
|
||||
/***/ 570:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var root = __webpack_require__(8);
|
||||
var root = __webpack_require__(562);
|
||||
|
||||
/** Built-in value references. */
|
||||
var Symbol = root.Symbol;
|
||||
|
@ -493,11 +424,11 @@ module.exports = Symbol;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 28:
|
||||
/***/ 577:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var baseGetTag = __webpack_require__(18),
|
||||
isObjectLike = __webpack_require__(11);
|
||||
var baseGetTag = __webpack_require__(569),
|
||||
isObjectLike = __webpack_require__(565);
|
||||
|
||||
/** `Object#toString` result references. */
|
||||
var symbolTag = '[object Symbol]';
|
||||
|
@ -529,7 +460,82 @@ module.exports = isSymbol;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 35:
|
||||
/***/ 589:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
||||
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
||||
|
||||
module.exports = freeGlobal;
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(590)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 590:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var g;
|
||||
|
||||
// This works in non-strict mode
|
||||
g = (function() {
|
||||
return this;
|
||||
})();
|
||||
|
||||
try {
|
||||
// This works if eval is allowed (see CSP)
|
||||
g = g || Function("return this")() || (1,eval)("this");
|
||||
} catch(e) {
|
||||
// This works if the window reference is available
|
||||
if(typeof window === "object")
|
||||
g = window;
|
||||
}
|
||||
|
||||
// g can still be undefined, but nothing to do about it...
|
||||
// We return undefined, instead of nothing here, so it's
|
||||
// easier to handle this case. if(!global) { ...}
|
||||
|
||||
module.exports = g;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 605:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var baseToString = __webpack_require__(639);
|
||||
|
||||
/**
|
||||
* Converts `value` to a string. An empty string is returned for `null`
|
||||
* and `undefined` values. The sign of `-0` is preserved.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
* @example
|
||||
*
|
||||
* _.toString(null);
|
||||
* // => ''
|
||||
*
|
||||
* _.toString(-0);
|
||||
* // => '-0'
|
||||
*
|
||||
* _.toString([1, 2, 3]);
|
||||
* // => '1,2,3'
|
||||
*/
|
||||
function toString(value) {
|
||||
return value == null ? '' : baseToString(value);
|
||||
}
|
||||
|
||||
module.exports = toString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 607:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
// shim for using process in browser
|
||||
|
@ -720,25 +726,286 @@ process.umask = function() { return 0; };
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 383:
|
||||
/***/ 615:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(384);
|
||||
var Symbol = __webpack_require__(570);
|
||||
|
||||
/** Used for built-in method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
/** Used to check objects for own properties. */
|
||||
var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
|
||||
/**
|
||||
* Used to resolve the
|
||||
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
||||
* of values.
|
||||
*/
|
||||
var nativeObjectToString = objectProto.toString;
|
||||
|
||||
/** Built-in value references. */
|
||||
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
||||
|
||||
/**
|
||||
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to query.
|
||||
* @returns {string} Returns the raw `toStringTag`.
|
||||
*/
|
||||
function getRawTag(value) {
|
||||
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
||||
tag = value[symToStringTag];
|
||||
|
||||
try {
|
||||
value[symToStringTag] = undefined;
|
||||
var unmasked = true;
|
||||
} catch (e) {}
|
||||
|
||||
var result = nativeObjectToString.call(value);
|
||||
if (unmasked) {
|
||||
if (isOwn) {
|
||||
value[symToStringTag] = tag;
|
||||
} else {
|
||||
delete value[symToStringTag];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = getRawTag;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 384:
|
||||
/***/ 616:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/** Used for built-in method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
/**
|
||||
* Used to resolve the
|
||||
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
||||
* of values.
|
||||
*/
|
||||
var nativeObjectToString = objectProto.toString;
|
||||
|
||||
/**
|
||||
* Converts `value` to a string using `Object.prototype.toString`.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
*/
|
||||
function objectToString(value) {
|
||||
return nativeObjectToString.call(value);
|
||||
}
|
||||
|
||||
module.exports = objectToString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 639:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var Symbol = __webpack_require__(570),
|
||||
arrayMap = __webpack_require__(640),
|
||||
isArray = __webpack_require__(563),
|
||||
isSymbol = __webpack_require__(577);
|
||||
|
||||
/** Used as references for various `Number` constants. */
|
||||
var INFINITY = 1 / 0;
|
||||
|
||||
/** Used to convert symbols to primitives and strings. */
|
||||
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
||||
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
||||
|
||||
/**
|
||||
* The base implementation of `_.toString` which doesn't convert nullish
|
||||
* values to empty strings.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to process.
|
||||
* @returns {string} Returns the string.
|
||||
*/
|
||||
function baseToString(value) {
|
||||
// Exit early for strings to avoid a performance hit in some environments.
|
||||
if (typeof value == 'string') {
|
||||
return value;
|
||||
}
|
||||
if (isArray(value)) {
|
||||
// Recursively convert values (susceptible to call stack limits).
|
||||
return arrayMap(value, baseToString) + '';
|
||||
}
|
||||
if (isSymbol(value)) {
|
||||
return symbolToString ? symbolToString.call(value) : '';
|
||||
}
|
||||
var result = (value + '');
|
||||
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
||||
}
|
||||
|
||||
module.exports = baseToString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 640:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
* A specialized version of `_.map` for arrays without support for iteratee
|
||||
* shorthands.
|
||||
*
|
||||
* @private
|
||||
* @param {Array} [array] The array to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array} Returns the new mapped array.
|
||||
*/
|
||||
function arrayMap(array, iteratee) {
|
||||
var index = -1,
|
||||
length = array == null ? 0 : array.length,
|
||||
result = Array(length);
|
||||
|
||||
while (++index < length) {
|
||||
result[index] = iteratee(array[index], index, array);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = arrayMap;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 642:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(process) {/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const flag = __webpack_require__(103);
|
||||
|
||||
function isBrowser() {
|
||||
return typeof window == "object";
|
||||
}
|
||||
|
||||
function isNode() {
|
||||
return process && process.release && process.release.name == 'node';
|
||||
}
|
||||
|
||||
function isDevelopment() {
|
||||
if (!isNode() && isBrowser()) {
|
||||
const href = window.location ? window.location.href : "";
|
||||
return href.match(/^file:/) || href.match(/localhost:/);
|
||||
}
|
||||
|
||||
return "production" != "production";
|
||||
}
|
||||
|
||||
function isTesting() {
|
||||
return flag.testing;
|
||||
}
|
||||
|
||||
function isFirefoxPanel() {
|
||||
return !isDevelopment();
|
||||
}
|
||||
|
||||
function isFirefox() {
|
||||
return /firefox/i.test(navigator.userAgent);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
isDevelopment,
|
||||
isTesting,
|
||||
isFirefoxPanel,
|
||||
isFirefox
|
||||
};
|
||||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(607)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 701:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var _getMatches = _interopRequireDefault(__webpack_require__(170));
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = getMatches;
|
||||
|
||||
var _projectSearch = __webpack_require__(388);
|
||||
var _assert = _interopRequireDefault(__webpack_require__(906));
|
||||
|
||||
var _devtoolsUtils = __webpack_require__(7);
|
||||
var _buildQuery = _interopRequireDefault(__webpack_require__(907));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function getMatches(query, text, modifiers) {
|
||||
if (!query || !text || !modifiers) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const regexQuery = (0, _buildQuery.default)(query, modifiers, {
|
||||
isGlobal: true
|
||||
});
|
||||
const matchedLocations = [];
|
||||
const lines = text.split("\n");
|
||||
|
||||
for (let i = 0; i < lines.length; i++) {
|
||||
let singleMatch;
|
||||
const line = lines[i];
|
||||
|
||||
while ((singleMatch = regexQuery.exec(line)) !== null) {
|
||||
// Flow doesn't understand the test above.
|
||||
if (!singleMatch) {
|
||||
throw new Error("no singleMatch");
|
||||
}
|
||||
|
||||
matchedLocations.push({
|
||||
line: i,
|
||||
ch: singleMatch.index
|
||||
}); // When the match is an empty string the regexQuery.lastIndex will not
|
||||
// change resulting in an infinite loop so we need to check for this and
|
||||
// increment it manually in that case. See issue #7023
|
||||
|
||||
if (singleMatch[0] === "") {
|
||||
(0, _assert.default)(!regexQuery.unicode, "lastIndex++ can cause issues in unicode mode");
|
||||
regexQuery.lastIndex++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return matchedLocations;
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 904:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(905);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 905:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
||||
var _getMatches = _interopRequireDefault(__webpack_require__(701));
|
||||
|
||||
var _projectSearch = __webpack_require__(909);
|
||||
|
||||
var _devtoolsUtils = __webpack_require__(560);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
|
@ -755,7 +1022,7 @@ self.onmessage = workerHandler({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 385:
|
||||
/***/ 906:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -766,7 +1033,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.default = assert;
|
||||
|
||||
var _devtoolsEnvironment = __webpack_require__(102);
|
||||
var _devtoolsEnvironment = __webpack_require__(642);
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
|
@ -779,7 +1046,7 @@ function assert(condition, message) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 386:
|
||||
/***/ 907:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -790,7 +1057,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.default = buildQuery;
|
||||
|
||||
var _escapeRegExp = _interopRequireDefault(__webpack_require__(387));
|
||||
var _escapeRegExp = _interopRequireDefault(__webpack_require__(908));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
|
@ -866,10 +1133,10 @@ function buildQuery(originalQuery, modifiers, {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 387:
|
||||
/***/ 908:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var toString = __webpack_require__(57);
|
||||
var toString = __webpack_require__(605);
|
||||
|
||||
/**
|
||||
* Used to match `RegExp`
|
||||
|
@ -905,7 +1172,7 @@ module.exports = escapeRegExp;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 388:
|
||||
/***/ 909:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -916,7 +1183,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||
});
|
||||
exports.findSourceMatches = findSourceMatches;
|
||||
|
||||
var _getMatches = _interopRequireDefault(__webpack_require__(170));
|
||||
var _getMatches = _interopRequireDefault(__webpack_require__(701));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
|
@ -992,273 +1259,6 @@ function truncateLine(text, column) {
|
|||
};
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 43:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
|
||||
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
||||
|
||||
module.exports = freeGlobal;
|
||||
|
||||
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(15)))
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 57:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var baseToString = __webpack_require__(95);
|
||||
|
||||
/**
|
||||
* Converts `value` to a string. An empty string is returned for `null`
|
||||
* and `undefined` values. The sign of `-0` is preserved.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
* @example
|
||||
*
|
||||
* _.toString(null);
|
||||
* // => ''
|
||||
*
|
||||
* _.toString(-0);
|
||||
* // => '-0'
|
||||
*
|
||||
* _.toString([1, 2, 3]);
|
||||
* // => '1,2,3'
|
||||
*/
|
||||
function toString(value) {
|
||||
return value == null ? '' : baseToString(value);
|
||||
}
|
||||
|
||||
module.exports = toString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const networkRequest = __webpack_require__(13);
|
||||
|
||||
const workerUtils = __webpack_require__(14);
|
||||
|
||||
module.exports = {
|
||||
networkRequest,
|
||||
workerUtils
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 71:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var Symbol = __webpack_require__(19);
|
||||
|
||||
/** Used for built-in method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
/** Used to check objects for own properties. */
|
||||
var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
|
||||
/**
|
||||
* Used to resolve the
|
||||
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
||||
* of values.
|
||||
*/
|
||||
var nativeObjectToString = objectProto.toString;
|
||||
|
||||
/** Built-in value references. */
|
||||
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
||||
|
||||
/**
|
||||
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to query.
|
||||
* @returns {string} Returns the raw `toStringTag`.
|
||||
*/
|
||||
function getRawTag(value) {
|
||||
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
||||
tag = value[symToStringTag];
|
||||
|
||||
try {
|
||||
value[symToStringTag] = undefined;
|
||||
var unmasked = true;
|
||||
} catch (e) {}
|
||||
|
||||
var result = nativeObjectToString.call(value);
|
||||
if (unmasked) {
|
||||
if (isOwn) {
|
||||
value[symToStringTag] = tag;
|
||||
} else {
|
||||
delete value[symToStringTag];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = getRawTag;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 72:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/** Used for built-in method references. */
|
||||
var objectProto = Object.prototype;
|
||||
|
||||
/**
|
||||
* Used to resolve the
|
||||
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
||||
* of values.
|
||||
*/
|
||||
var nativeObjectToString = objectProto.toString;
|
||||
|
||||
/**
|
||||
* Converts `value` to a string using `Object.prototype.toString`.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to convert.
|
||||
* @returns {string} Returns the converted string.
|
||||
*/
|
||||
function objectToString(value) {
|
||||
return nativeObjectToString.call(value);
|
||||
}
|
||||
|
||||
module.exports = objectToString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var freeGlobal = __webpack_require__(43);
|
||||
|
||||
/** Detect free variable `self`. */
|
||||
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
||||
|
||||
/** Used as a reference to the global object. */
|
||||
var root = freeGlobal || freeSelf || Function('return this')();
|
||||
|
||||
module.exports = root;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 9:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
* Checks if `value` is classified as an `Array` object.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.1.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isArray([1, 2, 3]);
|
||||
* // => true
|
||||
*
|
||||
* _.isArray(document.body.children);
|
||||
* // => false
|
||||
*
|
||||
* _.isArray('abc');
|
||||
* // => false
|
||||
*
|
||||
* _.isArray(_.noop);
|
||||
* // => false
|
||||
*/
|
||||
var isArray = Array.isArray;
|
||||
|
||||
module.exports = isArray;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 95:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var Symbol = __webpack_require__(19),
|
||||
arrayMap = __webpack_require__(96),
|
||||
isArray = __webpack_require__(9),
|
||||
isSymbol = __webpack_require__(28);
|
||||
|
||||
/** Used as references for various `Number` constants. */
|
||||
var INFINITY = 1 / 0;
|
||||
|
||||
/** Used to convert symbols to primitives and strings. */
|
||||
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
||||
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
||||
|
||||
/**
|
||||
* The base implementation of `_.toString` which doesn't convert nullish
|
||||
* values to empty strings.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to process.
|
||||
* @returns {string} Returns the string.
|
||||
*/
|
||||
function baseToString(value) {
|
||||
// Exit early for strings to avoid a performance hit in some environments.
|
||||
if (typeof value == 'string') {
|
||||
return value;
|
||||
}
|
||||
if (isArray(value)) {
|
||||
// Recursively convert values (susceptible to call stack limits).
|
||||
return arrayMap(value, baseToString) + '';
|
||||
}
|
||||
if (isSymbol(value)) {
|
||||
return symbolToString ? symbolToString.call(value) : '';
|
||||
}
|
||||
var result = (value + '');
|
||||
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
||||
}
|
||||
|
||||
module.exports = baseToString;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 96:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/**
|
||||
* A specialized version of `_.map` for arrays without support for iteratee
|
||||
* shorthands.
|
||||
*
|
||||
* @private
|
||||
* @param {Array} [array] The array to iterate over.
|
||||
* @param {Function} iteratee The function invoked per iteration.
|
||||
* @returns {Array} Returns the new mapped array.
|
||||
*/
|
||||
function arrayMap(array, iteratee) {
|
||||
var index = -1,
|
||||
length = array == null ? 0 : array.length,
|
||||
result = Array(length);
|
||||
|
||||
while (++index < length) {
|
||||
result[index] = iteratee(array[index], index, array);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = arrayMap;
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -28,7 +28,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"codemirror": "^5.28.0",
|
||||
"devtools-launchpad": "^0.0.161",
|
||||
"fuzzaldrin-plus": "^0.6.0",
|
||||
"lodash": "^4.17.4",
|
||||
"lodash-move": "^1.1.1",
|
||||
|
@ -71,22 +70,33 @@
|
|||
"@babel/preset-react": "^7.0.0",
|
||||
"@babel/register": "^7.0.0",
|
||||
"@sucrase/webpack-object-rest-spread-plugin": "^1.0.0",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-jest": "^23.0.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"babel-plugin-module-resolver": "^3.2.0",
|
||||
"babel-plugin-transform-amd-to-commonjs": "1.4.0",
|
||||
"copy-webpack-plugin": "^4.5.2",
|
||||
"classnames": "^2.2.5",
|
||||
"css-loader": "^0.26.1",
|
||||
"devtools-config": "^0.0.16",
|
||||
"enzyme": "^3.10.0",
|
||||
"enzyme-adapter-react-16": "^1.14.0",
|
||||
"enzyme-to-json": "3.3.5",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"flow-bin": "0.97.0",
|
||||
"immutable": "^3.8.2",
|
||||
"jest": "^23.0.0",
|
||||
"jest-environment-jsdom": "^23.0.0",
|
||||
"jest-in-case": "^1.0.2",
|
||||
"jest-junit": "^6.0.0",
|
||||
"jest-localstorage-mock": "^2.2.0",
|
||||
"jest-serializer-babel-ast": "^0.0.5",
|
||||
"postcss": "^6.0.6",
|
||||
"postcss-class-namespace": "^0.1.0",
|
||||
"postcss-loader": "^2.0.6",
|
||||
"postcss-url-mapper": "^1.2.0",
|
||||
"redux": "^4.0.5",
|
||||
"webpack": "^3.5.5",
|
||||
"workerjs": "github:jasonLaster/workerjs#1944c8b753cc9e84b6ed0cb2fbcaa25600706446"
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
|
||||
const toolbox = require("devtools-launchpad/index");
|
||||
const sourceMapAssets = require("devtools-source-map/assets");
|
||||
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
||||
const webpack = require("webpack");
|
||||
|
@ -82,7 +81,7 @@ if (!isProduction) {
|
|||
extra.recordsPath = "bin/module-manifest.json";
|
||||
}
|
||||
|
||||
const overallConfig = toolbox.toolboxConfig(webpackConfig, envConfig, extra);
|
||||
const overallConfig = toolboxConfig(webpackConfig, envConfig, extra);
|
||||
|
||||
for (const rule of overallConfig.module.rules) {
|
||||
// The launchpad still uses Babel 6. Rewrite it to use the local Babel 7
|
||||
|
@ -96,3 +95,285 @@ for (const rule of overallConfig.module.rules) {
|
|||
}
|
||||
|
||||
module.exports = overallConfig;
|
||||
|
||||
function toolboxConfig(innerWebpackConfig, innerEnvConfig, options = {}) {
|
||||
require("babel-register");
|
||||
const ExtractTextPlugin = require("extract-text-webpack-plugin");
|
||||
const { isDevelopment, isFirefoxPanel } = require("devtools-environment");
|
||||
const { getValue, setConfig } = require("devtools-config");
|
||||
const NODE_ENV = process.env.NODE_ENV || "development";
|
||||
const TARGET = process.env.TARGET || "local";
|
||||
|
||||
setConfig(innerEnvConfig);
|
||||
|
||||
innerWebpackConfig.context = path.resolve(__dirname, "src");
|
||||
innerWebpackConfig.devtool = "source-map";
|
||||
|
||||
innerWebpackConfig.module = innerWebpackConfig.module || {};
|
||||
innerWebpackConfig.module.rules = innerWebpackConfig.module.rules || [];
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /\.json$/,
|
||||
loader: "json-loader",
|
||||
});
|
||||
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /\.js$/,
|
||||
exclude: request => {
|
||||
// Some paths are excluded from Babel
|
||||
const excludedPaths = ["fs", "node_modules"];
|
||||
const excludedRe = new RegExp(`(${excludedPaths.join("|")})`);
|
||||
let excluded = !!request.match(excludedRe);
|
||||
|
||||
if (options.babelExcludes) {
|
||||
// If the tool defines an additional exclude regexp for Babel.
|
||||
excluded = excluded || !!request.match(options.babelExcludes);
|
||||
}
|
||||
|
||||
let included = ["devtools-"];
|
||||
if (options.babelIncludes) {
|
||||
included = included.concat(options.babelIncludes);
|
||||
}
|
||||
|
||||
const reincludeRe = new RegExp(
|
||||
`node_modules(\\/|\\\\)${included.join("|")}`
|
||||
);
|
||||
return excluded && !request.match(reincludeRe);
|
||||
},
|
||||
loader: `babel-loader?ignore=src/lib`,
|
||||
});
|
||||
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /\.properties$/,
|
||||
loader: "raw-loader",
|
||||
});
|
||||
|
||||
innerWebpackConfig.node = { fs: "empty" };
|
||||
|
||||
innerWebpackConfig.plugins = innerWebpackConfig.plugins || [];
|
||||
innerWebpackConfig.plugins.push(
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": {
|
||||
NODE_ENV: JSON.stringify(NODE_ENV),
|
||||
TARGET: JSON.stringify(TARGET),
|
||||
},
|
||||
DebuggerConfig: JSON.stringify(innerEnvConfig),
|
||||
})
|
||||
);
|
||||
|
||||
if (isDevelopment()) {
|
||||
/*
|
||||
* SVGs are loaded in one of two ways in JS w/ SVG inline loader
|
||||
* and in CSS w/ the CSS loader.
|
||||
*
|
||||
* Inline SVGs are included in the JS bundle and mounted w/ React.
|
||||
*
|
||||
* SVG URLs like chrome://devtools/skin/images/arrow.svg are mapped
|
||||
* by the postcss-loader to /mc/devtools/client/themes/arrow.svg
|
||||
* and are hosted in `development-server` with an express server.
|
||||
*
|
||||
* CSS URLs like resource://devtools/client/themes/variables.css are mapped by the
|
||||
* NormalModuleReplacementPlugin to
|
||||
* devtools-mc-assets/assets/devtools/client/themes/arrow.svg.
|
||||
* The modules are then resolved by the css-loader, which allows modules like
|
||||
* variables.css to be bundled.
|
||||
*
|
||||
* We use several PostCSS plugins to make local development a little easier:
|
||||
* autoprefixer, bidirection. These plugins help support chrome + firefox
|
||||
* development w/ new CSS features like RTL, mask, ...
|
||||
*/
|
||||
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /svg$/,
|
||||
loader: "svg-inline-loader",
|
||||
});
|
||||
|
||||
const cssUses = [
|
||||
{
|
||||
loader: "style-loader",
|
||||
},
|
||||
{
|
||||
loader: "css-loader",
|
||||
options: {
|
||||
importLoaders: 1,
|
||||
url: false,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
if (!options.disablePostCSS) {
|
||||
cssUses.push({ loader: "postcss-loader" });
|
||||
}
|
||||
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /\.css$/,
|
||||
use: cssUses,
|
||||
});
|
||||
|
||||
innerWebpackConfig.plugins.push(
|
||||
new webpack.NormalModuleReplacementPlugin(
|
||||
/(resource:|chrome:).*.css/,
|
||||
function(resource) {
|
||||
const newUrl = resource.request
|
||||
.replace(
|
||||
/(.\/chrome:\/\/|.\/resource:\/\/)/,
|
||||
`devtools-mc-assets/assets/`
|
||||
)
|
||||
.replace(/devtools\/skin/, "devtools/client/themes")
|
||||
.replace(/devtools\/content/, "devtools/client");
|
||||
|
||||
resource.request = newUrl;
|
||||
}
|
||||
)
|
||||
);
|
||||
} else {
|
||||
/*
|
||||
* SVGs are loaded in one of two ways in JS w/ SVG inline loader
|
||||
* and in CSS w/ the CSS loader.
|
||||
*
|
||||
* Inline SVGs are included in the JS bundle and mounted w/ React.
|
||||
*
|
||||
* SVG URLs like /images/arrow.svg are mapped
|
||||
* by the postcss-loader to chrome://chrome://devtools/skin/images/debugger/arrow.svg,
|
||||
* copied to devtools/themes/images/debugger and added to the jar.mn
|
||||
*
|
||||
* SVG URLS like chrome://devtools/skin/images/add.svg are
|
||||
* ignored as they are already available in MC.
|
||||
*/
|
||||
|
||||
const cssUses = [
|
||||
{
|
||||
loader: "css-loader",
|
||||
options: {
|
||||
importLoaders: 1,
|
||||
url: false,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
if (!options.disablePostCSS) {
|
||||
cssUses.push({ loader: "postcss-loader" });
|
||||
}
|
||||
|
||||
// Extract CSS into a single file
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /\.css$/,
|
||||
exclude: request => {
|
||||
// If the tool defines an exclude regexp for CSS files.
|
||||
return (
|
||||
innerWebpackConfig.cssExcludes &&
|
||||
request.match(innerWebpackConfig.cssExcludes)
|
||||
);
|
||||
},
|
||||
use: ExtractTextPlugin.extract({
|
||||
filename: "*.css",
|
||||
use: cssUses,
|
||||
}),
|
||||
});
|
||||
|
||||
innerWebpackConfig.module.rules.push({
|
||||
test: /svg$/,
|
||||
loader: "svg-inline-loader",
|
||||
});
|
||||
|
||||
innerWebpackConfig.plugins.push(new ExtractTextPlugin("[name].css"));
|
||||
}
|
||||
|
||||
if (isFirefoxPanel()) {
|
||||
innerWebpackConfig = devtoolsConfig(
|
||||
innerWebpackConfig,
|
||||
innerEnvConfig,
|
||||
options
|
||||
);
|
||||
}
|
||||
|
||||
// NOTE: This is only needed to fix a bug with chrome devtools' debugger and
|
||||
// destructuring params https://github.com/firefox-devtools/debugger.html/issues/67
|
||||
if (getValue("transformParameters")) {
|
||||
innerWebpackConfig.module.rules.forEach(spec => {
|
||||
if (spec.isJavaScriptLoader) {
|
||||
const idx = spec.rules.findIndex(loader =>
|
||||
loader.includes("babel-loader")
|
||||
);
|
||||
spec.rules[idx] += "&plugins[]=transform-es2015-parameters";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
return innerWebpackConfig;
|
||||
}
|
||||
|
||||
function devtoolsConfig(innerWebpackConfig, innerEnvConfig, options) {
|
||||
const nativeMapping = {
|
||||
react: "devtools/client/shared/vendor/react",
|
||||
"react-dom": "devtools/client/shared/vendor/react-dom",
|
||||
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
|
||||
"prop-types": "devtools/client/shared/vendor/react-prop-types",
|
||||
lodash: "devtools/client/shared/vendor/lodash",
|
||||
};
|
||||
|
||||
const outputPath = process.env.OUTPUT_PATH;
|
||||
|
||||
if (outputPath) {
|
||||
innerWebpackConfig.output.path = outputPath;
|
||||
}
|
||||
|
||||
innerWebpackConfig.devtool = false;
|
||||
const recordsPath = options.recordsPath || "assets/module-manifest.json";
|
||||
innerWebpackConfig.recordsPath = path.join(__dirname, recordsPath);
|
||||
|
||||
function externalsTest(context, request, callback) {
|
||||
const mod = request;
|
||||
|
||||
if (mod.match(/.*\/Services$/)) {
|
||||
callback(null, "Services");
|
||||
return;
|
||||
}
|
||||
|
||||
// Any matching paths here won't be included in the bundle.
|
||||
const excludeMap = (options && options.excludeMap) || nativeMapping;
|
||||
if (excludeMap[mod]) {
|
||||
const mapping = excludeMap[mod];
|
||||
|
||||
if (innerWebpackConfig.externalsRequire) {
|
||||
// If the tool defines "externalsRequire" in the webpack config, wrap
|
||||
// all require to external dependencies with a call to the tool's
|
||||
// externalRequire method.
|
||||
const reqMethod = innerWebpackConfig.externalsRequire;
|
||||
callback(null, `var ${reqMethod}("${mapping}")`);
|
||||
} else {
|
||||
callback(null, mapping);
|
||||
}
|
||||
return;
|
||||
}
|
||||
callback();
|
||||
}
|
||||
|
||||
innerWebpackConfig.externals = innerWebpackConfig.externals || [];
|
||||
innerWebpackConfig.externals.push(externalsTest);
|
||||
|
||||
// Remove the existing DefinePlugin so we can override it.
|
||||
const plugins = innerWebpackConfig.plugins.filter(
|
||||
p => !(p instanceof webpack.DefinePlugin)
|
||||
);
|
||||
innerWebpackConfig.plugins = plugins.concat([
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": {
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV || "production"),
|
||||
TARGET: JSON.stringify("firefox-panel"),
|
||||
},
|
||||
DebuggerConfig: JSON.stringify(innerEnvConfig),
|
||||
}),
|
||||
]);
|
||||
|
||||
const mappings = [
|
||||
[/.\/src\/network-request/, "./src/privileged-network-request"],
|
||||
];
|
||||
|
||||
mappings.forEach(([regex, res]) => {
|
||||
innerWebpackConfig.plugins.push(
|
||||
new webpack.NormalModuleReplacementPlugin(regex, res)
|
||||
);
|
||||
});
|
||||
|
||||
return innerWebpackConfig;
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -74,19 +74,372 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
/******/ __webpack_require__.p = "/assets/build";
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 412);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 928);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ({
|
||||
|
||||
/***/ 105:
|
||||
/***/ 560:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const networkRequest = __webpack_require__(567);
|
||||
|
||||
const workerUtils = __webpack_require__(568);
|
||||
|
||||
module.exports = {
|
||||
networkRequest,
|
||||
workerUtils
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 567:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function networkRequest(url, opts) {
|
||||
return fetch(url, {
|
||||
cache: opts.loadFromCache ? "default" : "no-cache"
|
||||
}).then(res => {
|
||||
if (res.status >= 200 && res.status < 300) {
|
||||
if (res.headers.get("Content-Type") === "application/wasm") {
|
||||
return res.arrayBuffer().then(buffer => ({
|
||||
content: buffer,
|
||||
isDwarf: true
|
||||
}));
|
||||
}
|
||||
|
||||
return res.text().then(text => ({
|
||||
content: text
|
||||
}));
|
||||
}
|
||||
|
||||
return Promise.reject(`request failed with status ${res.status}`);
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = networkRequest;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 568:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function WorkerDispatcher() {
|
||||
this.msgId = 1;
|
||||
this.worker = null;
|
||||
}
|
||||
|
||||
WorkerDispatcher.prototype = {
|
||||
start(url, win = window) {
|
||||
this.worker = new win.Worker(url);
|
||||
|
||||
this.worker.onerror = err => {
|
||||
console.error(`Error in worker ${url}`, err.message);
|
||||
};
|
||||
},
|
||||
|
||||
stop() {
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.worker.terminate();
|
||||
this.worker = null;
|
||||
},
|
||||
|
||||
task(method, {
|
||||
queue = false
|
||||
} = {}) {
|
||||
const calls = [];
|
||||
|
||||
const push = args => {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (queue && calls.length === 0) {
|
||||
Promise.resolve().then(flush);
|
||||
}
|
||||
|
||||
calls.push([args, resolve, reject]);
|
||||
|
||||
if (!queue) {
|
||||
flush();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const flush = () => {
|
||||
const items = calls.slice();
|
||||
calls.length = 0;
|
||||
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
const id = this.msgId++;
|
||||
this.worker.postMessage({
|
||||
id,
|
||||
method,
|
||||
calls: items.map(item => item[0])
|
||||
});
|
||||
|
||||
const listener = ({
|
||||
data: result
|
||||
}) => {
|
||||
if (result.id !== id) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.worker.removeEventListener("message", listener);
|
||||
result.results.forEach((resultData, i) => {
|
||||
const [, resolve, reject] = items[i];
|
||||
|
||||
if (resultData.error) {
|
||||
const err = new Error(resultData.message);
|
||||
err.metadata = resultData.metadata;
|
||||
reject(err);
|
||||
} else {
|
||||
resolve(resultData.response);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
this.worker.addEventListener("message", listener);
|
||||
};
|
||||
|
||||
return (...args) => push(args);
|
||||
},
|
||||
|
||||
invoke(method, ...args) {
|
||||
return this.task(method)(...args);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
function workerHandler(publicInterface) {
|
||||
return function (msg) {
|
||||
const {
|
||||
id,
|
||||
method,
|
||||
calls
|
||||
} = msg.data;
|
||||
Promise.all(calls.map(args => {
|
||||
try {
|
||||
const response = publicInterface[method].apply(undefined, args);
|
||||
|
||||
if (response instanceof Promise) {
|
||||
return response.then(val => ({
|
||||
response: val
|
||||
}), err => asErrorMessage(err));
|
||||
}
|
||||
|
||||
return {
|
||||
response
|
||||
};
|
||||
} catch (error) {
|
||||
return asErrorMessage(error);
|
||||
}
|
||||
})).then(results => {
|
||||
self.postMessage({
|
||||
id,
|
||||
results
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
function asErrorMessage(error) {
|
||||
if (typeof error === "object" && error && "message" in error) {
|
||||
// Error can't be sent via postMessage, so be sure to convert to
|
||||
// string.
|
||||
return {
|
||||
error: true,
|
||||
message: error.message,
|
||||
metadata: error.metadata
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
error: true,
|
||||
message: error == null ? error : error.toString(),
|
||||
metadata: undefined
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
WorkerDispatcher,
|
||||
workerHandler
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 584:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const md5 = __webpack_require__(644);
|
||||
|
||||
function originalToGeneratedId(sourceId) {
|
||||
if (isGeneratedId(sourceId)) {
|
||||
return sourceId;
|
||||
}
|
||||
|
||||
const lastIndex = sourceId.lastIndexOf("/originalSource");
|
||||
return lastIndex !== -1 ? sourceId.slice(0, lastIndex) : "";
|
||||
}
|
||||
|
||||
const getMd5 = memoize(url => md5(url));
|
||||
|
||||
function generatedToOriginalId(generatedId, url) {
|
||||
return `${generatedId}/originalSource-${getMd5(url)}`;
|
||||
}
|
||||
|
||||
function isOriginalId(id) {
|
||||
return id.includes("/originalSource");
|
||||
}
|
||||
|
||||
function isGeneratedId(id) {
|
||||
return !isOriginalId(id);
|
||||
}
|
||||
/**
|
||||
* Trims the query part or reference identifier of a URL string, if necessary.
|
||||
*/
|
||||
|
||||
|
||||
function trimUrlQuery(url) {
|
||||
const length = url.length;
|
||||
|
||||
for (let i = 0; i < length; ++i) {
|
||||
if (url[i] === "?" || url[i] === "&" || url[i] === "#") {
|
||||
return url.slice(0, i);
|
||||
}
|
||||
}
|
||||
|
||||
return url;
|
||||
} // Map suffix to content type.
|
||||
|
||||
|
||||
const contentMap = {
|
||||
js: "text/javascript",
|
||||
jsm: "text/javascript",
|
||||
mjs: "text/javascript",
|
||||
ts: "text/typescript",
|
||||
tsx: "text/typescript-jsx",
|
||||
jsx: "text/jsx",
|
||||
vue: "text/vue",
|
||||
coffee: "text/coffeescript",
|
||||
elm: "text/elm",
|
||||
cljc: "text/x-clojure",
|
||||
cljs: "text/x-clojurescript"
|
||||
};
|
||||
/**
|
||||
* Returns the content type for the specified URL. If no specific
|
||||
* content type can be determined, "text/plain" is returned.
|
||||
*
|
||||
* @return String
|
||||
* The content type.
|
||||
*/
|
||||
|
||||
function getContentType(url) {
|
||||
url = trimUrlQuery(url);
|
||||
const dot = url.lastIndexOf(".");
|
||||
|
||||
if (dot >= 0) {
|
||||
const name = url.substring(dot + 1);
|
||||
|
||||
if (name in contentMap) {
|
||||
return contentMap[name];
|
||||
}
|
||||
}
|
||||
|
||||
return "text/plain";
|
||||
}
|
||||
|
||||
function memoize(func) {
|
||||
const map = new Map();
|
||||
return arg => {
|
||||
if (map.has(arg)) {
|
||||
return map.get(arg);
|
||||
}
|
||||
|
||||
const result = func(arg);
|
||||
map.set(arg, result);
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
originalToGeneratedId,
|
||||
generatedToOriginalId,
|
||||
isOriginalId,
|
||||
isGeneratedId,
|
||||
getContentType,
|
||||
contentMapForTesting: contentMap
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 585:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var charenc = {
|
||||
// UTF-8 encoding
|
||||
utf8: {
|
||||
// Convert a string to a byte array
|
||||
stringToBytes: function(str) {
|
||||
return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
|
||||
},
|
||||
|
||||
// Convert a byte array to a string
|
||||
bytesToString: function(bytes) {
|
||||
return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
|
||||
}
|
||||
},
|
||||
|
||||
// Binary encoding
|
||||
bin: {
|
||||
// Convert a string to a byte array
|
||||
stringToBytes: function(str) {
|
||||
for (var bytes = [], i = 0; i < str.length; i++)
|
||||
bytes.push(str.charCodeAt(i) & 0xFF);
|
||||
return bytes;
|
||||
},
|
||||
|
||||
// Convert a byte array to a string
|
||||
bytesToString: function(bytes) {
|
||||
for (var str = [], i = 0; i < bytes.length; i++)
|
||||
str.push(String.fromCharCode(bytes[i]));
|
||||
return str.join('');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = charenc;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 644:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
(function(){
|
||||
var crypt = __webpack_require__(106),
|
||||
utf8 = __webpack_require__(36).utf8,
|
||||
isBuffer = __webpack_require__(107),
|
||||
bin = __webpack_require__(36).bin,
|
||||
var crypt = __webpack_require__(645),
|
||||
utf8 = __webpack_require__(585).utf8,
|
||||
isBuffer = __webpack_require__(646),
|
||||
bin = __webpack_require__(585).bin,
|
||||
|
||||
// The core
|
||||
md5 = function (message, options) {
|
||||
|
@ -246,7 +599,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 106:
|
||||
/***/ 645:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
(function() {
|
||||
|
@ -349,7 +702,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 107:
|
||||
/***/ 646:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/*!
|
||||
|
@ -377,195 +730,7 @@ function isSlowBuffer (obj) {
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 13:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function networkRequest(url, opts) {
|
||||
return fetch(url, {
|
||||
cache: opts.loadFromCache ? "default" : "no-cache"
|
||||
}).then(res => {
|
||||
if (res.status >= 200 && res.status < 300) {
|
||||
if (res.headers.get("Content-Type") === "application/wasm") {
|
||||
return res.arrayBuffer().then(buffer => ({
|
||||
content: buffer,
|
||||
isDwarf: true
|
||||
}));
|
||||
}
|
||||
|
||||
return res.text().then(text => ({
|
||||
content: text
|
||||
}));
|
||||
}
|
||||
|
||||
return Promise.reject(`request failed with status ${res.status}`);
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = networkRequest;
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 14:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
function WorkerDispatcher() {
|
||||
this.msgId = 1;
|
||||
this.worker = null;
|
||||
}
|
||||
|
||||
WorkerDispatcher.prototype = {
|
||||
start(url, win = window) {
|
||||
this.worker = new win.Worker(url);
|
||||
|
||||
this.worker.onerror = err => {
|
||||
console.error(`Error in worker ${url}`, err.message);
|
||||
};
|
||||
},
|
||||
|
||||
stop() {
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.worker.terminate();
|
||||
this.worker = null;
|
||||
},
|
||||
|
||||
task(method, {
|
||||
queue = false
|
||||
} = {}) {
|
||||
const calls = [];
|
||||
|
||||
const push = args => {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (queue && calls.length === 0) {
|
||||
Promise.resolve().then(flush);
|
||||
}
|
||||
|
||||
calls.push([args, resolve, reject]);
|
||||
|
||||
if (!queue) {
|
||||
flush();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const flush = () => {
|
||||
const items = calls.slice();
|
||||
calls.length = 0;
|
||||
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
const id = this.msgId++;
|
||||
this.worker.postMessage({
|
||||
id,
|
||||
method,
|
||||
calls: items.map(item => item[0])
|
||||
});
|
||||
|
||||
const listener = ({
|
||||
data: result
|
||||
}) => {
|
||||
if (result.id !== id) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!this.worker) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.worker.removeEventListener("message", listener);
|
||||
result.results.forEach((resultData, i) => {
|
||||
const [, resolve, reject] = items[i];
|
||||
|
||||
if (resultData.error) {
|
||||
const err = new Error(resultData.message);
|
||||
err.metadata = resultData.metadata;
|
||||
reject(err);
|
||||
} else {
|
||||
resolve(resultData.response);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
this.worker.addEventListener("message", listener);
|
||||
};
|
||||
|
||||
return (...args) => push(args);
|
||||
},
|
||||
|
||||
invoke(method, ...args) {
|
||||
return this.task(method)(...args);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
function workerHandler(publicInterface) {
|
||||
return function (msg) {
|
||||
const {
|
||||
id,
|
||||
method,
|
||||
calls
|
||||
} = msg.data;
|
||||
Promise.all(calls.map(args => {
|
||||
try {
|
||||
const response = publicInterface[method].apply(undefined, args);
|
||||
|
||||
if (response instanceof Promise) {
|
||||
return response.then(val => ({
|
||||
response: val
|
||||
}), err => asErrorMessage(err));
|
||||
}
|
||||
|
||||
return {
|
||||
response
|
||||
};
|
||||
} catch (error) {
|
||||
return asErrorMessage(error);
|
||||
}
|
||||
})).then(results => {
|
||||
self.postMessage({
|
||||
id,
|
||||
results
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
function asErrorMessage(error) {
|
||||
if (typeof error === "object" && error && "message" in error) {
|
||||
// Error can't be sent via postMessage, so be sure to convert to
|
||||
// string.
|
||||
return {
|
||||
error: true,
|
||||
message: error.message,
|
||||
metadata: error.metadata
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
error: true,
|
||||
message: error == null ? error : error.toString(),
|
||||
metadata: undefined
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
WorkerDispatcher,
|
||||
workerHandler
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 182:
|
||||
/***/ 708:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
@ -600,9 +765,9 @@ Object.defineProperty(exports, "isOriginalId", {
|
|||
});
|
||||
exports.default = exports.stopSourceMapWorker = exports.startSourceMapWorker = exports.getOriginalStackFrames = exports.clearSourceMaps = exports.applySourceMap = exports.getOriginalSourceText = exports.getFileGeneratedRange = exports.getGeneratedRangesForOriginal = exports.getOriginalLocations = exports.getOriginalLocation = exports.getAllGeneratedLocations = exports.getGeneratedLocation = exports.getGeneratedRanges = exports.getOriginalRanges = exports.hasOriginalURL = exports.getOriginalURLs = exports.setAssetRootURL = exports.dispatcher = void 0;
|
||||
|
||||
var _utils = __webpack_require__(64);
|
||||
var _utils = __webpack_require__(584);
|
||||
|
||||
var self = _interopRequireWildcard(__webpack_require__(182));
|
||||
var self = _interopRequireWildcard(__webpack_require__(708));
|
||||
|
||||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
|
||||
|
||||
|
@ -615,7 +780,7 @@ const {
|
|||
workerUtils: {
|
||||
WorkerDispatcher
|
||||
}
|
||||
} = __webpack_require__(7);
|
||||
} = __webpack_require__(560);
|
||||
|
||||
const dispatcher = new WorkerDispatcher();
|
||||
exports.dispatcher = dispatcher;
|
||||
|
@ -709,177 +874,12 @@ exports.default = _default;
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ 36:
|
||||
/***/ (function(module, exports) {
|
||||
|
||||
var charenc = {
|
||||
// UTF-8 encoding
|
||||
utf8: {
|
||||
// Convert a string to a byte array
|
||||
stringToBytes: function(str) {
|
||||
return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
|
||||
},
|
||||
|
||||
// Convert a byte array to a string
|
||||
bytesToString: function(bytes) {
|
||||
return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
|
||||
}
|
||||
},
|
||||
|
||||
// Binary encoding
|
||||
bin: {
|
||||
// Convert a string to a byte array
|
||||
stringToBytes: function(str) {
|
||||
for (var bytes = [], i = 0; i < str.length; i++)
|
||||
bytes.push(str.charCodeAt(i) & 0xFF);
|
||||
return bytes;
|
||||
},
|
||||
|
||||
// Convert a byte array to a string
|
||||
bytesToString: function(bytes) {
|
||||
for (var str = [], i = 0; i < bytes.length; i++)
|
||||
str.push(String.fromCharCode(bytes[i]));
|
||||
return str.join('');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = charenc;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 412:
|
||||
/***/ 928:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(182);
|
||||
module.exports = __webpack_require__(708);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 64:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const md5 = __webpack_require__(105);
|
||||
|
||||
function originalToGeneratedId(sourceId) {
|
||||
if (isGeneratedId(sourceId)) {
|
||||
return sourceId;
|
||||
}
|
||||
|
||||
const lastIndex = sourceId.lastIndexOf("/originalSource");
|
||||
return lastIndex !== -1 ? sourceId.slice(0, lastIndex) : "";
|
||||
}
|
||||
|
||||
const getMd5 = memoize(url => md5(url));
|
||||
|
||||
function generatedToOriginalId(generatedId, url) {
|
||||
return `${generatedId}/originalSource-${getMd5(url)}`;
|
||||
}
|
||||
|
||||
function isOriginalId(id) {
|
||||
return id.includes("/originalSource");
|
||||
}
|
||||
|
||||
function isGeneratedId(id) {
|
||||
return !isOriginalId(id);
|
||||
}
|
||||
/**
|
||||
* Trims the query part or reference identifier of a URL string, if necessary.
|
||||
*/
|
||||
|
||||
|
||||
function trimUrlQuery(url) {
|
||||
const length = url.length;
|
||||
|
||||
for (let i = 0; i < length; ++i) {
|
||||
if (url[i] === "?" || url[i] === "&" || url[i] === "#") {
|
||||
return url.slice(0, i);
|
||||
}
|
||||
}
|
||||
|
||||
return url;
|
||||
} // Map suffix to content type.
|
||||
|
||||
|
||||
const contentMap = {
|
||||
js: "text/javascript",
|
||||
jsm: "text/javascript",
|
||||
mjs: "text/javascript",
|
||||
ts: "text/typescript",
|
||||
tsx: "text/typescript-jsx",
|
||||
jsx: "text/jsx",
|
||||
vue: "text/vue",
|
||||
coffee: "text/coffeescript",
|
||||
elm: "text/elm",
|
||||
cljc: "text/x-clojure",
|
||||
cljs: "text/x-clojurescript"
|
||||
};
|
||||
/**
|
||||
* Returns the content type for the specified URL. If no specific
|
||||
* content type can be determined, "text/plain" is returned.
|
||||
*
|
||||
* @return String
|
||||
* The content type.
|
||||
*/
|
||||
|
||||
function getContentType(url) {
|
||||
url = trimUrlQuery(url);
|
||||
const dot = url.lastIndexOf(".");
|
||||
|
||||
if (dot >= 0) {
|
||||
const name = url.substring(dot + 1);
|
||||
|
||||
if (name in contentMap) {
|
||||
return contentMap[name];
|
||||
}
|
||||
}
|
||||
|
||||
return "text/plain";
|
||||
}
|
||||
|
||||
function memoize(func) {
|
||||
const map = new Map();
|
||||
return arg => {
|
||||
if (map.has(arg)) {
|
||||
return map.get(arg);
|
||||
}
|
||||
|
||||
const result = func(arg);
|
||||
map.set(arg, result);
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
originalToGeneratedId,
|
||||
generatedToOriginalId,
|
||||
isOriginalId,
|
||||
isGeneratedId,
|
||||
getContentType,
|
||||
contentMapForTesting: contentMap
|
||||
};
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7:
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
|
||||
const networkRequest = __webpack_require__(13);
|
||||
|
||||
const workerUtils = __webpack_require__(14);
|
||||
|
||||
module.exports = {
|
||||
networkRequest,
|
||||
workerUtils
|
||||
};
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче