Skip to content

Misc. npm and testing updates/tweaks - #109

Open
brettz9 wants to merge 1 commit into
estools:masterfrom
brettz9:npm-updates
Open

Misc. npm and testing updates/tweaks#109
brettz9 wants to merge 1 commit into
estools:masterfrom
brettz9:npm-updates

Conversation

@brettz9

@brettz9 brettz9 commented Apr 29, 2020

Copy link
Copy Markdown
  • Travis: Remove old versions; add 12, 14, 16, 17
  • npm: Add recommended bugs, keywords, dependencies and use author/contributors
  • npm: Update devDeps, and switch to Babel 7/preset-env
  • npm: Use simple run script syntax
  • npm: Drop package-lock.json in favor of npmrc for consistency with other estools projects
  • Maintenance: Add .editorconfig
  • Maintenance: Drop use of gulpfile
  • Update: Mocha API
  • Testing: Add nyc
  • Testing: Use chai/register-expect
  • Testing: Drop bundled esprima in favor of using versioned
  • Testing: Update espree API to supply sourceType/ecmaVersion
  • Testing: Enable espree for dynamic import and adjust test expectation to take into account full Program context
  • Docs: Use more modern syntax in examples

This would still need a final manual check against old versions, but should otherwise be ready for review.

@brettz9 brettz9 mentioned this pull request Apr 29, 2020
@brettz9
brettz9 force-pushed the npm-updates branch 2 times, most recently from 3d2efa9 to b1e56aa Compare April 30, 2021 01:56
@brettz9

brettz9 commented Apr 30, 2021

Copy link
Copy Markdown
Author

@michaelficarra : Would you have time for a review on this?

@sanex3339

Copy link
Copy Markdown
Contributor

HI. Can you please duplicate this PR to my fork?
https://github.com/javascript-obfuscator/estraverse

- npm: Add recommended `bugs`, `keywords`, `dependencies` and use `author`/`contributors`
- npm: Update devDeps, and switch to Babel 7/preset-env
- npm: Use simple run script syntax
- npm: Drop `package-lock.json` in favor of npmrc for consistency with other estools projects
- Maintenance: Add `.editorconfig`
- Maintenance: Drop use of gulpfile
- Update: Mocha API
- Testing: Add nyc
- Testing: Use `chai/register-expect`
- Testing: Drop bundled `esprima` in favor of using versioned
- Testing: Update espree API to supply `sourceType`/`ecmaVersion`
- Testing: Enable `espree` for dynamic import and adjust test expectation to take into account full Program context
- Docs: Use more modern syntax in examples
@brettz9

brettz9 commented Aug 15, 2026

Copy link
Copy Markdown
Author

@sanex3339 : Sorry, just noticed your request. I've made my own fork (with TypeScript support as well as updates including this PR). See https://github.com/es-joy/estraverse

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.

2 participants