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

@serverless/utils

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/utils - npm Package Compare versions

Comparing version 6.8.0 to 6.8.1

2

auth/resolve-token.js

@@ -23,2 +23,3 @@ 'use strict';

module.exports = async () => {
log.debug('cached data: %o, cached expires %d', data, idTokenExpiresAt);
if (!data.idToken) {

@@ -102,2 +103,3 @@ Object.assign(data, configUtils.get('auth'));

data.idToken = idToken;
data.refreshToken = responseObject.refreshToken;
const idTokenData = jwtDecode(data.idToken);

@@ -104,0 +106,0 @@ log.debug('id token data: %o', idTokenData);

@@ -5,2 +5,12 @@ # Changelog

### [6.8.1](https://github.com/serverless/utils/compare/v6.8.0...v6.8.1) (2022-10-26)
### Bug Fixes
- **Auth:** Fix in-memory handling of refresh token ([#191](https://github.com/serverless/utils/issues/191)) ([1b309d4](https://github.com/serverless/utils/commit/1b309d46637d343ffc96b3e6de70a94b4cfbd405)) ([Mariusz Nowak](https://github.com/medikoo))
### Maintenance Improvements
- **Auth:** Improve debug logging ([#191](https://github.com/serverless/utils/issues/191)) ([49539f4](https://github.com/serverless/utils/commit/49539f4110e7e909872fc9d61ec47ab2ceb548ad)) ([Mariusz Nowak](https://github.com/medikoo))
## [6.8.0](https://github.com/serverless/utils/compare/v6.7.0...v6.8.0) (2022-10-12)

@@ -7,0 +17,0 @@

8

package.json
{
"name": "@serverless/utils",
"version": "6.8.0",
"version": "6.8.1",
"description": "Serverless CLI utilities",

@@ -23,3 +23,3 @@ "repository": "serverless/utils",

"got": "^11.8.5",
"inquirer": "^8.2.4",
"inquirer": "^8.2.5",
"js-yaml": "^4.1.0",

@@ -46,6 +46,6 @@ "jwt-decode": "^3.1.2",

"@serverless/eslint-config": "^5.0.1",
"@serverless/test": "^11.0.2",
"@serverless/test": "^11.1.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.25.0",
"eslint": "^8.26.0",
"eslint-plugin-import": "^2.26.0",

@@ -52,0 +52,0 @@ "git-list-updated": "^1.2.1",

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