File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,6 @@ Indicates `hasCrypto` and `crypto` with fips.
158158
159159Indicates if [ internationalization] is supported.
160160
161- ### hasSmallICU
162- * [ < ; boolean>]
163-
164- Indicates ` hasIntl ` and ` small-icu ` are supported.
165-
166161### hasIPv6
167162* [ < ; boolean>]
168163
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ const { fixturesDir } = require('./fixtures');
3232const tmpdir = require ( './tmpdir' ) ;
3333const {
3434 bits,
35- hasIntl,
36- hasSmallICU
35+ hasIntl
3736} = process . binding ( 'config' ) ;
3837
3938const noop = ( ) => { } ;
@@ -715,7 +714,6 @@ module.exports = {
715714 hasIntl,
716715 hasCrypto,
717716 hasIPv6,
718- hasSmallICU,
719717 hasMultiLocalhost,
720718 isAIX,
721719 isAlive,
Original file line number Diff line number Diff line change 11'use strict' ;
22const common = require ( '../common' ) ;
33const os = require ( 'os' ) ;
4- if ( ! ( common . hasIntl && common . hasSmallICU ) )
4+
5+ const { hasSmallICU } = process . binding ( 'config' ) ;
6+ if ( ! ( common . hasIntl && hasSmallICU ) )
57 common . skip ( 'missing Intl' ) ;
68
79const assert = require ( 'assert' ) ;
You can’t perform that action at this time.
0 commit comments