flow-api-translator 0.332.0 → 0.333.0

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.
@@ -530,8 +530,8 @@ const getTransforms = (originalCode, scopeManager, opts) => {
530
530
  const source = {
531
531
  type: 'Literal',
532
532
  loc: DUMMY_LOC,
533
- raw: current.argument.raw,
534
- value: current.argument.value
533
+ raw: current.source.raw,
534
+ value: current.source.value
535
535
  };
536
536
  return {
537
537
  type: 'TSImportType',
@@ -788,8 +788,8 @@ const getTransforms = (
788
788
  const source: TSESTree.StringLiteral = {
789
789
  type: 'Literal',
790
790
  loc: DUMMY_LOC,
791
- raw: current.argument.raw,
792
- value: current.argument.value,
791
+ raw: current.source.raw,
792
+ value: current.source.value,
793
793
  };
794
794
  return {
795
795
  type: 'TSImportType',
@@ -530,8 +530,8 @@ const getTransforms = (originalCode, scopeManager, opts) => {
530
530
  const source = {
531
531
  type: 'Literal',
532
532
  loc: DUMMY_LOC,
533
- raw: current.argument.raw,
534
- value: current.argument.value
533
+ raw: current.source.raw,
534
+ value: current.source.value
535
535
  };
536
536
  return {
537
537
  type: 'TSImportType',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-api-translator",
3
- "version": "0.332.0",
3
+ "version": "0.333.0",
4
4
  "description": "Toolkit for creating Flow and TypeScript compatible libraries from Flow source code.",
5
5
  "homepage": "https://flow.org",
6
6
  "license": "MIT",
@@ -14,10 +14,10 @@
14
14
  "@typescript-eslint/parser": "8.38.0",
15
15
  "@typescript-eslint/visitor-keys": "8.38.0",
16
16
  "flow-enums-runtime": "^0.0.6",
17
- "flow-eslint": "0.332.0",
18
- "flow-estree": "0.332.0",
19
- "flow-parser": "0.332.0",
20
- "flow-transform": "0.332.0",
17
+ "flow-eslint": "0.333.0",
18
+ "flow-estree": "0.333.0",
19
+ "flow-parser": "0.333.0",
20
+ "flow-transform": "0.333.0",
21
21
  "typescript": "5.3.2"
22
22
  },
23
23
  "peerDependencies": {