node/tools/icu
Albert Wang 418dd68b61
tools: update icu to 65.1
Update the version of the bundled ICU (deps/icu-small) to ICU version
65.2.

Fixes: https://github.com/nodejs/node/issues/30211
Fixes: https://github.com/nodejs/node/issues/29540

PR-URL: https://github.com/nodejs/node/pull/30232
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
2019-12-05 20:39:20 -05:00
..
patches/64/source deps: bump minimum icu version to 64 2019-06-01 10:00:42 -04:00
current_ver.dep tools: update icu to 65.1 2019-12-05 20:39:20 -05:00
icu_small.json deps: enable unit data in small-icu 2019-09-30 06:48:33 -07:00
icu_versions.json deps: bump minimum icu version to 64 2019-06-01 10:00:42 -04:00
icu-generic.gyp tools: support full-icu by default 2019-10-03 15:21:26 -07:00
icu-system.gyp
iculslocs.cc tools: fix iculslocs to support ICU 65.1 2019-09-12 15:30:41 -07:00
icutrim.py tools: fix Python 3 issues in tools/icu/icutrim.py 2019-08-21 16:30:05 -07:00
no-op.cc
README.md doc,deps: document how to maintain ICU in Node.js 2019-11-27 01:54:52 -05:00
shrink-icu-src.py tools: support full-icu by default 2019-10-03 15:21:26 -07:00

Notes about the tools/icu subdirectory

This directory contains tools, data, and information about the International Components for Unicode integration. ICU is used both by V8 and also by Node.js itself to provide internationalization functionality.

  • patches/ are one-off patches, actually entire source file replacements, organized by ICU version number.
  • icu_small.json controls the "small" (English only) ICU. It is input to icutrim.py
  • icu-generic.gyp is the build file used for most ICU builds within ICU.
  • icu-system.gyp is an alternate build file used when --with-intl=system-icu is invoked. It builds against the pkg-config located ICU.
  • iculslocs.cc is source for the iculslocs utility, invoked by icutrim.py as part of repackaging. Not used separately. See source for more details.
  • no-op.cc — empty function to convince gyp to use a C++ compiler.
  • README.md — you are here
  • shrink-icu-src.py — this is used during upgrade (see guide below)

Note:

The files in this directory were written for the Node.js v0.12 effort. The original intent was to merge the tools such as icutrim.py and iculslocs.cc back into ICU. ICU has gained its own “data slicer” tool. There is an issue open, https://github.com/nodejs/node/issues/25136 for replacing icutrim.py with the ICU data slicer.

See Also