Releases: obahareth/are-you-es5
Releases · obahareth/are-you-es5
2.1.2
2.1.1
2.1.0
- #40 - Return a non-zero exit code when ES6+ packages are detected.
- #39 - Typeify
ModulesChecker
'scheckModules
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
2.0.1
2.0.0
1.4.0
Handle namespaced dependencies
- Fix #20 - Handle namespaced dependencies in babel-loader
exclude
regex.