chore(deps): update pnpm to v10.27.0 #7587
main.yml
on: pull_request
Lint & Build
36s
Playground builds
2m 6s
Matrix: test
Annotations
10 errors
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonBrowser': 'off'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonBrowser': 'off'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonBrowser': 'warn'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonBrowser': 'warn'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonBrowser': 'error'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonBrowser': 'error'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonTypings': false}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L22
Error: Snapshot `strict options > {'noPackageJsonTypings': false}} 1` mismatched
❯ src/node/strict.test.ts:22:56
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonTypings': true}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L22
Error: Snapshot `strict options > {'noPackageJsonTypings': true}} 1` mismatched
❯ src/node/strict.test.ts:22:56
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonTypings': 'off'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonTypings': 'off'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonTypings': 'warn'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonTypings': 'warn'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] src/node/strict.test.ts > strict options > {'noPackageJsonTypings': 'error'}}:
packages/@sanity/pkg-utils/src/node/strict.test.ts#L24
Error: Snapshot `strict options > {'noPackageJsonTypings': 'error'}} 1` mismatched
❯ src/node/strict.test.ts:24:50
|
|
[@sanity/pkg-utils] test/cli.test.ts > cli > should build `react-19` package:
packages/@sanity/pkg-utils/test/cli.test.ts#L499
Error: Snapshot `cli > should build `react-19` package > ./dist/index.js 1` mismatched
- Expected
+ Received
@@ -10,14 +10,14 @@
ref: forwardedRef,
...rest
} = props, $[0] = props, $[1] = forwardedRef, $[2] = idProp, $[3] = label, $[4] = rest) : (forwardedRef = $[1], idProp = $[2], label = $[3], rest = $[4]);
const _id = useId(), id = idProp || _id, ref = useRef(null);
let t0;
- $[5] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[5] = t0) : t0 = $[5], useImperativeHandle(forwardedRef, t0);
+ $[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[5] = t0) : t0 = $[5], useImperativeHandle(forwardedRef, t0);
const [focused, setFocused] = useState(!1);
let t1, t2;
- $[6] === Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
+ $[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
if (!ref.current)
return;
const controller = new AbortController(), {
signal
} = controller;
@@ -136,15 +136,15 @@
] }, album.id);
}
function App() {
const $ = c(14), [query, setQuery] = useState(""), deferredQuery = useDeferredValue(query), isStale = query !== deferredQuery;
let t0;
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = (e) => setQuery(e.currentTarget.value), $[0] = t0) : t0 = $[0];
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = (e) => setQuery(e.currentTarget.value), $[0] = t0) : t0 = $[0];
let t1;
$[1] !== query ? (t1 = /* @__PURE__ */ jsx(Input, { label: "Search albums:", value: query, onChange: t0, ref: _temp }), $[1] = query, $[2] = t1) : t1 = $[2];
let t2;
- $[3] === Symbol.for("react.memo_cache_sentinel") ? (t2 = /* @__PURE__ */ jsx("h2", { children: "Loading..." }), $[3] = t2) : t2 = $[3];
+ $[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t2 = /* @__PURE__ */ jsx("h2", { children: "Loading..." }), $[3] = t2) : t2 = $[3];
const t3 = isStale ? 0.5 : 1;
let t4;
$[4] !== t3 ? (t4 = {
opacity: t3
}, $[4] = t3, $[5] = t4) : t4 = $[5];
❯ test/cli.test.ts:499:53
|
|
[@sanity/pkg-utils] test/cli.test.ts > cli > should build `react-18` package:
packages/@sanity/pkg-utils/test/cli.test.ts#L483
Error: Snapshot `cli > should build `react-18` package > ./dist/index.js 1` mismatched
- Expected
+ Received
@@ -9,14 +9,14 @@
id: idProp,
...rest
} = props, $[0] = props, $[1] = idProp, $[2] = label, $[3] = rest) : (idProp = $[1], label = $[2], rest = $[3]);
const _id = useId(), id = idProp || _id, ref = useRef(null);
let t0;
- $[4] === Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[4] = t0) : t0 = $[4], useImperativeHandle(forwardedRef, t0);
+ $[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = () => ref.current, $[4] = t0) : t0 = $[4], useImperativeHandle(forwardedRef, t0);
const [focused, setFocused] = useState(!1);
let t1, t2;
- $[5] === Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
+ $[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t1 = () => {
if (!ref.current)
return;
const controller = new AbortController(), {
signal
} = controller;
@@ -113,11 +113,11 @@
} = t0;
if (query === "")
return null;
let t1, t2;
if ($[0] !== query) {
- t2 = Symbol.for("react.early_return_sentinel");
+ t2 = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
bb0: {
const albums = fetchSearchResults(query);
if (albums.length === 0) {
const t32 = /* @__PURE__ */ jsxs("i", { children: [
'"',
@@ -134,11 +134,11 @@
t1 = albums.map(_temp$1);
}
$[0] = query, $[1] = t1, $[2] = t2;
} else
t1 = $[1], t2 = $[2];
- if (t2 !== Symbol.for("react.early_return_sentinel"))
+ if (t2 !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
return t2;
let t3;
return $[5] !== t1 ? (t3 = /* @__PURE__ */ jsx("ul", { children: t1 }), $[5] = t1, $[6] = t3) : t3 = $[6], t3;
}
function _temp$1(album) {
@@ -150,15 +150,15 @@
] }, album.id);
}
function App() {
const $ = c(14), [query, setQuery] = useState(""), deferredQuery = useDeferredValue(query), isStale = query !== deferredQuery;
let t0;
- $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = (e) => setQuery(e.currentTarget.value), $[0] = t0) : t0 = $[0];
+ $[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t0 = (e) => setQuery(e.currentTarget.value), $[0] = t0) : t0 = $[0];
let t1;
$[1] !== query ? (t1 = /* @__PURE__ */ jsx(Input, { label: "Search albums:", value: query, onChange: t0, ref: _temp }), $[1] = query, $[2] = t1) : t1 = $[2];
let t2;
- $[3] === Symbol.for("react.memo_cache_sentinel") ? (t2 = /* @__PURE__ */ jsx("h2", { children: "Loading..." }), $[3] = t2) : t2 = $[3];
+ $[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t2 = /* @__PURE__ */ jsx("h2", { children: "Loading..." }), $[3] = t2) : t2 = $[3];
const t3 = isStale ? 0.5 : 1;
let t4;
$[4] !== t3 ? (t4 = {
opacity: t3
}, $[4] = t3, $[5] = t4) : t4 = $[5];
❯ test/cli.test.ts:483:53
|