react-diff-sync
Advanced tools
+0
-0
@@ -0,0 +0,0 @@ { |
+0
-0
@@ -0,0 +0,0 @@ { |
+19
-7
@@ -38,2 +38,6 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { | ||
| class AbstractRepo { | ||
| initialize() { | ||
| return _asyncToGenerator(function* () {})(); | ||
| } | ||
| submit(revs) { | ||
@@ -147,26 +151,34 @@ return _asyncToGenerator(function* () {})(); | ||
| submit(revs) { | ||
| initialize() { | ||
| var _this = this; | ||
| return _asyncToGenerator(function* () { | ||
| yield _this.repo.submit(revs); | ||
| yield _this.repo.initialize(); | ||
| })(); | ||
| } | ||
| pull(revId) { | ||
| submit(revs) { | ||
| var _this2 = this; | ||
| return _asyncToGenerator(function* () { | ||
| return yield _this2.repo.pull(revId); | ||
| yield _this2.repo.submit(revs); | ||
| })(); | ||
| } | ||
| update() { | ||
| pull(revId) { | ||
| var _this3 = this; | ||
| return _asyncToGenerator(function* () { | ||
| var changedRevs = yield _this3.pull(_this3.latestRevisionId); | ||
| return yield _this3.repo.pull(revId); | ||
| })(); | ||
| } | ||
| update() { | ||
| var _this4 = this; | ||
| return _asyncToGenerator(function* () { | ||
| var changedRevs = yield _this4.pull(_this4.latestRevisionId); | ||
| if (changedRevs.length > 0) { | ||
| _this3.latestRevisionId = changedRevs[changedRevs.length - 1].id; | ||
| _this4.latestRevisionId = changedRevs[changedRevs.length - 1].id; | ||
| } | ||
@@ -173,0 +185,0 @@ |
+19
-7
@@ -42,2 +42,6 @@ 'use strict'; | ||
| class AbstractRepo { | ||
| initialize() { | ||
| return _asyncToGenerator(function* () {})(); | ||
| } | ||
| submit(revs) { | ||
@@ -151,26 +155,34 @@ return _asyncToGenerator(function* () {})(); | ||
| submit(revs) { | ||
| initialize() { | ||
| var _this = this; | ||
| return _asyncToGenerator(function* () { | ||
| yield _this.repo.submit(revs); | ||
| yield _this.repo.initialize(); | ||
| })(); | ||
| } | ||
| pull(revId) { | ||
| submit(revs) { | ||
| var _this2 = this; | ||
| return _asyncToGenerator(function* () { | ||
| return yield _this2.repo.pull(revId); | ||
| yield _this2.repo.submit(revs); | ||
| })(); | ||
| } | ||
| update() { | ||
| pull(revId) { | ||
| var _this3 = this; | ||
| return _asyncToGenerator(function* () { | ||
| var changedRevs = yield _this3.pull(_this3.latestRevisionId); | ||
| return yield _this3.repo.pull(revId); | ||
| })(); | ||
| } | ||
| update() { | ||
| var _this4 = this; | ||
| return _asyncToGenerator(function* () { | ||
| var changedRevs = yield _this4.pull(_this4.latestRevisionId); | ||
| if (changedRevs.length > 0) { | ||
| _this3.latestRevisionId = changedRevs[changedRevs.length - 1].id; | ||
| _this4.latestRevisionId = changedRevs[changedRevs.length - 1].id; | ||
| } | ||
@@ -177,0 +189,0 @@ |
+0
-0
@@ -0,0 +0,0 @@ MIT License |
+1
-1
| { | ||
| "name": "react-diff-sync", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "The diff versioning library for React Project", | ||
@@ -5,0 +5,0 @@ "author": "samick17", |
+0
-0
@@ -0,0 +0,0 @@ # react-diff-sync |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11221
2.39%303
6.32%0
-100%