Socket
Socket
Sign inDemoInstall

abstract-confine-runtime

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

abstract-confine-runtime - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

5

index.js

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

module.exports = class AbstractConfineRuntime {
const EventEmitter = require('events')
module.exports = class AbstractConfineRuntime extends EventEmitter {
constructor (opts = {}) {
super()
this.source = opts.source

@@ -4,0 +7,0 @@ this.ipc = opts.ipc

2

package.json
{
"name": "abstract-confine-runtime",
"version": "0.1.0",
"version": "0.2.0",
"description": "The base class for confine runtimes. ",

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

@@ -23,2 +23,7 @@ # Abstract Confine Runtime

// do any init that's needed prior to syscalls are restricted
// be sure to emit a 'closed' event if possible
this.myCustomProcess.on('closed', () => {
this.emit('closed', exitCode) // include unix-style exit code as first param
})
}

@@ -25,0 +30,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