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

haraka-constants

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-constants - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

index.js
'use strict';
var translationTable = {};
// node.js class
const node_const = require('constants');
let translationTable = {};
exports.cont = 900;

@@ -15,2 +18,3 @@ exports.stop = 901;

exports.denysoftdisconnect = 909;
exports.write_excl = node_const.O_CREAT | node_const.O_TRUNC | node_const.O_WRONLY | node_const.O_EXCL;

@@ -42,2 +46,2 @@ exports.import = function (object) {

exports.import(exports);
exports.import(exports);

@@ -6,3 +6,3 @@ {

"description": "Haraka constants",
"version": "1.0.3",
"version": "1.0.4",
"homepage": "http://haraka.github.io",

@@ -15,3 +15,3 @@ "repository": {

"engines": {
"node": ">= 4"
"node": ">= 6"
},

@@ -18,0 +18,0 @@ "dependencies": {},

var constants = require('../index');
const node_const = require('constants');
let constants = require('../index');
let write_excl_val = node_const.O_CREAT | node_const.O_TRUNC | node_const.O_WRONLY | node_const.O_EXCL;
exports.constants = {

@@ -29,2 +32,7 @@ 'cont' : function (test) {

test.done();
},
'WRITE_EXCL' : function (test) {
test.expect(1);
test.equal(constants.WRITE_EXCL, write_excl_val);
test.done();
}

@@ -54,3 +62,4 @@ }

DELAY: 908,
DENYSOFTDISCONNECT: 909
DENYSOFTDISCONNECT: 909,
WRITE_EXCL: write_excl_val
}

@@ -74,2 +83,2 @@ );

},
};
};

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