Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the cldr group with 2 updates #40

Merged
merged 4 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '21.3'
node-version: '22.0'

- name: Get Composer cache directory path
id: composer-cache
Expand Down
2 changes: 1 addition & 1 deletion locales/currencies/en-CA.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
'STN' => new C('STN', 'São Tomé and Príncipe Dobra', narrow: 'Db', plurals: ['one' => 'São Tomé and Príncipe dobra', 'other' => 'São Tomé and Príncipe dobras']),
'TJR' => new C('TJR', 'Tajikistani Rouble', plurals: ['one' => 'Tajikistani rouble', 'other' => 'Tajikistani roubles']),
'TTD' => new C('TTD', 'Trinidad and Tobago Dollar', narrow: '$', plurals: ['one' => 'Trinidad and Tobago dollar', 'other' => 'Trinidad and Tobago dollars']),
'USD' => new C('USD', 'US Dollar', 'US$', 'US$', ['one' => 'US dollar', 'other' => 'US dollars']),
'USD' => new C('USD', 'US Dollar', 'US$', '$', ['one' => 'US dollar', 'other' => 'US dollars']),
'XXX' => new C('XXX', 'unknown currency', '¤', plurals: ['one' => '(unknown unit of currency)', 'other' => '(unknown currency)']),
];
1 change: 1 addition & 0 deletions locales/currencies/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
'XBC' => new C('XBC', 'European Unit of Account (XBC)', plurals: ['one' => 'European unit of account (XBC)', 'other' => 'European units of account (XBC)']),
'XBD' => new C('XBD', 'European Unit of Account (XBD)', plurals: ['one' => 'European unit of account (XBD)', 'other' => 'European units of account (XBD)']),
'XCD' => new C('XCD', 'East Caribbean Dollar', 'EC$', '$', ['one' => 'East Caribbean dollar', 'other' => 'East Caribbean dollars']),
'XCG' => new C('XCG', 'Caribbean guilder', 'Cg.', plurals: ['one' => 'Caribbean guilder', 'other' => 'Caribbean guilders']),
'XDR' => new C('XDR', 'Special Drawing Rights', plurals: 'special drawing rights'),
'XEU' => new C('XEU', 'European Currency Unit', plurals: ['one' => 'European currency unit', 'other' => 'European currency units']),
'XFO' => new C('XFO', 'French Gold Franc', plurals: ['one' => 'French gold franc', 'other' => 'French gold francs']),
Expand Down
1 change: 1 addition & 0 deletions locales/currencies/es.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
'XBC' => new C('XBC', 'unidad de cuenta europea (XBC)', plurals: ['one' => 'unidad de cuenta europea (XBC)', 'other' => 'unidades de cuenta europeas (XBC)']),
'XBD' => new C('XBD', 'unidad de cuenta europea (XBD)', plurals: ['one' => 'unidad de cuenta europea (XBD)', 'other' => 'unidades de cuenta europeas (XBD)']),
'XCD' => new C('XCD', 'dólar del Caribe Oriental', narrow: '$', plurals: ['one' => 'dólar del Caribe Oriental', 'other' => 'dólares del Caribe Oriental']),
'XCG' => new C('XCG', 'florín caribeño', 'Cg.', plurals: ['one' => 'florín caribeño', 'other' => 'florines caribeños']),
'XDR' => new C('XDR', 'derechos especiales de giro'),
'XEU' => new C('XEU', 'unidad de moneda europea', plurals: ['one' => 'unidad de moneda europea', 'other' => 'unidades de moneda europeas']),
'XFO' => new C('XFO', 'franco oro francés', plurals: ['one' => 'franco oro francés', 'other' => 'francos oro franceses']),
Expand Down
1 change: 1 addition & 0 deletions locales/currencies/fr.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
'XBC' => new C('XBC', 'unité de compte européenne (XBC)', plurals: ['one' => 'unité de compte 9 européenne (UEC–9)', 'other' => 'unités de compte 9 européennes (UEC–9)']),
'XBD' => new C('XBD', 'unité de compte européenne (XBD)', plurals: ['one' => 'unité de compte 17 européenne (UEC–17)', 'other' => 'unités de compte 17 européennes (UEC–17)']),
'XCD' => new C('XCD', 'dollar des Caraïbes orientales', narrow: '$', plurals: ['one' => 'dollar des Caraïbes orientales', 'other' => 'dollars des Caraïbes orientales']),
'XCG' => new C('XCG', 'florin caribéen', 'Cg.', plurals: ['one' => 'florin caribéen', 'other' => 'florins caribéens']),
'XDR' => new C('XDR', 'droit de tirage spécial', plurals: ['one' => 'droit de tirage spécial', 'other' => 'droits de tirage spéciaux']),
'XEU' => new C('XEU', 'unité de compte européenne (ECU)'),
'XFO' => new C('XFO', 'franc or', plurals: ['one' => 'franc or', 'other' => 'francs or']),
Expand Down
1 change: 1 addition & 0 deletions locales/currencies/hi-Latn.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
'XBC' => new C('XBC', 'European Unit of Account (XBC)', plurals: ['one' => 'European unit of account (XBC)', 'other' => 'European units of account (XBC)']),
'XBD' => new C('XBD', 'European Unit of Account (XBD)', plurals: ['one' => 'European unit of account (XBD)', 'other' => 'European units of account (XBD)']),
'XCD' => new C('XCD', 'East Caribbean Dollar', 'EC$', '$', ['one' => 'East Caribbean dollar', 'other' => 'East Caribbean dollars']),
'XCG' => new C('XCG', 'Caribbean guilder', 'Cg.', plurals: ['one' => 'Caribbean guilder', 'other' => 'Caribbean guilders']),
'XDR' => new C('XDR', 'Special Drawing Rights', plurals: 'special drawing rights'),
'XEU' => new C('XEU', 'European Currency Unit', plurals: ['one' => 'European currency unit', 'other' => 'European currency units']),
'XFO' => new C('XFO', 'French Gold Franc', plurals: ['one' => 'French gold franc', 'other' => 'French gold francs']),
Expand Down
1 change: 1 addition & 0 deletions locales/currencies/nl.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@
'XBC' => new C('XBC', 'Europese rekeneenheid (XBC)'),
'XBD' => new C('XBD', 'Europese rekeneenheid (XBD)'),
'XCD' => new C('XCD', 'Oost-Caribische dollar', 'EC$', '$'),
'XCG' => new C('XCG', 'Caribische gulden', 'Cg.', 'Cg'),
'XDR' => new C('XDR', 'Special Drawing Rights'),
'XEU' => new C('XEU', 'European Currency Unit'),
'XFO' => new C('XFO', 'Franse gouden franc'),
Expand Down
1 change: 1 addition & 0 deletions locales/currencies/und.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
'VND' => new C('VND', symbol: '₫', narrow: '₫', minorUnits: 0),
'XAF' => new C('XAF', symbol: 'FCFA', minorUnits: 0),
'XCD' => new C('XCD', symbol: 'EC$', narrow: '$'),
'XCG' => new C('XCG', symbol: 'Cg.'),
'XOF' => new C('XOF', symbol: "F\u{202F}CFA", minorUnits: 0),
'XPF' => new C('XPF', symbol: 'CFPF', minorUnits: 0),
'XXX' => new C('XXX', symbol: '¤'),
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"cldr-numbers-modern": "^44.0",
"cldr-units-modern": "^44.0"
"cldr-numbers-modern": "^45.0",
"cldr-units-modern": "^45.0"
}
}
2 changes: 1 addition & 1 deletion tests/Formatters/Number/LocaleDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static function provideLoadCurrenciesCases(): array
return [
['pl', new Currency('USD', 'dolar amerykański', narrow: '$', plurals: $polishPlurals)],
['pl-UNKNOWN', new Currency('USD', 'dolar amerykański', narrow: '$', plurals: $polishPlurals)],
['en-CA', new Currency('USD', 'US Dollar', 'US$', 'US$', ['one' => 'US dollar', 'other' => 'US dollars'])],
['en-CA', new Currency('USD', 'US Dollar', 'US$', '$', ['one' => 'US dollar', 'other' => 'US dollars'])],
['en-CA', new Currency('PLN', 'Polish Zloty', narrow: 'zł', plurals: ['one' => 'Polish zloty', 'other' => 'Polish zlotys'])],
];
}
Expand Down
4 changes: 2 additions & 2 deletions tests/Formatters/Number/NodeVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ final class NodeVersionTest extends TestCase
#[TestDox('local node uses correct icu version')]
public function testIcu(): void
{
$this->assertSame('74.1', $this->versionOf('icu'));
$this->assertSame('74.2', $this->versionOf('icu'));
}

