hyoo_sync_client 0.0.170 → 0.0.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.deps.json +1 -1
- package/node.js +6 -7
- package/node.js.map +1 -1
- package/node.mjs +6 -7
- package/node.test.js +6 -7
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.js +4 -5
- package/web.js.map +1 -1
- package/web.mjs +4 -5
package/node.mjs
CHANGED
|
@@ -32,7 +32,7 @@ $.$$ = $
|
|
|
32
32
|
//hyoo/hyoo.ts
|
|
33
33
|
;
|
|
34
34
|
"use strict";
|
|
35
|
-
let $hyoo_sync_revision = "
|
|
35
|
+
let $hyoo_sync_revision = "eadd5a2";
|
|
36
36
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
37
37
|
;
|
|
38
38
|
"use strict";
|
|
@@ -227,9 +227,9 @@ var $node = new Proxy({ require }, {
|
|
|
227
227
|
while (!fs.existsSync(path.join(dir, suffix))) {
|
|
228
228
|
const parent = path.resolve(dir, '..');
|
|
229
229
|
if (parent === dir) {
|
|
230
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev',
|
|
230
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
|
|
231
231
|
try {
|
|
232
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '
|
|
232
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
|
|
233
233
|
}
|
|
234
234
|
catch { }
|
|
235
235
|
break;
|
|
@@ -3863,12 +3863,11 @@ var $;
|
|
|
3863
3863
|
return next;
|
|
3864
3864
|
}
|
|
3865
3865
|
master_list() {
|
|
3866
|
-
|
|
3866
|
+
const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
|
|
3867
|
+
return this.$.$hyoo_sync_masters.map(host => `${scheme}//${host}`);
|
|
3867
3868
|
}
|
|
3868
3869
|
master_link() {
|
|
3869
|
-
|
|
3870
|
-
const host = this.master_list()[this.master_cursor()];
|
|
3871
|
-
return `${scheme}//${host}`;
|
|
3870
|
+
return this.master_list()[this.master_cursor()];
|
|
3872
3871
|
}
|
|
3873
3872
|
master() {
|
|
3874
3873
|
return null;
|
package/node.test.js
CHANGED
|
@@ -24,7 +24,7 @@ $.$$ = $
|
|
|
24
24
|
//hyoo/hyoo.ts
|
|
25
25
|
;
|
|
26
26
|
"use strict";
|
|
27
|
-
let $hyoo_sync_revision = "
|
|
27
|
+
let $hyoo_sync_revision = "eadd5a2";
|
|
28
28
|
//hyoo/sync/-meta.tree/revision.meta.tree.ts
|
|
29
29
|
;
|
|
30
30
|
"use strict";
|
|
@@ -219,9 +219,9 @@ var $node = new Proxy({ require }, {
|
|
|
219
219
|
while (!fs.existsSync(path.join(dir, suffix))) {
|
|
220
220
|
const parent = path.resolve(dir, '..');
|
|
221
221
|
if (parent === dir) {
|
|
222
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev',
|
|
222
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', name);
|
|
223
223
|
try {
|
|
224
|
-
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '
|
|
224
|
+
$$.$mol_exec('.', 'npm', 'install', '--omit=dev', '@types/' + name);
|
|
225
225
|
}
|
|
226
226
|
catch { }
|
|
227
227
|
break;
|
|
@@ -3855,12 +3855,11 @@ var $;
|
|
|
3855
3855
|
return next;
|
|
3856
3856
|
}
|
|
3857
3857
|
master_list() {
|
|
3858
|
-
|
|
3858
|
+
const scheme = this.$.$mol_dom_context.document.location.protocol.replace(/^http/, 'ws');
|
|
3859
|
+
return this.$.$hyoo_sync_masters.map(host => `${scheme}//${host}`);
|
|
3859
3860
|
}
|
|
3860
3861
|
master_link() {
|
|
3861
|
-
|
|
3862
|
-
const host = this.master_list()[this.master_cursor()];
|
|
3863
|
-
return `${scheme}//${host}`;
|
|
3862
|
+
return this.master_list()[this.master_cursor()];
|
|
3864
3863
|
}
|
|
3865
3864
|
master() {
|
|
3866
3865
|
return null;
|