Comparing version 0.3.3 to 0.4.0
@@ -26,2 +26,2 @@ 'use strict'; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJkZWZhdWx0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs0Q0FFUUEsTzs7Ozs7Ozs7O2dEQUdBQSxPIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogQGZsb3cgKi9cblxuZXhwb3J0IHtkZWZhdWx0IGFzIFRhZ1RyZWV9IGZyb20gJy4vVGFnVHJlZSc7XG5leHBvcnQgdHlwZSB7VGFnVHJlZUNvbnRyb2xsZXJ9IGZyb20gJy4vVGFnVHJlZSc7XG5cbmV4cG9ydCB7ZGVmYXVsdCBhcyBUYWdUcmVlTm9kZX0gZnJvbSAnLi9UYWdUcmVlTm9kZSc7XG5leHBvcnQgdHlwZSB7VGFnVHJlZU5vZGVDb250cm9sbGVyfSBmcm9tICcuL1RhZ1RyZWVOb2RlJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJkZWZhdWx0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs0Q0FFUUEsTzs7Ozs7Ozs7O2dEQUdBQSxPIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLyogQGZsb3cgKi9cblxuZXhwb3J0IHtkZWZhdWx0IGFzIFRhZ1RyZWV9IGZyb20gJy4vVGFnVHJlZSc7XG5leHBvcnQgdHlwZSB7VGFnVHJlZUNvbnRyb2xsZXJ9IGZyb20gJy4vVGFnVHJlZSc7XG5cbmV4cG9ydCB7ZGVmYXVsdC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PT4ge1xuICAgICAgICBjb25zdCB0YWdFbnRyeSA9IHRoaXMuX2FsbEJ5VGFnLmdldCh0YWcpO1xuICAgICAgICBpZiAoIXRhZ0VudHJ5KSB0aHJvdyBuZXcgRXJyb3IoYHVua25vd24gdGFnOiAke3RhZ31gKTtcblxuICAgICAgICBsZXQgY29udHJvbGxlcjtcbiAgICAgICAgY29uc3Qgbm9kZSA9IG5ldyBUYWdUcmVlTm9kZSh7XG4gICAgICAgICAgdmFsdWUsXG4gICAgICAgICAgcGFyZW50LFxuICAgICAgICAgIG93bmVkVGFnczogdGFnRW50cnkub3duZWRUYWdzLFxuICAgICAgICAgIGV4ZWN1dG9yOiAoX2NvbnRyb2xsZXIpID0+IHtcbiAgICAgICAgICAgIGNvbnRyb2xsZXIgPSBfY29udHJvbGxlcjtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgICBpZiAoIWNvbnRyb2xsZXIpIHRocm93IG5ldyBFcnJvcigpO1xuICAgICAgICB0aGlzLl9ub2RlQ29udHJvbGxlcnMuc2V0KG5vZGUsIGNvbnRyb2xsZXIpO1xuXG4gICAgICAgIHRhZ0VudHJ5LmNvbnRyb2xsZXIuYWRkKG5vZGUpO1xuXG4gICAgICAgIGNvbnN0IHZhbHVlTm9kZXMgPSB0aGlzLl9sb29rdXBUYWJsZS5nZXQodmFsdWUpO1xuICAgICAgICBpZiAodmFsdWVOb2Rlcykge1xuICAgICAgICAgIHZhbHVlTm9kZXMucHVzaChub2RlKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB0aGlzLl9sb29rdXBUYWJsZS5zZXQodmFsdWUsIFtub2RlXSk7XG4gICAgICAgIH1cblxuICAgICAgICBjb25zdCBwYXJlbnRDb250cm9sbGVyID0gdGhpcy5fbm9kZUNvbnRyb2xsZXJzLmdldChwYXJlbnQpO1xuICAgICAgICBpZiAoIXBhcmVudENvbnRyb2xsZXIpIHRocm93IG5ldyBFcnJvcigncGFyZW50IGlzIG5vdCB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ZhbHVlKTtcbiAgICAgICAgaWYgKCFub2RlcykgdGhyb3cgbmV3IEVycm9yKCdub2RlIHdhcyBtaXNzaW5nIGZyb20gbG9va3VwIHRhYmxlIGJlZm9yZSByZW1vdmFsJyk7XG4gICAgICAgIGlmIChub2Rlcy5sZW5ndGggPiAxKSB7XG4gICAgICAgICAgY29uc3QgaXggPSBub2Rlcy5pbmRleE9mKG5vZGUpO1xuICAgICAgICAgIGlmIChpeCA8IDApIHRocm93IG5ldyBFcnJvcignbm9kZSB3YXMgbWlzc2luZyBmcm9tIGxpc3QgaW4gbG9va3VwIHRhYmxlIGJlZm9yZSByZW1vdmFsJyk7XG4gICAgICAgICAgbm9kZXMuc3BsaWNlKGl4LCAxKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB0aGlzLl9sb29rdXBUYWJsZS5kZWxldGUodmFsdWUpO1xuICAgICAgICB9XG5cbiAgICAgICAgbm9kZS5nZXRPd25lZCgpLmZvckVhY2goKGxpdmVTZXQsIHRhZykgPT4ge1xuICAgICAgICAgIGxpdmVTZXQudmFsdWVzKCkuZm9yRWFjaChjaGlsZE5vZGUgPT4ge1xuICAgICAgICAgICAgY29udHJvbGxlci5yZW1vdmVUYWdnZWROb2RlKG5vZGUsIHRhZywgY2hpbGROb2RlKTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGFnRW50cnkuY29udHJvbGxlci5yZW1vdmUobm9kZSk7XG4gICAgICAgIHBhcmVudENvbnRyb2xsZXIucmVtb3ZlT3duZWROb2RlKHRhZywgbm9kZSk7XG4gICAgICAgIHRoaXMuX25vZGVDb250cm9sbGVycy5kZWxldGUobm9kZSk7XG4gICAgICB9LFxuICAgICAgZW5kOiAoKSA9PiB7XG4gICAgICAgIHRoaXMuX25vZGVDb250cm9sbGVycy5mb3JFYWNoKGNvbnRyb2xsZXIgPT4ge1xuICAgICAgICAgIGNvbnRyb2xsZXIuZW5kKCk7XG4gICAgICAgIH0pO1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pOiBudWxsfHN0cmluZyB7XG4gICAgY29uc3Qge3BhcmVudH0gPSB0aGlzLl9pbml0O1xuICAgIHJldHVybiBwYXJlbnQgPyBwYXJlbnQuZ2V0VGFnT2ZPd25lZE5vZGUodGhpcykgOiBudWxsO1xuICB9XG5cbiAgb3duc05vZGUobm9kZTogVGFnVHJlZU5vZGU8VD4pOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5fb3duZWROb2Rlcy5oYXMobm9kZSk7XG4gIH1cblxuICBnZXRUYWdPZk93bmVkTm9kZShub2RlOiBUYWdUcmVlTm9kZTxUPik6IHN0cmluZyB7XG4gICAgY29uc3QgdGFnID0gdGhpcy5fb3duZWROb2Rlcy5nZXQobm9kZSk7XG4gICAgaWYgKHRhZyA9PSBudWxsKSB0aHJvdyBuZXcgRXJyb3IoJ25vZGUgbm90IG93bmVkJyk7XG4gICAgcmV0dXJuIHRhZztcbiAgfVxufVxuIl19 |
{ | ||
"name": "tag-tree", | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"description": "Class representing a changing tree of tagged items.", | ||
@@ -14,4 +14,4 @@ "main": "js/index.js", | ||
"keywords": [ | ||
"liveset", | ||
"livetree" | ||
"live-set", | ||
"page-parser-tree" | ||
], | ||
@@ -22,3 +22,3 @@ "author": "Chris Cowan <agentme49@gmail.com>", | ||
"babel-runtime": "^6.22.0", | ||
"live-set": "^0.3.2" | ||
"live-set": "^0.4.0" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
47107
11
0
147
+ Addedlive-set@0.4.4(transitive)
+ Addedzen-observable@0.6.1(transitive)
- Removedlive-set@0.3.12(transitive)
- Removedzen-observable@0.4.0(transitive)
Updatedlive-set@^0.4.0