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

@equinor/fusion-framework-module-context

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-context - npm Package Compare versions

Comparing version 4.0.0-next.1 to 4.0.0-next.2

4

dist/esm/ContextProvider.js

@@ -72,5 +72,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (__classPrivateFieldGet(this, _ContextProvider_event, "f")) {
__classPrivateFieldGet(this, _ContextProvider_subscriptions, "f").add(__classPrivateFieldGet(this, _ContextProvider_contextClient, "f").currentContext$
.pipe(pairwise())
.subscribe(([previous, next]) => {
__classPrivateFieldGet(this, _ContextProvider_subscriptions, "f").add(this.currentContext$.pipe(pairwise()).subscribe(([previous, next]) => {
var _a;

@@ -77,0 +75,0 @@ (_a = __classPrivateFieldGet(this, _ContextProvider_event, "f")) === null || _a === void 0 ? void 0 : _a.dispatchEvent('onCurrentContextChanged', {

{
"name": "@equinor/fusion-framework-module-context",
"version": "4.0.0-next.1",
"version": "4.0.0-next.2",
"description": "",

@@ -47,3 +47,3 @@ "main": "./dist/esm/index.js",

},
"gitHead": "eab345c2e841a9e5a0594a987295101eab7c28e7"
"gitHead": "618efaca88d1af99e0dd0ebd035c2198e6a472fc"
}

@@ -141,11 +141,9 @@ import {

this.#subscriptions.add(
this.#contextClient.currentContext$
.pipe(pairwise())
.subscribe(([previous, next]) => {
this.#event?.dispatchEvent('onCurrentContextChanged', {
source: this,
canBubble: true,
detail: { previous, next },
});
})
this.currentContext$.pipe(pairwise()).subscribe(([previous, next]) => {
this.#event?.dispatchEvent('onCurrentContextChanged', {
source: this,
canBubble: true,
detail: { previous, next },
});
})
);

@@ -152,0 +150,0 @@ this.#subscriptions.add(

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