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

@equinor/fusion

Package Overview
Dependencies
Maintainers
2
Versions
485
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion - npm Package Compare versions

Comparing version 0.1.47 to 0.1.48

2

lib/auth/AuthApp.js
export default class AuthApp {
constructor(clientId, resources) {
this.clientId = clientId;
this.resources = resources;
this.resources = resources.map(resource => resource.toLowerCase());
}

@@ -6,0 +6,0 @@ updateResources(resources) {

@@ -139,3 +139,3 @@ import AuthApp from "./AuthApp";

const resourceOrigin = AuthContainer.getResourceOrigin(resource);
const app = this.apps.find(app => app.resources.indexOf(resourceOrigin) > 0 || app.clientId === resourceOrigin);
const app = this.apps.find(app => app.resources.indexOf(resourceOrigin) !== -1 || app.clientId === resourceOrigin);
if (typeof app === "undefined") {

@@ -142,0 +142,0 @@ return null;

{
"name": "@equinor/fusion",
"version": "0.1.47",
"version": "0.1.48",
"description": "Everything a Fusion app needs to communicate with the core",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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