Skip to content

Comments

Update NYC, update require-dir, more specific import arg#118

Open
MarchosiasM wants to merge 1 commit intoRanvierMUD:masterfrom
MarchosiasM:specific_import
Open

Update NYC, update require-dir, more specific import arg#118
MarchosiasM wants to merge 1 commit intoRanvierMUD:masterfrom
MarchosiasM:specific_import

Conversation

@MarchosiasM
Copy link

@MarchosiasM MarchosiasM commented May 8, 2020

Imports were failing in node v12.16.3 as were the tests in this repository.

Updating NYC fixed the tests and being more specific with the require-dir require plugin addressed the imports.

Seems like the more specific imports were necessary since require.extensions seems to be deprecated in later versions of Nodejs

https://nodejs.org/api/modules.html#modules_require_extensions

@MarchosiasM MarchosiasM changed the title Update NYC, update require-dir, more specific import assertions Update NYC, update require-dir, more specific import arg May 8, 2020
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.

1 participant