@automattic/jetpack-image-guide 0.5.2 → 0.5.4

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,16 @@ 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.5.4] - 2023-10-26
9
+ ### Changed
10
+ - Updated package dependencies. [#32957]
11
+ - Updated package dependencies. [#33567]
12
+ - Updated package dependencies. [#33569]
13
+
14
+ ## [0.5.3] - 2023-09-13
15
+ ### Changed
16
+ - Updated package dependencies. [#32953]
17
+
8
18
  ## [0.5.2] - 2023-09-01
9
19
  ### Changed
10
20
  - Updated package dependencies. [#31815] [#32605]
@@ -74,6 +84,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
74
84
  ### Removed
75
85
  - Minor package.json change - removing private entry.
76
86
 
87
+ [0.5.4]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.3...v0.5.4
88
+ [0.5.3]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.2...v0.5.3
77
89
  [0.5.2]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.1...v0.5.2
78
90
  [0.5.1]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.0...v0.5.1
79
91
  [0.5.0]: https://github.com/Automattic/jetpack-image-guide/compare/v0.4.0...v0.5.0
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 has continued support. If a critical vulnerability is found in the current version of Jetpack, we may opt to backport any patches to previous versions.
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
- [Jetpack](https://jetpack.com/) is an open-source plugin for WordPress. Our HackerOne program covers the plugin software, as well as a variety of related projects and infrastructure.
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
 
@@ -52,6 +52,7 @@ export declare class MeasurableImage {
52
52
  * by reading the Content-Length header.
53
53
  *
54
54
  * @param {string} url - string The URL of the image.
55
+ * @returns {number} Weight.
55
56
  */
56
57
  private fetchFileWeight;
57
58
  /**
@@ -59,6 +60,7 @@ export declare class MeasurableImage {
59
60
  * This creates a new image element and loads the image.
60
61
  *
61
62
  * @param {string} url - image url
63
+ * @returns {object} dimensions File dimensions.
62
64
  */
63
65
  private fetchFileDimensions;
64
66
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-image-guide",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Go through the dom to analyze image size on screen vs actual file size.",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/image-guide/#readme",
6
6
  "type": "module",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@automattic/jetpack-webpack-config": "workspace:*",
25
- "@typescript-eslint/parser": "5.62.0",
26
- "eslint": "8.44.0",
25
+ "@typescript-eslint/parser": "6.7.5",
26
+ "eslint": "8.51.0",
27
27
  "jest": "29.4.3",
28
28
  "ts-loader": "9.4.2",
29
29
  "typescript": "5.0.4",