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

@podium/client

Package Overview
Dependencies
Maintainers
5
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/client - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

20

lib/resolver.content.js

@@ -120,11 +120,9 @@ /* eslint-disable no-param-reassign */

name: this.clientName,
url: outgoing.contentUri,
method: 'GET',
status: null,
code: null,
statusCode: null,
podlet: outgoing.name,
},
});
const timer = histogram.timer();
const timer = histogram.timer({
meta: { buckets: [0.001, 0.01, 0.1, 0.5, 1, 2, 10] },
});

@@ -144,4 +142,2 @@ this.log.debug(

status: 'failure',
code: 'HTTP_ERROR',
statusCode: response.statusCode,
},

@@ -170,4 +166,2 @@ });

status: 'failure',
code: 'HTTP_ERROR',
statusCode: response.statusCode,
},

@@ -203,4 +197,2 @@ });

status: 'success',
code: 'STALE',
statusCode: 200,
},

@@ -242,4 +234,2 @@ });

status: 'failure',
code: 'NETWORK_ERROR',
statusCode: null,
},

@@ -263,4 +253,2 @@ });

status: 'failure',
code: 'NETWORK_ERROR',
statusCode: null,
},

@@ -283,4 +271,2 @@ });

status: 'success',
code: 'FETCHED',
statusCode: 200,
},

@@ -287,0 +273,0 @@ });

18

lib/resolver.fallback.js

@@ -52,11 +52,9 @@ /* eslint-disable no-param-reassign */

name: this.clientName,
url: outgoing.fallbackUri,
method: 'GET',
status: null,
code: null,
statusCode: null,
podlet: outgoing.name,
},
});
const timer = histogram.timer();
const timer = histogram.timer({
meta: { buckets: [0.001, 0.01, 0.1, 0.5, 1, 2, 10] },
});

@@ -66,4 +64,3 @@ if (outgoing.status === 'cached') {

labels: {
status: 'success',
code: 'CACHED',
status: 'cached',
},

@@ -82,3 +79,2 @@ });

status: 'failure',
code: 'UNKNOWN_ERROR',
},

@@ -100,3 +96,2 @@ });

status: 'success',
code: 'NOT_DEFINED',
},

@@ -131,3 +126,2 @@ });

status: 'failure',
code: 'NETWORK_ERROR',
},

@@ -151,4 +145,2 @@ });

status: 'failure',
statusCode: res.statusCode,
code: 'HTTP_ERROR',
},

@@ -170,4 +162,2 @@ });

status: 'success',
statusCode: res.statusCode,
code: 'FETCHED',
},

@@ -174,0 +164,0 @@ });

@@ -73,11 +73,9 @@ /* eslint-disable no-param-reassign */

name: this.clientName,
url: outgoing.manifestUri,
method: 'GET',
status: null,
code: null,
statusCode: null,
podlet: outgoing.name,
},
});
const timer = histogram.timer();
const timer = histogram.timer({
meta: { buckets: [0.001, 0.01, 0.1, 0.5, 1, 2, 10] },
});

@@ -94,4 +92,2 @@ request(reqOptions, (error, res, body) => {

status: 'failure',
code: 'NETWORK_OR_PARSING_ERROR',
statusCode: null,
},

@@ -113,4 +109,2 @@ });

status: 'failure',
code: 'MANIFEST_UNAVAILABLE',
statusCode: res.statusCode,
},

@@ -133,4 +127,2 @@ });

status: 'failure',
code: 'MANIFEST_VALIDATION_ERROR',
statusCode: res.statusCode,
},

@@ -150,4 +142,2 @@ });

status: 'success',
code: 'FETCHED',
statusCode: 200,
},

@@ -154,0 +144,0 @@ });

{
"name": "@podium/client",
"version": "4.2.0",
"version": "4.3.0",
"main": "lib/client.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -5,6 +5,5 @@ # @podium/client

[![Dependencies](https://img.shields.io/david/podium-lib/client.svg?style=flat-square)](https://david-dm.org/podium-lib/client)
[![Build Status](http://img.shields.io/travis/podium-lib/client/master.svg?style=flat-square)](https://travis-ci.org/podium-lib/client)
[![Greenkeeper badge](https://badges.greenkeeper.io/podium-lib/client.svg?style=flat-square)](https://greenkeeper.io/)
[![Known Vulnerabilities](https://snyk.io/test/github/podium-lib/client/badge.svg?targetFile=package.json&style=flat-square)](https://snyk.io/test/github/podium-lib/client?targetFile=package.json)
[![Dependencies](https://img.shields.io/david/podium-lib/client.svg)](https://david-dm.org/podium-lib/client)
![GitHub Actions status](https://github.com/podium-lib/client/workflows/Run%20Lint%20and%20Tests/badge.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/podium-lib/client/badge.svg?targetFile=package.json)](https://snyk.io/test/github/podium-lib/client?targetFile=package.json)

@@ -11,0 +10,0 @@ This module is intended for internal use in Podium and is not a module an end

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