-
Notifications
You must be signed in to change notification settings - Fork 98
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
Major update proposal #20
Comments
Also node versions prior to I think we should certainly start modernizing this code! |
I hope to do this soon, but carefully to avoid breaking any users that may be using some of the older Node.js versions. We need to increase the major package version number whenever we drop one or more Node.js versions according to I do think you are right that not many app developers would be using Node.js pre-6.0 and version |
Also since nodeunit seems deprecated (https://www.npmjs.com/package/nodeunit#deprecated-project) and from my perspective the current tests are a mess. E.g. adding my test for (#24) was frustrating since there was no nice way to see the actual differences of expected and actual for long strings. Therefore I would recommend to update to a more mature testing framework. I personally would prefer jest (https://jestjs.io/). Furthermore tools like prettier and eslint could improve the overall code quality/consistency. I have set those up for multiple projects and could do so for this one too! |
Agreed; I would rather discuss this in a separate issue. I think it would make sense but not be absolutely necessary to do this after we drop deprecated Node.js version. |
Could we possibly either convert this to TypeScript or start shipping TypeScript Definitions? This would be super straightforward with the move to ES6 classes #38, as it would be nearly self-documenting! |
We are converting https://github.com/react-native-community/cli to TypeScript and it would be awesome if this package had some kind of TS types: shipped with the package or hosted in DefinitelyTyped repository. |
We would need to increase the major version number to avoid breaking dependents that may need to support the older Node.js versions.
I would like to do the following before starting the major update:
cleanup major issues found by eslintother possible cleanup that may be triggered by changes to resolve eslint issuesoptional: it would also be ideal if we could port to a more currently maintained testing framework as wellThe text was updated successfully, but these errors were encountered: