Comparing version 0.3.0 to 0.3.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.3.1](https://github.com/jsless/ipx/compare/ipx@0.3.0...ipx@0.3.1) (2019-01-27) | ||
**Note:** Version bump only for package ipx | ||
# 0.3.0 (2018-12-17) | ||
@@ -8,0 +16,0 @@ |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var Consola = _interopDefault(require('consola')); | ||
var consola = _interopDefault(require('consola')); | ||
var isValidPath = _interopDefault(require('is-valid-path')); | ||
@@ -112,3 +112,3 @@ var path = require('path'); | ||
var VSize = VMax(MAX_SIZE); | ||
var consola = Consola.withTag('ipx'); | ||
var consola$1 = consola.withTag('ipx'); | ||
@@ -163,2 +163,3 @@ var OPERATIONS = { | ||
return { | ||
port: env('IPX_PORT', env('PORT', 3000)), | ||
input: { | ||
@@ -267,3 +268,5 @@ adapter: env('IPX_INPUT_ADAPTER', 'fs'), | ||
this.ipx = ipx; | ||
this.options = ipx.options; | ||
this.init(); | ||
} | ||
@@ -358,3 +361,2 @@ | ||
if (!$await_6) { | ||
consola.debug('[MISS] ' + key); | ||
return $return(null); | ||
@@ -463,5 +465,5 @@ } | ||
this.cacheCleanCron = new cron.CronJob(this.options.cache.cleanCron, function () { | ||
return _this.cleanCache().catch(consola.error); | ||
return _this.cleanCache().catch(consola$1.error); | ||
}); | ||
consola.info('Starting cache clean cron ' + this.options.cache.cleanCron); | ||
consola$1.info('Starting cache clean cron ' + this.options.cache.cleanCron); | ||
this.cacheCleanCron.start(); | ||
@@ -629,3 +631,3 @@ } | ||
try { | ||
consola.error(e); | ||
consola$1.error(e); | ||
return $Try_1_Post(); | ||
@@ -632,0 +634,0 @@ } catch ($boundEx) { |
@@ -1,2 +0,2 @@ | ||
import Consola from 'consola'; | ||
import consola from 'consola'; | ||
import isValidPath from 'is-valid-path'; | ||
@@ -105,3 +105,3 @@ import { resolve, relative, dirname, extname } from 'path'; | ||
var VSize = VMax(MAX_SIZE); | ||
var consola = Consola.withTag('ipx'); | ||
var consola$1 = consola.withTag('ipx'); | ||
@@ -156,2 +156,3 @@ var OPERATIONS = { | ||
return { | ||
port: env('IPX_PORT', env('PORT', 3000)), | ||
input: { | ||
@@ -260,3 +261,5 @@ adapter: env('IPX_INPUT_ADAPTER', 'fs'), | ||
this.ipx = ipx; | ||
this.options = ipx.options; | ||
this.init(); | ||
} | ||
@@ -351,3 +354,2 @@ | ||
if (!$await_6) { | ||
consola.debug('[MISS] ' + key); | ||
return $return(null); | ||
@@ -456,5 +458,5 @@ } | ||
this.cacheCleanCron = new CronJob(this.options.cache.cleanCron, function () { | ||
return _this.cleanCache().catch(consola.error); | ||
return _this.cleanCache().catch(consola$1.error); | ||
}); | ||
consola.info('Starting cache clean cron ' + this.options.cache.cleanCron); | ||
consola$1.info('Starting cache clean cron ' + this.options.cache.cleanCron); | ||
this.cacheCleanCron.start(); | ||
@@ -622,3 +624,3 @@ } | ||
try { | ||
consola.error(e); | ||
consola$1.error(e); | ||
return $Try_1_Post(); | ||
@@ -625,0 +627,0 @@ } catch ($boundEx) { |
{ | ||
"name": "ipx", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "contributors": [ | ||
"connect": "^3.6.6", | ||
"consola": "^2.3.0", | ||
"consola": "^2.3.2", | ||
"cron": "^1.3.0", | ||
@@ -30,5 +30,5 @@ "etag": "^1.8.1", | ||
"recursive-readdir": "^2.2.2", | ||
"sharp": "^0.21.1" | ||
"sharp": "^0.21.3" | ||
}, | ||
"gitHead": "50a807472dcdd6d6c787700ef9f51f27dfa407d9" | ||
"gitHead": "8c5b9447bd7532dc23f72b0ad8308a5de44a907c" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1309
0
44074
5
Updatedconsola@^2.3.2
Updatedsharp@^0.21.3