@axe-core/react 4.4.6-alpha.322 → 4.4.6-alpha.324

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/dist/cache.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cache.js","sourceRoot":"","sources":["../cache.ts"],"names":[],"mappings":";;AAAA,IAAM,MAAM,GAA8B,EAAE,CAAC;AAE7C,IAAM,KAAK,GAAG;IACZ,GAAG,EAAH,UAAI,GAAW,EAAE,KAAa;QAC5B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC;IACD,GAAG,EAAH,UAAI,GAAW;QACb,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,KAAK,EAAL;QACE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAA,GAAG;YAC7B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC","sourcesContent":["const _cache: { [key: string]: string } = {};\n\nconst cache = {\n set(key: string, value: string): void {\n _cache[key] = value;\n },\n get(key: string): string {\n return _cache[key];\n },\n clear(): void {\n Object.keys(_cache).forEach(key => {\n delete _cache[key];\n });\n }\n};\n\nexport default cache;\n"]}
1
+ {"version":3,"file":"cache.js","sourceRoot":"","sources":["../cache.ts"],"names":[],"mappings":";;AAAA,IAAM,MAAM,GAA8B,EAAE,CAAC;AAE7C,IAAM,KAAK,GAAG;IACZ,GAAG,YAAC,GAAW,EAAE,KAAa;QAC5B,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC;IACD,GAAG,YAAC,GAAW;QACb,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,KAAK;QACH,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAA,GAAG;YAC7B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC","sourcesContent":["const _cache: { [key: string]: string } = {};\n\nconst cache = {\n set(key: string, value: string): void {\n _cache[key] = value;\n },\n get(key: string): string {\n return _cache[key];\n },\n clear(): void {\n Object.keys(_cache).forEach(key => {\n delete _cache[key];\n });\n }\n};\n\nexport default cache;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/react",
3
- "version": "4.4.6-alpha.322+2bdd8a8",
3
+ "version": "4.4.6-alpha.324+afe8d15",
4
4
  "description": "Dynamic accessibility analysis for React using axe-core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,28 +47,29 @@
47
47
  "author": "Dylan Barrell (dylan@barrell.com)",
48
48
  "license": "MPL-2.0",
49
49
  "dependencies": {
50
- "axe-core": "^4.4.1",
50
+ "axe-core": "^4.4.3",
51
51
  "requestidlecallback": "^0.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@babel/core": "^7.17.3",
55
- "@babel/preset-env": "^7.16.11",
56
- "@babel/preset-react": "^7.16.7",
57
- "@babel/preset-typescript": "^7.16.7",
58
- "@types/react": "^17.0.33",
59
- "@types/react-dom": "^17.0.10",
60
- "@types/requestidlecallback": "^0.3.4",
61
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
54
+ "@babel/core": "^7.19.3",
55
+ "@babel/preset-env": "^7.19.4",
56
+ "@babel/preset-react": "^7.18.6",
57
+ "@babel/preset-typescript": "^7.18.6",
58
+ "@types/react": "17.0.0",
59
+ "@types/react-dom": "17.0.0",
60
+ "@types/requestidlecallback": "^0.3.5",
61
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
62
62
  "chai": "^4.3.6",
63
63
  "enzyme": "^3.11.0",
64
- "http-server": "^14.0.0",
65
- "jest": "^27.5.1",
66
- "react": "^17.0.2",
67
- "react-dom": "^17.0.2",
68
- "react-shadow": "^19.0.2",
69
- "sinon": "^13.0.1",
70
- "ts-node": "^10.4.0",
71
- "typescript": "^4.4.4"
64
+ "http-server": "^14.1.1",
65
+ "jest": "^29.1.2",
66
+ "jest-environment-jsdom": "^29.1.2",
67
+ "react": "17.0.0",
68
+ "react-dom": "17.0.0",
69
+ "react-shadow": "^19.0.3",
70
+ "sinon": "^14.0.1",
71
+ "ts-node": "^10.9.1",
72
+ "typescript": "^4.8.4"
72
73
  },
73
74
  "repository": {
74
75
  "type": "git",
@@ -80,5 +81,5 @@
80
81
  "<rootDir>/test/jest.setup.js"
81
82
  ]
82
83
  },
83
- "gitHead": "2bdd8a8fce420abb1ec78adea00690f3a83a898f"
84
+ "gitHead": "afe8d15ad3e1a71c650a0ff4323b046f5a278290"
84
85
  }
