Fix blur on transparent images #258
Annotations
6 errors and 15 warnings
src/index.test.ts > Shadow > creates a shadow:
plugins/plugin-shadow/src/index.test.ts#L24
Error: Snapshot `Shadow > creates a shadow 1` mismatched
- Expected
+ Received
Visualization:
- ▪▫▦▾8F▥
- 88F▵▿E▾▦F
- 6▵02▪7▪▫▹E
- C0▰▥8665◇▹
- 817◇▴8◆15C
- ▱3▾▱▿4C▩7■
+ 0▱▥1▪◇▫
+ ▪ED▥93F5▫
+ ▰C7▸◇▥▵□A1
+ F◇▦▾2A651▫
+ ◆■B■■3F6▰▰
+ E▱▥!▸0■D6▫
Data:
00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰ 00-00-00⁰⁰
- 00-00-00⁰⁰ A4-A4-3F⁰² 03-03-2F⁰ᵇ 35-35-34¹⁷ E5-E5-06ᶠᶠ F1-F1-06ᶠᶠ 5B-5B-3A¹² 2C-2C-37⁰⁶ 00-00-00⁰⁰ 00-00-00⁰⁰
- 8F-8F-55⁰² C2-C2-55⁰ᵃ 3A-3A-59¹ᶜ D2-D2-10ᶠᶠ 76-76-72ᶠᶠ 80-80-74ᶠᶠ E6-E6-0Eᶠᶠ A8-A8-5B¹³ D2-D2-3F⁰⁵ 00-00-00⁰⁰
- 5F-5F-3F⁰⁸ 81-81-5C¹ᵃ ED-ED-15ᶠᶠ 83-83-73ᶠᶠ 5E-5E-6Eᶠᶠ 67-67-6Fᶠᶠ 9C-9C-74ᶠᶠ DC-DC-0Eᶠᶠ ED-ED-3F¹⁰ 0E-0E-00⁰⁴
- 1E-1E-4C⁰ᵉ DE-DE-59²ᵃ BC-BC-5F⁵⁴ 86-86-2Eᶠᶠ AF-AF-6Cᶠᶠ B3-B3-6Cᶠᶠ A6-A6-27ᶠᶠ 4D-4D-4F⁴³ E7-E7-3E¹ᶜ E9-E9-00⁰⁷
- AE-AE-4A¹⁰ 5E-5E-56²ᶠ 8A-8A-5E⁵ᶜ EF-EF-5E⁸⁷ D5-D5-3Bᶠᶠ DD-DD-38ᶠᶠ 16-16-5A⁷ᵃ 07-07-4E⁴ᵃ 16-16-3B²⁰ EE-EE-00⁰⁹
- 77-77-3E⁰ᵇ F7-F7-53²⁴ FE-FE-5C⁴ᵃ 2A-2A-5C⁷³ E9-E9-5A⁸ᵇ F5-F5-5A⁸⁶ 62-62-57⁶⁶ AE-AE-4E³ᵃ 5B-5B-34¹⁷ B0-B0-00⁰⁶
+ 00-00-00⁰⁰ 04-04-00⁰² 0F-0F-00⁰ᵇ 20-20-02¹⁷ E4-E4-00ᶠᶠ E5-E5-00ᶠᶠ 18-18-01¹² 09-09-00⁰⁶ 00-00-00⁰⁰ 00-00-00⁰⁰
+ 03-03-00⁰² 0D-0D-01⁰ᵃ 22-22-05¹ᶜ D8-D8-02ᶠᶠ 73-73-63ᶠᶠ 72-72-64ᶠᶠ DD-DD-01ᶠᶠ 18-18-03¹³ 07-07-00⁰⁵ 00-00-00⁰⁰
+ 0B-0B-00⁰⁸ 20-20-05¹ᵃ D4-D4-03ᶠᶠ 75-75-5Dᶠᶠ 7C-7C-59ᶠᶠ 7A-7A-5Aᶠᶠ 73-73-60ᶠᶠ DB-DB-01ᶠᶠ 16-16-02¹⁰ 06-06-00⁰⁴
+ 13-13-01⁰ᵉ 33-33-08²ᵃ 5D-5D-1A⁵⁴ C0-C0-19ᶠᶠ 89-89-5Dᶠᶠ 87-87-5Cᶠᶠ C2-C2-12ᶠᶠ 4E-4E-11⁴³ 25-25-04¹ᶜ 0B-0B-00⁰⁷
+ 16-16-01¹⁰ 3A-3A-0A²ᶠ 65-65-1D⁵ᶜ 87-87-3A⁸⁷ BE-BE-30ᶠᶠ BE-BE-2Bᶠᶠ 7F-7F-2F⁷ᵃ 56-56-14⁴ᵃ 2A-2A-04²⁰ 0D-0D-00⁰⁹
+ 0F-0F-01⁰ᵇ 2C-2C-07²⁴ 54-54-16⁴ᵃ 78-78-2D⁷³ 8B-8B-3C⁸ᵇ 87-87-38⁸⁶ 6E-6E-24⁶⁶ 45-45-0F³ᵃ 1E-1E-03¹⁷ 09-09-00⁰⁶
❯ src/index.test.ts:24:56
|
test
@jimp/plugin-shadow#test: command (/home/runner/work/jimp/jimp/plugins/plugin-shadow) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test --watch=false exited (1)
|
test
Process completed with exit code 1.
|
src/index.test.ts > hasAlpha > image with alpha:
plugins/plugin-blur/src/index.test.ts#L15
TypeError: fs.existsSync is not a function
❯ Object.toMatchImageSnapshot ../../../../../../../node_modules/.vite/deps/jest-image-snapshot.js:23610:61
❯ Proxy.methodWrapper ../../../../../../../node_modules/.vite/deps/vitest___chai.js:1131:29
❯ src/index.test.ts:15:19
|
test-browser
@jimp/plugin-blur#test:browser: command (/home/runner/work/jimp/jimp/plugins/plugin-blur) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:browser --watch=false exited (1)
|
test-browser
Process completed with exit code 1.
|
install
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
packages/core/src/index.ts#L77
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L77
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L83
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L83
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L84
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L92
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L98
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L102
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L106
Unexpected any. Specify a different type
|
lint:
packages/core/src/index.ts#L156
Unexpected any. Specify a different type
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test-browser
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|