#[TestDox('local node uses correct cldr version')]
public function testCldr(): void
{
$this->assertSame('44.0', $this->versionOf('cldr'));
$this->assertSame('44.1', $this->versionOf('cldr'));
}

private function versionOf(string $library): string
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# yarn lockfile v1


cldr-numbers-modern@^44.0:
version "44.0.1"
resolved "https://registry.yarnpkg.com/cldr-numbers-modern/-/cldr-numbers-modern-44.0.1.tgz#21c7da68b41012756a3826d0128137b55d182533"
integrity sha512-kNG28gSHtNeVrvmqS09Kugte5w1HQOrX6z69RzYvNF28Y5RpRa+H5YLVHl8iytoa6t9C2birLaWt+sW0kH+aRA==
cldr-numbers-modern@^45.0:
version "45.0.0"
resolved "https://registry.yarnpkg.com/cldr-numbers-modern/-/cldr-numbers-modern-45.0.0.tgz#5c9ccf421172d280d25b49e29686efaf1796b068"
integrity sha512-U8mQj/p8Db1woLcTPr5RNgP4mJokCYawp0ae+jvvU+fRCLF9Jx2vP/LGEkXf4k7bp0VcfB40JxkXZXhAXS247w==

cldr-units-modern@^44.0:
version "44.0.1"
resolved "https://registry.yarnpkg.com/cldr-units-modern/-/cldr-units-modern-44.0.1.tgz#d7fb6dd5b5b3e44bfa5150716b6e24be7de46abf"
integrity sha512-NMv31zxhumJD8Bqa+NxsiR10THiz0S90xpwAcOVvtS2LBcODssxqCyiAu/ebCW6hyQomQ2gJqtxljU+XZdFnnA==
cldr-units-modern@^45.0:
version "45.0.0"
resolved "https://registry.yarnpkg.com/cldr-units-modern/-/cldr-units-modern-45.0.0.tgz#fec3dab3ecdc9ad79c5e1e0491e04de0b1b15f4a"
integrity sha512-B0qgBcMwaMEALXsuco6v+xeRRi1NtmTeYMFNJQzJXm/Mwirm8iW8YN1zdl83Ae6iI3JbJTuwhK1+IuHO3mVs6w==