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

seneca

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seneca - npm Package Compare versions

Comparing version 3.20.5 to 3.20.6

5

CHANGES.md

@@ -0,1 +1,6 @@

## 3.20.6 2020-05-14
* Fixes regression with `seneca.depends`: https://github.com/senecajs/seneca/issues/792
## 3.20.5 2020-05-11

@@ -2,0 +7,0 @@

2

lib/actions.js

@@ -68,3 +68,3 @@ /* Copyright © 2014-2020 Richard Rodger and other contributors, MIT License. */

} else {
Object.values(private$.stats.actmap, (p) => {
Object.keys(private$.stats.actmap).forEach((p) => {
private$.stats.actmap[p].time = private$.timestats.calculate(p)

@@ -71,0 +71,0 @@ })

@@ -104,3 +104,3 @@ /* Copyright © 2019 Richard Rodger and other contributors, MIT License. */

if (action && actdef && 'function' === typeof action.handle) {
if ('function' === typeof action.handle) {
actdef.handle = action.handle

@@ -107,0 +107,0 @@ }

@@ -65,3 +65,3 @@ /* Copyright © 2010-2018 Richard Rodger and other contributors, MIT License. */

// self.log may not exist yet as .options() used during construction
if (null != options && self.log) {
if (self.log) {
self.log.debug({

@@ -86,3 +86,3 @@ kind: 'options',

// Update logging configuration
if (null != options && options.log) {
if (options.log) {
var logspec = private$.logging.build_log(self)

@@ -115,3 +115,3 @@ out_opts = private$.exports.options = private$.optioner.set({

if (null == done && false !== done) {
if (false !== done && null == done) {
return Common.promiser(intern.close.bind(seneca, callpoint))

@@ -301,3 +301,3 @@ }

var deps = args.deps || args.moredeps
var deps = args.deps || args.moredeps || []

@@ -304,0 +304,0 @@ for (var i = 0; i < deps.length; i++) {

@@ -187,3 +187,3 @@ /* Copyright © 2016-2019 Richard Rodger and other contributors, MIT License. */

if ('string' === typeof orig_logspec) {
let level_value = NaN
let level_value = null
let found_logger = null

@@ -190,0 +190,0 @@

@@ -70,2 +70,3 @@ /* Copyright © 2014-2018 Richard Rodger and other contributors, MIT License. */

// TODO: need to provide guarantees for inputs to avoid superfluous null checks
if (meta && null == meta.prior) {

@@ -80,3 +81,3 @@ private$.timestats.point(ctxt.duration, ctxt.actdef.pattern)

if (meta.error) {
if (meta && meta.error) {
++stats.fails

@@ -104,3 +105,2 @@ ++actstats.fails

'object' === typeof res ||
Array.isArray(res) ||
res instanceof Error ||

@@ -107,0 +107,0 @@ !!res.meta$ ||

{
"name": "seneca",
"description": "A Microservices Framework for Node.js",
"version": "3.20.5",
"version": "3.20.6",
"license": "MIT",

@@ -97,3 +97,3 @@ "homepage": "http://senecajs.org",

"optioner": "^5.0.1",
"ordu": "^0.2.0",
"ordu": "^1.3.0",
"patrun": "^3.0.0",

@@ -119,4 +119,4 @@ "qs": "^6.9.4",

"seneca-joi": "^7.0.2",
"seneca-promisify": "^1.2.0"
"seneca-promisify": "^1.3.0"
}
}
![Logo][]
> A Node.js toolkit for Microservice architectures
| ![Voxgig](https://www.voxgig.com/res/img/vgt01r.png) | This open source module is sponsored and supported by [Voxgig](https://www.voxgig.com). |
|---|---|
# seneca

@@ -9,2 +14,4 @@ [![Npm][BadgeNpm]][Npm]

[![Coveralls][BadgeCoveralls]][Coveralls]
[![DeepScan][BadgeDeepScan]][DeepScan]
[![CodeClimate][BadgeCodeClimate]][CodeClimate]
[![Gitter][BadgeGitter]][Gitter]

@@ -393,2 +400,4 @@

[BadgeCoveralls]: https://coveralls.io/repos/senecajs/seneca/badge.svg?branch=master&service=github
[BadgeDeepScan]: https://deepscan.io/api/teams/5016/projects/6816/branches/59148/badge/grade.svg
[BadgeCodeClimate]: https://api.codeclimate.com/v1/badges/3a95be9ab6432c620bea/maintainability
[BadgeNpm]: https://badge.fury.io/js/seneca.svg

@@ -401,2 +410,4 @@ [BadgeGitter]: https://badges.gitter.im/senecajs/seneca.svg

[Coveralls]: https://coveralls.io/github/senecajs/seneca?branch=master
[DeepScan]: https://deepscan.io/dashboard#view=project&tid=5016&pid=6816&bid=59148
[CodeClimate]: https://codeclimate.com/github/senecajs/seneca/maintainability
[Gitter]: https://gitter.im/senecajs/seneca

@@ -414,4 +425,2 @@ [Issue]: https://github.com/senecajs/seneca/issues/new

[Jsonic]: https//github.com/rjrodger/jsonic

@@ -422,1 +431,2 @@ [Lightning]: http://aws.amazon.com/message/67457/

@@ -15,3 +15,3 @@ /* Copyright © 2010-2020 Richard Rodger and other contributors, MIT License. */

const Stats = require('rolling-stats')
const Ordu = require('ordu')
const LegacyOrdu = require('ordu').LegacyOrdu
const Eraro = require('eraro')

@@ -624,3 +624,3 @@ const Optioner = require('optioner')

private$.inward = Ordu({ name: 'inward' })
private$.inward = LegacyOrdu({ name: 'inward' })
.add(Inward.msg_modify)

@@ -640,3 +640,3 @@ .add(Inward.closed)

private$.outward = Ordu({ name: 'outward' })
private$.outward = LegacyOrdu({ name: 'outward' })
.add(Outward.make_error)

@@ -643,0 +643,0 @@ .add(Outward.act_stats)

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