@wordpress/rich-text
Advanced tools
Comparing version 5.15.2 to 5.16.0
@@ -10,3 +10,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { View, Platform, Dimensions } from 'react-native'; | ||
import { get, pickBy, debounce } from 'lodash'; | ||
import { get, pickBy } from 'lodash'; | ||
import memize from 'memize'; | ||
@@ -22,3 +22,3 @@ import { colord } from 'colord'; | ||
import { Component } from '@wordpress/element'; | ||
import { compose, withPreferredColorScheme } from '@wordpress/compose'; | ||
import { compose, debounce, withPreferredColorScheme } from '@wordpress/compose'; | ||
import { withSelect } from '@wordpress/data'; | ||
@@ -25,0 +25,0 @@ import { childrenBlock } from '@wordpress/blocks'; |
@@ -143,3 +143,3 @@ "use strict"; | ||
}); | ||
this.debounceCreateUndoLevel = (0, _lodash.debounce)(this.onCreateUndoLevel, 1000); // This prevents a bug in Aztec which triggers onSelectionChange twice on format change. | ||
this.debounceCreateUndoLevel = (0, _compose.debounce)(this.onCreateUndoLevel, 1000); // This prevents a bug in Aztec which triggers onSelectionChange twice on format change. | ||
@@ -146,0 +146,0 @@ this.onSelectionChange = this.onSelectionChange.bind(this); |
@@ -5,4 +5,6 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
### New features | ||
## 5.16.0 (2022-09-21) | ||
### Deprecations | ||
- Introduced new `useAnchor` hook, which works better with the new `Popover` component APIs. The previous `useAnchorRef` hook is now marked as deprecated, and is scheduled to be removed in WordPress 6.3 ([#43691](https://github.com/WordPress/gutenberg/pull/43691)). | ||
@@ -9,0 +11,0 @@ |
{ | ||
"name": "@wordpress/rich-text", | ||
"version": "5.15.2", | ||
"version": "5.16.0", | ||
"description": "Rich text value and manipulation API.", | ||
@@ -33,10 +33,10 @@ "author": "The WordPress Contributors", | ||
"@babel/runtime": "^7.16.0", | ||
"@wordpress/a11y": "^3.17.1", | ||
"@wordpress/compose": "^5.15.2", | ||
"@wordpress/data": "^7.1.2", | ||
"@wordpress/deprecated": "^3.17.1", | ||
"@wordpress/element": "^4.15.1", | ||
"@wordpress/escape-html": "^2.17.1", | ||
"@wordpress/i18n": "^4.17.1", | ||
"@wordpress/keycodes": "^3.17.1", | ||
"@wordpress/a11y": "^3.18.0", | ||
"@wordpress/compose": "^5.16.0", | ||
"@wordpress/data": "^7.2.0", | ||
"@wordpress/deprecated": "^3.18.0", | ||
"@wordpress/element": "^4.16.0", | ||
"@wordpress/escape-html": "^2.18.0", | ||
"@wordpress/i18n": "^4.18.0", | ||
"@wordpress/keycodes": "^3.18.0", | ||
"lodash": "^4.17.21", | ||
@@ -52,3 +52,3 @@ "memize": "^1.1.0", | ||
}, | ||
"gitHead": "f6021282457317c7e12dcc3a3f02c9ac28e16a30" | ||
"gitHead": "23e136283fa1d3b8d9d8b33869f871ad5eb77726" | ||
} |
@@ -7,3 +7,3 @@ /* eslint no-console: ["error", { allow: ["warn"] }] */ | ||
import { View, Platform, Dimensions } from 'react-native'; | ||
import { get, pickBy, debounce } from 'lodash'; | ||
import { get, pickBy } from 'lodash'; | ||
import memize from 'memize'; | ||
@@ -22,3 +22,7 @@ import { colord } from 'colord'; | ||
import { Component } from '@wordpress/element'; | ||
import { compose, withPreferredColorScheme } from '@wordpress/compose'; | ||
import { | ||
compose, | ||
debounce, | ||
withPreferredColorScheme, | ||
} from '@wordpress/compose'; | ||
import { withSelect } from '@wordpress/data'; | ||
@@ -25,0 +29,0 @@ import { childrenBlock } from '@wordpress/blocks'; |
Sorry, the diff of this file is not supported yet
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
1287795
18264
Updated@wordpress/a11y@^3.18.0
Updated@wordpress/compose@^5.16.0
Updated@wordpress/data@^7.2.0
Updated@wordpress/element@^4.16.0
Updated@wordpress/i18n@^4.18.0
Updated@wordpress/keycodes@^3.18.0