mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-02 02:08:24 +08:00
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>
24 lines
1.5 KiB
JavaScript
24 lines
1.5 KiB
JavaScript
"use strict";
|
|
|
|
var _helpers = require("./util/helpers");
|
|
|
|
// Unclosed elements
|
|
(0, _helpers["throws"])('unclosed string', 'a[href="wow]');
|
|
(0, _helpers["throws"])('unclosed comment', '/* oops');
|
|
(0, _helpers["throws"])('unclosed pseudo element', 'button::');
|
|
(0, _helpers["throws"])('unclosed pseudo class', 'a:');
|
|
(0, _helpers["throws"])('unclosed attribute selector', '[name="james"][href');
|
|
(0, _helpers["throws"])('no opening parenthesis', ')');
|
|
(0, _helpers["throws"])('no opening parenthesis (2)', ':global.foo)');
|
|
(0, _helpers["throws"])('no opening parenthesis (3)', 'h1:not(h2:not(h3)))');
|
|
(0, _helpers["throws"])('no opening square bracket', ']');
|
|
(0, _helpers["throws"])('no opening square bracket (2)', ':global.foo]');
|
|
(0, _helpers["throws"])('no opening square bracket (3)', '[global]]');
|
|
(0, _helpers["throws"])('bad pseudo element', 'button::"after"');
|
|
(0, _helpers["throws"])('missing closing parenthesis in pseudo', ':not([attr="test"]:not([attr="test"])');
|
|
(0, _helpers["throws"])('bad syntax', '-moz-osx-font-smoothing: grayscale');
|
|
(0, _helpers["throws"])('bad syntax (2)', '! .body');
|
|
(0, _helpers["throws"])('missing backslash for semicolon', '.;');
|
|
(0, _helpers["throws"])('missing backslash for semicolon (2)', '.\;');
|
|
(0, _helpers["throws"])('unexpected / foo', '-Option\/root', "Unexpected '/'. Escaping special characters with \\ may help.");
|
|
(0, _helpers["throws"])('bang in selector', '.foo !optional', "Unexpected '!'. Escaping special characters with \\ may help."); |