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

@bbc/http-transport-statsd

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/http-transport-statsd - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

package.json
{
"name": "@bbc/http-transport-statsd",
"version": "2.0.1",
"version": "2.0.2",
"description": "Provides stats for statsD ",

@@ -33,3 +33,3 @@ "main": "index.js",

"devDependencies": {
"@bbc/http-transport": "^3.0.0",
"@bbc/http-transport": "^3.4.2",
"chai": "^4.1.2",

@@ -40,5 +40,5 @@ "eslint": "^4.11.0",

"lodash": "^4.17.4",
"mocha": "^2.1.0",
"mocha": "^5.2.0",
"nock": "^9.0.14",
"sinon": "^3.2.1"
"sinon": "^7.2.3"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

@@ -0,1 +1,8 @@

[![NPM downloads](https://img.shields.io/npm/dm/@bbc/http-transport-statsd.svg?style=flat)](https://npmjs.org/package/@bbc/http-transport-rate-limiter)
![npm](https://img.shields.io/npm/v/@bbc/http-transport-statsd.svg)
![license](https://img.shields.io/badge/license-MIT-blue.svg)
![github-issues](https://img.shields.io/github/issues/bbc/http-transport-statsd.svg)
![stars](https://img.shields.io/github/stars/bbc/http-transport-statsd.svg)
![forks](https://img.shields.io/github/forks/bbc/http-transport-statsd.svg)
# http-transport-statsd

@@ -32,9 +39,7 @@

HttpTransport.createClient()
const body = await HttpTransport.createClient()
.use(sendStats(statsd)) // send stats for this request
.get(url)
.asBody()
.then((body) => {
console.log(body);
});
.asBody();
console.log(body);
```

@@ -41,0 +46,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