<commit_before>---
layout: post
title: Node v6.2.1(최신 버전)
author: <NAME>
ref: Node v6.2.1 (Current)
refurl: https://nodejs.org/en/blog/release/v6.2.1/
translator: <a href="https://github.com/mingyu-lee" target="_blank">Mingyu-Lee</a>
---

<!--
### Notable changes

* **buffer**: Ignore negative lengths in calls to `Buffer()` and `Buffer.allocUnsafe()`. This fixes a possible security concern (reported by <NAME>) where user input is passed unchecked to the Buffer constructor or `allocUnsafe()` as it can expose parts of the memory slab used by other Buffers in the application. Note that negative lengths are not supported by the Buffer API and user input to the constructor should always be sanitised and type-checked. (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* **npm**: Upgrade npm to 3.9.3 (<NAME>) [#7030](https://github.com/nodejs/node/pull/7030)
  - [`npm/npm@42d71be`](https://github.com/npm/npm/commit/42d71be2cec674dd9e860ad414f53184f667620d) [npm/npm#12685](https://github.com/npm/npm/pull/12685) When using `npm ls <pkg>` without a semver specifier, `npm ls` would skip any packages in your tree that matched by name, but had a prerelease version in their `package.json`. ([@zkat](https://github.com/zkat))
  - [`npm/npm@f04e05`](https://github.com/npm/npm/commit/df04e05af1f257a1903372e1baf334c0969fbdbd) [npm/npm#10013](https://github.com/npm/npm/issues/10013) `read-package-tree@5.1.4`: Fixes an issue where `npm install` would fail if your `node_modules` was symlinked. ([@iarna](https://github.com/iarna))
  - [`b894413`](https://github.com/npm/npm/commit/b8944139a935680c4a267468bb2d3c3082b5609f) [#12372](https://github.com/npm/npm/issues/12372) Changing a nested dependency in an `npm-shrinkwrap.json` and then running `npm install` would not get up the updated package. This corrects that. ([@misterbyrne](https://github.com/misterbyrne))
  - This release includes `npm@3.9.0`, which is the result of our Windows testing push -- the test suite (should) pass on Windows now. We're working on getting AppVeyor to a place where we can just rely on it like Travis.
* **tty**: Default to blocking mode for stdio on OS X. A bug fix in libuv 1.9.0, introduced in Node.js v6.0.0, exposed problems with Node's use of non-blocking stdio, particularly on OS X which has a small output buffer. This change should fix CLI applications that have been having problems with output since Node.js v6.0.0 on OS X. The core team is continuing to address stdio concerns that exist across supported platforms and progress can be tracked at <https://github.com/nodejs/node/issues/6980>. (<NAME>) [#6895](https://github.com/nodejs/node/pull/6895)
* **V8**: Upgrade to V8 172.16.17.32. This includes a fix that addresses problems experienced by users of node-inspector since Node.js v6.0.0, see <https://github.com/node-inspector/node-inspector/issues/864> for details. (<NAME>) [#6928](https://github.com/nodejs/node/pull/6928)
-->

### 주요 변경사항
* **버퍼**: 이제 'Buffer()'와 'Buffer.alloUnsafe()' 메소드 호출 시 음수 길이를 무시합니다. 이는 애플리케이션 내의 다른 버퍼들에 의해 사용된 메모리 슬랩의 조각들을 노출할 수 있으므로 검사되지 않고 Buffer 생성자 또는 'allocUnsafe()' 메소드에 전달된 사용자 입력에서 발생 가능한 보안 문제(Feross Aboukhadijeh에 의해 보고된)를 수정합니다. 음수 길이들은 이제 더는 Buffer API에 의해 지원되지 않으며 생성자에 대한 사용자 입력은 해가 없어야만 하며 유형을 검사해야만 하는 점을 참고하세요. (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* **npm**: npm을 3.9.3 버전으로 업그레이드 했습니다. (<NAME>) [#7030](https://github.com/nodejs/node/pull/7030)
  - [`npm/npm@42d71be`](https://github.com/npm/npm/commit/42d71be2cec674dd9e860ad414f53184f667620d) [npm/npm#12685](https://github.com/npm/npm/pull/12685) semver 식별자 없이 'npm ls <pkg>'를 사용할 때, 'npm ls'는 이름에 의해 매치되는 당신의 트리 안의 아무 패키지들을 건너뛸 수 있습니다만, 그들의 'package.json' 안에 프리 릴리스 버전을 가집니다. ([@zkat](https://github.com/zkat))
  - [`npm/npm@f04e05`](https://github.com/npm/npm/commit/df04e05af1f257a1903372e1baf334c0969fbdbd) [npm/npm#10013](https://github.com/npm/npm/issues/10013) `read-package-tree@5.1.4`: 만약 당신의 'node_modules'가 symlinked 되면 'npm install'이 실패하는 이슈를 수정합니다. ([@iarna](https://github.com/iarna))
  - [`b894413`](https://github.com/npm/npm/commit/b8944139a935680c4a267468bb2d3c3082b5609f) [#12372](https://github.com/npm/npm/issues/12372) 'npm-shrinkwrap.json'에서 중첩된 의존성을 변화시키고 'npm install'이 실행되는 것은 업데이트된 패키지를 얻을 수 없을지도 모릅니다. 이것을 해결합니다. ([@misterbyrne](https://github.com/misterbyrne))
  - 이번 릴리스는 이제 윈도우 운영체제에서 통과(해야만)하는 테스트 슈트인 우리의 윈도우 테스팅 push의 결과물인 'npm@3.9.0'을 포함합니다. 우리는 우리가 Travis처럼 의지할 수 있는 곳으로 AppVeyor를 얻기 위해 노력하고 있습니다.
* **tty**: 이제 OS X의 stdio에 대한 블로킹 모드가 기본입니다. Node.js 6.0.0 버전에서 소개된, libuv 1.9.0 버전의 한 버그 수정은 특히 작은 출력 버퍼를 가진 OS X에서 Node의 non-blocking stdio의 사용에 문제점을 노출했습니다. 이 변화는 OS X의 Node.js 6.0.0 버전 이후 산출 문제를 가져왔던 CLI 애플리케이션들을 수정해야만 합니다. 코어 팀은 지원되는 플랫폼들 사이에서 존재하는 stdio 문제들을 지속해서 해결할 것이며 진행사항은 <https://github.com/nodejs/node/issues/6980>에서 확인할 수 있습니다. (<NAME>) [#6895](https://github.com/nodejs/node/pull/6895)
* **V8**: V8을 172.16.17.32. 버전으로 업그레이드했습니다. 이번 업그레이드는 Node.js 6.0.0 버전 이후로 node-inspector의 사용자들에 의해 경험되어진 문제들을 해결하는 한 수정사항이 포함되었습니다. 자세한 사항했 <https://github.com/node-inspector/node-inspector/issues/864>에서 확인하세요. (<NAME>) [#6928](https://github.com/nodejs/node/pull/6928)

### Commits

* [[`99c05a1af0`](https://github.com/nodejs/node/commit/99c05a1af0)] - **async_wrap**: pass uid to JS as double (<NAME>) [#7096](https://github.com/nodejs/node/pull/7096)
* [[`371be9cd80`](https://github.com/nodejs/node/commit/371be9cd80)] - **buffer**: ignore negative allocation lengths (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* [[`1bcc226edf`](https://github.com/nodejs/node/commit/1bcc226edf)] - **buffer**: fix dataview-set benchmark (<NAME>) [#6922](https://github.com/nodejs/node/pull/6922)
* [[`98270c6d15`](https://github.com/nodejs/node/commit/98270c6d15)] - **buffer**: fix single digit hex string handling (<NAME>) [#6775](https://github.com/nodejs/node/pull/6775)
* [[`1fece2f8c0`](https://github.com/nodejs/node/commit/1fece2f8c0)] - **build**: re-add --ninja option to configure (<NAME>) [#6780](https://github.com/nodejs/node/pull/6780)
* [[`e7b03be191`](https://github.com/nodejs/node/commit/e7b03be191)] - **build**: update build-addons when node-gyp changes (Lance Ball) [#6787](https://github.com/nodejs/node/pull/6787)
* [[`55c0b3e0e5`](https://github.com/nodejs/node/commit/55c0b3e0e5)] - **build**: unbreak configure with python 2.6 (<NAME>) [#6874](https://github.com/nodejs/node/pull/6874)
* [[`0503681348`](https://github.com/nodejs/node/commit/0503681348)] - **child_process**: measure buffer length in bytes (<NAME>) [#6764](https://github.com/nodejs/node/pull/6764)
* [[`27d0eb054c`](https://github.com/nodejs/node/commit/27d0eb054c)] - **child_process**: emit IPC messages on next tick (cjihrig) [#6909](https://github.com/nodejs/node/pull/6909)
* [[`b28468e0a7`](https://github.com/nodejs/node/commit/b28468e0a7)] - **child_process**: allow buffer encoding in spawnSync (cjihrig) [#6939](https://github.com/nodejs/node/pull/6939)
* [[`6a62bb0070`](https://github.com/nodejs/node/commit/6a62bb0070)] - **cluster**: expose result of send() (cjihrig) [#6998](https://github.com/nodejs/node/pull/6998)
* [[`2132d349b5`](https://github.com/nodejs/node/commit/2132d349b5)] - **cluster**: rewrite debug ports consistently (cjihrig) [#7050](https://github.com/nodejs/node/pull/7050)
* [[`0bd8f4c4d8`](https://github.com/nodejs/node/commit/0bd8f4c4d8)] - **cluster**: reset handle index on close (Santiago Gimeno) [#6981](https://github.com/nodejs/node/pull/6981)
* [[`93e150f1d6`](https://github.com/nodejs/node/commit/93e150f1d6)] - **cluster**: guard against undefined message handlers (cjihrig) [#6902](https://github.com/nodejs/node/pull/6902)<commit_msg>Update translation<commit_after>---
layout: post
title: Node v6.2.1(최신 버전)
author: <NAME>
ref: Node v6.2.1 (Current)
refurl: https://nodejs.org/en/blog/release/v6.2.1/
translator: <a href="https://github.com/mingyu-lee" target="_blank">Mingyu-Lee</a>
---

<!--
### Notable changes

* **buffer**: Ignore negative lengths in calls to `Buffer()` and `Buffer.allocUnsafe()`. This fixes a possible security concern (reported by <NAME>oukhadijeh) where user input is passed unchecked to the Buffer constructor or `allocUnsafe()` as it can expose parts of the memory slab used by other Buffers in the application. Note that negative lengths are not supported by the Buffer API and user input to the constructor should always be sanitised and type-checked. (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* **npm**: Upgrade npm to 3.9.3 (<NAME>) [#7030](https://github.com/nodejs/node/pull/7030)
  - [`npm/npm@42d71be`](https://github.com/npm/npm/commit/42d71be2cec674dd9e860ad414f53184f667620d) [npm/npm#12685](https://github.com/npm/npm/pull/12685) When using `npm ls <pkg>` without a semver specifier, `npm ls` would skip any packages in your tree that matched by name, but had a prerelease version in their `package.json`. ([@zkat](https://github.com/zkat))
  - [`npm/npm@f04e05`](https://github.com/npm/npm/commit/df04e05af1f257a1903372e1baf334c0969fbdbd) [npm/npm#10013](https://github.com/npm/npm/issues/10013) `read-package-tree@5.1.4`: Fixes an issue where `npm install` would fail if your `node_modules` was symlinked. ([@iarna](https://github.com/iarna))
  - [`b894413`](https://github.com/npm/npm/commit/b8944139a935680c4a267468bb2d3c3082b5609f) [#12372](https://github.com/npm/npm/issues/12372) Changing a nested dependency in an `npm-shrinkwrap.json` and then running `npm install` would not get up the updated package. This corrects that. ([@misterbyrne](https://github.com/misterbyrne))
  - This release includes `npm@3.9.0`, which is the result of our Windows testing push -- the test suite (should) pass on Windows now. We're working on getting AppVeyor to a place where we can just rely on it like Travis.
* **tty**: Default to blocking mode for stdio on OS X. A bug fix in libuv 1.9.0, introduced in Node.js v6.0.0, exposed problems with Node's use of non-blocking stdio, particularly on OS X which has a small output buffer. This change should fix CLI applications that have been having problems with output since Node.js v6.0.0 on OS X. The core team is continuing to address stdio concerns that exist across supported platforms and progress can be tracked at <https://github.com/nodejs/node/issues/6980>. (<NAME>) [#6895](https://github.com/nodejs/node/pull/6895)
* **V8**: Upgrade to V8 172.16.17.32. This includes a fix that addresses problems experienced by users of node-inspector since Node.js v6.0.0, see <https://github.com/node-inspector/node-inspector/issues/864> for details. (<NAME>) [#6928](https://github.com/nodejs/node/pull/6928)
-->

### 주요 변경사항
* **버퍼**: 이제 'Buffer()'와 'Buffer.alloUnsafe()' 메소드 호출 시 음수 길이를 무시합니다. 이는 애플리케이션 내의 다른 버퍼들에 의해 사용된 메모리 슬랩의 조각들을 노출할 수 있으므로 검사되지 않고 Buffer 생성자 또는 'allocUnsafe()' 메소드에 전달된 사용자 입력에서 발생 가능한 보안 문제(Feross Aboukhadijeh에 의해 보고된)를 수정합니다. 음수 길이들은 이제 더는 Buffer API에 의해 지원되지 않으며 생성자에 대한 사용자 입력은 해가 없어야만 하며 유형을 검사해야만 하는 점을 참고하세요. (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* **npm**: npm을 3.9.3 버전으로 업그레이드 했습니다. (<NAME>) [#7030](https://github.com/nodejs/node/pull/7030)
  - [`npm/npm@42d71be`](https://github.com/npm/npm/commit/42d71be2cec674dd9e860ad414f53184f667620d) [npm/npm#12685](https://github.com/npm/npm/pull/12685) semver 식별자 없이 npm ls <pkg>를 사용할 때, npm ls는 트리안의 이름과 매치되는 모든 패키지를 무시하지만 package.json에 프리 릴리스 버전을 가질 때는 무시하지 않습니다. ([@zkat](https://github.com/zkat))
  - [`npm/npm@f04e05`](https://github.com/npm/npm/commit/df04e05af1f257a1903372e1baf334c0969fbdbd) [npm/npm#10013](https://github.com/npm/npm/issues/10013) `read-package-tree@5.1.4`: 만약 당신의 'node_modules'가 심볼릭 링크되면 'npm install'이 실패하는 이슈를 수정합니다. ([@iarna](https://github.com/iarna))
  - [`b894413`](https://github.com/npm/npm/commit/b8944139a935680c4a267468bb2d3c3082b5609f) [#12372](https://github.com/npm/npm/issues/12372) 'npm-shrinkwrap.json'에서 중첩된 의존성을 변화시키고 'npm install'이 실행되는 것은 업데이트된 패키지를 얻을 수 없을지도 모릅니다. 이것을 해결합니다. ([@misterbyrne](https://github.com/misterbyrne))
  - 이번 릴리스는 npm@3.9.0를 포함해서 Windows 테스트 작업으로 이어집니다. 테스트 슈트는 이제 Windows에서 통과(해야만)합니다. Travis에 의존할 수 있었듯이 AppVeyor도 의존할 수 있도록 작업하고 있습니다.
* **tty**: 이제 OS X의 stdio에 대한 블로킹 모드가 기본입니다. Node.js 6.0.0 버전에서 도입된, libuv 1.9.0 버전의 한 버그 수정은 특히 작은 출력 버퍼를된가진 OS X에서 Node의 논블로킹 stdio의 사용에 문제점을 노출했습니다. 이 변화는 OS X의 Node.js 6.0.0 버전 이후 출력 문제를 가져왔던 CLI 애플리케이션들을 수정해야만 합니다. 코어 팀은 지원되는 플랫폼들 사이에서 존재하는 stdio 문제들을 지속해서 해결할 것이며 진행사항은 <https://github.com/nodejs/node/issues/6980>에서 확인할 수 있습니다. (<NAME>) [#6895](https://github.com/nodejs/node/pull/6895)
* **V8**: V8을 172.16.17.32 버전으로 업그레이드했습니다. 이번 업그레이드는 Node.js 6.0.0 버전 이후로 node-inspector의 사용자들에 의해 경험되어진 문제들을 해결하는 한 수정사항이 포함되었습니다. 자세한 사항은 <https://github.com/node-inspector/node-inspector/issues/864>에서 확인하세요. (<NAME>) [#6928](https://github.com/nodejs/node/pull/6928)

### Commits

* [[`99c05a1af0`](https://github.com/nodejs/node/commit/99c05a1af0)] - **async_wrap**: pass uid to JS as double (<NAME>) [#7096](https://github.com/nodejs/node/pull/7096)
* [[`371be9cd80`](https://github.com/nodejs/node/commit/371be9cd80)] - **buffer**: ignore negative allocation lengths (<NAME>) [#7051](https://github.com/nodejs/node/pull/7051)
* [[`1bcc226edf`](https://github.com/nodejs/node/commit/1bcc226edf)] - **buffer**: fix dataview-set benchmark (<NAME>) [#6922](https://github.com/nodejs/node/pull/6922)
* [[`98270c6d15`](https://github.com/nodejs/node/commit/98270c6d15)] - **buffer**: fix single digit hex string handling (<NAME>) [#6775](https://github.com/nodejs/node/pull/6775)
* [[`1fece2f8c0`](https://github.com/nodejs/node/commit/1fece2f8c0)] - **build**: re-add --ninja option to configure (<NAME>) [#6780](https://github.com/nodejs/node/pull/6780)
* [[`e7b03be191`](https://github.com/nodejs/node/commit/e7b03be191)] - **build**: update build-addons when node-gyp changes (Lance Ball) [#6787](https://github.com/nodejs/node/pull/6787)
* [[`55c0b3e0e5`](https://github.com/nodejs/node/commit/55c0b3e0e5)] - **build**: unbreak configure with python 2.6 (<NAME>huis) [#6874](https://github.com/nodejs/node/pull/6874)
* [[`0503681348`](https://github.com/nodejs/node/commit/0503681348)] - **child_process**: measure buffer length in bytes (<NAME>) [#6764](https://github.com/nodejs/node/pull/6764)
* [[`27d0eb054c`](https://github.com/nodejs/node/commit/27d0eb054c)] - **child_process**: emit IPC messages on next tick (cjihrig) [#6909](https://github.com/nodejs/node/pull/6909)
* [[`b28468e0a7`](https://github.com/nodejs/node/commit/b28468e0a7)] - **child_process**: allow buffer encoding in spawnSync (cjihrig) [#6939](https://github.com/nodejs/node/pull/6939)
* [[`6a62bb0070`](https://github.com/nodejs/node/commit/6a62bb0070)] - **cluster**: expose result of send() (cjihrig) [#6998](https://github.com/nodejs/node/pull/6998)
* [[`2132d349b5`](https://github.com/nodejs/node/commit/2132d349b5)] - **cluster**: rewrite debug ports consistently (cjihrig) [#7050](https://github.com/nodejs/node/pull/7050)
* [[`0bd8f4c4d8`](https://github.com/nodejs/node/commit/0bd8f4c4d8)] - **cluster**: reset handle index on close (<NAME>) [#6981](https://github.com/nodejs/node/pull/6981)
* [[`93e150f1d6`](https://github.com/nodejs/node/commit/93e150f1d6)] - **cluster**: guard against undefined message handlers (cjihrig) [#6902](https://github.com/nodejs/node/pull/6902)
{'fraction_non_alphanumeric': 0.16824629060722923, 'fraction_numerical': 0.0903327014837571, 'mean_word_length': 4.793260128739114, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, 'https://': 120, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4430858', 'n_tokens_mistral': 7612, 'n_tokens_neox': 7352, 'n_words': 1394}