@sanity/ui 3.5.1 → 3.5.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
@@ -9,7 +9,7 @@ npm install @sanity/ui
9
9
  npm install react react-dom styled-components
10
10
  ```
11
11
 
12
- [![npm version](https://img.shields.io/npm/v/@sanity/ui.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/ui)
12
+ [![npm version](https://img.shields.io/npm/v/%40sanity%2Fui/release-v3?style=flat-square)](https://www.npmjs.com/package/@sanity/ui/v/release-v3)
13
13
 
14
14
  ## Usage
15
15
 
@@ -38,7 +38,7 @@ When you make a change that should be released, add a changeset to your pull req
38
38
  pnpm changeset
39
39
  ```
40
40
 
41
- Once pull requests with changesets are merged into the `main` branch, a "Version Packages" pull request is opened (and kept up to date) that bumps the affected package versions and updates their changelogs. Merging that pull request publishes the packages to npm through the [`Release` workflow](https://github.com/sanity-io/ui/actions/workflows/release.yml), which uses npm [Trusted Publishing](https://docs.npmjs.com/trusted-publishers) (OIDC).
41
+ Once pull requests with changesets are merged into the `v3` branch, a "Version Packages" pull request is opened (and kept up to date) that bumps the affected package versions and updates their changelogs. Merging that pull request publishes the packages to npm under the `release-v3` dist-tag through the [`Release` workflow](https://github.com/sanity-io/ui/actions/workflows/release.yml), which uses npm [Trusted Publishing](https://docs.npmjs.com/trusted-publishers) (OIDC). The `latest` dist-tag tracks releases from `main`.
42
42
 
43
43
  ## License
44
44
 
@@ -1285,7 +1285,7 @@ function merge(...records) {
1285
1285
  function _merge(acc, source) {
1286
1286
  for (let key of Object.keys(source)) {
1287
1287
  let prevValue = acc[key], nextValue = source[key];
1288
- isRecord(prevValue) && isRecord(nextValue) ? acc[key] = merge(prevValue, nextValue) : acc[key] = nextValue;
1288
+ acc[key] = isRecord(prevValue) && isRecord(nextValue) ? merge(prevValue, nextValue) : nextValue;
1289
1289
  }
1290
1290
  return acc;
1291
1291
  }