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

@equinor/fusion-framework-module

Package Overview
Dependencies
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.2.3 to 4.2.4

6

CHANGELOG.md
# Change Log
## 4.2.4
### Patch Changes
- [`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f) Thanks [@odinr](https://github.com/odinr)! - replace `scan` + `last` whith `reduce` in `BaseConfigBuilder._buildConfig`
## 4.2.3

@@ -4,0 +10,0 @@

4

dist/esm/BaseConfigBuilder.js

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

import { from, lastValueFrom, of } from 'rxjs';
import { last, mergeMap, scan } from 'rxjs/operators';
import { mergeMap, reduce } from 'rxjs/operators';
const assignConfigValue = (obj, prop, value) => {

@@ -53,3 +53,3 @@ var _a;

return { target, value };
})), scan((acc, { target, value }) => assignConfigValue(acc, target, value), initial !== null && initial !== void 0 ? initial : {}), last());
})), reduce((acc, { target, value }) => assignConfigValue(acc, target, value), initial !== null && initial !== void 0 ? initial : {}));
}

@@ -56,0 +56,0 @@ _processConfig(config, _init) {

@@ -1,2 +0,2 @@

export const version = '4.2.3';
export const version = '4.2.4';
//# sourceMappingURL=version.js.map

@@ -1,1 +0,1 @@

export declare const version = "4.2.3";
export declare const version = "4.2.4";
{
"name": "@equinor/fusion-framework-module",
"version": "4.2.3",
"version": "4.2.4",
"description": "",

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

import { from, lastValueFrom, of, type Observable, type ObservableInput } from 'rxjs';
import { last, mergeMap, scan } from 'rxjs/operators';
import { mergeMap, reduce } from 'rxjs/operators';
import { Modules, ModuleType } from './types';

@@ -180,7 +180,6 @@

}),
scan(
reduce(
(acc, { target, value }) => assignConfigValue(acc, target, value),
initial ?? ({} as TConfig),
),
last(),
);

@@ -187,0 +186,0 @@ }

// Generated by genversion.
export const version = '4.2.3';
export const version = '4.2.4';

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