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

statware

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

statware - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

package.json
{
"name": "statware",
"description": "Node.js process/system/custom metrics aggregation suite with middle-ware like abilities.",
"version": "1.0.1",
"version": "1.1.0",
"author": "Bryce B. Baril <bryce@ravenwall.com>",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -142,3 +142,3 @@ statware

Create a toplevel namespace inside the statInstance that behaves almost identically to `statwareInstance` except it cannot `registerHelpers` or define deeper namespaces.
Create a toplevel namespace inside the statInstance that behaves almost identically to `statwareInstance` except it cannot deeper namespaces.

@@ -145,0 +145,0 @@ `stawareInstance.installProcessInfo()`

@@ -121,8 +121,11 @@ "use strict";

}})
Object.defineProperty(space, "registerHelper", {value: function (fn) {
parent.registerHelper(function (status, next) {
var ns = status[name]
fn(ns, next)
})
}})
Object.defineProperty(space, "namespace", {value: function () {
throw new Error("This is already a namespace. Nested namespaces not supported.")
}})
Object.defineProperty(space, "registerHelper", {value: function () {
throw new Error("This is a namespace, install helpers on the parent instance.")
}})

@@ -129,0 +132,0 @@ this._stats[name] = space

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