oplik0/cherrydoor

View on GitHub

Showing 650 of 650 total issues

Avoid deeply nested control flow statements.
Open

                                            if (suspense.pendingId === pendingId) {
                                                    suspense.fallback(newFallback);
                                            }
Severity: Major
Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                                        if (newIndex >= maxNewIndexSoFar) {
                                                maxNewIndexSoFar = newIndex;
                                        }
                                        else {
                                                moved = true;
    Severity: Major
    Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                                  if (contentType >= 2 /* CAN_HOIST */) {
                                          child.codegenNode = context.hoist(child.codegenNode);
                                          hasHoistedNode = true;
                                  }
      Severity: Major
      Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                    else if (timeout === 0) {
                                            suspense.fallback(newFallback);
                                    }
        Severity: Major
        Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                              if (j < 0 || i !== increasingNewIndexSequence[j]) {
                                                      move(nextChild, container, anchor, 2 /* REORDER */);
                                              }
                                              else {
                                                      j--;
          Severity: Major
          Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                        if (value !== attrs[key]) {
                                                attrs[key] = value;
                                                hasAttrsChanged = true;
                                        }
            Severity: Major
            Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

              Avoid deeply nested control flow statements.
              Open

                                                  for (j = s2; j <= e2; j++) {
                                                          if (newIndexToOldIndexMap[j - s2] === 0 &&
                                                                  isSameVNodeType(prevChild, c2[j])) {
                                                                  newIndex = j;
                                                                  break;
              Severity: Major
              Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                Avoid deeply nested control flow statements.
                Open

                                                    if (!prev ||
                                                            !next ||
                                                            (!preserve &&
                                                                    (prev.type === 3 /* COMMENT */ ||
                                                                            next.type === 3 /* COMMENT */ ||
                Severity: Major
                Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                                      if (domType !== 8 /* COMMENT */) {
                                                              nextNode = onMismatch();
                                                      }
                                                      else {
                                                              nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);
                  Severity: Major
                  Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                    Avoid deeply nested control flow statements.
                    Open

                                                        if (startsWith(s, '<!--')) {
                                                                node = parseComment(context);
                                                        }
                                                        else if (startsWith(s, '<!DOCTYPE')) {
                                                                // Ignore DOCTYPE by a limitation.
                    Severity: Major
                    Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                      Avoid deeply nested control flow statements.
                      Open

                                                  if (nextProps[key] !== prevProps[key] &&
                                                          !isEmitListener(emits, key)) {
                                                          return true;
                                                  }
                      Severity: Major
                      Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                                    if (suspense.deps <= 0) {
                                                            suspense.resolve();
                                                    }
                        Severity: Major
                        Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                                                      if (isFragmentStart) {
                                                                              subTree = createVNode(Fragment);
                                                                              subTree.anchor = nextNode
                                                                                      ? nextNode.previousSibling
                                                                                      : container.lastChild;
                          Severity: Major
                          Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                                if (keyToNewIndexMap.has(nextChild.key)) {
                                                                        warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
                                                                }
                            Severity: Major
                            Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                              Avoid deeply nested control flow statements.
                              Open

                                                          else if (!preserve) {
                                                                  // in condense mode, consecutive whitespaces in text are condensed
                                                                  // down to a single space.
                                                                  node.content = node.content.replace(/[\t\r\n\f ]+/g, ' ');
                                                          }
                              Severity: Major
                              Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                            if (staticSlotName === 'default') {
                                                                    hasNamedDefaultSlot = true;
                                                            }
                                Severity: Major
                                Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                                      if (isVBind) {
                                                                              mergeArgs.push(exp);
                                                                      }
                                                                      else {
                                                                              // v-on="obj" -> toHandlers(obj)
                                  Severity: Major
                                  Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                                        if (hasOwn(attrs, key)) {
                                                                                if (value !== attrs[key]) {
                                                                                        attrs[key] = value;
                                                                                        hasAttrsChanged = true;
                                                                                }
                                    Severity: Major
                                    Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                                      Avoid deeply nested control flow statements.
                                      Open

                                                                          if (rawPrevProps &&
                                                                                  // for camelCase
                                                                                  (rawPrevProps[key] !== undefined ||
                                                                                          // for kebab-case
                                                                                          rawPrevProps[kebabKey] !== undefined)) {
                                      Severity: Major
                                      Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix

                                        Avoid deeply nested control flow statements.
                                        Open

                                                            for (let i = 0, l = keys.length; i < l; i++) {
                                                                    const key = keys[i];
                                                                    ret[i] = renderItem(source[key], key, i);
                                                            }
                                        Severity: Major
                                        Found in cherrydoor/static/js/vue-dev.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language