diff --git a/packages/@lwc/style-compiler/src/__tests__/fixtures/disable-synthetic-shadow-support/expected.js b/packages/@lwc/style-compiler/src/__tests__/fixtures/disable-synthetic-shadow-support/expected.js index bb9d62c88e..6b1c942e69 100644 --- a/packages/@lwc/style-compiler/src/__tests__/fixtures/disable-synthetic-shadow-support/expected.js +++ b/packages/@lwc/style-compiler/src/__tests__/fixtures/disable-synthetic-shadow-support/expected.js @@ -4,7 +4,7 @@ function stylesheet() { var useNativeDirPseudoclass = true; var shadowSelector = token ? ("[" + token + "]") : ""; var hostSelector = token ? ("[" + token + "-host]") : ""; - return ((useActualHostSelector ? (useNativeDirPseudoclass ? '' : '[dir="rtl"]') + " :host(.foo) " + (useNativeDirPseudoclass ? ':dir(rtl)' : '') + " {}" : (useNativeDirPseudoclass ? '' : '[dir="rtl"]') + " " + hostSelector + ".foo " + (useNativeDirPseudoclass ? ':dir(rtl)' : '') + " {}")); + return ((useActualHostSelector ? (useNativeDirPseudoclass ? '' : '[dir="rtl"]') + " :host(.foo) " : (useNativeDirPseudoclass ? '' : '[dir="rtl"]') + " " + hostSelector + ".foo ")) + (useNativeDirPseudoclass ? ':dir(rtl)' : '') + " {}"; /*LWC compiler vX.X.X*/ } export default [stylesheet]; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 3a4bc52d55..9c8eb594a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8701,10 +8701,10 @@ json2md@~1.5.11: dependencies: indento "^1.1.7" -json5@^0.5.0, json5@^2.1.2, json5@^2.2.1, json5@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== +json5@^0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" + integrity sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw== json5@^1.0.1: version "1.0.2" @@ -8713,6 +8713,11 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" +json5@^2.1.2, json5@^2.2.1, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonc-parser@3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76"