Are You Es5 Versions Save

A package to help you find out which of your node_modules aren't ES5 so you can add them to your Webpack/Rollup/Parcel transpilation steps.

2.1.2

2 years ago
  • #56 - Update exclude regex with parentheses for newer versions of webpack
  • #65 - Fix cases where package.json doesn't have a dependencies property
  • Numerous bugfix-only security updates to packages, recommended by dependabot

2.1.1

3 years ago
  • Fixes #49 - An issue with path separators on Windows when checking non-direct dependencies.

2.1.0

3 years ago
  • #40 - Return a non-zero exit code when ES6+ packages are detected.
  • #39 - Typeify ModulesChecker's checkModules return value.

If you were using this package as a library and not just the CLI: This typeificaiton also changed the return value to match what was on the README when 2.0.0 was originally released, e.g. you should now use it as so:

const result = checkModules({
  path: '', // Automatically find up package.json from cwd
  checkAllNodeModules: true,
  ignoreBabelAndWebpackPackages: true
})

/** Returns the regexp including all es6 modules */
const es6IncludeRegExp = buildIncludeRegexp(result.es6Modules)

/** Returns the regexp excluding all es6 modules */
const es6ExcludeRegexp = buildExcludeRegexp(result.es6Modules)

result is now an object that contains 3 arrays, ignored, es5Modules, and es6Modules.

2.0.2

3 years ago
  • Republished package using LF line endings.

2.0.1

3 years ago
  • #41 - Node API was calling an incorrect method.

2.0.0

3 years ago
  • #34 - Refactor of codebase that allows straightforward usage as a library by the awesome @tooppaaa.

1.4.0

3 years ago
  • #33 - Add --silent option.

1.3.3

4 years ago
  • Fix #20 - Handle namespaced dependencies in babel-loader exclude regex.

1.3.2

4 years ago
  • Fix #18 - Slim down NPM package size by adding unnecessary files and folders to .npmignore.

1.3.1

4 years ago
  • be32f1 - Remove unnecessary console.log leftover from 1.2