@equinor/fusion-framework-react 8.0.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/esm/useFrameworkModule.js +1 -1
- package/dist/esm/useFrameworkModule.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +14 -14
- package/src/useFrameworkModule.ts +1 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f663b46: Fix `useFrameworkModule`'s console warning to name the actually-requested module key instead of always printing `undefined`.
|
|
8
|
+
- Updated dependencies [f663b46]
|
|
9
|
+
- Updated dependencies [f663b46]
|
|
10
|
+
- Updated dependencies [f663b46]
|
|
11
|
+
- @equinor/fusion-framework@8.1.0
|
|
12
|
+
|
|
3
13
|
## 8.0.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -23,7 +23,7 @@ export const useFrameworkModule = (name) => {
|
|
|
23
23
|
const module = framework.modules[name];
|
|
24
24
|
// Warn when the requested module key does not resolve to a registered module
|
|
25
25
|
if (!module) {
|
|
26
|
-
console.warn(`the requested module [${
|
|
26
|
+
console.warn(`the requested module [${name}] is not included in the framework instance`);
|
|
27
27
|
}
|
|
28
28
|
return module;
|
|
29
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFrameworkModule.js","sourceRoot":"","sources":["../../src/useFrameworkModule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAIhC,IAAU,EAGsE,EAAE;IAClF,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,wFAAwF;IACxF,6DAA6D;IAC7D,mBAAmB;IACnB,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,6EAA6E;IAC7E,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,CAAC,IAAI,CAAC,yBAAyB,
|
|
1
|
+
{"version":3,"file":"useFrameworkModule.js","sourceRoot":"","sources":["../../src/useFrameworkModule.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAIhC,IAAU,EAGsE,EAAE;IAClF,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,wFAAwF;IACxF,6DAA6D;IAC7D,mBAAmB;IACnB,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,6EAA6E;IAC7E,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,CAAC,IAAI,CAAC,yBAAyB,IAAI,6CAA6C,CAAC,CAAC;IAC3F,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
package/dist/esm/version.js
CHANGED