Add workaround for Chrome/Edge css import escaping bug (#1287)

* Upgrade to typescript 4.9.5

* Apply formatting changes

* Add workaround for chrome incorrect escaping bug

More info: https://bugs.chromium.org/p/chromium/issues/detail?id=1472259

* Apply formatting changes

* Create itchy-dryers-double.md

* Create rich-jars-remember.md

* Apply formatting changes

* Update packages/rrweb-snapshot/src/css.ts

* Apply formatting changes

* Update packages/rrweb-snapshot/test/__snapshots__/integration.test.ts.snap

* Apply formatting changes

* Update snapshot

* Apply formatting changes

* Rename and refactor fixBrowserCompatibilityIssuesInCSSImports, getCssRulesString and getCssRuleString based on @eoghanmurray feedback

* Apply formatting changes

* Apply formatting changes
This commit is contained in:
Justin Halsall
2023-08-11 17:58:42 +02:00
committed by GitHub
parent 11f6567fd8
commit efdc167ca6
18 changed files with 343 additions and 156 deletions

View File

@@ -40,7 +40,7 @@
],
"devDependencies": {
"vite": "^3.2.0-beta.2",
"vite-plugin-dts": "^1.6.6"
"vite-plugin-dts": "^1.7.3"
},
"dependencies": {
"rrweb-snapshot": "^2.0.0-alpha.10"