@automattic/jetpack-image-guide 0.5.11 → 0.5.12

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,13 @@ 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.12] - 2024-09-25
9
+ ### Security
10
+ - Security: Fix XSS vulnerability. [#39507]
11
+
12
+ ### Changed
13
+ - Updated package dependencies. [#39170]
14
+
8
15
  ## [0.5.11] - 2024-08-29
9
16
  ### Changed
10
17
  - Updated package dependencies. [#38287]
@@ -121,6 +128,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
121
128
  ### Removed
122
129
  - Minor package.json change - removing private entry.
123
130
 
131
+ [0.5.12]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.11...v0.5.12
124
132
  [0.5.11]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.10...v0.5.11
125
133
  [0.5.10]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.9...v0.5.10
126
134
  [0.5.9]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.8...v0.5.9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-image-guide",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
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",
@@ -36,23 +36,23 @@
36
36
  "@babel/preset-env": "7.24.7",
37
37
  "@babel/preset-react": "7.24.7",
38
38
  "@babel/preset-typescript": "7.24.7",
39
- "@rollup/plugin-babel": "5.3.1",
39
+ "@rollup/plugin-babel": "6.0.4",
40
40
  "@rollup/plugin-commonjs": "26.0.1",
41
- "@rollup/plugin-json": "4.1.0",
42
- "@rollup/plugin-node-resolve": "13.3.0",
41
+ "@rollup/plugin-json": "6.1.0",
42
+ "@rollup/plugin-node-resolve": "15.3.0",
43
43
  "@rollup/plugin-replace": "5.0.2",
44
44
  "@rollup/plugin-terser": "0.4.3",
45
- "@rollup/plugin-typescript": "8.3.3",
45
+ "@rollup/plugin-typescript": "12.1.0",
46
46
  "@typescript-eslint/parser": "6.21.0",
47
47
  "eslint": "8.57.0",
48
48
  "jest": "29.7.0",
49
49
  "postcss": "8.4.31",
50
- "rollup": "2.79.1",
50
+ "rollup": "3.29.5",
51
51
  "rollup-plugin-postcss": "4.0.2",
52
52
  "rollup-plugin-svelte": "7.2.2",
53
53
  "rollup-plugin-svelte-svg": "1.0.0-beta.6",
54
54
  "sass": "1.64.1",
55
- "svelte": "4.2.18",
55
+ "svelte": "4.2.19",
56
56
  "svelte-preprocess": "6.0.2",
57
57
  "tslib": "2.5.0",
58
58
  "typescript": "5.0.4",
package/rollup.config.js CHANGED
@@ -10,7 +10,6 @@ import postcss from 'rollup-plugin-postcss';
10
10
  import svelte from 'rollup-plugin-svelte';
11
11
  import { svelteSVG } from 'rollup-plugin-svelte-svg';
12
12
  import sveltePreprocess from 'svelte-preprocess';
13
- import tsconfig from './tsconfig.json';
14
13
 
15
14
  const production = process.env.NODE_ENV === 'production';
16
15
 
@@ -89,7 +88,7 @@ export default {
89
88
  inlineSources: ! production,
90
89
  // In order to let @rollup/plugin-typescript hanlde TS files from js-packages
91
90
  // we need to include those here and pass the custom tsconfig as well
92
- include: tsconfig.include,
91
+ include: [ './src/**/*' ],
93
92
  tsconfig: 'tsconfig.json',
94
93
  declaration: true,
95
94
  } ),