@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.
- package/.turbo/turbo-build.log +13 -13
- package/CHANGELOG.md +49 -0
- package/dist/324.runtime.umd.js +117 -73
- package/dist/compiler/component-compiler.d.ts.map +1 -1
- package/dist/compiler/component-compiler.js +7 -6
- package/dist/compiler/component-compiler.js.map +1 -1
- package/dist/runtime.umd.js +4824 -1405
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +6 -6
- package/src/compiler/component-compiler.ts +8 -7
- package/src/types/index.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
|
|
2
|
-
> @memberjunction/react-runtime@5.
|
|
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.
|
|
6
|
+
> @memberjunction/react-runtime@5.40.0 build:node
|
|
7
7
|
> tsc && tsc-alias -f
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @memberjunction/react-runtime@5.
|
|
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 [1m[33mruntime.umd.js[39m[22m [1m[33m7.
|
|
15
|
-
asset [1m[32m324.runtime.umd.js[39m[22m
|
|
14
|
+
asset [1m[33mruntime.umd.js[39m[22m [1m[33m7.67 MiB[39m[22m [1m[33m[compared for emit][39m[22m [1m[33m[big][39m[22m (name: main)
|
|
15
|
+
asset [1m[32m324.runtime.umd.js[39m[22m 207 KiB [1m[33m[compared for emit][39m[22m
|
|
16
16
|
asset [1m[32m490.runtime.umd.js[39m[22m 182 KiB [1m[33m[compared for emit][39m[22m (id hint: vendors)
|
|
17
|
-
orphan modules 7.
|
|
17
|
+
orphan modules 7.67 MiB [1m[33m[orphan][39m[22m 536 modules
|
|
18
18
|
runtime modules 6.94 KiB 10 modules
|
|
19
|
-
cacheable modules 7.
|
|
19
|
+
cacheable modules 7.83 MiB
|
|
20
20
|
modules by path [1m../../../node_modules/[39m[22m 781 KiB
|
|
21
21
|
modules by path [1m../../../node_modules/rxjs/dist/esm5/internal/[39m[22m 30.4 KiB 15 modules
|
|
22
22
|
modules by path [1m../../../node_modules/debug/src/*.js[39m[22m 12.7 KiB 2 modules
|
|
23
23
|
+ 7 modules
|
|
24
|
-
modules by path [1m../../MJCoreEntities/dist/[39m[22m 4.
|
|
25
|
-
[1m../../MJCoreEntities/dist/index.js +
|
|
24
|
+
modules by path [1m../../MJCoreEntities/dist/[39m[22m 4.65 MiB
|
|
25
|
+
[1m../../MJCoreEntities/dist/index.js + 54 modules[39m[22m 4.63 MiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
26
26
|
[1m../../MJCoreEntities/dist/engines/UserViewEngine.js[39m[22m 19.6 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
27
27
|
[1m./dist/index.js + 27 modules[39m[22m 426 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
28
|
-
[1m../../MJCore/dist/index.js +
|
|
29
|
-
[1m../../MJGlobal/dist/index.js + 17 modules[39m[22m
|
|
30
|
-
[1m../../GraphQLDataProvider/dist/index.mjs[39m[22m
|
|
31
|
-
webpack 5.105.0 compiled [1m[32msuccessfully[39m[22m in
|
|
28
|
+
[1m../../MJCore/dist/index.js + 81 modules[39m[22m 1.58 MiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
29
|
+
[1m../../MJGlobal/dist/index.js + 17 modules[39m[22m 245 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
30
|
+
[1m../../GraphQLDataProvider/dist/index.mjs[39m[22m 185 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
31
|
+
webpack 5.105.0 compiled [1m[32msuccessfully[39m[22m 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
|