node/tools/icu
Node.js GitHub Bot 34dc8e37bf
deps: update icu to 76.1
PR-URL: https://github.com/nodejs/node/pull/55551
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2024-11-07 10:21:22 +00:00
..
patches/75/source deps: backport ICU-22787 to fix ClangCL on Windows 2024-08-27 18:44:05 +00:00
current_ver.dep deps: update icu to 76.1 2024-11-07 10:21:22 +00: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 73 2023-10-10 08:26:43 +02:00
icu-generic.gyp build,win: enable clang-cl compilation 2024-09-09 10:26:00 +00:00
icu-system.gyp
iculslocs.cc tools: fix undeclared identifier FALSE 2020-11-28 05:48:30 -08:00
icutrim.py tools: allow icutrim.py to run on python2 2023-01-21 20:05:17 +00:00
no-op.cc
README.md doc: create maintaining folder for deps 2023-05-02 17:03:23 +00:00
shrink-icu-src.py meta: remove unneeded ignore rules from ruff 2024-09-18 17:07:37 +02:00

Notes about the tools/icu subdirectory

This directory contains tools and information about the International Components for Unicode (ICU) integration. Both V8 and Node.js use ICU 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 contains an empty function to convince gyp to use a C++ compiler.
  • shrink-icu-src.py 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