Skip to content

Commit 5ef0bce

Browse files
authored
Merge pull request #3479 from iclanton/remove-legacy-resx
[localization-utilities] Remove the legacy RESX reader functions.
2 parents 6b8dcbb + ba6daa1 commit 5ef0bce

File tree

4 files changed

+10
-81
lines changed

4 files changed

+10
-81
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/localization-utilities",
5+
"comment": "(BREAKING CHANGE) Remove the legacy RESX reader functions.",
6+
"type": "minor"
7+
}
8+
],
9+
"packageName": "@rushstack/localization-utilities"
10+
}

common/reviews/api/localization-utilities.api.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,6 @@ export interface IPseudolocaleOptions {
7575
startDelimiter?: string;
7676
}
7777

78-
// @public @deprecated (undocumented)
79-
export interface IResxReaderOptions {
80-
ignoreString?: IgnoreStringFunction;
81-
// (undocumented)
82-
newlineNormalization: NewlineKind | undefined;
83-
// (undocumented)
84-
resxFilePath: string;
85-
// (undocumented)
86-
terminal: ITerminal;
87-
// (undocumented)
88-
warnOnMissingComment: boolean;
89-
}
90-
9178
// @public (undocumented)
9279
export interface ITypingsGeneratorOptions {
9380
// (undocumented)
@@ -125,12 +112,6 @@ export function parseResx(options: IParseResxOptions): ILocalizationFile;
125112
// @public (undocumented)
126113
export type ParserKind = 'resx' | 'loc.json' | 'resjson';
127114

128-
// @public @deprecated (undocumented)
129-
export function readResxAsLocFile(resxContents: string, options: IResxReaderOptions): ILocalizationFile;
130-
131-
// @public @deprecated (undocumented)
132-
export function readResxFileAsLocFile(options: IResxReaderOptions): ILocalizationFile;
133-
134115
// @public
135116
export class TypingsGenerator extends StringValuesTypingsGenerator {
136117
constructor(options: ITypingsGeneratorOptions);

libraries/localization-utilities/src/LegacyResxReader.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

libraries/localization-utilities/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ export { parseResJson } from './parsers/parseResJson';
1313
export { parseResx, IParseResxOptions, IParseResxOptionsBase } from './parsers/parseResx';
1414
export { parseLocFile, IParseLocFileOptions, ParserKind } from './LocFileParser';
1515
export { ITypingsGeneratorOptions, TypingsGenerator } from './TypingsGenerator';
16-
export { readResxFileAsLocFile, readResxAsLocFile, IResxReaderOptions } from './LegacyResxReader';
1716
export { getPseudolocalizer } from './Pseudolocalization';

0 commit comments

Comments
 (0)