@sitelintcode/optimize-image-on-the-client-side 0.0.37 → 0.0.39
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/README.md +2 -2
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ optimizeImage.quality = 0.85;
|
|
|
64
64
|
## Browser environment
|
|
65
65
|
|
|
66
66
|
```HTML
|
|
67
|
-
<script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.
|
|
67
|
+
<script src="https://cdn.jsdelivr.net/npm/@sitelintcode/optimize-image-on-the-client-side@0.0.39/dist/optimize-image-on-the-client-side.js"></script>
|
|
68
68
|
<script>
|
|
69
69
|
(function() {
|
|
70
70
|
const optimizeImage = new window.sitelint.OptimizeImage();
|
|
@@ -75,7 +75,7 @@ optimizeImage.quality = 0.85;
|
|
|
75
75
|
|
|
76
76
|
### Notes
|
|
77
77
|
|
|
78
|
-
Note the version number in the jsdelivr URL: **0.0.
|
|
78
|
+
Note the version number in the jsdelivr URL: **0.0.39**. Don't forget to set desired version. You may check releases: https://github.com/sitelint/optimize-image-on-the-client-side/releases
|
|
79
79
|
|
|
80
80
|
Worth to mention that [jsdelivr](https://www.jsdelivr.com) suggests:
|
|
81
81
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sitelintcode/optimize-image-on-the-client-side",
|
|
3
3
|
"description": "Optimize image on the client side",
|
|
4
4
|
"author": "Cezary Tomczyk <cezary.tomczyk@gmail.com> (https://www.sitelint.com/)",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.39",
|
|
6
6
|
"license": "MOZILLA PUBLIC LICENSE, VERSION 2.0",
|
|
7
7
|
"node": ">=16",
|
|
8
8
|
"main": "dist/optimize-image-on-the-client-side.js",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@alex_neo/jest-expect-message": "1.0.5",
|
|
54
54
|
"@types/jest": "29.5.12",
|
|
55
|
-
"@types/jsdom": "21.1.
|
|
56
|
-
"@types/node": "20.
|
|
55
|
+
"@types/jsdom": "21.1.7",
|
|
56
|
+
"@types/node": "20.14.9",
|
|
57
57
|
"@types/sharp": "0.31.1",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
59
|
-
"@typescript-eslint/parser": "7.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "7.14.1",
|
|
59
|
+
"@typescript-eslint/parser": "7.14.1",
|
|
60
60
|
"bootstrap": "5.3.3",
|
|
61
61
|
"chokidar-cli": "3.0.0",
|
|
62
62
|
"copyfiles": "2.4.1",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"eslint": "8.56.0",
|
|
65
65
|
"eslint-cli": "1.1.1",
|
|
66
66
|
"eslint-plugin-import": "2.29.1",
|
|
67
|
-
"eslint-plugin-markdown": "
|
|
67
|
+
"eslint-plugin-markdown": "5.0.0",
|
|
68
68
|
"html-loader": "5.0.0",
|
|
69
69
|
"husky": "9.0.11",
|
|
70
70
|
"jest": "29.7.0",
|
|
71
71
|
"jest-environment-jsdom": "29.7.0",
|
|
72
|
-
"markdownlint-cli": "0.
|
|
73
|
-
"release-it": "17.
|
|
74
|
-
"rollup": "4.
|
|
72
|
+
"markdownlint-cli": "0.41.0",
|
|
73
|
+
"release-it": "17.4.1",
|
|
74
|
+
"rollup": "4.18.0",
|
|
75
75
|
"rollup-plugin-commonjs": "10.1.0",
|
|
76
|
-
"rollup-plugin-dts": "6.1.
|
|
76
|
+
"rollup-plugin-dts": "6.1.1",
|
|
77
77
|
"rollup-plugin-html": "0.2.1",
|
|
78
78
|
"rollup-plugin-json": "4.0.0",
|
|
79
79
|
"rollup-plugin-minification": "0.2.0",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"shelljs-nodecli": "0.1.1",
|
|
84
84
|
"shx": "0.3.4",
|
|
85
85
|
"standard-version": "9.5.0",
|
|
86
|
-
"typescript": "5.
|
|
87
|
-
"typescript-eslint": "7.
|
|
88
|
-
"webpack-bundle-analyzer": "4.10.
|
|
86
|
+
"typescript": "5.5.2",
|
|
87
|
+
"typescript-eslint": "7.14.1",
|
|
88
|
+
"webpack-bundle-analyzer": "4.10.2"
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@ungap/global-this": "0.4.4"
|