@docusaurus/plugin-ideal-image 3.10.0 → 3.10.1-canary-6593
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/package.json +17 -17
- package/src/plugin-ideal-image.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-ideal-image",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.1-canary-6593",
|
|
4
4
|
"description": "Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder).",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-ideal-image.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "tsc --build && node ../../admin/scripts/copyUntypedFiles.js &&
|
|
8
|
+
"build": "tsc --build && node ../../admin/scripts/copyUntypedFiles.js && oxfmt \"lib/theme/**/*.js\"",
|
|
9
9
|
"watch": "run-p -c copy:watch build:watch",
|
|
10
10
|
"build:watch": "tsc --build --watch",
|
|
11
11
|
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "3.10.
|
|
24
|
-
"@docusaurus/lqip-loader": "3.10.
|
|
25
|
-
"@docusaurus/responsive-loader": "^1.7.
|
|
26
|
-
"@docusaurus/theme-translations": "3.10.
|
|
27
|
-
"@docusaurus/types": "3.10.
|
|
28
|
-
"@docusaurus/utils-validation": "3.10.
|
|
29
|
-
"sharp": "^0.
|
|
23
|
+
"@docusaurus/core": "3.10.1-canary-6593",
|
|
24
|
+
"@docusaurus/lqip-loader": "3.10.1-canary-6593",
|
|
25
|
+
"@docusaurus/responsive-loader": "^1.7.1",
|
|
26
|
+
"@docusaurus/theme-translations": "3.10.1-canary-6593",
|
|
27
|
+
"@docusaurus/types": "3.10.1-canary-6593",
|
|
28
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6593",
|
|
29
|
+
"sharp": "^0.34.5",
|
|
30
30
|
"tslib": "^2.6.0",
|
|
31
|
-
"webpack": "^5.
|
|
31
|
+
"webpack": "^5.106.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@docusaurus/module-type-aliases": "3.10.
|
|
35
|
-
"fs-extra": "^11.
|
|
34
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6593",
|
|
35
|
+
"fs-extra": "^11.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"jimp": "
|
|
39
|
-
"react": "^
|
|
40
|
-
"react-dom": "^
|
|
38
|
+
"jimp": "^1.6.1",
|
|
39
|
+
"react": "^19.2.5",
|
|
40
|
+
"react-dom": "^19.2.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"jimp": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
48
|
+
"node": ">=24.14"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "958bdad4e51b2df8d29749d8a6455f39ff85a348"
|
|
51
51
|
}
|
|
@@ -118,8 +118,10 @@ declare module '@theme/IdealImageLegacy' {
|
|
|
118
118
|
|
|
119
119
|
type ThemeKey = 'placeholder' | 'img' | 'icon' | 'noscript';
|
|
120
120
|
|
|
121
|
-
export interface ImageProps
|
|
122
|
-
|
|
121
|
+
export interface ImageProps extends Omit<
|
|
122
|
+
ComponentProps<'img'>,
|
|
123
|
+
'srcSet' | 'placeholder'
|
|
124
|
+
> {
|
|
123
125
|
/**
|
|
124
126
|
* This function decides what icon to show based on the current state of the
|
|
125
127
|
* component.
|