@sanity/pkg-utils 5.0.0 → 5.0.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.
@@ -10154,11 +10154,11 @@ while`), parts.push(" (", path2.call(print, "test"), ");"), (0, lines_1.concat)(
10154
10154
  parts.push("*");
10155
10155
  else if (decl.specifiers.length === 0)
10156
10156
  parts.push("{}");
10157
- else if (decl.specifiers[0].type === "ExportDefaultSpecifier") {
10157
+ else if (decl.specifiers[0].type === "ExportDefaultSpecifier" || decl.specifiers[0].type === "ExportNamespaceSpecifier") {
10158
10158
  var unbracedSpecifiers_2 = [], bracedSpecifiers_2 = [];
10159
10159
  if (path2.each(function(specifierPath) {
10160
10160
  var spec = specifierPath.getValue();
10161
- spec.type === "ExportDefaultSpecifier" ? unbracedSpecifiers_2.push(print(specifierPath)) : bracedSpecifiers_2.push(print(specifierPath));
10161
+ spec.type === "ExportDefaultSpecifier" || spec.type === "ExportNamespaceSpecifier" ? unbracedSpecifiers_2.push(print(specifierPath)) : bracedSpecifiers_2.push(print(specifierPath));
10162
10162
  }, "specifiers"), unbracedSpecifiers_2.forEach(function(lines3, i) {
10163
10163
  i > 0 && parts.push(", "), parts.push(lines3);
10164
10164
  }), bracedSpecifiers_2.length > 0) {