Skip to content

Fix import issue for generator-function#47

Open
nytamin wants to merge 1 commit into
inspect-js:mainfrom
nytamin:patch-2
Open

Fix import issue for generator-function#47
nytamin wants to merge 1 commit into
inspect-js:mainfrom
nytamin:patch-2

Conversation

@nytamin
Copy link
Copy Markdown

@nytamin nytamin commented Feb 24, 2026

This PR re-adds the "hack" to import the default export from require(generator-function), to avoid the apparent "breaking change" from 1.1.0 to 1.1.1, as reported in #46 and #45.

Resolves #46

Fix import for generator-function module.
This is a hack to avoid a breaking change introduced in v1.1.1, #5477ff1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Koa 2.x still broken in v1.1.2

1 participant