Skip to content

Releases: obahareth/are-you-es5

2.1.2

13 Aug 15:39
1a67a1a
Compare
Choose a tag to compare
  • #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

30 Jul 22:31
9ec20a7
Compare
Choose a tag to compare
  • Fixes #49 - An issue with path separators on Windows when checking non-direct dependencies.

2.1.0

02 Jun 09:28
9864b2e
Compare
Choose a tag to compare
  • #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

02 Jun 09:22
ac4b3e0
Compare
Choose a tag to compare
  • Republished package using LF line endings.

2.0.1

02 Jun 09:21
Compare
Choose a tag to compare
  • #41 - Node API was calling an incorrect method.

2.0.0

19 May 05:06
0ec25c0
Compare
Choose a tag to compare
  • #34 - Refactor of codebase that allows straightforward usage as a library by the awesome @tooppaaa.

1.4.0

17 May 02:39
55d6b94
Compare
Choose a tag to compare
  • #33 - Add --silent option.

Handle namespaced dependencies

29 Oct 17:48
3222a26
Compare
Choose a tag to compare
  • Fix #20 - Handle namespaced dependencies in babel-loader exclude regex.

1.3.2

23 Aug 12:27
97ccd5f
Compare
Choose a tag to compare
  • Fix #18 - Slim down NPM package size by adding unnecessary files and folders to .npmignore.

1.3.1

11 Aug 20:08
83f7613
Compare
Choose a tag to compare
  • be32f1 - Remove unnecessary console.log leftover from 1.2