Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.call = call;
exports._call = _call;
exports.isBlacklisted = isBlacklisted;
exports.isBlacklisted = exports.isDenylisted = isDenylisted;
exports.visit = visit;
exports.skip = skip;
exports.skipKey = skipKey;
@@ -69,9 +69,11 @@ function _call(fns) {
return false;
}
function isBlacklisted() {
const blacklist = this.opts.blacklist;
return blacklist && blacklist.indexOf(this.node.type) > -1;
function isDenylisted() {
var _this$opts$denylist;
const denylist = (_this$opts$denylist = this.opts.denylist) != null ? _this$opts$denylist : this.opts.blacklist;
return denylist && denylist.indexOf(this.node.type) > -1;
}
function visit() {
@@ -79,7 +81,7 @@ function visit() {
return false;
}
if (this.isBlacklisted()) {
if (this.isDenylisted()) {
return false;
}
@@ -221,9 +223,11 @@ function setup(parentPath, container, listKey, key) {
}
function setKey(key) {
var _this$node;
this.key = key;
this.node = this.container[this.key];
this.type = this.node && this.node.type;
this.type = (_this$node = this.node) == null ? void 0 : _this$node.type;
}
function requeue(pathToQueue = this) {