@automattic/jetpack-shared-extension-utils 0.12.1 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.12.3] - 2023-10-17
|
|
9
|
+
### Changed
|
|
10
|
+
- Updated package dependencies. [#33646]
|
|
11
|
+
|
|
12
|
+
## [0.12.2] - 2023-10-16
|
|
13
|
+
### Changed
|
|
14
|
+
- Updated package dependencies. [#33429]
|
|
15
|
+
|
|
8
16
|
## [0.12.1] - 2023-10-10
|
|
9
17
|
### Changed
|
|
10
18
|
- Updated package dependencies. [#33428]
|
|
@@ -260,6 +268,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
260
268
|
### Changed
|
|
261
269
|
- Core: prepare utility for release
|
|
262
270
|
|
|
271
|
+
[0.12.3]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.12.2...0.12.3
|
|
272
|
+
[0.12.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.12.1...0.12.2
|
|
263
273
|
[0.12.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.12.0...0.12.1
|
|
264
274
|
[0.12.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.11.5...0.12.0
|
|
265
275
|
[0.11.5]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.11.4...0.11.5
|
package/SECURITY.md
CHANGED
|
@@ -4,11 +4,20 @@ Full details of the Automattic Security Policy can be found on [automattic.com](
|
|
|
4
4
|
|
|
5
5
|
## Supported Versions
|
|
6
6
|
|
|
7
|
-
Generally, only the latest version of Jetpack
|
|
7
|
+
Generally, only the latest version of Jetpack and its associated plugins have continued support. If a critical vulnerability is found in the current version of a plugin, we may opt to backport any patches to previous versions.
|
|
8
8
|
|
|
9
9
|
## Reporting a Vulnerability
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Our HackerOne program covers the below plugin software, as well as a variety of related projects and infrastructure:
|
|
12
|
+
|
|
13
|
+
* [Jetpack](https://jetpack.com/)
|
|
14
|
+
* Jetpack Backup
|
|
15
|
+
* Jetpack Boost
|
|
16
|
+
* Jetpack CRM
|
|
17
|
+
* Jetpack Protect
|
|
18
|
+
* Jetpack Search
|
|
19
|
+
* Jetpack Social
|
|
20
|
+
* Jetpack VideoPress
|
|
12
21
|
|
|
13
22
|
**For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via the [HackerOne](https://hackerone.com/automattic) portal.**
|
|
14
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-shared-extension-utils",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "Utility functions used by the block editor extensions",
|
|
5
5
|
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@automattic/jetpack-analytics": "^0.1.27",
|
|
21
|
-
"@automattic/jetpack-components": "^0.43.
|
|
22
|
-
"@automattic/jetpack-connection": "^0.30.
|
|
21
|
+
"@automattic/jetpack-components": "^0.43.4",
|
|
22
|
+
"@automattic/jetpack-connection": "^0.30.3",
|
|
23
23
|
"@wordpress/api-fetch": "6.40.0",
|
|
24
24
|
"@wordpress/compose": "6.20.0",
|
|
25
25
|
"@wordpress/element": "5.20.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"lodash": "4.17.21"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "7.
|
|
32
|
+
"@babel/core": "7.23.2",
|
|
33
33
|
"@babel/preset-react": "7.22.15",
|
|
34
34
|
"babel-jest": "29.3.1",
|
|
35
35
|
"jest": "29.3.1",
|
|
@@ -10,12 +10,11 @@ import './style.scss';
|
|
|
10
10
|
// We thus add a new `is-interactive` class to be able to override that behavior.
|
|
11
11
|
export default name =>
|
|
12
12
|
createHigherOrderComponent(
|
|
13
|
-
BlockListBlock => props =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
),
|
|
13
|
+
BlockListBlock => props => (
|
|
14
|
+
<BlockListBlock
|
|
15
|
+
{ ...props }
|
|
16
|
+
className={ props.name === name ? 'has-warning is-interactive' : props.className }
|
|
17
|
+
/>
|
|
18
|
+
),
|
|
20
19
|
'withHasWarningIsInteractiveClassNames'
|
|
21
20
|
);
|