@symbo.ls/sync 3.6.6 → 3.6.8
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/LICENSE +25 -12
- package/dist/cjs/index.js +3 -3
- package/dist/esm/index.js +1 -1
- package/dist/iife/index.js +3 -3
- package/index.js +1 -1
- package/package.json +5 -5
package/LICENSE
CHANGED
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
Creative Commons Attribution-NonCommercial 4.0 International License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2023 symbo.ls
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
5
|
+
This work is licensed under the Creative Commons Attribution-NonCommercial
|
|
6
|
+
4.0 International License. To view a copy of this license, visit
|
|
7
|
+
https://creativecommons.org/licenses/by-nc/4.0/ or send a letter to
|
|
8
|
+
Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
copies or substantial portions of the Software.
|
|
10
|
+
You are free to:
|
|
14
11
|
|
|
15
|
-
|
|
12
|
+
Share — copy and redistribute the material in any medium or format
|
|
13
|
+
Adapt — remix, transform, and build upon the material
|
|
14
|
+
|
|
15
|
+
Under the following terms:
|
|
16
|
+
|
|
17
|
+
Attribution — You must give appropriate credit, provide a link to the
|
|
18
|
+
license, and indicate if changes were made. You may do so in any
|
|
19
|
+
reasonable manner, but not in any way that suggests the licensor endorses
|
|
20
|
+
you or your use.
|
|
21
|
+
|
|
22
|
+
NonCommercial — You may not use the material for commercial purposes.
|
|
23
|
+
|
|
24
|
+
No additional restrictions — You may not apply legal terms or
|
|
25
|
+
technological measures that legally restrict others from doing anything
|
|
26
|
+
the license permits.
|
|
27
|
+
|
|
28
|
+
THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
29
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
30
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
31
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
32
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE
|
|
21
|
-
|
|
33
|
+
OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE
|
|
34
|
+
WORK.
|
package/dist/cjs/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(index_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(index_exports);
|
|
27
27
|
var import_router = require("@domql/router");
|
|
28
|
-
var
|
|
28
|
+
var import_init = require("smbls/src/init.js");
|
|
29
29
|
var import_socket = require("socket.io-client");
|
|
30
30
|
var import_utils = require("@domql/utils");
|
|
31
31
|
var import_SyncNotifications = require("./SyncNotifications");
|
|
@@ -122,7 +122,7 @@ const onSnapshot = (el, s, ctx) => (payload = {}) => {
|
|
|
122
122
|
Object.entries(data).forEach(([key, val]) => {
|
|
123
123
|
if (ctx[key] && typeof ctx[key] === "object") {
|
|
124
124
|
if (key === "designSystem") {
|
|
125
|
-
(0,
|
|
125
|
+
(0, import_init.init)(val);
|
|
126
126
|
} else {
|
|
127
127
|
(0, import_utils.overwriteShallow)(ctx[key], val);
|
|
128
128
|
}
|
|
@@ -172,7 +172,7 @@ const onOps = (el, s, ctx) => (payload = {}) => {
|
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
174
|
if (changed.has("designSystem")) {
|
|
175
|
-
(0,
|
|
175
|
+
(0, import_init.init)(ctx.designSystem);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
const connectToSocket = async (el, s, ctx) => {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { router } from "@domql/router";
|
|
2
|
-
import { init } from "smbls";
|
|
2
|
+
import { init } from "smbls/src/init.js";
|
|
3
3
|
import { io } from "socket.io-client";
|
|
4
4
|
import { window, overwriteShallow, overwriteDeep } from "@domql/utils";
|
|
5
5
|
import { connectedToSymbols, Notifications } from "./SyncNotifications";
|
package/dist/iife/index.js
CHANGED
|
@@ -43,7 +43,7 @@ var SmblsSync = (() => {
|
|
|
43
43
|
connectToSocket: () => connectToSocket
|
|
44
44
|
});
|
|
45
45
|
var import_router = __require("@domql/router");
|
|
46
|
-
var
|
|
46
|
+
var import_init = __require("smbls/src/init.js");
|
|
47
47
|
var import_socket2 = __require("socket.io-client");
|
|
48
48
|
var import_utils3 = __require("@domql/utils");
|
|
49
49
|
|
|
@@ -385,7 +385,7 @@ var SmblsSync = (() => {
|
|
|
385
385
|
Object.entries(data).forEach(([key, val]) => {
|
|
386
386
|
if (ctx[key] && typeof ctx[key] === "object") {
|
|
387
387
|
if (key === "designSystem") {
|
|
388
|
-
(0,
|
|
388
|
+
(0, import_init.init)(val);
|
|
389
389
|
} else {
|
|
390
390
|
(0, import_utils3.overwriteShallow)(ctx[key], val);
|
|
391
391
|
}
|
|
@@ -435,7 +435,7 @@ var SmblsSync = (() => {
|
|
|
435
435
|
);
|
|
436
436
|
}
|
|
437
437
|
if (changed.has("designSystem")) {
|
|
438
|
-
(0,
|
|
438
|
+
(0, import_init.init)(ctx.designSystem);
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
var connectToSocket = async (el, s, ctx) => {
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { router } from '@domql/router'
|
|
2
|
-
import { init } from 'smbls'
|
|
2
|
+
import { init } from 'smbls/src/init.js'
|
|
3
3
|
import { io } from 'socket.io-client'
|
|
4
4
|
import { window, overwriteShallow, overwriteDeep } from '@domql/utils'
|
|
5
5
|
import { connectedToSymbols, Notifications } from './SyncNotifications'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/sync",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.8",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"prepublish": "npm run build && npm run copy:package:cjs"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@domql/router": "^3.6.
|
|
51
|
-
"@domql/utils": "^3.6.
|
|
52
|
-
"@symbo.ls/scratch": "^3.6.
|
|
53
|
-
"@symbo.ls/uikit": "^3.6.
|
|
50
|
+
"@domql/router": "^3.6.8",
|
|
51
|
+
"@domql/utils": "^3.6.8",
|
|
52
|
+
"@symbo.ls/scratch": "^3.6.8",
|
|
53
|
+
"@symbo.ls/uikit": "^3.6.8",
|
|
54
54
|
"chalk": "^5.4.1",
|
|
55
55
|
"express": "^4.21.2",
|
|
56
56
|
"socket.io": "^4.8.1",
|