Comparing version 2.0.0 to 3.0.0
16
app.js
@@ -6,6 +6,7 @@ /* @author Jim Manton: jrman@risebroadband.net | ||
var colors = require('colors') | ||
var all = require('./lib/appenders/all') | ||
var top_one = require('./lib/appenders/top_one') | ||
var bottom_one = require('./lib/appenders/bottom_one') | ||
var colors = require('colors'), | ||
all = require('./lib/appenders/all'), | ||
func_all = require('./lib/appenders/func_all'), | ||
top_one = require('./lib/appenders/top_one'), | ||
bottom_one = require('./lib/appenders/bottom_one') | ||
@@ -26,2 +27,3 @@ class QueueObj { | ||
t.bottom_one = null | ||
t.func_all = null | ||
t.objs = [] | ||
@@ -62,2 +64,5 @@ t.resolve = null | ||
break | ||
case 'func_all': | ||
t.func_all = new func_all(props) | ||
break | ||
default: | ||
@@ -79,2 +84,3 @@ throw new Error(`appender(${props.appender}) not found`) | ||
t.objs.push(obj) | ||
return t | ||
@@ -102,2 +108,4 @@ } catch (e) { | ||
return t.bottom_one.process(t.props) | ||
case 'func_all': | ||
return t.func_all.process(t.props) | ||
default: | ||
@@ -104,0 +112,0 @@ throw new Error(`nothing to process`) |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports = module.exports = class all extends base{ | ||
exports = module.exports = class bottom_one extends base{ | ||
constructor(props) { | ||
@@ -14,0 +14,0 @@ super(props) |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports = module.exports = class all extends base{ | ||
exports = module.exports = class top_one extends base{ | ||
constructor(props) { | ||
@@ -14,0 +14,0 @@ super(props) |
@@ -5,3 +5,3 @@ { | ||
}, | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"bundleDependencies": false, | ||
@@ -8,0 +8,0 @@ "dependencies": { |
@@ -26,2 +26,3 @@ # QueueObj | ||
node test_bottom_one | ||
node test_func_all | ||
@@ -28,0 +29,0 @@ ``` |
@@ -9,3 +9,3 @@ const assert = require('assert'), | ||
}, | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"bundleDependencies": false, | ||
@@ -12,0 +12,0 @@ "dependencies": { |
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
14784
15
443
32
0