Socket
Socket
Sign inDemoInstall

karma

Package Overview
Dependencies
Maintainers
5
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma - npm Package Compare versions

Comparing version 6.3.19 to 6.3.20

lib/utils/dns-utils.js

6

lib/middleware/proxy.js

@@ -6,2 +6,3 @@ const url = require('url')

const _ = require('lodash')
const { lookup } = require('../utils/dns-utils')

@@ -45,3 +46,6 @@ const log = require('../logger').create('proxy')

const Agent = protocol === 'https:' ? httpsAgent : httpAgent
const agent = new Agent({ keepAlive: true })
const agent = new Agent({
keepAlive: true,
lookup
})
const proxy = httpProxy.createProxyServer({

@@ -48,0 +52,0 @@ target: { host: hostname, port, protocol },

4

lib/runner.js

@@ -10,2 +10,3 @@ 'use strict'

const logger = require('./logger')
const { lookup } = require('./utils/dns-utils')
const log = logger.create('runner')

@@ -78,3 +79,4 @@

'Content-Type': 'application/json'
}
},
lookup
}

@@ -81,0 +83,0 @@

@@ -5,2 +5,3 @@ const http = require('http')

const helper = require('./helper')
const { lookup } = require('./utils/dns-utils')

@@ -46,3 +47,4 @@ exports.stop = function (cliOptionsOrConfig, done) {

port: config.port,
method: 'GET'
method: 'GET',
lookup
})

@@ -49,0 +51,0 @@

@@ -32,4 +32,4 @@ {

"Karma Bot <karmarunnerbot@gmail.com>",
"semantic-release-bot <semantic-release-bot@martynus.net>",
"Maksim Ryzhikov <rv.maksim@gmail.com>",
"semantic-release-bot <semantic-release-bot@martynus.net>",
"ukasz Usarz <lukasz.usarz@gmail.com>",

@@ -503,3 +503,3 @@ "Christian Budde Christensen <budde377@gmail.com>",

},
"version": "6.3.19",
"version": "6.3.20",
"license": "MIT",

@@ -506,0 +506,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

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