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

pagexray

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pagexray - npm Package Compare versions

Comparing version 0.14.1 to 0.14.2

5

CHANGELOG.md
# CHANGELOG - PageXray
version 0.14.2 2017-05-16
------------------------
### Fixed
* Calculating timing for an assets included both SSL and Connect time, that is wrong since connect time includes SSL time.
version 0.14.1 2016-12-05

@@ -4,0 +9,0 @@ ------------------------

6

lib/collect.js

@@ -5,2 +5,3 @@ 'use strict';

const headers = require('./headers');
const isEmpty = require('lodash.isempty');

@@ -24,3 +25,3 @@ function getTiming(entry, field) {

const timing = getTiming(entry, 'blocked') + getTiming(entry, 'dns') +
getTiming(entry, 'connect') + getTiming(entry, 'ssl') +
getTiming(entry, 'connect') +
getTiming(entry, 'send') + getTiming(entry, 'wait') +

@@ -107,4 +108,3 @@ getTiming(entry, 'receive');

contentType: (asset, myPage) => {
if (Object.keys(myPage.contentTypes).length === 0 &&
myPage.contentTypes.constructor === Object) {
if (isEmpty(myPage.contentTypes)) {
// we have a couple of default content types that we always reports

@@ -111,0 +111,0 @@ // if we find others, just add them

{
"name": "pagexray",
"version": "0.14.1",
"version": "0.14.2",
"description": "Xray your HAR file and know all about the page",

@@ -59,4 +59,5 @@ "keywords": [

"fast-stats": "0.0.3",
"lodash.isempty": "^4.4.0",
"minimist": "1.2.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