Comparing version 0.1.2 to 0.1.3
@@ -138,3 +138,3 @@ 'use strict'; | ||
if (newChanges.length !== 0) { | ||
originalNext(newChanges); | ||
originalNext.call(observer, newChanges); | ||
} | ||
@@ -270,2 +270,2 @@ }; | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJMaXZlU2V0IiwiaW5pdCIsIl92YWx1ZXMiLCJfYWN0aXZlQ29udHJvbGxlciIsIl9saXN0ZW5DbGVhbnVwIiwiX2VuZGVkIiwiX2VuZGVkV2l0aEVycm9yIiwiX2Vycm9yIiwiX3F1ZXVlZENhbGwiLCJfY2hhbmdlUXVldWUiLCJfb2JzZXJ2ZXJzIiwiX3JlYWQiLCJyZWFkIiwiX2xpc3RlbiIsImxpc3RlbiIsInJlY29yZCIsInB1c2giLCJjaGFuZ2VzIiwib2JzZXJ2ZXJzVG9DYWxsIiwiZW5kZWQiLCJzbGljZSIsImZvckVhY2giLCJvYnNlcnZlciIsIm5leHQiLCJlcnJvciIsImNvbXBsZXRlIiwibGlzdGVuQ2xlYW51cCIsIm9ic2VydmVyT3JPbk5leHQiLCJvbkVycm9yIiwib25Db21wbGV0ZSIsImxpdmVTZXQiLCJjaGFuZ2VRdWV1ZUxlbmd0aCIsImxlbmd0aCIsIm9yaWdpbmFsTmV4dCIsIm5ld0NoYW5nZXMiLCJzdWJzY3JpcHRpb24iLCJjbG9zZWQiLCJ1bnN1YnNjcmliZSIsInN0YXJ0IiwiaW5kZXhPZiIsIml4Iiwic3BsaWNlIiwiX2RlYWN0aXZhdGUiLCJ2YWx1ZXMiLCJjb250cm9sbGVyIiwiYWRkIiwiaGFzIiwidmFsdWUiLCJfcXVldWVDaGFuZ2UiLCJ0eXBlIiwicmVtb3ZlIiwiZGVsZXRlIiwiZXJyIiwiZW5kIiwiY2xlYW51cCIsIlR5cGVFcnJvciIsImluaXRpYWxWYW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BpZiAoY2xlYW51cCAhPSBudWxsKSB7XG4gICAgICAgIGlmICh0eXBlb2YgY2xlYW51cC51bnN1YnNjcmliZSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgIHRoaXMuX2xpc3RlbkNsZWFudXAgPSAoKSA9PiB7XG4gICAgICAgICAgICBjbGVhbnVwLnVuc3Vic2NyaWJlKCk7XG4gICAgICAgICAgfTtcbiAgICAgICAgfSBlbHNlIGlmICh0eXBlb2YgY2xlYW51cCAhPT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgIHRocm93IG5ldyBUeXBlRXJyb3IoJ2xpc3RlbiBtdXN0IHJldHVybiBudWxsIG9yIGEgZnVuY3Rpb24nKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB0aGlzLl9saXN0ZW5DbGVhbnVwID0gKGNsZWFudXA6YW55KTtcbiAgICAgICAgfVxuICAgICAgICBpZiAoY29udHJvbGxlci5jbG9zZWQpIHtcbiAgICAgICAgICB0aGlzLl9kZWFjdGl2YXRlKCk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIHN1YnNjcmlwdGlvbjtcbiAgfVxufVxuXG4vLyBBc3NpZ24gaGVyZSBiZWNhdXNlIEZsb3cgZG9lc24ndCBzdXBwb3J0IGNvbXB1dGVkIHByb3BlcnR5IGtleXMgb24gY2xhc3Nlczpcbi8vIGh0dHBzOi8vZ2l0aHViLmNvbS9mYWNlYm9vay9mbG93L2lzc3Vlcy8yMjg2XG4oTGl2ZVNldDphbnkpLnByb3RvdHlwZVskJG9ic2VydmFibGVdID0gZnVuY3Rpb24oKSB7XG4gIHJldHVybiB0aGlzO1xufTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJMaXZlU2V0IiwiaW5pdCIsIl92YWx1ZXMiLCJfYWN0aXZlQ29udHJvb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YnNjcmliZSgpO1xuICAgICAgICAgIH07XG4gICAgICAgIH0gZWxzZSBpZiAodHlwZW9mIGNsZWFudXAgIT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICB0aHJvdyBuZXcgVHlwZUVycm9yKCdsaXN0ZW4gbXVzdCByZXR1cm4gbnVsbCBvciBhIGZ1bmN0aW9uJyk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdGhpcy5fbGlzdGVuQ2xlYW51cCA9IChjbGVhbnVwOmFueSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGNvbnRyb2xsZXIuY2xvc2VkKSB7XG4gICAgICAgICAgdGhpcy5fZGVhY3RpdmF0ZSgpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBzdWJzY3JpcHRpb247XG4gIH1cbn1cblxuLy8gQXNzaWduIGhlcmUgYmVjYXVzZSBGbG93IGRvZXNuJ3Qgc3VwcG9ydCBjb21wdXRlZCBwcm9wZXJ0eSBrZXlzIG9uIGNsYXNzZXM6XG4vLyBodHRwczovL2dpdGh1Yi5jb20vZmFjZWJvb2svZmxvdy9pc3N1ZXMvMjI4NlxuKExpdmVTZXQ6YW55KS5wcm90b3R5cGVbJCRvYnNlcnZhYmxlXSA9IGZ1bmN0aW9uKCkge1xuICByZXR1cm4gdGhpcztcbn07XG4iXX0= |
{ | ||
"name": "live-set", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Class representing a changing and transformable collection of items.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
82453