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

balena-request

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balena-request - npm Package Compare versions

Comparing version 11.3.0-fetch-ponyfill-v7-bce63fb3d099af7b3b3a7f81310b22856b092ce0 to 11.3.0-use-versioned-refresh-token-endpoint-1f062bf1833b470a7b02a5299101ad1ffa1a89c2

4

build/request.js

@@ -66,3 +66,3 @@ "use strict";

(yield utils.shouldRefreshKey(auth))) {
if (!isAbsoluteUrl) {
if (baseUrl && !isAbsoluteUrl) {
yield exports.refreshToken({ baseUrl });

@@ -343,3 +343,3 @@ }

response = yield exports.send({
url: '/whoami',
url: '/user/v1/refresh-token',
baseUrl,

@@ -346,0 +346,0 @@ refreshToken: false,

@@ -8,6 +8,11 @@ # Change Log

# v11.3.0
## (2021-02-09)
## (2021-03-12)
* Update fetch-ponyfill to v7 [Thodoris Greasidis]
* Switch to the versioned token refresh endpoint [Thodoris Greasidis]
# v11.2.1
## (2021-03-12)
* Prevent token refresh when no base url is provided [Thodoris Greasidis]
# v11.2.0

@@ -14,0 +19,0 @@ ## (2020-11-12)

@@ -88,3 +88,3 @@ /*

) {
if (!isAbsoluteUrl) {
if (baseUrl && !isAbsoluteUrl) {
await exports.refreshToken({ baseUrl });

@@ -390,3 +390,3 @@ }

response = await exports.send({
url: '/whoami',
url: '/user/v1/refresh-token',
baseUrl,

@@ -393,0 +393,0 @@ refreshToken: false,

{
"name": "balena-request",
"version": "11.3.0-fetch-ponyfill-v7-bce63fb3d099af7b3b3a7f81310b22856b092ce0",
"version": "11.3.0-use-versioned-refresh-token-endpoint-1f062bf1833b470a7b02a5299101ad1ffa1a89c2",
"description": "Balena HTTP client",

@@ -57,3 +57,3 @@ "main": "build/request.js",

"balena-errors": "^4.7.1",
"fetch-ponyfill": "^7.1.0",
"fetch-ponyfill": "^6.1.1",
"fetch-readablestream": "^0.2.0",

@@ -60,0 +60,0 @@ "progress-stream": "^2.0.0",

Sorry, the diff of this file is not supported yet

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