@automattic/jetpack-image-guide 0.5.11 → 0.5.13
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 +17 -0
- package/package.json +11 -10
- package/rollup.config.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ 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.13] - 2024-11-04
|
|
9
|
+
### Added
|
|
10
|
+
- Enable test coverage. [#39961]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Updated package dependencies. [#39898]
|
|
14
|
+
- Updated package dependencies. [#39910]
|
|
15
|
+
|
|
16
|
+
## [0.5.12] - 2024-09-25
|
|
17
|
+
### Security
|
|
18
|
+
- Security: Fix XSS vulnerability. [#39507]
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Updated package dependencies. [#39170]
|
|
22
|
+
|
|
8
23
|
## [0.5.11] - 2024-08-29
|
|
9
24
|
### Changed
|
|
10
25
|
- Updated package dependencies. [#38287]
|
|
@@ -121,6 +136,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
121
136
|
### Removed
|
|
122
137
|
- Minor package.json change - removing private entry.
|
|
123
138
|
|
|
139
|
+
[0.5.13]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.12...v0.5.13
|
|
140
|
+
[0.5.12]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.11...v0.5.12
|
|
124
141
|
[0.5.11]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.10...v0.5.11
|
|
125
142
|
[0.5.10]: https://github.com/Automattic/jetpack-image-guide/compare/v0.5.9...v0.5.10
|
|
126
143
|
[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.
|
|
3
|
+
"version": "0.5.13",
|
|
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",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"reformat-files": "../../../tools/js-tools/node_modules/.bin/prettier --ignore-path .eslintignore --write --plugin-search-dir=. ./**/*.{svelte,js,ts,json}",
|
|
27
27
|
"lint": "pnpm run reformat-files && echo 'Running eslint...' && pnpm eslint app/assets/src/js tests/e2e --fix && echo '✔ prettier and eslint ran successfully.'",
|
|
28
28
|
"clear-dist": "rm -rf app/assets/dist/*",
|
|
29
|
-
"test": "
|
|
29
|
+
"test-coverage": "pnpm run test --coverage",
|
|
30
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.cjs"
|
|
30
31
|
},
|
|
31
32
|
"browser": {
|
|
32
33
|
"@automattic/jetpack-image-guide": false
|
|
@@ -36,23 +37,23 @@
|
|
|
36
37
|
"@babel/preset-env": "7.24.7",
|
|
37
38
|
"@babel/preset-react": "7.24.7",
|
|
38
39
|
"@babel/preset-typescript": "7.24.7",
|
|
39
|
-
"@rollup/plugin-babel": "
|
|
40
|
+
"@rollup/plugin-babel": "6.0.4",
|
|
40
41
|
"@rollup/plugin-commonjs": "26.0.1",
|
|
41
|
-
"@rollup/plugin-json": "
|
|
42
|
-
"@rollup/plugin-node-resolve": "
|
|
42
|
+
"@rollup/plugin-json": "6.1.0",
|
|
43
|
+
"@rollup/plugin-node-resolve": "15.3.0",
|
|
43
44
|
"@rollup/plugin-replace": "5.0.2",
|
|
44
45
|
"@rollup/plugin-terser": "0.4.3",
|
|
45
|
-
"@rollup/plugin-typescript": "
|
|
46
|
+
"@rollup/plugin-typescript": "12.1.0",
|
|
46
47
|
"@typescript-eslint/parser": "6.21.0",
|
|
47
|
-
"eslint": "8.57.
|
|
48
|
+
"eslint": "8.57.1",
|
|
48
49
|
"jest": "29.7.0",
|
|
49
|
-
"postcss": "8.4.
|
|
50
|
-
"rollup": "
|
|
50
|
+
"postcss": "8.4.47",
|
|
51
|
+
"rollup": "3.29.5",
|
|
51
52
|
"rollup-plugin-postcss": "4.0.2",
|
|
52
53
|
"rollup-plugin-svelte": "7.2.2",
|
|
53
54
|
"rollup-plugin-svelte-svg": "1.0.0-beta.6",
|
|
54
55
|
"sass": "1.64.1",
|
|
55
|
-
"svelte": "4.2.
|
|
56
|
+
"svelte": "4.2.19",
|
|
56
57
|
"svelte-preprocess": "6.0.2",
|
|
57
58
|
"tslib": "2.5.0",
|
|
58
59
|
"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:
|
|
91
|
+
include: [ './src/**/*' ],
|
|
93
92
|
tsconfig: 'tsconfig.json',
|
|
94
93
|
declaration: true,
|
|
95
94
|
} ),
|