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 12.0.2 to 12.0.3-build-balena-auth-5-1-c11642a930772b968ff736583358d04a0b9321f4-1

4

build/utils.js

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

const errors = require("balena-errors");
const token_1 = require("balena-auth/build/token");
const balena_auth_1 = require("balena-auth");
const IS_BROWSER = typeof window !== 'undefined' && window !== null;

@@ -56,3 +56,3 @@ /**

const type = yield auth.getType();
if (type !== token_1.TokenType.JWT) {
if (type !== balena_auth_1.TokenType.JWT) {
return false;

@@ -59,0 +59,0 @@ }

@@ -7,2 +7,7 @@ # Change Log

## 12.0.3 - 2023-08-09
* Avoid deep imports from balena-auth [Thodoris Greasidis]
* Update balena-auth to 5.1.0 [Thodoris Greasidis]
## 12.0.2 - 2023-07-25

@@ -9,0 +14,0 @@

@@ -25,3 +25,3 @@ /*

import type BalenaAuth from 'balena-auth';
import { TokenType } from 'balena-auth/build/token';
import { TokenType } from 'balena-auth';
import type { BalenaRequestOptions, BalenaRequestResponse } from './request';

@@ -28,0 +28,0 @@

{
"name": "balena-request",
"version": "12.0.2",
"version": "12.0.3-build-balena-auth-5-1-c11642a930772b968ff736583358d04a0b9321f4-1",
"description": "Balena HTTP client",

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

"assert": "^2.0.0",
"balena-auth": "^5.0.0",
"balena-auth": "^5.1.0",
"balena-config-karma": "4.0.0",

@@ -81,7 +81,7 @@ "bluebird": "^3.7.2",

"peerDependencies": {
"balena-auth": "^5.0.0"
"balena-auth": "^5.1.0"
},
"versionist": {
"publishedAt": "2023-07-25T15:47:53.133Z"
"publishedAt": "2023-08-09T12:12:01.537Z"
}
}

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