Skip to content

Commit e4f3a14

Browse files
committedSep 23, 2022
feat: migrate to @frsource/base64 package
Signed-off-by: Jakub Freisler <[email protected]>
1 parent 45a06d7 commit e4f3a14

File tree

6 files changed

+19
-135
lines changed

6 files changed

+19
-135
lines changed
 

‎example/yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,18 @@ __metadata:
133133
languageName: node
134134
linkType: hard
135135

136+
"@frsource/base64@npm:^1.0.1":
137+
version: 1.0.1
138+
resolution: "@frsource/base64@npm:1.0.1"
139+
checksum: ea1b772d0cf384c861bdbaa2be49f3bab172906434255669632fdfbf36c67d2a4ed83b0adb6ca670c6664ee2a163551dde784820951aff55fa0020ece171c7ed
140+
languageName: node
141+
linkType: hard
142+
136143
"@frsource/cypress-plugin-visual-regression-diff@portal:..::locator=example%40workspace%3A.":
137144
version: 0.0.0-use.local
138145
resolution: "@frsource/cypress-plugin-visual-regression-diff@portal:..::locator=example%40workspace%3A."
139146
dependencies:
147+
"@frsource/base64": ^1.0.1
140148
move-file: 2.1.0
141149
pixelmatch: 5.3.0
142150
pngjs: 6.0.0

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"Cypress image snapshot"
9898
],
9999
"dependencies": {
100+
"@frsource/base64": "^1.0.1",
100101
"move-file": "2.1.0",
101102
"pixelmatch": "5.3.0",
102103
"pngjs": "6.0.0",

‎src/Base64.ts

-133
This file was deleted.

‎src/commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { FILE_SUFFIX, LINK_PREFIX, TASK } from "./constants";
22
import type pixelmatch from "pixelmatch";
3-
import { Base64 } from "./Base64";
3+
import * as Base64 from "@frsource/base64";
44

55
declare global {
66
// eslint-disable-next-line @typescript-eslint/no-namespace

‎src/support.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Base64 } from "./Base64";
1+
import * as Base64 from "@frsource/base64";
22
import "./commands";
33
import { FILE_SUFFIX, LINK_PREFIX, OVERLAY_CLASS, TASK } from "./constants";
44

‎yarn.lock

+8
Original file line numberDiff line numberDiff line change
@@ -1426,10 +1426,18 @@ __metadata:
14261426
languageName: node
14271427
linkType: hard
14281428

1429+
"@frsource/base64@npm:^1.0.1":
1430+
version: 1.0.1
1431+
resolution: "@frsource/base64@npm:1.0.1"
1432+
checksum: ea1b772d0cf384c861bdbaa2be49f3bab172906434255669632fdfbf36c67d2a4ed83b0adb6ca670c6664ee2a163551dde784820951aff55fa0020ece171c7ed
1433+
languageName: node
1434+
linkType: hard
1435+
14291436
"@frsource/cypress-plugin-visual-regression-diff@workspace:.":
14301437
version: 0.0.0-use.local
14311438
resolution: "@frsource/cypress-plugin-visual-regression-diff@workspace:."
14321439
dependencies:
1440+
"@frsource/base64": ^1.0.1
14331441
"@semantic-release/changelog": 6.0.1
14341442
"@semantic-release/commit-analyzer": 9.0.2
14351443
"@semantic-release/git": 10.0.1

0 commit comments

Comments
 (0)
Please sign in to comment.