@plasius/images 1.0.25 → 1.0.26
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 +18 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +16 -15
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,22 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
- **Added**
|
|
12
|
+
- (placeholder)
|
|
13
|
+
|
|
14
|
+
- **Changed**
|
|
15
|
+
- (placeholder)
|
|
16
|
+
|
|
17
|
+
- **Fixed**
|
|
18
|
+
- (placeholder)
|
|
19
|
+
|
|
20
|
+
- **Security**
|
|
21
|
+
- (placeholder)
|
|
22
|
+
|
|
23
|
+
## [1.0.26] - 2026-11-22
|
|
24
|
+
|
|
25
|
+
- Refresh supported npm dependency and security tooling baselines; preserve runtime API contracts (weekly maintenance, 2026-11-22).
|
|
26
|
+
|
|
11
27
|
- **Added**
|
|
12
28
|
- (placeholder)
|
|
13
29
|
|
|
@@ -370,7 +386,7 @@ Never publish locally or manually promote versioned changelog sections. Rollback
|
|
|
370
386
|
|
|
371
387
|
---
|
|
372
388
|
|
|
373
|
-
[Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.
|
|
389
|
+
[Unreleased]: https://github.com/Plasius-LTD/images/compare/v1.0.26...HEAD
|
|
374
390
|
|
|
375
391
|
## [1.0.0] - 2026-02-11
|
|
376
392
|
|
|
@@ -407,3 +423,4 @@ Never publish locally or manually promote versioned changelog sections. Rollback
|
|
|
407
423
|
[1.0.23]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.23
|
|
408
424
|
[1.0.24]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.24
|
|
409
425
|
[1.0.25]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.25
|
|
426
|
+
[1.0.26]: https://github.com/Plasius-LTD/images/releases/tag/v1.0.26
|
package/dist/index.d.cts
CHANGED
|
@@ -24,4 +24,5 @@ declare function sanitiseSVG(svgText: string, options: {
|
|
|
24
24
|
};
|
|
25
25
|
declare function validateSvgAvatar(buffer: Buffer): Promise<ImageValidationResult>;
|
|
26
26
|
|
|
27
|
-
export {
|
|
27
|
+
export { sanitiseSVG, validateAvatarImage, validateSvgAvatar };
|
|
28
|
+
export type { ImageValidationResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ declare function sanitiseSVG(svgText: string, options: {
|
|
|
24
24
|
};
|
|
25
25
|
declare function validateSvgAvatar(buffer: Buffer): Promise<ImageValidationResult>;
|
|
26
26
|
|
|
27
|
-
export {
|
|
27
|
+
export { sanitiseSVG, validateAvatarImage, validateSvgAvatar };
|
|
28
|
+
export type { ImageValidationResult };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/images",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -30,27 +30,28 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@xmldom/xmldom": "^0.9.12",
|
|
33
|
-
"sharp": "^0.35.
|
|
33
|
+
"sharp": "^0.35.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@azure/cosmos": "^4.10.
|
|
36
|
+
"@azure/cosmos": "^4.10.2",
|
|
37
37
|
"@eslint/js": "^10.0.1",
|
|
38
38
|
"@testing-library/react": "^16.3.3",
|
|
39
39
|
"@types/node": "^25.9.5",
|
|
40
|
-
"@types/react": "^19.
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
42
|
-
"@typescript-eslint/parser": "^8.
|
|
43
|
-
"@vitest/coverage-v8": "^
|
|
40
|
+
"@types/react": "^19.3.0",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^8.73.0",
|
|
42
|
+
"@typescript-eslint/parser": "^8.73.0",
|
|
43
|
+
"@vitest/coverage-v8": "^5.1.1",
|
|
44
44
|
"ajv": "^8.20.0",
|
|
45
|
-
"eslint": "^10.
|
|
46
|
-
"globals": "^17.
|
|
45
|
+
"eslint": "^10.15.0",
|
|
46
|
+
"globals": "^17.14.0",
|
|
47
47
|
"npm-run-all": "^4.1.5",
|
|
48
|
-
"react": "^19.
|
|
49
|
-
"tsup": "^
|
|
50
|
-
"tsx": "^4.23.
|
|
48
|
+
"react": "^19.3.1",
|
|
49
|
+
"tsup": "^9.0.0",
|
|
50
|
+
"tsx": "^4.23.15",
|
|
51
51
|
"typescript": "^6.0.3",
|
|
52
|
-
"vitest": "^
|
|
53
|
-
"zod": "^4.
|
|
52
|
+
"vitest": "^5.1.1",
|
|
53
|
+
"zod": "^4.6.7",
|
|
54
|
+
"vite": "^8.3.8"
|
|
54
55
|
},
|
|
55
56
|
"exports": {
|
|
56
57
|
".": {
|
|
@@ -99,6 +100,6 @@
|
|
|
99
100
|
},
|
|
100
101
|
"overrides": {
|
|
101
102
|
"esbuild": "^0.28.1",
|
|
102
|
-
"minimatch": "^
|
|
103
|
+
"minimatch": "^11.0.9"
|
|
103
104
|
}
|
|
104
105
|
}
|