ag-grid-community 31.3.2 → 31.3.4

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.
@@ -1791,7 +1791,7 @@ ImmutableService = __decorateClass([
1791
1791
  ], ImmutableService);
1792
1792
 
1793
1793
  // community-modules/client-side-row-model/src/version.ts
1794
- var VERSION = "31.3.2";
1794
+ var VERSION = "31.3.4";
1795
1795
 
1796
1796
  // community-modules/client-side-row-model/src/clientSideRowModelModule.ts
1797
1797
  var ClientSideRowModelModule = {
@@ -2215,6 +2215,7 @@ var ColumnKeyCreator = class {
2215
2215
  // community-modules/core/src/utils/object.ts
2216
2216
  var object_exports = {};
2217
2217
  __export(object_exports, {
2218
+ SKIP_JS_BUILTINS: () => SKIP_JS_BUILTINS,
2218
2219
  cloneObject: () => cloneObject,
2219
2220
  deepCloneDefinition: () => deepCloneDefinition,
2220
2221
  getAllValuesInObject: () => getAllValuesInObject,
@@ -2224,6 +2225,7 @@ __export(object_exports, {
2224
2225
  mergeDeep: () => mergeDeep,
2225
2226
  removeAllReferences: () => removeAllReferences
2226
2227
  });
2228
+ var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
2227
2229
  function iterateObject(object, callback) {
2228
2230
  if (object == null) {
2229
2231
  return;
@@ -2242,6 +2244,9 @@ function cloneObject(object) {
2242
2244
  const copy = {};
2243
2245
  const keys2 = Object.keys(object);
2244
2246
  for (let i = 0; i < keys2.length; i++) {
2247
+ if (SKIP_JS_BUILTINS.has(keys2[i])) {
2248
+ continue;
2249
+ }
2245
2250
  const key = keys2[i];
2246
2251
  const value = object[key];
2247
2252
  copy[key] = value;
@@ -2255,7 +2260,7 @@ function deepCloneDefinition(object, keysToSkip) {
2255
2260
  const obj = object;
2256
2261
  const res = {};
2257
2262
  Object.keys(obj).forEach((key) => {
2258
- if (keysToSkip && keysToSkip.indexOf(key) >= 0) {
2263
+ if (keysToSkip && keysToSkip.indexOf(key) >= 0 || SKIP_JS_BUILTINS.has(key)) {
2259
2264
  return;
2260
2265
  }
2261
2266
  const value = obj[key];
@@ -2289,6 +2294,9 @@ function mergeDeep(dest, source, copyUndefined = true, makeCopyOfSimpleObjects =
2289
2294
  return;
2290
2295
  }
2291
2296
  iterateObject(source, (key, sourceValue) => {
2297
+ if (SKIP_JS_BUILTINS.has(key)) {
2298
+ return;
2299
+ }
2292
2300
  let destValue = dest[key];
2293
2301
  if (destValue === sourceValue) {
2294
2302
  return;
@@ -52068,7 +52076,7 @@ GridSerializer = __decorateClass([
52068
52076
  ], GridSerializer);
52069
52077
 
52070
52078
  // community-modules/csv-export/src/version.ts
52071
- var VERSION = "31.3.2";
52079
+ var VERSION = "31.3.4";
52072
52080
 
52073
52081
  // community-modules/csv-export/src/csvExportModule.ts
52074
52082
  var CsvExportModule = {
@@ -53374,7 +53382,7 @@ InfiniteRowModel = __decorateClass([
53374
53382
  ], InfiniteRowModel);
53375
53383
 
53376
53384
  // community-modules/infinite-row-model/src/version.ts
53377
- var VERSION = "31.3.2";
53385
+ var VERSION = "31.3.4";
53378
53386
 
53379
53387
  // community-modules/infinite-row-model/src/infiniteRowModelModule.ts
53380
53388
  var InfiniteRowModelModule = {