Skip to content

Conversation

@Spinlogic
Copy link

Current version is using obsolete modules as dependencies. Some of these, like axios v0.21.1 are marked as unsafe.

This commit:

  • upgrades all dependencies to their latest versions.
  • Some test cases needed modifications to work correctly with the updated modules.
  • "tsconfig.json" is also modified to target ES2022 and set the module version to "nodenext".
  • "type": "module" added to package.json.
  • jest.config.js renamed to use extension ".cjs" to avoid a test execution error.
  • Compilation of test files during build added to "tsconfig.json"

Current version is using obsolete modules as dependencies. Some of these, like axios v0.21.1 are marked as insecure.

This commit upgrades all dependencies to their latest versions.
Some test cases needed modifications to work correctly with the updated modules.
"tsconfig.json" is also modified to target ES2022 and set the module version to "nodenext".
"type": "module" added to package.json and jest.config.js renamed to use extension ".cjs" , so everything runs smooth.
@cainlevy
Copy link
Member

Hi @Spinlogic, thanks for working on these dependencies.

I realize this is still a draft, but if you would like to switch to yarn would you please open an issue or separate PR to discuss?

@Spinlogic
Copy link
Author

Hello,

I use yarn, but switching to yarn was not my intention. Should I remove that part or can it be overriden on your side?

/ Juan

@cainlevy
Copy link
Member

I understand! It should be fine if you simply remove those parts from the PR.

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.

3 participants