@designbycosmic/cosmic-unwidower
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -125,3 +125,3 @@ "use strict"; | ||
return null; | ||
return nodes; | ||
}; // return component | ||
@@ -145,2 +145,2 @@ | ||
exports["default"] = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9VbldpZG93ZXJSZWFjdENoaWxkcmVuLmpzIl0sIm5hbWVzIjpbIlVuV2lkb3dlclJlYWN0Q2hpbGRyZW4iLCJSZWFjdCIsIm1lbW8iLCJjaGlsZHJlbiIsImNvbmZpZyIsImRlZmF1bHRDb25maWciLCJtaW5Xb3JkcyIsIm1heExhc3RXb3JkTGVuZ3RoIiwibWF4UGVudWx0V29yZExlbmd0aCIsIm1heEFudGVwZW51bHRXb3JkTGVuZ3RoIiwibWF4TGFzdFdvcmRMZW5ndGhUd28iLCJtYXhQZW51bHRXb3JkTGVuZ3RoVHdvIiwibWVyZ2VkQ29uZmlnIiwidW5XaWRvd1N0cmluZyIsInN0cmluZyIsIml0ZXJhdGUiLCJub2RlcyIsIkFycmF5IiwiaXNBcnJheSIsIm1hcCIsIm5vZGUiLCJuZXdOb2RlcyIsIk9iamVjdCIsImtleXMiLCJrZXkiLCJwcm9wcyIsInByb3AiLCJDaGlsZHJlbiIsImNoaWxkIiwidW5XaWRvd2VkQ2hpbGQiLCJkZWZhdWx0UHJvcHMiLCJwcm9wVHlwZXMiLCJpc1JlcXVpcmVkIiwib2JqZWN0T2YiLCJudW1iZXIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7Ozs7Ozs7Ozs7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQTRCQSxJQUFNQSxzQkFBc0IsR0FBR0Msa0JBQU1DLElBQU4sQ0FBVyxnQkFBMEI7QUFBQSxNQUF2QkMsUUFBdUIsUUFBdkJBLFFBQXV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J1aWxkIG5ldyBpdGVtXG4gICAgICAgIE9iamVjdC5rZXlzKG5vZGVzKS5tYXAoa2V5ID0+IHtcbiAgICAgICAgICBpZiAoa2V5ID09PSBcInByb3BzXCIpIHtcbiAgICAgICAgICAgIG5ld05vZGVzLnByb3BzID0ge307XG4gICAgICAgICAgICBjb25zdCBwcm9wcyA9IG5vZGVzW2tleV07XG4gICAgICAgICAgICBpZiAodHlwZW9mIHByb3BzICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgICAgICAgICAgIHJldHVybiBPYmplY3Qua2V5cyhwcm9wcykubWFwKHByb3AgPT4ge1xuICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgcHJvcHNbcHJvcF0gIT09IFwidW5kZWZpbmVkXCIgJiYgcHJvcCA9PT0gXCJjaGlsZHJlblwiKSB7XG4gICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhjaGlsZE5vZGVzKTtcbiAgICAgICAgICAgICAgICAgIGlmIChBcnJheS5pc0FycmF5KHByb3BzW3Byb3BdKSkge1xuICAgICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IGl0ZXJhdGUocHJvcHNbcHJvcF0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBwcm9wc1twcm9wXSA9PT0gXCJvYmplY3RcIikge1xuICAgICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IGl0ZXJhdGUocHJvcHNbcHJvcF0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IHByb3BzW3Byb3BdO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIG5ld05vZGVzW2tleV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yA9PT0gXCJzdHJpbmdcIikge1xuICAgICAgICByZXR1cm4gdW5XaWRvd1N0cmluZyhub2Rlcyk7XG4gICAgICB9XG4gICAgICAvLyBpdGVyYXRlIGFycmF5IGl0ZW1zIGlmIGFycmF5XG4gICAgICBpZiAoQXJyYXkuaXNBcnJheShub2RlcykpIHtcbiAgICAgICAgcmV0dXJuIG5vZGVzLm1hcChub2RlID0+IHtcbiAgICAgICAgICByZXR1cm4gaXRlcmF0ZShub2RlKTtcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgICAvLyBpdGVyYXRlIG92ZXIgYXJyYXkvb2JqZWN0XG4gICAgICBpZiAodHlwZW9mIG5vZGVzID09PSBcIm9iamVjdFwiKSB7XG4gICAgICAgIC8vIGNyZWF0ZSBuZXcgb2JqZWN0IGZvciBpdGVyYXRlZCBpdGVtc1xuICAgICAgICBjb25zdCBuZXdOb2RlcyA9IHt9O1xuICAgICAgICAvLyBsb29wIHRocm91Z2ggb2JqZWN0IHRvIGJ1aWxkIG5ldyBpdGVtXG4gICAgICAgIE9iamVjdC5rZXlzKG5vZGVzKS5tYXAoa2V5ID0+IHtcbiAgICAgICAgICBpZiAoa2V5ID09PSBcInByb3BzXCIpIHtcbiAgICAgICAgICAgIG5ld05vZGVzLnByb3BzID0ge307XG4gICAgICAgICAgICBjb25zdCBwcm9wcyA9IG5vZGVzW2tleV07XG4gICAgICAgICAgICBpZiAodHlwZW9mIHByb3BzICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgICAgICAgICAgIHJldHVybiBPYmplY3Qua2V5cyhwcm9wcykubWFwKHByb3AgPT4ge1xuICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgcHJvcHNbcHJvcF0gIT09IFwidW5kZWZpbmVkXCIgJiYgcHJvcCA9PT0gXCJjaGlsZHJlblwiKSB7XG4gICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZyhjaGlsZE5vZGVzKTtcbiAgICAgICAgICAgICAgICAgIGlmIChBcnJheS5pc0FycmF5KHByb3BzW3Byb3BdKSkge1xuICAgICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IGl0ZXJhdGUocHJvcHNbcHJvcF0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBwcm9wc1twcm9wXSA9PT0gXCJvYmplY3RcIikge1xuICAgICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IGl0ZXJhdGUocHJvcHNbcHJvcF0pO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICBuZXdOb2Rlcy5wcm9wc1twcm9wXSA9IHByb3BzW3Byb3BdO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIG5ld05vZGVzW2tleV0gPSBub2Rlc1trZXldO1xuICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgICAgIHJldHVybiBuZXdOb2RlcztcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIG5vZGVzO1xuICB9O1xuICAvLyByZXR1cm4gY29tcG9uZW50XG4gIHJldHVybiBSZWFjdC5DaGlsZHJlbi5tYXAoY2hpbGRyZW4sIGNoaWxkID0+IHtcbiAgICBjb25zdCB1bldpZG93ZWRDaGlsZCA9IGl0ZXJhdGUoY2hpbGQpO1xuICAgIHJldHVybiB1bldpZG93ZWRDaGlsZDtcbiAgfSk7XG59KTtcblxuVW5XaWRvd2VyUmVhY3RDaGlsZHJlbi5kZWZhdWx0UHJvcHMgPSB7XG4gIGNvbmZpZzogbnVsbCxcbn07XG5cblVuV2lkb3dlclJlYWN0Q2hpbGRyZW4ucHJvcFR5cGVzID0ge1xuICBjaGlsZHJlbjogcHJvcFR5cGVzLm5vZGUuaXNSZXF1aXJlZCxcbiAgY29uZmlnOiBwcm9wVHlwZXMub2JqZWN0T2YocHJvcFR5cGVzLm51bWJlciksXG59O1xuXG5leHBvcnQgZGVmYXVsdCBVbldpZG93ZXJSZWFjdENoaWxkcmVuO1xuIl19 |
{ | ||
"name": "@designbycosmic/cosmic-unwidower", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "source": "src/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69044