You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
509 B
17 lines
509 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = removePropertiesDeep;
|
|
|
|
var _traverseFast = _interopRequireDefault(require("../traverse/traverseFast"));
|
|
|
|
var _removeProperties = _interopRequireDefault(require("./removeProperties"));
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function removePropertiesDeep(tree, opts) {
|
|
(0, _traverseFast.default)(tree, _removeProperties.default, opts);
|
|
return tree;
|
|
} |