babel-plugin-formatjs 10.5.24 → 10.5.26

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # babel-plugin-formatjs
2
2
 
3
- We've migrated the docs to https://formatjs.io/docs/tooling/babel-plugin/.
3
+ We've migrated the docs to https://formatjs.github.io/docs/tooling/babel-plugin/.
package/index.js CHANGED
@@ -69,4 +69,3 @@ exports.default = (0, helper_plugin_utils_1.declare)((api, options) => {
69
69
  },
70
70
  };
71
71
  });
72
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-plugin-formatjs",
3
- "version": "10.5.24",
3
+ "version": "10.5.26",
4
4
  "description": "Extracts string messages for translation from modules that use formatjs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,8 +20,8 @@
20
20
  "@types/babel__helper-plugin-utils": "^7.10.3",
21
21
  "@types/babel__traverse": "^7.20.6",
22
22
  "tslib": "2",
23
- "@formatjs/icu-messageformat-parser": "2.9.3",
24
- "@formatjs/ts-transformer": "3.13.22"
23
+ "@formatjs/icu-messageformat-parser": "2.9.4",
24
+ "@formatjs/ts-transformer": "3.13.23"
25
25
  },
26
26
  "keywords": [
27
27
  "babel-plugin",
package/types.js CHANGED
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
package/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as t from '@babel/types';
2
- import { Options, ExtractedMessageDescriptor, MessageDescriptor, MessageDescriptorPath } from './types';
3
2
  import { NodePath } from '@babel/core';
3
+ import { ExtractedMessageDescriptor, MessageDescriptor, MessageDescriptorPath, Options } from './types';
4
4
  export declare function getMessageDescriptorKey(path: NodePath<any>): string;
5
5
  export declare function createMessageDescriptor(propPaths: [
6
6
  NodePath<t.JSXIdentifier> | NodePath<t.Identifier>,
package/utils.js CHANGED
@@ -103,7 +103,7 @@ function getICUMessageValue(messagePath, { isJSXSource = false } = {}, preserveW
103
103
  'See: http://facebook.github.io/react/docs/jsx-gotchas.html');
104
104
  }
105
105
  throw messagePath.buildCodeFrameError('[React Intl] Message failed to parse. ' +
106
- 'See: https://formatjs.io/docs/core-concepts/icu-syntax' +
106
+ 'See: https://formatjs.github.io/docs/core-concepts/icu-syntax' +
107
107
  `\n${parseError}`);
108
108
  }
109
109
  return message;
@@ -149,4 +149,3 @@ function storeMessage({ id, description, defaultMessage }, path, { extractSource
149
149
  }
150
150
  messages.push({ id, description, defaultMessage, ...loc });
151
151
  }
152
- //# sourceMappingURL=utils.js.map
@@ -122,4 +122,3 @@ const visitor = function (path, { opts, file: { opts: { filename }, }, }) {
122
122
  }
123
123
  };
124
124
  exports.visitor = visitor;
125
- //# sourceMappingURL=call-expression.js.map
@@ -85,4 +85,3 @@ const visitor = function (path, { opts, file: { opts: { filename }, }, }) {
85
85
  (0, utils_1.tagAsExtracted)(path);
86
86
  };
87
87
  exports.visitor = visitor;
88
- //# sourceMappingURL=jsx-opening-element.js.map