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

bttostatsv

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bttostatsv - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

README.md

4

lib/pickMetrics.js

@@ -18,3 +18,3 @@ 'use strict';

*/
get: function( browsertimeJSON, namespace ) {
get: function ( browsertimeJSON, namespace ) {
const myMetrics = [];

@@ -30,2 +30,4 @@ const types = [ 'min', 'median', 'mdev' ];

'visualMetrics.PerceptualSpeedIndex',
'visualMetrics.LargestImage',
'visualMetrics.Logo',
'cpu.categories.Rendering',

@@ -32,0 +34,0 @@ 'cpu.categories.Scripting',

@@ -14,3 +14,3 @@ /**

function sendMetrics( url ) {
request( url, function( error, response, body ) {
request( url, function ( error, response, body ) {
if ( !error ) {

@@ -30,3 +30,3 @@ console.log( 'Succesfully sent metrics' );

*/
send: function( metrics, endpoint ) {
send: function ( metrics, endpoint ) {
let url = `${endpoint}?`;

@@ -33,0 +33,0 @@ let newUrl;

{
"name": "bttostatsv",
"version": "0.0.5",
"version": "0.0.6",
"bin": "./bin/index.js",

@@ -11,7 +11,7 @@ "description": "Send Browsertime metrics to statsv",

],
"homepage": "https://github.com/soulgalore/bttostatsv",
"homepage": "https://github.com/wikimedia/performance-bttostatsv",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git@github.com:soulgalore/bttostatsv.git"
"url": "git@github.com:wikimedia/performance-bttostatsv.git"
},

@@ -23,3 +23,5 @@ "files": [

"scripts": {
"test": "eslint . && ava"
"test": "eslint . && ava",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},

@@ -31,4 +33,4 @@ "engines": {

"ava": "0.22.0",
"eslint": "^3.19.0",
"eslint-config-wikimedia": "^0.3.0"
"eslint": "^4.9.0",
"eslint-config-wikimedia": "^0.5.0"
},

@@ -35,0 +37,0 @@ "main": "./bin/index.js",

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