Cli Update #2
Annotations
3 errors and 1 warning
|
publish-npm
Process completed with exit code 1.
|
|
test/parser/html.test.ts > HTMLParser > parse attributes:
test/parser/html.test.ts#L24
Error: Snapshot `HTMLParser > parse attributes > attr 1` mismatched
- Expected
+ Received
@@ -49,310 +49,310 @@
"lg:y-2",
"xl:y-4",
],
},
{
- "end": 138,
+ "end": 137,
"key": "pos",
"raw": "pos="relative"",
- "start": 124,
+ "start": 123,
"value": "relative",
},
{
- "end": 152,
+ "end": 151,
"key": "w",
"raw": "w="sm:max-xl"",
- "start": 139,
+ "start": 138,
"value": "sm:max-xl",
},
{
- "end": 160,
+ "end": 159,
"key": "p",
"raw": "p="y-3"",
- "start": 153,
+ "start": 152,
"value": "y-3",
},
{
- "end": 174,
+ "end": 173,
"key": "m",
"raw": "m="sm:x-auto"",
- "start": 161,
+ "start": 160,
"value": "sm:x-auto",
},
{
- "end": 208,
+ "end": 206,
"key": "pos",
"raw": "pos="absolute inset-0"",
- "start": 186,
+ "start": 184,
"value": [
"absolute",
"inset-0",
],
},
{
- "end": 256,
+ "end": 254,
"key": "gradient",
"raw": "gradient="to-r from-cyan-400 to-light-blue-500"",
- "start": 209,
+ "start": 207,
"value": [
"to-r",
"from-cyan-400",
"to-light-blue-500",
],
},
{
- "end": 268,
+ "end": 266,
"key": "shadow",
"raw": "shadow="lg"",
- "start": 257,
+ "start": 255,
"value": "lg",
},
{
- "end": 317,
+ "end": 315,
"key": "transform",
"raw": "transform="~ -skew-y-6 sm:skew-y-0 sm:-rotate-6"",
- "start": 269,
+ "start": 267,
"value": [
"~",
"-skew-y-6",
"sm:skew-y-0",
"sm:-rotate-6",
],
},
{
- "end": 341,
+ "end": 339,
"key": "border",
"raw": "border="sm:rounded-3xl"",
- "start": 318,
+ "start": 316,
"value": "sm:rounded-3xl",
},
{
- "end": 379,
+ "end": 375,
"key": "pos",
"raw": "pos="relative"",
- "start": 365,
+ "start": 361,
"value": "relative",
},
{
- "end": 398,
+ "end": 394,
"key": "p",
"raw": "p="x-4 y-10 sm:20"",
- "start": 380,
+ "start": 376,
"value": [
"x-4",
"y-10",
"sm:20",
],
},
{
- "end": 409,
+ "end": 405,
"key": "bg",
"raw": "bg="white"",
- "start": 399,
+ "start": 395,
"value": "white",
},
{
- "end": 421,
+ "end": 417,
"key": "shadow",
"raw": "shadow="lg"",
- "start": 410,
+ "start": 406,
"value": "lg",
},
{
- "end": 445,
+ "end": 441,
"key": "border",
"raw": "border="sm:rounded-3xl"",
- "start": 422,
+ "start": 418,
"value": "sm:rounded-3xl",
},
{
- "end": 469,
+ "end": 464,
"key": "m",
"raw": "m="x-auto"",
- "start": 459,
+ "start": 454,
"value": "x-auto",
},
{
- "end": 480,
+ "end": 475,
"key": "w",
"raw": "w="max-md"",
- "start": 470,
+ "start": 465,
"value": "max-md",
},
{
- "end": 532,
+ "end": 525,
"key": "src",
"raw": "src="/img/logo.svg"",
- "start": 513,
+ "start": 506,
"value": "/img/logo.svg",
},
{
- "end": 543,
+ "end": 536,
"key": "h",
"raw": "h="7 sm:8"",
- "start": 533,
+ "start": 526,
"value": [
"7",
"sm:8",
],
},
{
- "end": 595,
+ "end": 586,
"key": "divide",
"raw": "divide="y gray-200"",
- "start": 576,
+ "start": 567,
"value": [
"y",
"gray-200",
],
},
{
- "end": 639,
+ "end": 629,
"key": "text",
"raw": "text="base sm:lg gray-700"",
- "start": 613,
+ "start": 603,
"value": [
"base",
"sm:lg",
"gray-700",
],
},
{
- "end": 669,
+ "end": 659,
"key": "font",
"raw": "font="leading-6 sm:leading-7"",
- "start": 640,
+ "start": 630,
|
|
test/parser/html.test.ts > HTMLParser > parse classes:
test/parser/html.test.ts#L19
Error: Snapshot `HTMLParser > parse classes > class 1` mismatched
- Expected
+ Received
@@ -3,125 +3,125 @@
"end": 113,
"result": "container min-h-screen bg-gray-100 py-6 flex flex-col justify-center sm:py-12 md:py-0 lg:py-2 xl:py-4",
"start": 12,
},
{
- "end": 167,
+ "end": 166,
"result": "relative py-3 sm:max-w-xl sm:mx-auto",
- "start": 131,
+ "start": 130,
},
{
- "end": 322,
+ "end": 320,
"result": "absolute inset-0 bg-gradient-to-r from-cyan-400 to-light-blue-500 shadow-lg transform -skew-y-6 sm:skew-y-0 sm:-rotate-6 sm:rounded-3xl",
- "start": 187,
+ "start": 185,
},
{
- "end": 415,
+ "end": 411,
"result": "relative px-4 py-10 bg-white shadow-lg sm:rounded-3xl sm:p-20",
- "start": 354,
+ "start": 350,
},
{
- "end": 453,
+ "end": 448,
"result": "max-w-md mx-auto",
- "start": 437,
+ "start": 432,
},
{
- "end": 524,
+ "end": 517,
"result": "h-7 sm:h-8",
- "start": 514,
+ "start": 507,
},
{
- "end": 590,
+ "end": 581,
"result": "divide-y divide-gray-200",
- "start": 566,
+ "start": 557,
},
{
- "end": 688,
+ "end": 678,
"result": "py-8 text-base leading-6 space-y-4 text-gray-700 sm:text-lg sm:leading-7",
- "start": 616,
+ "start": 606,
},
{
- "end": 834,
+ "end": 822,
"result": "list-disc space-y-2",
- "start": 815,
+ "start": 803,
},
{
- "end": 879,
+ "end": 866,
"result": "flex items-start",
- "start": 863,
+ "start": 850,
},
{
- "end": 940,
+ "end": 926,
"result": "h-6 flex items-center sm:h-7",
- "start": 912,
+ "start": 898,
},
{
- "end": 1009,
+ "end": 994,
"result": "flex-shrink-0 h-5 w-5 text-cyan-500",
- "start": 974,
+ "start": 959,
},
{
- "end": 1388,
+ "end": 1367,
"result": "ml-2",
- "start": 1384,
+ "start": 1363,
},
{
- "end": 1490,
+ "end": 1467,
"result": "text-sm font-bold text-gray-900",
- "start": 1459,
+ "start": 1436,
},
{
- "end": 1605,
+ "end": 1579,
"result": "flex items-start",
- "start": 1589,
+ "start": 1563,
},
{
- "end": 1666,
+ "end": 1639,
"result": "h-6 flex items-center sm:h-7",
- "start": 1638,
+ "start": 1611,
},
{
- "end": 1735,
+ "end": 1707,
"result": "flex-shrink-0 h-5 w-5 text-cyan-500",
- "start": 1700,
+ "start": 1672,
},
{
- "end": 2114,
+ "end": 2080,
"result": "ml-2",
- "start": 2110,
+ "start": 2076,
},
{
- "end": 2223,
+ "end": 2187,
"result": "text-sm font-bold text-gray-900",
- "start": 2192,
+ "start": 2156,
},
{
- "end": 2324,
+ "end": 2285,
"result": "flex items-start",
- "start": 2308,
+ "start": 2269,
},
{
- "end": 2385,
+ "end": 2345,
"result": "h-6 flex items-center sm:h-7",
- "start": 2357,
+ "start": 2317,
},
{
- "end": 2454,
+ "end": 2413,
"result": "flex-shrink-0 h-5 w-5 text-cyan-500",
- "start": 2419,
+ "start": 2378,
},
{
- "end": 2832,
+ "end": 2785,
"result": "ml-2",
- "start": 2828,
+ "start": 2781,
},
{
- "end": 3153,
+ "end": 3100,
"result": "pt-6 text-base leading-6 font-bold sm:text-lg sm:leading-7",
- "start": 3095,
+ "start": 3042,
},
{
- "end": 3320,
+ "end": 3264,
"result": "text-cyan-600 hover:text-cyan-700",
- "start": 3287,
+ "start": 3231,
},
]
❯ test/parser/html.test.ts:19:35
|
|
publish-npm
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|