Allow plugins from a parent document to be used in an iframe (#12208)
* Fix cross iframe isPlainObject check * Update changelog --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
This commit is contained in:
parent
8e4ed70585
commit
63989b2be8
2 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fix sorting of utilities that share multiple candidates ([#12173](https://github.com/tailwindlabs/tailwindcss/pull/12173))
|
||||
- Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser ([#12179](https://github.com/tailwindlabs/tailwindcss/pull/12179))
|
||||
- Fix crash when watching renamed files on FreeBSD ([#12193](https://github.com/tailwindlabs/tailwindcss/pull/12193))
|
||||
- Allow plugins from a parent document to be used in an iframe ([#12208](https://github.com/tailwindlabs/tailwindcss/pull/12208))
|
||||
|
||||
## [3.3.3] - 2023-07-13
|
||||
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@ export default function isPlainObject(value) {
|
|||
}
|
||||
|
||||
const prototype = Object.getPrototypeOf(value)
|
||||
return prototype === null || prototype === Object.prototype
|
||||
return prototype === null || Object.getPrototypeOf(prototype) === null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue