Closed kylorhall-atlassian closed 4 months ago
Latest commit: 79c3847856d8ab34fb7595ec9da3ee9d05c8c733
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Without this,
jsdom
(vianswapi
) throws an error:SyntaxError: \8 and \9 are not allowed in strict mode.
Refer to https://github.com/dperini/nwsapi/issues/92 for the problem statement and background.
We're instead using what stylex uses for specificity as it appears to work fine with the conflicting
jsdom
config we encountered: https://github.com/facebook/stylex/blob/c9216385d40c53612848040ab4d96ff133304203/packages/stylex/src/StyleXSheet.js#L352C16-L352C28Additionally, I realize the direction of adding the increasedSpecificity selector when using a
target
option was incorrect.