@sanity/export 3.42.0 → 3.42.2

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 - 2024 Sanity.io
3
+ Copyright (c) 2025 - 2024 Sanity.io
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/export",
3
- "version": "3.42.0",
3
+ "version": "3.42.2",
4
4
  "description": "Export Sanity documents and assets",
5
5
  "keywords": [
6
6
  "sanity",
@@ -30,8 +30,8 @@
30
30
  "test": "jest --verbose"
31
31
  },
32
32
  "dependencies": {
33
- "@sanity/client": "^6.15.20",
34
- "@sanity/util": "3.37.2",
33
+ "@sanity/client": "^6.24.1",
34
+ "@sanity/util": "3.68.3",
35
35
  "archiver": "^7.0.0",
36
36
  "debug": "^4.3.4",
37
37
  "get-it": "^8.6.2",
@@ -313,7 +313,9 @@ class AssetHandler {
313
313
  findAndModify = (item, action) => {
314
314
  if (Array.isArray(item)) {
315
315
  const children = item.map((child) => this.findAndModify(child, action))
316
- return children.filter(Boolean)
316
+ return children.filter(function (child) {
317
+ return child !== null && child !== undefined
318
+ })
317
319
  }
318
320
 
319
321
  if (!item || typeof item !== 'object') {