diff --git a/package.json b/package.json index 8e07382..78a062d 100644 --- a/package.json +++ b/package.json @@ -35,14 +35,14 @@ "@babel/cli": "^7.21.5", "@babel/core": "^7.21.8", "@babel/preset-env": "^7.21.5", - "@commitlint/cli": "^17.6.1", - "@commitlint/config-conventional": "^17.6.1", + "@commitlint/cli": "^17.6.3", + "@commitlint/config-conventional": "^17.6.3", "ava": "^5.2.0", "babelify": "^10.0.0", "browserify": "^17.0.0", "consola": "^3.1.0", "cross-env": "^7.0.3", - "eslint": "^8.39.0", + "eslint": "^8.41.0", "eslint-config-xo-lass": "^2.0.1", "eslint-plugin-compat": "^4.1.4", "eslint-plugin-node": "^11.1.0", @@ -54,12 +54,12 @@ "lint-staged": "^13.2.2", "lodash": "^4.17.21", "nyc": "^15.1.0", - "pino": "^8.12.0", + "pino": "^8.14.1", "remark-cli": "^11.0.0", "remark-preset-github": "^4.0.4", - "rimraf": "^5.0.0", + "rimraf": "^5.0.1", "signale": "^1.4.0", - "sinon": "^15.0.4", + "sinon": "^15.1.0", "tinyify": "3.0.0", "xo": "^0.54.2" }, diff --git a/src/index.js b/src/index.js index 99ca000..c868ecc 100644 --- a/src/index.js +++ b/src/index.js @@ -531,9 +531,18 @@ class Axe { // // now we call pick-deep using the final array // - // NOTE: this does not pick symbols nor bigints + // NOTE: this does not pick symbols, bigints, nor streams + // + // // - meta = pickDeep(meta, dotified); + // NOTE: this is wrapped in try/catch in case similar errors occur + // + // + try { + meta = pickDeep(meta, dotified); + } catch (err) { + this.config.logger.error(err); + } // // if there were any top-level symbols to be