@emotion/core
Advanced tools
Comparing version 10.0.27 to 10.0.28
# @emotion/core | ||
## 10.0.28 | ||
### Patch Changes | ||
- [`d0b2a94`](https://github.com/emotion-js/emotion/commit/d0b2a94ab9d5648667447dbd78e7a2e3e93de42a) [#1714](https://github.com/emotion-js/emotion/pull/1714) Thanks [@Andarist](https://github.com/Andarist)! - Fixed label extraction from the stack traces in FireFox and Safari. We have failed to match a label in Emotion wrappers like Theme UI which caused SSR mismatches in mentioned browsers. This has affected only development builds. | ||
## 10.0.27 | ||
@@ -4,0 +10,0 @@ |
@@ -145,3 +145,3 @@ 'use strict'; | ||
// safari and firefox | ||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/); | ||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/); | ||
} | ||
@@ -148,0 +148,0 @@ |
@@ -140,3 +140,3 @@ import _inheritsLoose from '@babel/runtime/helpers/inheritsLoose'; | ||
// safari and firefox | ||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/); | ||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/); | ||
} | ||
@@ -143,0 +143,0 @@ |
@@ -203,3 +203,3 @@ 'use strict'; | ||
// safari and firefox | ||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/); | ||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/); | ||
} | ||
@@ -206,0 +206,0 @@ |
@@ -198,3 +198,3 @@ import _inheritsLoose from '@babel/runtime/helpers/inheritsLoose'; | ||
// safari and firefox | ||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/); | ||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/); | ||
} | ||
@@ -201,0 +201,0 @@ |
{ | ||
"name": "@emotion/core", | ||
"version": "10.0.27", | ||
"version": "10.0.28", | ||
"main": "dist/core.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/core.esm.js", |
@@ -161,3 +161,3 @@ // @flow | ||
// safari and firefox | ||
match = error.stack.match(/^.*\n([A-Z][A-Za-z$]+)@/) | ||
match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/) | ||
} | ||
@@ -164,0 +164,0 @@ if (match) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197419