Comparing version 0.5.7 to 0.5.8
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.8](https://github.com/nuxt-contrib/ipx/compare/v0.5.7...v0.5.8) (2021-02-08) | ||
### Bug Fixes | ||
* **ipx:** handle when modifiers not provided ([4efebd8](https://github.com/nuxt-contrib/ipx/commit/4efebd88963cfd054004810207874553e89e5d61)) | ||
### [0.5.7](https://github.com/nuxt-contrib/ipx/compare/v0.5.6...v0.5.7) (2021-02-08) | ||
@@ -7,0 +14,0 @@ |
@@ -251,3 +251,4 @@ #!/usr/bin/env node | ||
} | ||
const format = inputOpts.modifiers.f || inputOpts.modifiers.format; | ||
const modifiers = inputOpts.modifiers || {}; | ||
const format = modifiers.f || modifiers.format; | ||
const getSrc = cachedPromise(() => { | ||
@@ -254,0 +255,0 @@ const source2 = inputOpts.source || ufo.hasProtocol(id) ? "http" : "filesystem"; |
@@ -248,3 +248,4 @@ 'use strict'; | ||
} | ||
const format = inputOpts.modifiers.f || inputOpts.modifiers.format; | ||
const modifiers = inputOpts.modifiers || {}; | ||
const format = modifiers.f || modifiers.format; | ||
const getSrc = cachedPromise(() => { | ||
@@ -251,0 +252,0 @@ const source2 = inputOpts.source || ufo.hasProtocol(id) ? "http" : "filesystem"; |
{ | ||
"name": "ipx", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"repository": "nuxt-contrib/ipx", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"prepublishOnly": "yarn build", | ||
"release": "standard-version && git push --follow-tags && npm publish", | ||
"release": "yarn test && standard-version && git push --follow-tags && npm publish", | ||
"start": "node bin/ipx.js", | ||
@@ -21,0 +21,0 @@ "test": "yarn lint && jest" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41097
1059