babel-plugin-formatjs 10.5.1 → 10.5.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/index.d.ts +0 -1
- package/package.json +3 -3
- package/types.d.ts +0 -1
- package/utils.d.ts +0 -1
- package/visitors/call-expression.d.ts +0 -1
- package/visitors/jsx-opening-element.d.ts +0 -1
package/index.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export type ExtractionResult<M = Record<string, string>> = {
|
|
|
7
7
|
export declare const DEFAULT_ID_INTERPOLATION_PATTERN = "[sha512:contenthash:base64:6]";
|
|
8
8
|
declare const _default: (api: object, options: Options | null | undefined, dirname: string) => PluginObj<PluginPass>;
|
|
9
9
|
export default _default;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-formatjs",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.2",
|
|
4
4
|
"description": "Extracts string messages for translation from modules that use formatjs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"@babel/plugin-syntax-jsx": "7",
|
|
17
17
|
"@babel/traverse": "7",
|
|
18
18
|
"@babel/types": "^7.12.11",
|
|
19
|
-
"@formatjs/icu-messageformat-parser": "2.
|
|
20
|
-
"@formatjs/ts-transformer": "3.13.
|
|
19
|
+
"@formatjs/icu-messageformat-parser": "2.5.0",
|
|
20
|
+
"@formatjs/ts-transformer": "3.13.2",
|
|
21
21
|
"@types/babel__core": "^7.1.7",
|
|
22
22
|
"@types/babel__helper-plugin-utils": "^7.10.0",
|
|
23
23
|
"@types/babel__traverse": "^7.1.7",
|
package/types.d.ts
CHANGED
package/utils.d.ts
CHANGED
|
@@ -31,4 +31,3 @@ export declare function wasExtracted(path: NodePath<any>): boolean;
|
|
|
31
31
|
* @param messages
|
|
32
32
|
*/
|
|
33
33
|
export declare function storeMessage({ id, description, defaultMessage }: MessageDescriptor, path: NodePath<any>, { extractSourceLocation }: Options, filename: string | undefined, messages: ExtractedMessageDescriptor[]): void;
|
|
34
|
-
//# sourceMappingURL=utils.d.ts.map
|