Socket
Socket
Sign inDemoInstall

ipx

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipx - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

CHANGELOG.md

@@ -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 @@

14

dist/ipx.cjs.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc