Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"devDependencies": {
"@napi-rs/cli": "3.4.1",
"@napi-rs/wasm-runtime": "^1.1.1",
"emnapi": "1.7.1"
"emnapi": "1.8.1"
},
Comment on lines 35 to 39
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Check if pnpm-lock.yaml exists
if fd -H '^pnpm-lock\.yaml$' 2>/dev/null | head -1; then
  echo "==> pnpm-lock.yaml found"
  lockfile=$(fd -H '^pnpm-lock\.yaml$' 2>/dev/null | head -1)
  echo "Checking for emnapi references..."
  rg -n "emnapi" "$lockfile" -A 2 -B 2 | head -100
else
  echo "No pnpm-lock.yaml found in repository"
fi

Repository: tailwindlabs/tailwindcss

Length of output: 1410


🌐 Web query:

emnapi 1.8.1 release notes Node.js compatibility

💡 Result:

emnapi 1.8.1 (the @emnapi/runtime package exists at v1.8.1) requires Node.js >= v16.15.0 at runtime; the repository itself lists Node.js >= v22.12.0 for development. [1][2]

Sources:

  • emnapi README (prerequisites: "Node.js >= v22.12.0 for developing..., >= v16.15.0 for user runtime"). [1]
  • @emnapi/runtime v1.8.1 package listing (jsDelivr). [2]

Lockfile update required: pnpm-lock.yaml has not been updated to match the package.json emnapi version.

The pnpm-lock.yaml in crates/node/npm/wasm32-wasi/ currently resolves to @emnapi/[email protected] and @emnapi/[email protected], but package.json specifies "emnapi": "1.8.1". The lockfile must be regenerated to reflect the version bump.

emnapi 1.8.1 is compatible with Node >=20 (requires only >=16.15.0), so the dependency upgrade itself is sound; however, the lockfile mismatch must be resolved before merging.

🤖 Prompt for AI Agents
In @crates/node/package.json around lines 35 - 39, The lockfile is out of sync
with package.json: update pnpm-lock.yaml so the emnapi bump to "1.8.1" is
reflected (including resolved packages @emnapi/runtime and @emnapi/core moving
from 1.5.0 to 1.8.1). Run pnpm install (from the package.json location or repo
root) to regenerate pnpm-lock.yaml, verify the lockfile now pins @emnapi/runtime
and @emnapi/core to 1.8.1, and commit the updated pnpm-lock.yaml alongside the
package.json change.

"engines": {
"node": ">= 20"
Expand Down
33 changes: 24 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.