@angular/localize 15.1.0-next.1 → 15.1.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2015/init.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.2
2
+ * @license Angular v15.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.2
2
+ * @license Angular v15.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm2020/init.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.2
2
+ * @license Angular v15.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.2
2
+ * @license Angular v15.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/init/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.1.0-next.1
2
+ * @license Angular v15.1.0-next.2
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/localize",
3
- "version": "15.1.0-next.1",
3
+ "version": "15.1.0-next.2",
4
4
  "description": "Angular - library for localizing messages",
5
5
  "bin": {
6
6
  "localize-translate": "./tools/bundles/src/translate/cli.js",
@@ -76,8 +76,8 @@
76
76
  "yargs": "^17.2.1"
77
77
  },
78
78
  "peerDependencies": {
79
- "@angular/compiler": "15.1.0-next.1",
80
- "@angular/compiler-cli": "15.1.0-next.1"
79
+ "@angular/compiler": "15.1.0-next.2",
80
+ "@angular/compiler-cli": "15.1.0-next.2"
81
81
  },
82
82
  "fesm2020": "./fesm2020/localize.mjs",
83
83
  "fesm2015": "./fesm2015/localize.mjs",
@@ -76,7 +76,7 @@
76
76
  (0, dependencies_1.addPackageJsonDependency)(host, {
77
77
  name: '@angular/localize',
78
78
  type: dependencies_1.NodeDependencyType.Default,
79
- version: `~15.0.2`,
79
+ version: `~15.1.0-next.2`,
80
80
  });
81
81
  // Add a task to run the package manager. This is necessary because we updated
82
82
  // "package.json" and we want lock files to reflect this.
@@ -11,7 +11,7 @@ export { computeMsgId } from '@angular/compiler';
11
11
  *
12
12
  * Uses `{$placeholder-name}` to indicate a placeholder.
13
13
  */
14
- export declare type SourceMessage = string;
14
+ export type SourceMessage = string;
15
15
  /**
16
16
  * A string containing a translation target message.
17
17
  *
@@ -19,11 +19,11 @@ export declare type SourceMessage = string;
19
19
  *
20
20
  * Uses `{$placeholder-name}` to indicate a placeholder.
21
21
  */
22
- export declare type TargetMessage = string;
22
+ export type TargetMessage = string;
23
23
  /**
24
24
  * A string that uniquely identifies a message, to be used for matching translations.
25
25
  */
26
- export declare type MessageId = string;
26
+ export type MessageId = string;
27
27
  /**
28
28
  * Declares a copy of the `AbsoluteFsPath` branded type in `@angular/compiler-cli` to avoid an
29
29
  * import into `@angular/compiler-cli`. The compiler-cli's declaration files are not necessarily
@@ -34,7 +34,7 @@ export declare type MessageId = string;
34
34
  *
35
35
  * @see https://github.com/angular/angular/issues/45179
36
36
  */
37
- declare type AbsoluteFsPathLocalizeCopy = string & {
37
+ type AbsoluteFsPathLocalizeCopy = string & {
38
38
  _brand: 'AbsoluteFsPath';
39
39
  };
40
40
  /**
@@ -10,7 +10,7 @@ export interface ParsedTranslation extends MessageMetadata {
10
10
  /**
11
11
  * The internal structure used by the runtime localization to translate messages.
12
12
  */
13
- export declare type ParsedTranslations = Record<MessageId, ParsedTranslation>;
13
+ export type ParsedTranslations = Record<MessageId, ParsedTranslation>;
14
14
  export declare class MissingTranslationError extends Error {
15
15
  readonly parsedMessage: ParsedMessage;
16
16
  private readonly type;
@@ -28,10 +28,10 @@
28
28
  import * as _babelNamespace from '@babel/core';
29
29
  import _typesNamespace = _babelNamespace.types;
30
30
  export import types = _typesNamespace;
31
- export declare type PluginObj = _babelNamespace.PluginObj;
32
- export declare type ConfigAPI = _babelNamespace.ConfigAPI;
33
- export declare type NodePath<T = _babelNamespace.Node> = _babelNamespace.NodePath<T>;
34
- export declare type TransformOptions = _babelNamespace.TransformOptions;
31
+ export type PluginObj = _babelNamespace.PluginObj;
32
+ export type ConfigAPI = _babelNamespace.ConfigAPI;
33
+ export type NodePath<T = _babelNamespace.Node> = _babelNamespace.NodePath<T>;
34
+ export type TransformOptions = _babelNamespace.TransformOptions;
35
35
  export declare const NodePath: typeof _babelNamespace.NodePath;
36
36
  export declare const transformSync: typeof _babelNamespace.transformSync;
37
37
  export declare const parseSync: typeof _babelNamespace.parseSync;
@@ -9,7 +9,7 @@
9
9
  /**
10
10
  * How to handle potential diagnostics.
11
11
  */
12
- export declare type DiagnosticHandlingStrategy = 'error' | 'warning' | 'ignore';
12
+ export type DiagnosticHandlingStrategy = 'error' | 'warning' | 'ignore';
13
13
  /**
14
14
  * This class is used to collect and then report warnings and errors that occur during the execution
15
15
  * of the tools.
@@ -6,9 +6,9 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  /// <amd-module name="@angular/localize/tools/src/extract/translation_files/format_options" />
9
- export declare type FormatOptions = Record<string, string>;
10
- export declare type ValidOption = [key: string, values: string[]];
11
- export declare type ValidOptions = ValidOption[];
9
+ export type FormatOptions = Record<string, string>;
10
+ export type ValidOption = [key: string, values: string[]];
11
+ export type ValidOptions = ValidOption[];
12
12
  /**
13
13
  * Check that the given `options` are allowed based on the given `validOptions`.
14
14
  * @param name The name of the serializer that is receiving the options.
@@ -7,7 +7,7 @@
7
7
  */
8
8
  /// <amd-module name="@angular/localize/tools/src/migrate/migrate" />
9
9
  /** Mapping between legacy message IDs and their canonical counterparts. */
10
- export declare type MigrationMapping = {
10
+ export type MigrationMapping = {
11
11
  [legacyId: string]: string;
12
12
  };
13
13
  /** Migrates the legacy message IDs within a single file. */
@@ -27,7 +27,7 @@ export interface CannotParseAnalysis {
27
27
  /**
28
28
  * Information about whether a `TranslationParser` can parse a given file.
29
29
  */
30
- export declare type ParseAnalysis<Hint> = CanParseAnalysis<Hint> | CannotParseAnalysis;
30
+ export type ParseAnalysis<Hint> = CanParseAnalysis<Hint> | CannotParseAnalysis;
31
31
  /**
32
32
  * An object that holds translations that have been parsed from a translation file.
33
33
  */