diff --git a/CHANGELOG.md b/CHANGELOG.md index 3999ece..18c0f77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.3.1 (September 2, 2020) + +### Bug fix + +* Fix default version of node passed `createBundle` function + ## 1.3.0 (September 1, 2020) ### Changes diff --git a/lib/auth0Bundler.js b/lib/auth0Bundler.js index 489ea87..bb2dce2 100644 --- a/lib/auth0Bundler.js +++ b/lib/auth0Bundler.js @@ -13,7 +13,7 @@ const dependencies = { rollup, babelTransform, BabelPluginExportToFunction, buil const nodeVersionsSupportedByAuth0 = [ 8, 12 ]; -const defaultNodeVersion = 4; +const defaultNodeVersion = nodeVersionsSupportedByAuth0[0]; module.exports = function createBundler({ nodeVersion = defaultNodeVersion } = {}) { if (!nodeVersionsSupportedByAuth0.includes(nodeVersion)) { diff --git a/package.json b/package.json index a1993fe..7b24b42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-bundler", - "version": "1.3.0", + "version": "1.3.1", "description": "Bundle rules, scripts and hooks to deploy them to Auth0.", "engines": { "node": ">=8.0.0"