@angular/localize
Advanced tools
Comparing version
/** | ||
* @license Angular v20.0.2 | ||
* @license Angular v20.0.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v20.0.2 | ||
* @license Angular v20.0.3 | ||
* (c) 2010-2025 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
{ | ||
"name": "@angular/localize", | ||
"version": "20.0.2", | ||
"version": "20.0.3", | ||
"description": "Angular - library for localizing messages", | ||
@@ -70,4 +70,4 @@ "bin": { | ||
"peerDependencies": { | ||
"@angular/compiler": "20.0.2", | ||
"@angular/compiler-cli": "20.0.2" | ||
"@angular/compiler": "20.0.3", | ||
"@angular/compiler-cli": "20.0.3" | ||
}, | ||
@@ -74,0 +74,0 @@ "module": "./fesm2022/localize.mjs", |
@@ -14,3 +14,3 @@ | ||
checkDuplicateMessages | ||
} from "./chunk-7UITC7I7.js"; | ||
} from "./chunk-TONUHCMD.js"; | ||
import { | ||
@@ -25,3 +25,3 @@ ArbTranslationParser, | ||
makeLocalePlugin | ||
} from "./chunk-7COYUM4Y.js"; | ||
} from "./chunk-YGTHV3U7.js"; | ||
import { | ||
@@ -36,5 +36,5 @@ Diagnostics, | ||
unwrapSubstitutionsFromLocalizeCall | ||
} from "./chunk-ARKHNZ5Y.js"; | ||
} from "./chunk-EZ3BW4XG.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.js | ||
import { NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize"; | ||
@@ -41,0 +41,0 @@ setFileSystem(new NodeJSFileSystem()); |
@@ -16,6 +16,6 @@ #!/usr/bin/env node | ||
parseFormatOptions | ||
} from "../../chunk-7UITC7I7.js"; | ||
import "../../chunk-ARKHNZ5Y.js"; | ||
} from "../../chunk-TONUHCMD.js"; | ||
import "../../chunk-EZ3BW4XG.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.js | ||
import { ConsoleLogger, LogLevel, NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize"; | ||
@@ -25,3 +25,3 @@ import { globSync } from "tinyglobby"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.js | ||
function extractTranslations({ rootPath: rootPath2, sourceFilePaths: sourceFilePaths2, sourceLocale, format: format2, outputPath: output, logger: logger2, useSourceMaps, useLegacyIds, duplicateMessageHandling: duplicateMessageHandling2, formatOptions: formatOptions2 = {}, fileSystem: fs }) { | ||
@@ -69,3 +69,3 @@ const basePath = fs.resolve(rootPath2); | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.js | ||
process.title = "Angular Localization Message Extractor (localize-extract)"; | ||
@@ -72,0 +72,0 @@ var args = process.argv.slice(2); |
@@ -7,3 +7,3 @@ #!/usr/bin/env node | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.js | ||
import { ConsoleLogger, LogLevel, NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize"; | ||
@@ -13,6 +13,6 @@ import { globSync } from "tinyglobby"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.js | ||
import { getFileSystem } from "@angular/compiler-cli/private/localize"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.js | ||
function migrateFile(sourceCode, mapping) { | ||
@@ -31,3 +31,3 @@ const legacyIds = Object.keys(mapping); | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.js | ||
function migrateFiles({ rootPath: rootPath2, translationFilePaths: translationFilePaths2, mappingFilePath, logger: logger2 }) { | ||
@@ -48,3 +48,3 @@ const fs2 = getFileSystem(); | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.js | ||
var args = process.argv.slice(2); | ||
@@ -51,0 +51,0 @@ var options = yargs(args).option("r", { |
@@ -15,8 +15,8 @@ #!/usr/bin/env node | ||
makeLocalePlugin | ||
} from "../../chunk-7COYUM4Y.js"; | ||
} from "../../chunk-YGTHV3U7.js"; | ||
import { | ||
Diagnostics | ||
} from "../../chunk-ARKHNZ5Y.js"; | ||
} from "../../chunk-EZ3BW4XG.js"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.js | ||
import { NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize"; | ||
@@ -26,3 +26,3 @@ import { globSync } from "tinyglobby"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.js | ||
function getOutputPathFn(fs2, outputFolder) { | ||
@@ -33,6 +33,6 @@ const [pre, post] = outputFolder.split("{{LOCALE}}"); | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.js | ||
import { getFileSystem, relativeFrom } from "@angular/compiler-cli/private/localize"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.js | ||
import { absoluteFrom } from "@angular/compiler-cli/private/localize"; | ||
@@ -66,3 +66,3 @@ var AssetTranslationHandler = class { | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.js | ||
import { absoluteFrom as absoluteFrom2 } from "@angular/compiler-cli/private/localize"; | ||
@@ -141,3 +141,3 @@ import babel from "@babel/core"; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.js | ||
var TranslationLoader = class { | ||
@@ -215,3 +215,3 @@ fs; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.js | ||
var Translator = class { | ||
@@ -241,3 +241,3 @@ fs; | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.js | ||
function translateFiles({ sourceRootPath: sourceRootPath2, sourceFilePaths: sourceFilePaths2, translationFilePaths: translationFilePaths2, translationFileLocales: translationFileLocales2, outputPathFn: outputPathFn2, diagnostics: diagnostics2, missingTranslation: missingTranslation2, duplicateTranslation: duplicateTranslation2, sourceLocale: sourceLocale2 }) { | ||
@@ -259,3 +259,3 @@ const fs2 = getFileSystem(); | ||
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.js | ||
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.js | ||
process.title = "Angular Localization Message Translator (localize-translate)"; | ||
@@ -262,0 +262,0 @@ var args = process.argv.slice(2); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
353646
0.18%0
-100%