hermes-transform 0.36.0 → 0.36.1

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.
@@ -11,7 +11,7 @@
11
11
  import type {
12
12
  DeclareHook as DeclareHookType,
13
13
  ESNode,
14
- FunctionTypeAnnotation as FunctionTypeAnnotationType,
14
+ HookTypeAnnotation as HookTypeAnnotationType,
15
15
  } from 'hermes-estree';
16
16
  import type {DetachedNode, MaybeDetachedNode} from '../../detachedNode';
17
17
 
@@ -26,7 +26,7 @@ import {
26
26
  // and put it in the right spot after
27
27
  export type DeclareHookProps = {
28
28
  +name: string,
29
- +functionType: MaybeDetachedNode<FunctionTypeAnnotationType>,
29
+ +functionType: MaybeDetachedNode<HookTypeAnnotationType>,
30
30
  };
31
31
  export function DeclareHook(props: {
32
32
  ...$ReadOnly<DeclareHookProps>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-transform",
3
- "version": "0.36.0",
3
+ "version": "0.36.1",
4
4
  "description": "Tools built on top of Hermes-ESTree to enable codebase transformation",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -12,9 +12,9 @@
12
12
  "@babel/code-frame": "^7.16.0",
13
13
  "esquery": "^1.4.0",
14
14
  "flow-enums-runtime": "^0.0.6",
15
- "hermes-eslint": "0.36.0",
16
- "hermes-estree": "0.36.0",
17
- "hermes-parser": "0.36.0",
15
+ "hermes-eslint": "0.36.1",
16
+ "hermes-estree": "0.36.1",
17
+ "hermes-parser": "0.36.1",
18
18
  "string-width": "4.2.3"
19
19
  },
20
20
  "peerDependencies": {