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

node-pledge

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-pledge - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

pledge_10x.cc

2

package.json
{
"name": "node-pledge",
"version": "1.0.2",
"version": "1.0.3",
"description": "OpenBSD's pledge(2) extension for node.js",

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

@@ -8,10 +8,16 @@ node-pledge

`pledge(2)` allows process to ratchet down the privlidges it requires to run, if it attempts to access
a privlidge it has pledged to not use, it will be killed by the kernel.
`pledge(2)` allows a process to ratchet down the privileges it requires to run, if it attempts to access
a privilege it has pledged to not use, it will be killed by the kernel.
# Example Usage
Install via npm:
```
npm install --save node-pledge
```
```JavaScript
var http = require('http');
var pledge = require('pledge');
var pledge = require('node-pledge');

@@ -18,0 +24,0 @@ pledge.init("stdio rpath wpath ioctl");

Sorry, the diff of this file is not supported yet

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