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

@globus/sdk

Package Overview
Dependencies
Maintainers
7
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globus/sdk - npm Package Compare versions

Comparing version 3.0.0-alpha.7 to 3.0.0-alpha.8

8

cjs/lib/core/authorization/TokenLookup.js

@@ -6,4 +6,4 @@ "use strict";

const tslib_1 = require("tslib");
const storage_1 = require("../storage");
const index_js_1 = require("../../services/auth/index.js");
const index_js_1 = require("../storage/index.js");
const index_js_2 = require("../../services/auth/index.js");
class TokenLookup {

@@ -28,6 +28,6 @@ constructor(options) {

var _a;
const resourceServer = (_a = index_js_1.CONFIG.RESOURCE_SERVERS) === null || _a === void 0 ? void 0 : _a[service];
const raw = (0, storage_1.getStorage)().get(`${tslib_1.__classPrivateFieldGet(this, _TokenLookup_manager, "f").configuration.client_id}:${resourceServer}`) || 'null';
const resourceServer = (_a = index_js_2.CONFIG.RESOURCE_SERVERS) === null || _a === void 0 ? void 0 : _a[service];
const raw = (0, index_js_1.getStorage)().get(`${tslib_1.__classPrivateFieldGet(this, _TokenLookup_manager, "f").configuration.client_id}:${resourceServer}`) || 'null';
return JSON.parse(raw);
};
//# sourceMappingURL=TokenLookup.js.map
var _TokenLookup_instances, _TokenLookup_manager, _TokenLookup_getTokenForService;
import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
import { getStorage } from '../storage';
import { getStorage } from '../storage/index.js';
import { CONFIG } from '../../services/auth/index.js';

@@ -5,0 +5,0 @@ export class TokenLookup {

{
"name": "@globus/sdk",
"version": "3.0.0-alpha.7",
"version": "3.0.0-alpha.8",
"private": false,

@@ -5,0 +5,0 @@ "description": "The Globus SDK for Javascript",

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