package/CHANGELOG.md DELETED
@@ -1,134 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [4.4.5](https://github.com/dequelabs/axe-core-npm/compare/v4.4.4...v4.4.5) (2022-09-26)
7
-
8
- **Note:** Version bump only for package @axe-core/react
9
-
10
-
11
-
12
-
13
-
14
- ## [4.4.4](https://github.com/dequelabs/axe-core-npm/compare/v4.4.3...v4.4.4) (2022-08-10)
15
-
16
- **Note:** Version bump only for package @axe-core/react
17
-
18
- ## [4.4.3](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.3) (2022-06-03)
19
-
20
- ### Bug Fixes
21
-
22
- - **react:** revert export to not use default ([#481](https://github.com/dequelabs/axe-core-npm/issues/481)) ([d932c9d](https://github.com/dequelabs/axe-core-npm/commit/d932c9d33fa96e22dd1d202c36e482c5b1eee3d6))
23
-
24
- ### Features
25
-
26
- - include missing cache file ([#520](https://github.com/dequelabs/axe-core-npm/issues/520)) ([9b2b375](https://github.com/dequelabs/axe-core-npm/commit/9b2b375616988640dc836dad99a29f0c88bb20b8))
27
-
28
- ## [4.4.2](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.2) (2022-03-14)
29
-
30
- ### Bug Fixes
31
-
32
- **Note:** Version bump only for package @axe-core/react
33
-
34
- ## [4.4.1](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.1) (2022-02-15)
35
-
36
- ### Bug Fixes
37
-
38
- - **react:** fallback on \_reactInternals ([#455](https://github.com/dequelabs/axe-core-npm/issues/455)) ([13f9fd0](https://github.com/dequelabs/axe-core-npm/commit/13f9fd07c24304f0f3dde74d7d41bc8222929c13))
39
-
40
- ### Features
41
-
42
- - **react:** Add configuration option to optional disable cache (deduplication) ([#309](https://github.com/dequelabs/axe-core-npm/issues/309)) ([435811c](https://github.com/dequelabs/axe-core-npm/commit/435811cb3957cf84b1c1701f6de5c4eb740c8301))
43
- - **react:** Add support for custom logger ([#181](https://github.com/dequelabs/axe-core-npm/issues/181)) ([1f97433](https://github.com/dequelabs/axe-core-npm/commit/1f974338280460715e7b92d58279c3f18fa563f8))
44
- - update `axe-core@4.2.2` ([#263](https://github.com/dequelabs/axe-core-npm/issues/263)) ([8c609e1](https://github.com/dequelabs/axe-core-npm/commit/8c609e1e3580a63f8697ca94e146b0e2ed28e579))
45
- - update axe-core to 4.2.0 ([#240](https://github.com/dequelabs/axe-core-npm/issues/240)) ([4e8f7fe](https://github.com/dequelabs/axe-core-npm/commit/4e8f7fee9db09fb56f91ea34f9984be66a29033e))
46
- - update to use `axe-core@4.2.3` ([#280](https://github.com/dequelabs/axe-core-npm/issues/280)) ([8aebba5](https://github.com/dequelabs/axe-core-npm/commit/8aebba5c6069ca047f649446e072259c069c9a22))
47
- - upgrade axe-core to 4.4.1 ([#441](https://github.com/dequelabs/axe-core-npm/issues/441)) ([765c81a](https://github.com/dequelabs/axe-core-npm/commit/765c81a2ae63e8c72ec086b86174a5c5f343ea9b))
48
-
49
- # [4.4.0](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.0) (2022-02-10)
50
-
51
- ### Bug Fixes
52
-
53
- - **cli,reporter-earl,react:** use correct version of axe-core ([#378](https://github.com/dequelabs/axe-core-npm/issues/378)) ([0c7d050](https://github.com/dequelabs/axe-core-npm/commit/0c7d0506b7d397df3c96414fc37a408e90fe9a9c))
54
- - update axe-core to 4.2.1 ([#254](https://github.com/dequelabs/axe-core-npm/issues/254)) ([9d90185](https://github.com/dequelabs/axe-core-npm/commit/9d9018525a4d799f6d763d0329f05ccbfd20dbe4))
55
-
56
- ### Features
57
-
58
- - **react:** Add configuration option to optional disable cache (deduplication) ([#309](https://github.com/dequelabs/axe-core-npm/issues/309)) ([435811c](https://github.com/dequelabs/axe-core-npm/commit/435811cb3957cf84b1c1701f6de5c4eb740c8301))
59
- - **react:** Add support for custom logger ([#181](https://github.com/dequelabs/axe-core-npm/issues/181)) ([1f97433](https://github.com/dequelabs/axe-core-npm/commit/1f974338280460715e7b92d58279c3f18fa563f8))
60
- - update `axe-core@4.2.2` ([#263](https://github.com/dequelabs/axe-core-npm/issues/263)) ([8c609e1](https://github.com/dequelabs/axe-core-npm/commit/8c609e1e3580a63f8697ca94e146b0e2ed28e579))
61
- - update axe-core to 4.2.0 ([#240](https://github.com/dequelabs/axe-core-npm/issues/240)) ([4e8f7fe](https://github.com/dequelabs/axe-core-npm/commit/4e8f7fee9db09fb56f91ea34f9984be66a29033e))
62
- - update to use `axe-core@4.2.3` ([#280](https://github.com/dequelabs/axe-core-npm/issues/280)) ([8aebba5](https://github.com/dequelabs/axe-core-npm/commit/8aebba5c6069ca047f649446e072259c069c9a22))
63
- - upgrade axe-core to 4.4.1 ([#441](https://github.com/dequelabs/axe-core-npm/issues/441)) ([765c81a](https://github.com/dequelabs/axe-core-npm/commit/765c81a2ae63e8c72ec086b86174a5c5f343ea9b))
64
-
65
- ## [4.3.1](https://github.com/dequelabs/axe-core-npm/compare/v4.3.0...v4.3.1) (2021-09-20)
66
-
67
- ### Bug Fixes
68
-
69
- - **cli,reporter-earl,react:** use correct version of axe-core ([#378](https://github.com/dequelabs/axe-core-npm/issues/378)) ([0c7d050](https://github.com/dequelabs/axe-core-npm/commit/0c7d0506b7d397df3c96414fc37a408e90fe9a9c))
70
-
71
- # [4.3.0](https://github.com/dequelabs/axe-core-npm/compare/v4.2.0...v4.3.0) (2021-09-20)
72
-
73
- ### Bug Fixes
74
-
75
- - update axe-core to 4.2.1 ([#254](https://github.com/dequelabs/axe-core-npm/issues/254)) ([9d90185](https://github.com/dequelabs/axe-core-npm/commit/9d9018525a4d799f6d763d0329f05ccbfd20dbe4))
76
-
77
- ### Features
78
-
79
- - **react:** Add configuration option to optional disable cache (deduplication) ([#309](https://github.com/dequelabs/axe-core-npm/issues/309)) ([435811c](https://github.com/dequelabs/axe-core-npm/commit/435811cb3957cf84b1c1701f6de5c4eb740c8301))
80
- - update to use `axe-core@4.2.3` ([#280](https://github.com/dequelabs/axe-core-npm/issues/280)) ([8aebba5](https://github.com/dequelabs/axe-core-npm/commit/8aebba5c6069ca047f649446e072259c069c9a22))
81
- - **react:** Add support for custom logger ([#181](https://github.com/dequelabs/axe-core-npm/issues/181)) ([1f97433](https://github.com/dequelabs/axe-core-npm/commit/1f974338280460715e7b92d58279c3f18fa563f8))
82
- - update `axe-core@4.2.2` ([#263](https://github.com/dequelabs/axe-core-npm/issues/263)) ([8c609e1](https://github.com/dequelabs/axe-core-npm/commit/8c609e1e3580a63f8697ca94e146b0e2ed28e579))
83
-
84
- ## [4.2.2](https://github.com/dequelabs/axe-core-npm/compare/v4.2.0...v4.2.2) (2021-06-23)
85
-
86
- ### Bug Fixes
87
-
88
- - update axe-core to 4.2.1 ([#254](https://github.com/dequelabs/axe-core-npm/issues/254)) ([9d90185](https://github.com/dequelabs/axe-core-npm/commit/9d9018525a4d799f6d763d0329f05ccbfd20dbe4))
89
-
90
- ### Features
91
-
92
- - update to use `axe-core@4.2.3` ([#280](https://github.com/dequelabs/axe-core-npm/issues/280)) ([8aebba5](https://github.com/dequelabs/axe-core-npm/commit/8aebba5c6069ca047f649446e072259c069c9a22))
93
- - **react:** Add support for custom logger ([#181](https://github.com/dequelabs/axe-core-npm/issues/181)) ([1f97433](https://github.com/dequelabs/axe-core-npm/commit/1f974338280460715e7b92d58279c3f18fa563f8))
94
- - update `axe-core@4.2.2` ([#263](https://github.com/dequelabs/axe-core-npm/issues/263)) ([8c609e1](https://github.com/dequelabs/axe-core-npm/commit/8c609e1e3580a63f8697ca94e146b0e2ed28e579))
95
-
96
- ## [4.2.1](https://github.com/dequelabs/axe-core-npm/compare/v4.2.0...v4.2.1) (2021-05-19)
97
-
98
- ### Bug Fixes
99
-
100
- - update axe-core to 4.2.1 ([#254](https://github.com/dequelabs/axe-core-npm/issues/254)) ([9d90185](https://github.com/dequelabs/axe-core-npm/commit/9d9018525a4d799f6d763d0329f05ccbfd20dbe4))
101
-
102
- # [4.2.0](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.2.0) (2021-05-05)
103
-
104
- ### Features
105
-
106
- - update axe-core to 4.2.0 ([#240](https://github.com/dequelabs/axe-core-npm/issues/240)) ([4e8f7fe](https://github.com/dequelabs/axe-core-npm/commit/4e8f7fee9db09fb56f91ea34f9984be66a29033e))
107
-
108
- ## [4.1.1](https://github.com/dequelabs/axe-core-npm/compare/v4.0.0...v4.1.1) (2021-01-28)
109
-
110
- ### Bug Fixes
111
-
112
- - **react:** Add example using Next.js ([#109](https://github.com/dequelabs/axe-core-npm/issues/109)) ([bd009d9](https://github.com/dequelabs/axe-core-npm/commit/bd009d9578d9b2704e258ade932fdbbe0a7a571a)), closes [#103](https://github.com/dequelabs/axe-core-npm/issues/103)
113
- - **react:** handle undefined config ([#183](https://github.com/dequelabs/axe-core-npm/issues/183)) ([6326e13](https://github.com/dequelabs/axe-core-npm/commit/6326e131bf62968d5a8180595c1b0b049844ca05))
114
- - **react:** Prevent config TypeError ([708c463](https://github.com/dequelabs/axe-core-npm/commit/708c46366d5f2069a4f25238beb32299abc962b9))
115
-
116
- ### Features
117
-
118
- - **react:** add support for runOnly. ([#101](https://github.com/dequelabs/axe-core-npm/issues/101)) ([cfadde3](https://github.com/dequelabs/axe-core-npm/commit/cfadde3eebf74d26e0fb3768b84e953e92f0bf99))
119
-
120
- # [4.1.0](https://github.com/dequelabs/axe-core-npm/compare/v4.0.0...v4.1.0) (2020-11-20)
121
-
122
- ### Bug Fixes
123
-
124
- - **react:** Add example using Next.js ([#109](https://github.com/dequelabs/axe-core-npm/issues/109)) ([bd009d9](https://github.com/dequelabs/axe-core-npm/commit/bd009d9578d9b2704e258ade932fdbbe0a7a571a)), closes [#103](https://github.com/dequelabs/axe-core-npm/issues/103)
125
-
126
- ### Features
127
-
128
- - **react:** add support for runOnly. ([#101](https://github.com/dequelabs/axe-core-npm/issues/101)) ([cfadde3](https://github.com/dequelabs/axe-core-npm/commit/cfadde3eebf74d26e0fb3768b84e953e92f0bf99))
129
-
130
- # 4.0.0 (2020-08-25)
131
-
132
- ### Features
133
-
134
- - add `@axe-core/react` ([#53](https://github.com/dequelabs/axe-core-npm/issues/53)) ([ea3b15a](https://github.com/dequelabs/axe-core-npm/commit/ea3b15ad45c7ad256a88047fb797a074f3256550))