Skip to content

Actualizar @putout/bundle#27

Open
Trollhunters501 wants to merge 2 commits intoes-js:mainfrom
Trollhunters501:main
Open

Actualizar @putout/bundle#27
Trollhunters501 wants to merge 2 commits intoes-js:mainfrom
Trollhunters501:main

Conversation

@Trollhunters501
Copy link

@Trollhunters501 Trollhunters501 commented Mar 18, 2026

Actualizar la librería putout/bundle

Summary by CodeRabbit

  • Chores
    • Se ha actualizado la dependencia @putout/bundle a la versión 3.25.0, mejorando la compatibilidad y disponibilidad de características en el sistema de análisis de código integrado.

@vercel
Copy link

vercel bot commented Mar 18, 2026

@Trollhunters501 is attempting to deploy a commit to the OSS Program EsJS Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 18, 2026

Recorrido

Se actualizan las referencias de versión del paquete @putout/bundle desde versiones anteriores a 3.25.0 en la declaración de dependencias del proyecto, el módulo de tipo de ambiente TypeScript y la importación de runtime del ejecutor.

Cambios

Cohort / Archivo(s) Resumen
Actualización de versión @putout/bundle
apps/playground/package.json, packages/sandbox/src/runtime/ejecutar.ts, packages/sandbox/src/vite-env.d.ts
Se incrementa la versión de @putout/bundle a 3.25.0 en la dependencia de desarrollo, la URL de importación de ESM y la declaración de módulo TypeScript correspondiente.

Esfuerzo estimado de revisión de código

🎯 2 (Simple) | ⏱️ ~10 minutos

Poema

🐰 Una versión nueva llega, salto de alegría,
Putout 3.25.0 en su nuevo día,
Dependencias actualizadas con precisión,
Tipos y runtime en sincronización,
¡El conejo salta hacia la renovación! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed El título es conciso y específico, describe claramente la actualización de la dependencia @putout/bundle que es el cambio principal en este PR.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can validate your CodeRabbit configuration file in your editor.

If your editor has YAML language server, you can enable auto-completion and validation by adding # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json at the top of your CodeRabbit configuration file.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/sandbox/src/runtime/ejecutar.ts`:
- Line 53: Bloquea la versión de `@putout/bundle` en las importaciones para evitar
roturas por cambios remotos: en la expresión que asigna _options.putout (la
import dinámica en ejecutar.ts) y en la declaración correspondiente en
vite-env.d.ts reemplaza la URL sin versión por la URL con la versión fija
`@3.11.3`, asegurando que ambas referencias usen exactamente la misma versión
(3.11.3) para mantener reproducibilidad y estabilidad del build.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 44fc7962-6593-4bf5-a51a-f373565493be

📥 Commits

Reviewing files that changed from the base of the PR and between d479619 and 6085a09.

⛔ Files ignored due to path filters (2)
  • apps/playground/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • packages/core/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • apps/playground/package.json
  • packages/core/package.json
  • packages/sandbox/src/runtime/ejecutar.ts
  • packages/sandbox/src/vite-env.d.ts

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/playground/package.json`:
- Line 43: La dependencia "@putout/bundle" en package.json usa rango semántico
"^3.25.0" que permite instalar 3.26.x y rompe la alineación con el runtime y
tipos fijados; actualiza esa entrada a la versión exacta "3.25.0" (reemplaza
"^3.25.0" por "3.25.0") para que coincida con
packages/sandbox/src/runtime/ejecutar.ts y packages/sandbox/src/vite-env.d.ts,
luego reinstala/actualiza el lockfile (npm install / yarn install) para asegurar
la versión bloqueada en el árbol de dependencias.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d24311f8-6241-46c2-a449-7644ce4f05d3

📥 Commits

Reviewing files that changed from the base of the PR and between 6085a09 and 2253abe.

⛔ Files ignored due to path filters (2)
  • apps/playground/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • packages/escss/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • apps/playground/package.json
  • packages/sandbox/src/runtime/ejecutar.ts
  • packages/sandbox/src/vite-env.d.ts

"@nuxtjs/supabase": "^1.3.5",
"@nuxtjs/tailwindcss": "^6.12.1",
"@putout/bundle": "^3.14.0",
"@putout/bundle": "^3.25.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Verifica todas las referencias de versión de `@putout/bundle`
rg -n --glob '**/package.json' --glob '**/*.ts' --glob '**/*.d.ts' '@putout/bundle'

Repository: es-js/esjs

Length of output: 779


Ajusta la versión a exacta para evitar desalineación con el runtime remoto.

En Line 43, ^3.25.0 permite que npm resuelva versiones menores superiores (p. ej., 3.26.0), pero el runtime en packages/sandbox/src/runtime/ejecutar.ts y las declaraciones de tipo en packages/sandbox/src/vite-env.d.ts están fijados a 3.25.0 exacto. Esto crea un riesgo de comportamiento inconsistente entre el entorno local y el remoto.

🔧 Propuesta
-    "@putout/bundle": "^3.25.0",
+    "@putout/bundle": "3.25.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@putout/bundle": "^3.25.0",
"@putout/bundle": "3.25.0",
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/playground/package.json` at line 43, La dependencia "@putout/bundle" en
package.json usa rango semántico "^3.25.0" que permite instalar 3.26.x y rompe
la alineación con el runtime y tipos fijados; actualiza esa entrada a la versión
exacta "3.25.0" (reemplaza "^3.25.0" por "3.25.0") para que coincida con
packages/sandbox/src/runtime/ejecutar.ts y packages/sandbox/src/vite-env.d.ts,
luego reinstala/actualiza el lockfile (npm install / yarn install) para asegurar
la versión bloqueada en el árbol de dependencias.

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
editor Ready Ready Preview, Comment Mar 19, 2026 9:56pm
esjs Ready Ready Preview, Comment Mar 19, 2026 9:56pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants