🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@angular/localize

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/localize - npm Package Compare versions

Comparing version

to
20.0.2

/**
* @license Angular v20.0.1
* @license Angular v20.0.2
* (c) 2010-2025 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

/**
* @license Angular v20.0.1
* @license Angular v20.0.2
* (c) 2010-2025 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

{
"name": "@angular/localize",
"version": "20.0.1",
"version": "20.0.2",
"description": "Angular - library for localizing messages",

@@ -64,3 +64,3 @@ "bin": {

"dependencies": {
"@babel/core": "7.27.1",
"@babel/core": "7.27.4",
"@types/babel__core": "7.20.5",

@@ -71,4 +71,4 @@ "tinyglobby": "^0.2.12",

"peerDependencies": {
"@angular/compiler": "20.0.1",
"@angular/compiler-cli": "20.0.1"
"@angular/compiler": "20.0.2",
"@angular/compiler-cli": "20.0.2"
},

@@ -75,0 +75,0 @@ "module": "./fesm2022/localize.mjs",

@@ -6,3 +6,3 @@ {

"description": "Add @angular/localize polyfill to a project.",
"factory": "./ng-add/ng_add_bundle.js",
"factory": "./ng-add/ng_add_bundle.cjs",
"schema": "ng-add/schema.json"

@@ -9,0 +9,0 @@ }

@@ -14,3 +14,3 @@

checkDuplicateMessages
} from "./chunk-TONUHCMD.js";
} from "./chunk-7UITC7I7.js";
import {

@@ -25,3 +25,3 @@ ArbTranslationParser,

makeLocalePlugin
} from "./chunk-YGTHV3U7.js";
} from "./chunk-7COYUM4Y.js";
import {

@@ -36,5 +36,5 @@ Diagnostics,

unwrapSubstitutionsFromLocalizeCall
} from "./chunk-EZ3BW4XG.js";
} from "./chunk-ARKHNZ5Y.js";
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.js
// bazel-out/k8-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-TONUHCMD.js";
import "../../chunk-EZ3BW4XG.js";
} from "../../chunk-7UITC7I7.js";
import "../../chunk-ARKHNZ5Y.js";
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.js
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.js
import { getFileSystem } from "@angular/compiler-cli/private/localize";
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.js
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.js
function migrateFile(sourceCode, mapping) {

@@ -31,3 +31,3 @@ const legacyIds = Object.keys(mapping);

// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.js
// bazel-out/k8-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-YGTHV3U7.js";
} from "../../chunk-7COYUM4Y.js";
import {
Diagnostics
} from "../../chunk-EZ3BW4XG.js";
} from "../../chunk-ARKHNZ5Y.js";
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.js
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.js
import { getFileSystem, relativeFrom } from "@angular/compiler-cli/private/localize";
// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.js
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.js
var TranslationLoader = class {

@@ -215,3 +215,3 @@ fs;

// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.js
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.js
var Translator = class {

@@ -241,3 +241,3 @@ fs;

// bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.js
// bazel-out/k8-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/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.js
// bazel-out/k8-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