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

haraka-plugin-p0f

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-p0f - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

.github/workflows/ci-test-win.yml

5

Changes.md
## 1.0.5 - 2020-12-30
- es6: use object shorthand
- update dep ipaddr.js version
## 1.0.4 - 2019-12-23

@@ -3,0 +8,0 @@

6

index.js

@@ -147,6 +147,6 @@ 'use strict';

if (!this.ready) {
this.send_queue.push({ip: ip, cb: cb, buf: buf});
this.send_queue.push({ip, cb, buf});
}
else {
this.receive_queue.push({ip: ip, cb: cb});
this.receive_queue.push({ip, cb});
if (!this.sock.write(buf)) this.ready = false;

@@ -192,3 +192,3 @@ }

plugin.load_p0f_ini();
});
})
}

@@ -195,0 +195,0 @@

{
"name": "haraka-plugin-p0f",
"version": "1.0.4",
"version": "1.0.5",
"description": "Haraka plugin that adds TCP fingerprinting",
"main": "index.js",
"scripts": {
"cover": "NODE_ENV=cov npx nyc --reporter=lcovonly npm run test",
"lint": "npx eslint *.js test/*.js",

@@ -27,3 +28,3 @@ "lintfix": "npx eslint --fix *.js test/*.js",

"devDependencies": {
"eslint": ">=4",
"eslint": ">=6",
"eslint-plugin-haraka": "*",

@@ -34,4 +35,4 @@ "haraka-test-fixtures": "*",

"dependencies": {
"ipaddr.js": "^1.4.0"
"ipaddr.js": "^2.0.0"
}
}
[![Build Status][ci-img]][ci-url]
[![Code Climate][clim-img]][clim-url]
[![Greenkeeper badge][gk-img]][gk-url]
[![Windows Build Status][ci-win-img]][ci-win-url]

@@ -64,6 +63,6 @@ [![NPM][npm-img]][npm-url]

<!-- leave these buried at the bottom of the document -->
[ci-img]: https://travis-ci.org/haraka/haraka-plugin-p0f.svg
[ci-url]: https://travis-ci.org/haraka/haraka-plugin-p0f
[ci-win-img]: https://ci.appveyor.com/api/projects/status/eh4or0tpwldv2fx7?svg=true
[ci-win-url]: https://ci.appveyor.com/project/msimerson/haraka-plugin-p0f
[ci-img]: https://github.com/haraka/haraka-plugin-p0f/workflows/Tests/badge.svg
[ci-url]: https://github.com/haraka/haraka-plugin-p0f/actions?query=workflow%3ATests
[ci-win-img]: https://github.com/haraka/haraka-plugin-p0f/workflows/Tests%20-%20Windows/badge.svg
[ci-win-url]: https://github.com/haraka/haraka-plugin-p0f/actions?query=workflow%3A%22Tests+-+Windows%22
[cov-img]: https://codecov.io/github/haraka/haraka-plugin-p0f/coverage.svg

@@ -73,5 +72,3 @@ [cov-url]: https://codecov.io/github/haraka/haraka-plugin-p0f

[clim-url]: https://codeclimate.com/github/haraka/haraka-plugin-p0f
[gk-img]: https://badges.greenkeeper.io/haraka/haraka-plugin-p0f.svg
[gk-url]: https://greenkeeper.io/
[npm-img]: https://nodei.co/npm/haraka-plugin-p0f.png
[npm-url]: https://www.npmjs.com/package/haraka-plugin-p0f

@@ -43,3 +43,3 @@

this.plugin.load_p0f_ini()
this.plugin.cfg.main.add_header = true
this.plugin.cfg.main.add_header = 'X-p0f-Result'
this.connection = new fixtures.connection.createConnection()

@@ -46,0 +46,0 @@ this.connection.transaction = new fixtures.transaction.createTransaction()

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