@nuxtjs/redirect-module
Advanced tools
Comparing version
@@ -1,10 +0,26 @@ | ||
# Change Log | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
### [0.3.1](https://github.com/nuxt-community/redirect-module/compare/v0.3.0...v0.3.1) (2019-08-27) | ||
### Bug Fixes | ||
* crash on init with inline-style options ([#55](https://github.com/nuxt-community/redirect-module/issues/55)) ([a28e683](https://github.com/nuxt-community/redirect-module/commit/a28e683)) | ||
<a name="0.3.0"></a> | ||
# [0.3.0](https://github.com/nuxt-community/redirect-module/compare/v0.2.1...v0.3.0) (2019-08-26) | ||
### Bug Fixes | ||
* handling some unhandled error cases ([#52](https://github.com/nuxt-community/redirect-module/issues/52)) ([6ab0a2b](https://github.com/nuxt-community/redirect-module/commit/6ab0a2b)) | ||
### Features | ||
* add option to set default statusCode ([#46](https://github.com/nuxt-community/redirect-module/issues/46)) ([6536afc](https://github.com/nuxt-community/redirect-module/commit/6536afc)) | ||
* **module:** add option `onDecode` and `onDecodeError` ([#35](https://github.com/nuxt-community/redirect-module/issues/35)) ([4000dc7](https://github.com/nuxt-community/redirect-module/commit/4000dc7)) | ||
<a name="0.2.0"></a> | ||
@@ -11,0 +27,0 @@ # [0.2.0](https://github.com/nuxt-community/redirect-module/compare/v0.1.0...v0.2.0) (2018-11-24) |
@@ -21,3 +21,3 @@ async function redirectModule (moduleOptions) { | ||
async function parseOptions (options) { | ||
async function parseOptions (options = {}) { | ||
if (typeof options === 'function') { | ||
@@ -24,0 +24,0 @@ options = await options() |
{ | ||
"name": "@nuxtjs/redirect-module", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Nuxt module to dynamically redirect initial requests", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
11198
8.91%