Skip to content

build(deps-dev): bump @babel/runtime from 7.26.0 to 7.26.10 in /example #170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@babel/runtime": "^7.26.10",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
@@ -989,10 +989,10 @@
pirates "^4.0.6"
source-map-support "^0.5.16"

"@babel/runtime@^7.25.0", "@babel/runtime@^7.8.4":
version "7.26.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1"
integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==
"@babel/runtime@^7.25.0", "@babel/runtime@^7.26.10", "@babel/runtime@^7.8.4":
version "7.26.10"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.10.tgz#a07b4d8fa27af131a633d7b3524db803eb4764c2"
integrity sha512-2WJMeRQPHKSPemqk/awGrAiuFfzBmOIPXKizAsVhWH9YJqLZ0H+HS4c8loHGgW6utJ3E/ejXQUsiGaQy2NZ9Fw==
dependencies:
regenerator-runtime "^0.14.0"


Unchanged files with check annotations Beta

method: 'GET',
headers: new Headers(headers),
})
.then((response) => {

Check warning on line 42 in src/index.web.ts

GitHub Actions / Code Quality

Prefer await to then()/catch()/finally()
if (!response.ok) {
throw new Error(
ERROR_PREFIX +
}
return response.blob();
})
.then((blob) => createImageBitmap(blob));

Check warning on line 54 in src/index.web.ts

GitHub Actions / Code Quality

Prefer await to then()/catch()/finally()
}
return new Promise<HTMLImageElement>((resolve, reject) => {
/**
* Returns a promise that resolves with the base64 encoded string of the cropped image
*/
return fetchImage(imgSrc, cropData.headers).then(

Check warning on line 86 in src/index.web.ts

GitHub Actions / Code Quality

Prefer await to then()/catch()/finally()
function onfulfilledImgToCanvas(image) {
const ext = cropData.format ?? 'jpeg';
const type = `image/${ext}`;
resolve
) {
canvas.toBlob(resolve, type, quality);
}).then((blob) => {

Check warning on line 97 in src/index.web.ts

GitHub Actions / Code Quality

Prefer await to then()/catch()/finally()
if (!blob) {
throw new Error('Image cannot be created from canvas');
}