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

Migrate from CommonJS to ESM #87

Closed
wants to merge 3 commits into from
Closed

Conversation

Matte22
Copy link
Collaborator

@Matte22 Matte22 commented Jan 31, 2024

resolves: #85

The following PR will migrate Stigman-Watcher to use ESM style modules.

Other than the syntactical changes to migrate to ESM, the only logic that needed to be refactored is in args.js to:

  1. Obtain the watcher version number from package,json
  2. Logic behind exiting the application when validating the client secret or key.

@Matte22 Matte22 closed this Feb 1, 2024
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.

Use EcmaScript style imports rather than CommonJS "require" statements
1 participant