Skip to content

Commit 7079630

Browse files
authored
chore: migrate jsx-ast-utils to jsx-ast-utils-x (#22)
1 parent 2627d60 commit 7079630

File tree

74 files changed

+82
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+82
-129
lines changed

.changeset/cuddly-beers-remain.md

Lines changed: 5 additions & 0 deletions

__tests__/src/rules/interactive-supports-focus-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// -----------------------------------------------------------------------------
99

1010
import { RuleTester } from 'eslint';
11-
import { eventHandlers, eventHandlersByType } from 'jsx-ast-utils';
11+
import { eventHandlers, eventHandlersByType } from 'jsx-ast-utils-x';
1212
import { configs } from '../../../src/index';
1313
import parserOptionsMapper from '../../__util__/parserOptionsMapper';
1414
import parsers from '../../__util__/helpers/parsers';

__tests__/src/util/getAccessibleChildText-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import getAccessibleChildText from '../../../src/util/getAccessibleChildText';
55
import JSXAttributeMock from '../../../__mocks__/JSXAttributeMock';

__tests__/src/util/hasAccessibleChild-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import hasAccessibleChild from '../../../src/util/hasAccessibleChild';
55
import JSXElementMock from '../../../__mocks__/JSXElementMock';

__tests__/src/util/isAbstractRole-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import isAbstractRole from '../../../src/util/isAbstractRole';
55
import {

__tests__/src/util/isDOMElement-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from 'tape';
22
import { dom } from 'aria-query';
3-
import { elementType } from 'jsx-ast-utils';
3+
import { elementType } from 'jsx-ast-utils-x';
44

55
import isDOMElement from '../../../src/util/isDOMElement';
66
import JSXElementMock from '../../../__mocks__/JSXElementMock';

__tests__/src/util/isFocusable-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import isFocusable from '../../../src/util/isFocusable';
55
import {

__tests__/src/util/isInteractiveElement-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import isInteractiveElement from '../../../src/util/isInteractiveElement';
55
import JSXElementMock from '../../../__mocks__/JSXElementMock';

__tests__/src/util/isInteractiveRole-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import isInteractiveRole from '../../../src/util/isInteractiveRole';
55
import {

__tests__/src/util/isNonInteractiveElement-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import test from 'tape';
2-
import { elementType } from 'jsx-ast-utils';
2+
import { elementType } from 'jsx-ast-utils-x';
33

44
import isNonInteractiveElement from '../../../src/util/isNonInteractiveElement';
55
import {

0 commit comments

Comments
 (0)