Run npm audit

This syncs our dependencies to the latest version. There is still
a reported vulnerability in postcss, but we are luckily unaffected.
However, we can't upgrade postcss yet, as stylelint requires it
and can not use postcss 8 yet:
https://github.com/stylelint/stylelint/issues/4942#issuecomment-823513767

Also updated manage_node_deps.py to not run the full install when
running `ls`, to allow for easier inspection of our dependency graph.

R=jacktfranklin@chromium.org

Bug: none
Change-Id: I1c9e4836fca25500e2e7277ec82b13bf2b881dca
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2887731
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
diff --git a/node_modules/postcss-selector-parser/dist/parser.js b/node_modules/postcss-selector-parser/dist/parser.js
index 4133ad1..c0af9b6 100644
--- a/node_modules/postcss-selector-parser/dist/parser.js
+++ b/node_modules/postcss-selector-parser/dist/parser.js
@@ -1,11 +1,7 @@
 "use strict";
 
 exports.__esModule = true;
-exports.default = void 0;
-
-var _indexesOf = _interopRequireDefault(require("indexes-of"));
-
-var _uniq = _interopRequireDefault(require("uniq"));
+exports["default"] = void 0;
 
 var _root = _interopRequireDefault(require("./selectors/root"));
 
@@ -43,9 +39,11 @@
 
 var _WHITESPACE_TOKENS, _Object$assign;
 
-function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
+function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
 
-function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
+function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
+
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
 
 function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
 
@@ -112,9 +110,25 @@
   return node;
 }
 
