Bump cldr-core and cldr-localenames-full (#9662)

Bumps [cldr-core](https://github.com/unicode-cldr/cldr-json) and [cldr-localenames-full](https://github.com/unicode-cldr/cldr-json). These dependencies needed to be updated together.

Updates `cldr-core` from 41.0.0 to 43.0.0
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/41.0.0...43.0.0)

Updates `cldr-localenames-full` from 41.0.0 to 43.0.0
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/41.0.0...43.0.0)

---
updated-dependencies:
- dependency-name: cldr-core
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: cldr-localenames-full
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Raifer <martin@raifer.tech>
This commit is contained in:
dependabot[bot]
2023-05-26 12:55:00 +02:00
committed by GitHub
parent 7520c9b674
commit a18de6b5c3
3 changed files with 19 additions and 13 deletions
+16 -10
View File
@@ -47,8 +47,8 @@
"autoprefixer": "^10.4.14",
"chai": "^4.3.7",
"chalk": "^4.1.2",
"cldr-core": "^41.0.0",
"cldr-localenames-full": "^41.0.0",
"cldr-core": "^43.0.0",
"cldr-localenames-full": "^43.0.0",
"concat-files": "^0.1.1",
"d3": "~7.8.4",
"dotenv": "^16.0.3",
@@ -2250,16 +2250,18 @@
"license": "ISC"
},
"node_modules/cldr-core": {
"version": "41.0.0",
"dev": true,
"license": "Unicode-DFS-2016"
"version": "43.0.0",
"resolved": "https://registry.npmjs.org/cldr-core/-/cldr-core-43.0.0.tgz",
"integrity": "sha512-dPsV6/yTve1tvK2tyOEVkcugOX1MjIWWOlT/IYcHN33IesBykFR5pzUBpKnco7wZxwNGe3+d3tOVQcN+7i9/iA==",
"dev": true
},
"node_modules/cldr-localenames-full": {
"version": "41.0.0",
"version": "43.0.0",
"resolved": "https://registry.npmjs.org/cldr-localenames-full/-/cldr-localenames-full-43.0.0.tgz",
"integrity": "sha512-sTO3eShh8mUhoGf7SQAw/LPR/SSWVrK2jnolhkVr3zKaeBgXyLjAeXTjKdPq9uYXmnV9E5RXDdvfyz6Huf3tYA==",
"dev": true,
"license": "Unicode-DFS-2016",
"peerDependencies": {
"cldr-core": "41.0.0"
"cldr-core": "43.0.0"
}
},
"node_modules/cliui": {
@@ -11247,11 +11249,15 @@
"version": "2.2.0"
},
"cldr-core": {
"version": "41.0.0",
"version": "43.0.0",
"resolved": "https://registry.npmjs.org/cldr-core/-/cldr-core-43.0.0.tgz",
"integrity": "sha512-dPsV6/yTve1tvK2tyOEVkcugOX1MjIWWOlT/IYcHN33IesBykFR5pzUBpKnco7wZxwNGe3+d3tOVQcN+7i9/iA==",
"dev": true
},
"cldr-localenames-full": {
"version": "41.0.0",
"version": "43.0.0",
"resolved": "https://registry.npmjs.org/cldr-localenames-full/-/cldr-localenames-full-43.0.0.tgz",
"integrity": "sha512-sTO3eShh8mUhoGf7SQAw/LPR/SSWVrK2jnolhkVr3zKaeBgXyLjAeXTjKdPq9uYXmnV9E5RXDdvfyz6Huf3tYA==",
"dev": true,
"requires": {}
},
+2 -2
View File
@@ -82,8 +82,8 @@
"autoprefixer": "^10.4.14",
"chai": "^4.3.7",
"chalk": "^4.1.2",
"cldr-core": "^41.0.0",
"cldr-localenames-full": "^41.0.0",
"cldr-core": "^43.0.0",
"cldr-localenames-full": "^43.0.0",
"concat-files": "^0.1.1",
"d3": "~7.8.4",
"dotenv": "^16.0.3",
+1 -1
View File
@@ -67,7 +67,7 @@ function getLangNamesInNativeLang() {
let langDirectoryPaths = fs.readdirSync(cldrMainDir);
langDirectoryPaths.forEach(code => {
let languagesPath = `${cldrMainDir}${code}/languages.json`;
//if (!fs.existsSync(languagesPath)) return;
if (!fs.existsSync(languagesPath)) return;
let languageObj = JSON.parse(fs.readFileSync(languagesPath, 'utf8')).main[code];
let identity = languageObj.identity;