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

Correctly update module.exports.default of typeof helper #12858

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

nicolo-ribaudo
Copy link
Member

Q                       A
Fixed Issues? Fixes strapi/strapi#9482,
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

return typeof obj;
};

module.exports["default"] = module.exports, module.exports.__esModule = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug is fixed by this line.

@JLHwung JLHwung changed the title Regression another Correctly update module.exports.default of typeof helper Feb 23, 2021
@nicolo-ribaudo nicolo-ribaudo changed the title Correctly update module.exports.default of typeof helper Correctly update module.exports.default of typeof helper Feb 23, 2021
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 02b674c:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@nicolo-ribaudo
Copy link
Member Author

I can confirm this fixes the strapi issue, I can successfully create and run a new project.

@nicolo-ribaudo nicolo-ribaudo added i: regression PR: Bug Fix 🐛 A type of pull request used for our changelog categories labels Feb 23, 2021
@nicolo-ribaudo nicolo-ribaudo merged commit c4320a6 into babel:main Feb 23, 2021
@nicolo-ribaudo nicolo-ribaudo deleted the regression-another branch February 23, 2021 01:59
@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/41998/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Admin Page Blank: _typeof is not a function
4 participants