Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

queueobj

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queueobj - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

lib/appenders/func_all.js

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": {

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