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

@equinor/fusion-framework-module-event

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 4.1.1 to 4.1.2

96

CHANGELOG.md
# Change Log
## 4.1.2
### Patch Changes
- [#2171](https://github.com/equinor/fusion-framework/pull/2171) [`9a91bb7`](https://github.com/equinor/fusion-framework/commit/9a91bb737d3452e697c047c0f5c7caa2adfd535d) Thanks [@odinr](https://github.com/odinr)! - ## @equinor/fusion-event
### Improved Type Resolution for `FrameworkEventInitType`
The `FrameworkEventInitType` type has been enhanced to better resolve types for both `IFrameworkEvent` and `FrameworkEvent`.
When defining events `FrameworkEventMap`, the dispatch type can now be inferred from the event type.
#### Changes
The type definition for `FrameworkEventInitType` has been updated as follows:
```typescript
export type FrameworkEventInitType<T> =
T extends IFrameworkEvent<infer U> ? U : T extends FrameworkEvent<infer U> ? U : never;
```
This change ensures that `FrameworkEventInitType` can now correctly infer the type for both `IFrameworkEvent` and `FrameworkEvent`.
- Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2)]:
- @equinor/fusion-framework-module@4.3.1
## 4.1.1

@@ -7,3 +33,3 @@

- [#1981](https://github.com/equinor/fusion-framework/pull/1981) [`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc) Thanks [@eikeland](https://github.com/eikeland)! - Align package exports with node10+ documentation.
- [#1981](https://github.com/equinor/fusion-framework/pull/1981) [`3d068b5`](https://github.com/equinor/fusion-framework/commit/3d068b5a7b214b62fcae5546f08830ea90f872dc) Thanks [@eikeland](https://github.com/eikeland)! - Align package exports with node10+ documentation.

@@ -14,8 +40,8 @@ ## 4.1.0

- [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
- [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
### Patch Changes
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
- @equinor/fusion-framework-module@4.3.0
- Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
- @equinor/fusion-framework-module@4.3.0

@@ -26,4 +52,4 @@ ## 4.0.8

- Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
- @equinor/fusion-framework-module@4.2.7
- Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
- @equinor/fusion-framework-module@4.2.7

@@ -34,4 +60,4 @@ ## 4.0.7

- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
- @equinor/fusion-framework-module@4.2.6
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
- @equinor/fusion-framework-module@4.2.6

@@ -42,6 +68,6 @@ ## 4.0.6

- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
- @equinor/fusion-framework-module@4.2.5
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
- @equinor/fusion-framework-module@4.2.5

@@ -52,4 +78,4 @@ ## 4.0.5

- Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
- @equinor/fusion-framework-module@4.2.4
- Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
- @equinor/fusion-framework-module@4.2.4

@@ -60,12 +86,12 @@ ## 4.0.4

- [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
- [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
conflicts of `@types/react` made random outcomes when using `yarn`
conflicts of `@types/react` made random outcomes when using `yarn`
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
- @equinor/fusion-framework-module@4.2.3
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
- @equinor/fusion-framework-module@4.2.3

@@ -76,10 +102,10 @@ ## 4.0.3

- [#1076](https://github.com/equinor/fusion-framework/pull/1076) [`7aee3cf0`](https://github.com/equinor/fusion-framework/commit/7aee3cf01764a272e7b0a09045ff674575b15035) Thanks [@odinr](https://github.com/odinr)! - expose event stream from `IEventModuleProvider`
- [#1076](https://github.com/equinor/fusion-framework/pull/1076) [`7aee3cf0`](https://github.com/equinor/fusion-framework/commit/7aee3cf01764a272e7b0a09045ff674575b15035) Thanks [@odinr](https://github.com/odinr)! - expose event stream from `IEventModuleProvider`
- [#1047](https://github.com/equinor/fusion-framework/pull/1047) [`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @typescript-eslint/eslint-plugin from 5.59.11 to 6.1.0
- [#1047](https://github.com/equinor/fusion-framework/pull/1047) [`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @typescript-eslint/eslint-plugin from 5.59.11 to 6.1.0
only style semantics updated
only style semantics updated
- Updated dependencies [[`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c)]:
- @equinor/fusion-framework-module@4.2.2
- Updated dependencies [[`1a2880d2`](https://github.com/equinor/fusion-framework/commit/1a2880d2e4c80ac5ce08f63ca3699fe77e4b565c)]:
- @equinor/fusion-framework-module@4.2.2

@@ -90,6 +116,6 @@ ## 4.0.2

- [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
- [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
- Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
- @equinor/fusion-framework-module@4.2.1
- Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
- @equinor/fusion-framework-module@4.2.1

@@ -107,7 +133,7 @@ All notable changes to this project will be documented in this file.

- **modules:** postInitialize no longer support void function, should not affect any application, only used internally
- **modules:** postInitialize no longer support void function, should not affect any application, only used internally
### Features
- **modules:** change postInitialize to return ObservableInput ([f1c2f56](https://github.com/equinor/fusion-framework/commit/f1c2f5644c6db2405bf5747a1094548e1723cce1))
- **modules:** change postInitialize to return ObservableInput ([f1c2f56](https://github.com/equinor/fusion-framework/commit/f1c2f5644c6db2405bf5747a1094548e1723cce1))

@@ -138,3 +164,3 @@ ## 3.0.0 (2023-04-16)

- **module-event:** allow filtering of events ([7cf41a7](https://github.com/equinor/fusion-framework/commit/7cf41a7e3662c46bb1126e7ac969ff229f22cd63))
- **module-event:** allow filtering of events ([7cf41a7](https://github.com/equinor/fusion-framework/commit/7cf41a7e3662c46bb1126e7ac969ff229f22cd63))

@@ -165,3 +191,3 @@ ## 1.1.6 (2022-12-01)

- **module-event:** update typing of event source ([321aabc](https://github.com/equinor/fusion-framework/commit/321aabcdaa4f121ffa73e37fe4f9d05f049d12d2))
- **module-event:** update typing of event source ([321aabc](https://github.com/equinor/fusion-framework/commit/321aabcdaa4f121ffa73e37fe4f9d05f049d12d2))

@@ -172,3 +198,3 @@ ## 1.1.0 (2022-11-01)

- **module-event:** make details required ([ed4e8d7](https://github.com/equinor/fusion-framework/commit/ed4e8d7092be94b4ba4fd86edec8e261efe6d944))
- **module-event:** make details required ([ed4e8d7](https://github.com/equinor/fusion-framework/commit/ed4e8d7092be94b4ba4fd86edec8e261efe6d944))

@@ -183,3 +209,3 @@ ## 1.0.13 (2022-10-27)

- **module-event:** update import paths ([7007b30](https://github.com/equinor/fusion-framework/commit/7007b30eb5e7b4cdecafa264224f559f7b75b08a))
- **module-event:** update import paths ([7007b30](https://github.com/equinor/fusion-framework/commit/7007b30eb5e7b4cdecafa264224f559f7b75b08a))

@@ -258,3 +284,3 @@ ## 1.0.11 (2022-10-21)

- **module-event:** expose event handler interface ([0b5bb32](https://github.com/equinor/fusion-framework/commit/0b5bb32c5d8eb445149da5d1e6012d90f1ccbc30))
- **module-event:** expose event handler interface ([0b5bb32](https://github.com/equinor/fusion-framework/commit/0b5bb32c5d8eb445149da5d1e6012d90f1ccbc30))

@@ -269,2 +295,2 @@ ## [0.1.1](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-event@0.1.0...@equinor/fusion-framework-module-event@0.1.1) (2022-08-19)

- **module-event:** initial ([1202e9e](https://github.com/equinor/fusion-framework/commit/1202e9ebe711d0bea653826857e41d0c1c65ab24))
- **module-event:** initial ([1202e9e](https://github.com/equinor/fusion-framework/commit/1202e9ebe711d0bea653826857e41d0c1c65ab24))

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

export const version = '4.1.1';
export const version = '4.1.2';
//# sourceMappingURL=version.js.map

@@ -23,3 +23,3 @@ import type { ModuleInstance } from '@equinor/fusion-framework-module';

};
export type FrameworkEventInitType<T> = T extends IFrameworkEvent<infer U> ? U : never;
export type FrameworkEventInitType<T> = T extends IFrameworkEvent<infer U> ? U : T extends FrameworkEvent<infer U> ? U : never;
export type FrameworkEventType<T> = T extends IFrameworkEvent<FrameworkEventInit, infer U> ? U : never;

@@ -26,0 +26,0 @@ export type FrameworkEventInitDetail<T> = T extends FrameworkEventInit<infer U> ? U : never;

export { FrameworkEvent } from './event';
export type { IFrameworkEvent, FrameworkEventDetail, FrameworkEventInit, FrameworkEventSource, FrameworkEventMap, FrameworkEventHandler, } from './event';
export type { IFrameworkEvent, FrameworkEventDetail, FrameworkEventInit, FrameworkEventSource, FrameworkEventMap, FrameworkEventHandler, FrameworkEventInitType, } from './event';
export { IEventModuleConfigurator } from './configurator';

@@ -4,0 +4,0 @@ export { IEventModuleProvider, EventModuleProvider } from './provider';

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

export declare const version = "4.1.1";
export declare const version = "4.1.2";
{
"name": "@equinor/fusion-framework-module-event",
"version": "4.1.1",
"version": "4.1.2",
"description": "Fusion module for events",

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

"dependencies": {
"@equinor/fusion-framework-module": "^4.3.0"
"@equinor/fusion-framework-module": "^4.3.1"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -44,3 +44,4 @@ import type { ModuleInstance } from '@equinor/fusion-framework-module';

/** defer init type args of event */
export type FrameworkEventInitType<T> = T extends IFrameworkEvent<infer U> ? U : never;
export type FrameworkEventInitType<T> =
T extends IFrameworkEvent<infer U> ? U : T extends FrameworkEvent<infer U> ? U : never;

@@ -47,0 +48,0 @@ /** defer name type of event */

@@ -9,2 +9,3 @@ export { FrameworkEvent } from './event';

FrameworkEventHandler,
FrameworkEventInitType,
} from './event';

@@ -11,0 +12,0 @@

// Generated by genversion.
export const version = '4.1.1';
export const version = '4.1.2';

Sorry, the diff of this file is not supported yet

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