-var Parser =
-/*#__PURE__*/
-function () {
+function indexesOf(array, item) {
+  var i = -1;
+  var indexes = [];
+
+  while ((i = array.indexOf(item, i + 1)) !== -1) {
+    indexes.push(i);
+  }
+
+  return indexes;
+}
+
+function uniqs() {
+  var list = Array.prototype.concat.apply([], arguments);
+  return list.filter(function (item, i) {
+    return i === list.indexOf(item);
+  });
+}
+
+var Parser = /*#__PURE__*/function () {
   function Parser(rule, options) {
     if (options === void 0) {
       options = {};
@@ -127,17 +141,17 @@
     }, options);
     this.position = 0;
     this.css = typeof this.rule === 'string' ? this.rule : this.rule.selector;
-    this.tokens = (0, _tokenize.default)({
+    this.tokens = (0, _tokenize["default"])({
       css: this.css,
       error: this._errorGenerator(),
       safe: this.options.safe
     });
     var rootSource = getTokenSourceSpan(this.tokens[0], this.tokens[this.tokens.length - 1]);
-    this.root = new _root.default({
+    this.root = new _root["default"]({
       source: rootSource
     });
     this.root.errorGenerator = this._errorGenerator();
-    var selector = new _selector.default({
+    var selector = new _selector["default"]({
       source: {
         start: {
           line: 1,
@@ -447,7 +461,7 @@
 
     unescapeProp(node, "attribute");
     unescapeProp(node, "namespace");
-    this.newNode(new _attribute.default(node));
+    this.newNode(new _attribute["default"](node));
     this.position++;
   }
   /**
@@ -487,7 +501,7 @@
           space = "";
         }
 
-        lastComment = new _comment.default({
+        lastComment = new _comment["default"]({
           value: this.content(),
           source: getTokenSource(this.currToken),
           sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],
@@ -503,7 +517,7 @@
       } else if (!this.options.lossy) {
         var firstToken = this.tokens[startPosition];
         var lastToken = this.tokens[this.position - 1];
-        nodes.push(new _string.default({
+        nodes.push(new _string["default"]({
           value: '',
           source: getSource(firstToken[_tokenize.FIELDS.START_LINE], firstToken[_tokenize.FIELDS.START_COL], lastToken[_tokenize.FIELDS.END_LINE], lastToken[_tokenize.FIELDS.END_COL]),
           sourceIndex: firstToken[_tokenize.FIELDS.START_POS],
@@ -570,7 +584,7 @@
         raws.value = "/" + nameRaw + "/";
       }
 
-      var node = new _combinator.default({
+      var node = new _combinator["default"]({
         value: "/" + name + "/",
         source: getSource(this.currToken[_tokenize.FIELDS.START_LINE], this.currToken[_tokenize.FIELDS.START_COL], this.tokens[this.position + 2][_tokenize.FIELDS.END_LINE], this.tokens[this.position + 2][_tokenize.FIELDS.END_COL]),
         sourceIndex: this.currToken[_tokenize.FIELDS.START_POS],
@@ -631,7 +645,7 @@
     if (this.isNamedCombinator()) {
       node = this.namedCombinator();
     } else if (this.currToken[_tokenize.FIELDS.TYPE] === tokens.combinator) {
-      node = new _combinator.default({
+      node = new _combinator["default"]({
         value: this.content(),
         source: getTokenSource(this.currToken),
         sourceIndex: this.currToken[_tokenize.FIELDS.START_POS]
@@ -676,7 +690,7 @@
         raws.value = _rawSpace2;
       }
 
-      node = new _combinator.default({
+      node = new _combinator["default"]({
         value: ' ',
         source: getTokenSourceSpan(firstToken, this.tokens[this.position - 1]),
         sourceIndex: firstToken[_tokenize.FIELDS.START_POS],
@@ -702,7 +716,7 @@
 
     this.current._inferEndPosition();
 
-    var selector = new _selector.default({
+    var selector = new _selector["default"]({
       source: {
         start: tokenStart(this.tokens[this.position + 1])
       }
@@ -714,7 +728,7 @@
 
   _proto.comment = function comment() {
     var current = this.currToken;
-    this.newNode(new _comment.default({
+    this.newNode(new _comment["default"]({
       value: this.content(),
       source: getTokenSource(current),
       sourceIndex: current[_tokenize.FIELDS.START_POS]
@@ -767,7 +781,7 @@
     }
 
     var current = this.currToken;
-    this.newNode(new _nesting.default({
+    this.newNode(new _nesting["default"]({
       value: this.content(),
       source: getTokenSource(current),
       sourceIndex: current[_tokenize.FIELDS.START_POS]
@@ -781,7 +795,7 @@
     this.position++;
 
     if (last && last.type === types.PSEUDO) {
-      var selector = new _selector.default({
+      var selector = new _selector["default"]({
         source: {
           start: tokenStart(this.tokens[this.position - 1])
         }
@@ -833,7 +847,7 @@
       if (last) {
         last.appendToPropertyAndEscape("value", parenValue, parenValue);
       } else {
-        this.newNode(new _string.default({
+        this.newNode(new _string["default"]({
           value: parenValue,
           source: getSource(parenStart[_tokenize.FIELDS.START_LINE], parenStart[_tokenize.FIELDS.START_COL], parenEnd[_tokenize.FIELDS.END_LINE], parenEnd[_tokenize.FIELDS.END_COL]),
           sourceIndex: parenStart[_tokenize.FIELDS.START_POS]
@@ -865,7 +879,7 @@
       this.splitWord(false, function (first, length) {
         pseudoStr += first;
 
-        _this4.newNode(new _pseudo.default({
+        _this4.newNode(new _pseudo["default"]({
           value: pseudoStr,
           source: getTokenSourceSpan(startingToken, _this4.currToken),
           sourceIndex: startingToken[_tokenize.FIELDS.START_POS]
@@ -900,7 +914,7 @@
 
   _proto.string = function string() {
     var current = this.currToken;
-    this.newNode(new _string.default({
+    this.newNode(new _string["default"]({
       value: this.content(),
       source: getTokenSource(current),
       sourceIndex: current[_tokenize.FIELDS.START_POS]
@@ -917,7 +931,7 @@
     }
 
     var current = this.currToken;
-    this.newNode(new _universal.default({
+    this.newNode(new _universal["default"]({
       value: this.content(),
       source: getTokenSource(current),
       sourceIndex: current[_tokenize.FIELDS.START_POS]
@@ -948,14 +962,14 @@
       nextToken = this.nextToken;
     }
 
-    var hasClass = (0, _indexesOf.default)(word, '.').filter(function (i) {
+    var hasClass = indexesOf(word, '.').filter(function (i) {
       return word[i - 1] !== '\\';
     });
-    var hasId = (0, _indexesOf.default)(word, '#').filter(function (i) {
+    var hasId = indexesOf(word, '#').filter(function (i) {
       return word[i - 1] !== '\\';
     }); // Eliminate Sass interpolations from the list of id indexes
 
-    var interpolations = (0, _indexesOf.default)(word, '#{');
+    var interpolations = indexesOf(word, '#{');
 
     if (interpolations.length) {
       hasId = hasId.filter(function (hashIndex) {
@@ -963,7 +977,7 @@
       });
     }
 
-    var indices = (0, _sortAscending.default)((0, _uniq.default)([0].concat(hasClass, hasId)));
+    var indices = (0, _sortAscending["default"])(uniqs([0].concat(hasClass, hasId)));
     indices.forEach(function (ind, i) {
       var index = indices[i + 1] || word.length;
       var value = word.slice(ind, index);
@@ -983,14 +997,14 @@
           source: source,
           sourceIndex: sourceIndex
         };
-        node = new _className.default(unescapeProp(classNameOpts, "value"));
+        node = new _className["default"](unescapeProp(classNameOpts, "value"));
       } else if (~hasId.indexOf(ind)) {
         var idOpts = {
           value: value.slice(1),
           source: source,
           sourceIndex: sourceIndex
         };
-        node = new _id.default(unescapeProp(idOpts, "value"));
+        node = new _id["default"](unescapeProp(idOpts, "value"));
       } else {
         var tagOpts = {
           value: value,
@@ -998,7 +1012,7 @@
           sourceIndex: sourceIndex
         };
         unescapeProp(tagOpts, "value");
-        node = new _tag.default(tagOpts);
+        node = new _tag["default"](tagOpts);
       }
 
       _this5.newNode(node, namespace); // Ensure that the namespace is used only once
@@ -1221,5 +1235,5 @@
   return Parser;
 }();
 
-exports.default = Parser;
+exports["default"] = Parser;
 module.exports = exports.default;
\ No newline at end of file