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

code-coverage

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-coverage - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

17

index.js
const APP_LISTENING_PORT = '8087';
const JSON_MEDIA_TYPE = {'Content-Type':'application/json'};
const REPORTS_PATH = "./coverage_reports"
const REPORTS_PATH = "reports"
const HTTP_STATUS_CODE = {

@@ -39,3 +39,3 @@ SUCCESS: {

require('mailer_credentials.js');
const MailerCredentials = require('./mailer_credentials.js');
const express = require('express');

@@ -253,4 +253,4 @@ const request = require('request');

auth: {
user: EMAIL_USER,
pass: EMAIL_PASS
user: MailerCredentials.EMAIL_USER,
pass: MailerCredentials.EMAIL_PASS
}

@@ -293,10 +293,3 @@ });

try {
console.log(req.connection.remoteAddress);
var options = {
host: "127.0.0.1", //req.header('x-forwarded-for') || req.connection.remoteAddress,
port: 9222 //request.connection.remotePort,
};
CDP((options, client) => {
console.log(client);
CDP((client) => {
const {Network, Page, Profiler} = client;

@@ -303,0 +296,0 @@

{
"name": "code-coverage",
"version": "0.0.1",
"version": "0.0.2",
"description": "Find unused CSS and JS code. When you load or run a page, the app tells you how much code was used, versus how much was loaded. You can reduce the size of your pages by only shipping the code that you need",

@@ -5,0 +5,0 @@ "main": "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