@axe-core/react 4.4.3-alpha.288 → 4.4.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.4.3](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.3) (2022-06-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **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))
12
+ * **react:** fallback on _reactInternals ([#455](https://github.com/dequelabs/axe-core-npm/issues/455)) ([13f9fd0](https://github.com/dequelabs/axe-core-npm/commit/13f9fd07c24304f0f3dde74d7d41bc8222929c13))
13
+ * **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))
14
+ * 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))
15
+
16
+
17
+ ### Features
18
+
19
+ * include missing cache file ([#520](https://github.com/dequelabs/axe-core-npm/issues/520)) ([9b2b375](https://github.com/dequelabs/axe-core-npm/commit/9b2b375616988640dc836dad99a29f0c88bb20b8))
20
+ * **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))
21
+ * **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))
22
+ * 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))
23
+ * 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))
24
+ * 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))
25
+ * 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))
26
+
27
+
28
+
29
+
30
+
6
31
  ## [4.4.2](https://github.com/dequelabs/axe-core-npm/compare/v4.1.1...v4.4.2) (2022-03-14)
7
32
 
8
33
  ### Bug Fixes
@@ -0,0 +1,6 @@
1
+ declare const cache: {
2
+ set(key: string, value: string): void;
3
+ get(key: string): string;
4
+ clear(): void;
5
+ };
6
+ export default cache;
package/dist/cache.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var _cache = {};
4
+ var cache = {
5
+ set: function (key, value) {
6
+ _cache[key] = value;
7
+ },
8
+ get: function (key) {
9
+ return _cache[key];
10
+ },
11
+ clear: function () {
12
+ Object.keys(_cache).forEach(function (key) {
13
+ delete _cache[key];
14
+ });
15
+ }
16
+ };
17
+ exports.default = cache;
18
+ //# sourceMappingURL=cache.js.map
@@ -0,0 +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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/react",
3
- "version": "4.4.3-alpha.288+689fae1",
3
+ "version": "4.4.3",
4
4
  "description": "Dynamic accessibility analysis for React using axe-core",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,6 +8,9 @@
8
8
  "dist/after.js",
9
9
  "dist/after.d.ts",
10
10
  "dist/after.js.map",
11
+ "dist/cache.js",
12
+ "dist/cache.d.ts",
13
+ "dist/cache.js.map",
11
14
  "dist/index.js",
12
15
  "dist/index.d.ts",
13
16
  "dist/index.js.map"
@@ -77,5 +80,5 @@
77
80
  "<rootDir>/test/jest.setup.js"
78
81
  ]
79
82
  },
80
- "gitHead": "689fae1484216df4b41a9e36bcc8fa8cd4fb46ac"
83
+ "gitHead": "ea615365c5b5b7303a7f8f41330c742e3720fea6"
81
84
  }