@memberjunction/react-runtime 5.38.0 → 5.40.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.
@@ -1,31 +1,31 @@
1
1
 
2
- > @memberjunction/react-runtime@5.38.0 build
2
+ > @memberjunction/react-runtime@5.40.0 build
3
3
  > npm run build:node && npm run build:umd
4
4
 
5
5
 
6
- > @memberjunction/react-runtime@5.38.0 build:node
6
+ > @memberjunction/react-runtime@5.40.0 build:node
7
7
  > tsc && tsc-alias -f
8
8
 
9
9
 
10
- > @memberjunction/react-runtime@5.38.0 build:umd
10
+ > @memberjunction/react-runtime@5.40.0 build:umd
11
11
  > webpack --config webpack.umd.config.cjs
12
12
 
13
13
  [BABEL] Note: The code generator has deoptimised the styling of /home/runner/work/MJ/MJ/packages/MJCoreEntities/dist/generated/entity_subclasses.js as it exceeds the max of 500KB.
14
- asset runtime.umd.js 7.4 MiB [compared for emit] [big] (name: main)
15
- asset 324.runtime.umd.js 199 KiB [compared for emit]
14
+ asset runtime.umd.js 7.67 MiB [compared for emit] [big] (name: main)
15
+ asset 324.runtime.umd.js 207 KiB [compared for emit]
16
16
  asset 490.runtime.umd.js 182 KiB [compared for emit] (id hint: vendors)
17
- orphan modules 7.42 MiB [orphan] 534 modules
17
+ orphan modules 7.67 MiB [orphan] 536 modules
18
18
  runtime modules 6.94 KiB 10 modules
19
- cacheable modules 7.56 MiB
19
+ cacheable modules 7.83 MiB
20
20
  modules by path ../../../node_modules/ 781 KiB
21
21
  modules by path ../../../node_modules/rxjs/dist/esm5/internal/ 30.4 KiB 15 modules
22
22
  modules by path ../../../node_modules/debug/src/*.js 12.7 KiB 2 modules
23
23
  + 7 modules
24
- modules by path ../../MJCoreEntities/dist/ 4.45 MiB
25
- ../../MJCoreEntities/dist/index.js + 53 modules 4.43 MiB [built] [code generated]
24
+ modules by path ../../MJCoreEntities/dist/ 4.65 MiB
25
+ ../../MJCoreEntities/dist/index.js + 54 modules 4.63 MiB [built] [code generated]
26
26
  ../../MJCoreEntities/dist/engines/UserViewEngine.js 19.6 KiB [built] [code generated]
27
27
  ./dist/index.js + 27 modules 426 KiB [built] [code generated]
28
- ../../MJCore/dist/index.js + 80 modules 1.52 MiB [built] [code generated]
29
- ../../MJGlobal/dist/index.js + 17 modules 241 KiB [built] [code generated]
30
- ../../GraphQLDataProvider/dist/index.mjs 178 KiB [built] [code generated]
31
- webpack 5.105.0 compiled successfully in 61664 ms
28
+ ../../MJCore/dist/index.js + 81 modules 1.58 MiB [built] [code generated]
29
+ ../../MJGlobal/dist/index.js + 17 modules 245 KiB [built] [code generated]
30
+ ../../GraphQLDataProvider/dist/index.mjs 185 KiB [built] [code generated]
31
+ webpack 5.105.0 compiled successfully in 59940 ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @memberjunction/react-runtime
2
2
 
3
+ ## 5.40.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [804f9f6]
8
+ - Updated dependencies [73bb233]
9
+ - Updated dependencies [7bbfd62]
10
+ - Updated dependencies [43e6c0f]
11
+ - Updated dependencies [253a188]
12
+ - @memberjunction/core@5.40.0
13
+ - @memberjunction/core-entities@5.40.0
14
+ - @memberjunction/graphql-dataprovider@5.40.0
15
+ - @memberjunction/interactive-component-types@5.40.0
16
+ - @memberjunction/global@5.40.0
17
+
18
+ ## 5.39.0
19
+
20
+ ### Patch Changes
21
+
22
+ - 315ff4d: feat(react-linter): match `React.useX(...)` member-expression hook calls
23
+
24
+ The `react-hooks-rules` rule previously matched only bare-identifier hook calls (`useEffect`, `useState`, ...). LLM-generated code routinely emits the `React.useEffect`-style member-expression form, which slipped through entirely. The `CallExpression` visitor now has a parallel branch matching `object='React'` + property in the hooks list. All 5 downstream violation checks (nested-function, conditional, loop, try/catch, early-return-then-hook) now fire on the `React.`-prefixed form too.
25
+
26
+ feat(react-runtime): emit Babel sourcemaps by default; expose on `CompiledComponent`
27
+
28
+ `DEFAULT_COMPILER_CONFIG.sourceMaps` is flipped from `false` to `true`. `transpileComponent` now returns `{ code, map }` instead of just the code string, and `compile()` attaches the map to the returned `CompiledComponent` as a new optional `sourceMap` field. Lets downstream tools translate runtime stack-frame line numbers back to original JSX positions.
29
+
30
+ feat(react-test-harness): preserve runtime stacks; classify hook-rule warnings
31
+ - Each compiled component's sourcemap is stashed on `window.__testHarnessSourceMaps[componentName]` and surfaced as a new optional `sourceMaps?: Record<string, any>` field on `ComponentExecutionResult`.
32
+ - Runtime errors aggregated from `collectRuntimeErrors` now retain their `stack` and `componentStack` properties (previously stripped during normalization).
33
+ - The `console.error` override recognizes React dev-mode Rules-of-Hooks warning strings (`"Rendered more hooks than during the previous render"`, etc.) and promotes them from generic warnings to test-failing critical errors with rule type `'react-hooks-rules'`.
34
+
35
+ - Updated dependencies [361eb4c]
36
+ - Updated dependencies [f4bf584]
37
+ - Updated dependencies [f60e340]
38
+ - Updated dependencies [3c53858]
39
+ - Updated dependencies [db4addf]
40
+ - Updated dependencies [0f9acba]
41
+ - Updated dependencies [ae74fd5]
42
+ - Updated dependencies [1b0f355]
43
+ - Updated dependencies [9bc2916]
44
+ - Updated dependencies [34fe6d1]
45
+ - Updated dependencies [a101a34]
46
+ - @memberjunction/core@5.39.0
47
+ - @memberjunction/graphql-dataprovider@5.39.0
48
+ - @memberjunction/core-entities@5.39.0
49
+ - @memberjunction/global@5.39.0
50
+ - @memberjunction/interactive-component-types@5.39.0
51
+
3
52
  ## 5.38.0
4
53
 
5
54
  ### Patch Changes