New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-onion-plugin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-onion-plugin - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

OnionPlugin.js

@@ -42,3 +42,4 @@ const Logger = require('cpclog');

async callPluginFn() {
async callPluginMethod(method, ctx) {
await this.pluginFns[method](ctx);
}

@@ -45,0 +46,0 @@

{
"name": "node-onion-plugin",
"version": "0.1.1",
"version": "0.1.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "OnionPlugin.js",

@@ -17,7 +17,8 @@ #!/usr/bin/env node

setInterval(() => {
setInterval(async () => {
let ctx = {req: 'TheRequest'};
onionPlugin.pluginFns.msgIn(ctx);
//onionPlugin.pluginFns.msgIn(ctx);
await onionPlugin.callPluginMethod('msgIn', ctx);
}, 2000);
// vim:set tw=0:
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