Move Lodash to a Peer Dependency in Packages (https://github.com/woocommerce/woocommerce-admin/pull/6399)
* Update old versions of lodash in packages * Add changelog entries * Move lodash to peerDependencies in components package * Fix broken JSON * Fix lodash defined twice in components package * Move lodash to peer dependency in date package * Move lodash to peer dependency in navigation package * Move lodash to peer dependency in notices package * Relax lodash version constraint in components package * Update package changelogs
This commit is contained in:
parent
e51e1401c5
commit
828a2cb038
|
@ -12,6 +12,10 @@
|
||||||
- Fixing screen reader text being undefined for report `<Table>`
|
- Fixing screen reader text being undefined for report `<Table>`
|
||||||
- Update `<SearchListControl />` to use checkbox and radio inputs.
|
- Update `<SearchListControl />` to use checkbox and radio inputs.
|
||||||
|
|
||||||
|
## Breaking changes
|
||||||
|
|
||||||
|
- Move Lodash to a peer dependency.
|
||||||
|
|
||||||
# 5.1.2
|
# 5.1.2
|
||||||
|
|
||||||
- Update dependencies.
|
- Update dependencies.
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
"emoji-flags": "1.3.0",
|
"emoji-flags": "1.3.0",
|
||||||
"gridicons": "3.3.1",
|
"gridicons": "3.3.1",
|
||||||
"interpolate-components": "1.1.1",
|
"interpolate-components": "1.1.1",
|
||||||
"lodash": "4.17.15",
|
|
||||||
"memoize-one": "5.1.1",
|
"memoize-one": "5.1.1",
|
||||||
"moment": "2.29.1",
|
"moment": "2.29.1",
|
||||||
"prop-types": "15.7.2",
|
"prop-types": "15.7.2",
|
||||||
|
@ -58,6 +57,9 @@
|
||||||
"react-router-dom": "5.2.0",
|
"react-router-dom": "5.2.0",
|
||||||
"react-transition-group": "4.4.1"
|
"react-transition-group": "4.4.1"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"lodash": "^4.17.0"
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
- Take into account leap year in calculating `getLastPeriod`.
|
- Take into account leap year in calculating `getLastPeriod`.
|
||||||
|
## Breaking changes
|
||||||
|
|
||||||
|
- Move Lodash to a peer dependency.
|
||||||
# 2.1.0
|
# 2.1.0
|
||||||
|
|
||||||
- Update to @wordpress/eslint coding standards.
|
- Update to @wordpress/eslint coding standards.
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@wordpress/date": "3.13.0",
|
"@wordpress/date": "3.13.0",
|
||||||
"@wordpress/i18n": "3.17.0",
|
"@wordpress/i18n": "3.17.0",
|
||||||
"lodash": "4.17.15",
|
|
||||||
"moment": "2.29.1"
|
"moment": "2.29.1"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"lodash": "^4.17.0"
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
# Unreleased
|
||||||
|
|
||||||
|
## Breaking changes
|
||||||
|
|
||||||
|
- Move Lodash to a peer dependency.
|
||||||
|
|
||||||
# 5.3.0
|
# 5.3.0
|
||||||
|
|
||||||
- `getQueryExcludedScreens` Return a list of screens that should be excluded from persisted query logic.
|
- `getQueryExcludedScreens` Return a list of screens that should be excluded from persisted query logic.
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@woocommerce/experimental": "file:../experimental",
|
"@woocommerce/experimental": "file:../experimental",
|
||||||
"history": "4.10.1",
|
"history": "4.10.1",
|
||||||
"lodash": "4.17.15",
|
|
||||||
"qs": "6.9.6"
|
"qs": "6.9.6"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"lodash": "^4.17.0"
|
||||||
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
## Breaking changes
|
||||||
|
|
||||||
|
- Move Lodash to a peer dependency.
|
||||||
|
|
||||||
## 2.0.0 (2020-02-10)
|
## 2.0.0 (2020-02-10)
|
||||||
|
|
||||||
### Breaking Change
|
### Breaking Change
|
||||||
|
|
|
@ -24,8 +24,10 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.11.2",
|
"@babel/runtime": "^7.11.2",
|
||||||
"@wordpress/a11y": "^2.13.0",
|
"@wordpress/a11y": "^2.13.0",
|
||||||
"@wordpress/data": "^4.25.0",
|
"@wordpress/data": "^4.25.0"
|
||||||
"lodash": "^4.17.19"
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"lodash": "^4.17.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|
Loading…
Reference in New Issue