Timeline: surface install-script added/removed events
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 49/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- frontend
Línea de trabajo
Start by reading the existing timeline sub-events for version-to-version changes and the package-page logic that detects install scripts. Trace how those events are represented and displayed, then compare package versions to identify added or removed preinstall, install, and postinstall scripts. Done means the timeline shows additions as negative events and removals as positive events.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the feature
The timeline already flags version-to-version changes as sub-events: install size, dependency count, license, etc. I'd like to also surface when a package adds or removes its install scripts (preinstall, install, postinstall).
npm v12, due around July 2026, flips allowScripts to off by default, so dependency install scripts won't run unless you allowlist them. It's already behind warnings in npm 11.16.0+. See the npm v12 breaking changes.
Maintainers are getting ahead of it and dropping install scripts from popular packages. sharp is one example. v0.35.0 removed its install script outright:
- https://github.com/lovell/sharp/releases/tag/v0.35.0
- https://github.com/lovell/sharp/issues/4533
- https://github.com/lovell/sharp/commit/e1bad5470e43ea1f8895ed4694d0be7ae1cbe8e7
npmx already detects install scripts on the package page, but there's no way to see when a package added or removed them.
I'd like to propose adding an installScript sub-event. Removing scripts is a positive event, since the package is shrinking its install-time execution surface and getting ahead of npm v12. Adding them is a negative one, since it's new install-time code that consumers will have to allowlist under v12.
Additional information
- Would you be willing to help implement this feature?
Final checks
- Read the contribution guide.
- Check existing issues.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.6k
- Forks
- 533
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 39
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de npmx-dev/npmx.dev
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
a11y front
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
npmx-dev/npmx.dev#2914 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
front i18n
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
npmx-dev/npmx.dev#2831 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
back stale stale-to-close
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
npmx-dev/npmx.dev#2511 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de npmx-dev/npmx.dev
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
Los mantenedores suelen responder en 1 día
-
body-parser 2.3.0 in the published ai-dial-chat-bff image is vulnerable (CVE-2026-111181, HIGH)Posiblemente ocupada @illya-havsiyevych la tomó hoy. Abiertobug
Dificultad 1/5 1-3 horas Aptitud para principiantes 87/100
epam/ai-dial-chat#9566 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
はさみアイコンを修正するAbiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
-
resource.reload() while params is in error switches the resource to 'idle' instead of retryingAbiertoarea: core
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día