OTHER·중요도 7·2026. 06. 10.·GeekNews

npm v12, 하위 호환성을 깨는 변경 예고

── KO ──────────────────

npm v12에서 보안 중심의 변경이 이루어짐.

npm v12는 기본 동작을 보안 중심으로 변경하여, 사용자가 명시적으로 허용해야만 기능이 작동하도록 설정하였다. 특히, `allowScripts`의 기본값이 off로 설정되어 외부 패키지 설치 시 보안에 대한 주의가 필요하다. 이러한 변경 사항은 하위 호환성에 영향을 미칠 수 있다.


── EN ──────────────────

npm v12 introduces security-focused changes affecting default behaviors.

npm v12 has shifted its default behavior to focus on security, requiring users to opt-in for certain functionalities that were previously executed automatically. Notably, the default value of `allowScripts` is now off, necessitating caution when installing external packages. These changes may impact backward compatibility.

원문 보기 →목록으로