Skip to content
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

Fix regeneratorRuntime errors #815

Merged
merged 6 commits into from
Nov 26, 2019
Merged

Fix regeneratorRuntime errors #815

merged 6 commits into from
Nov 26, 2019

Conversation

crutchcorn
Copy link
Member

@crutchcorn crutchcorn commented Nov 16, 2019

This closes #797 and #817

What's Changing and Why

This now uses @babel/plugin-transform-runtime and @babel/runtime in order to fix issues with the runtime builds in the current version.

We also updates core-js to version 3 to keep versions as up-to-date as possible

What else might be affected

This would be a patch release, or a minor release (as it changes deps from core-js from 2 to 3, which may potentially break transitive deps)

Tasks

This has been tested against node-vibrant with an upgraded version of jimp that originally had #797 issues

Published PR with canary version: 0.9.2-canary.815.538.0

@crutchcorn
Copy link
Member Author

@hipstersmoothie it seems that this PR has fixed the issue as confirmed by myself and @andrewrt

@hipstersmoothie
Copy link
Collaborator

@crutchcorn can you fix up the merge conflicts?

@crutchcorn
Copy link
Member Author

No problem, will do

# Conflicts:
#	packages/custom/package.json
#	packages/jimp/package.json
#	packages/plugin-blit/package.json
#	packages/plugin-blur/package.json
#	packages/plugin-circle/package.json
#	packages/plugin-color/package.json
#	packages/plugin-contain/package.json
#	packages/plugin-cover/package.json
#	packages/plugin-crop/package.json
#	packages/plugin-displace/package.json
#	packages/plugin-dither/package.json
#	packages/plugin-fisheye/package.json
#	packages/plugin-flip/package.json
#	packages/plugin-gaussian/package.json
#	packages/plugin-invert/package.json
#	packages/plugin-mask/package.json
#	packages/plugin-normalize/package.json
#	packages/plugin-print/package.json
#	packages/plugin-resize/package.json
#	packages/plugin-rotate/package.json
#	packages/plugin-scale/package.json
#	packages/plugin-shadow/package.json
#	packages/plugin-threshold/package.json
#	packages/plugins/package.json
#	packages/type-gif/package.json
#	packages/type-jpeg/package.json
#	packages/type-png/package.json
#	packages/types/package.json
@crutchcorn
Copy link
Member Author

Resolved

@hipstersmoothie hipstersmoothie merged commit 7c4c809 into jimp-dev:master Nov 26, 2019
@crutchcorn crutchcorn deleted the fix-babel-build branch November 26, 2019 21:13
@hipstersmoothie
Copy link
Collaborator

🚀 PR was released in v0.9.3 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncaught ReferenceError: regeneratorRuntime is not defined
2 participants