ga4-export-fixer 0.4.3-dev.4 → 0.4.3

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/README.md CHANGED
@@ -150,7 +150,7 @@ Include the package in the package.json file in your Dataform repository.
150
150
  {
151
151
  "dependencies": {
152
152
  "@dataform/core": "3.0.42",
153
- "ga4-export-fixer": "0.4.2"
153
+ "ga4-export-fixer": "0.4.3"
154
154
  }
155
155
  }
156
156
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ga4-export-fixer",
3
- "version": "0.4.3-dev.4",
3
+ "version": "0.4.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -347,9 +347,9 @@ const createEnhancedEventsTable = (dataformPublish, config) => {
347
347
  config.dataformTableConfig
348
348
  );
349
349
 
350
- // Include the final dataformTableConfig in mergedConfig for the description's config dump
351
- mergedConfig.dataformTableConfig = dataformTableConfig;
352
- const tableDescription = documentation.getTableDescription(mergedConfig);
350
+ // Pass dataformTableConfig to getTableDescription via a new object to avoid mutating mergedConfig
351
+ // (Dataform's sandboxed runtime may freeze objects returned by mergeSQLConfigurations)
352
+ const tableDescription = documentation.getTableDescription({ ...mergedConfig, dataformTableConfig });
353
353
 
354
354
  // Set description (user override from the merge wins if provided)
355
355
  if (!dataformTableConfig.description) {