@symbo.ls/sync 3.14.2 → 3.14.4
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/CHANGELOG.md +21 -0
- package/dist/cjs/handlers.js +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/handlers.js +1 -1
- package/package.json +12 -12
- package/dist/cjs/handlers.cjs +0 -1
- /package/dist/cjs/{SyncNotifications.cjs → SyncNotifications.js} +0 -0
- /package/dist/cjs/{applier.cjs → applier.js} +0 -0
- /package/dist/cjs/{index.cjs → index.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @symbo.ls/sync
|
|
2
2
|
|
|
3
|
+
## 3.14.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Manual patch bump triggered via workflow_dispatch (scope: @symbo.ls).
|
|
8
|
+
No source change behind this bump — released to refresh dist or
|
|
9
|
+
coordinate a cross-package version line.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
- @symbo.ls/default-config@3.14.6
|
|
12
|
+
- @symbo.ls/router@3.14.3
|
|
13
|
+
- @symbo.ls/scratch@3.14.4
|
|
14
|
+
- @symbo.ls/utils@3.14.5
|
|
15
|
+
|
|
16
|
+
## 3.14.3
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Auto-generated cross-repo patch release.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @symbo.ls/default-config@3.14.4
|
|
23
|
+
|
|
3
24
|
## 3.14.1
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var y=(t,o)=>{for(var e in o)p(t,e,{get:o[e],enumerable:!0})},u=(t,o,e,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of g(o))!d.call(t,s)&&s!==e&&p(t,s,{get:()=>o[s],enumerable:!(n=l(o,s))||n.enumerable});return t};var A=t=>u(p({},"__esModule",{value:!0}),t);var O={};y(O,{onOps:()=>w,onSnapshot:()=>S});module.exports=A(O);var f=require("smbls"),c=require("@symbo.ls/utils"),h=require("./applier.js");const S=(t,o,e)=>(n={})=>{let{data:s}=n;const{schema:i}=n;s&&(s=t.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{}),Object.entries(s).forEach(([r,a])=>{e[r]&&typeof e[r]=="object"?r==="designSystem"?(0,f.init)(a):(0,c.overwriteShallow)(e[r],a):e[r]=a}),i&&(e.schema=i))},w=(t,o,e)=>(n={})=>{let{changes:s}=n;if(!s||!Array.isArray(s)||!s.length)return;s=t.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{});const i=(0,h.applyOpsToCtx)(e,s);if(i.has("state")&&o.update(e.state),["pages","components","snippets","functions","assets"].some(r=>i.has(r))){const{pathname:r,search:a,hash:m}=e.window.location;t.call("router",r+a+m,t.__ref.root,{},{scrollToTop:!1})}i.has("designSystem")&&(0,f.init)(e.designSystem)};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type": "commonjs"}
|
package/dist/esm/handlers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{init as p}from"smbls
|
|
1
|
+
import{init as p}from"smbls";import{overwriteShallow as c}from"@symbo.ls/utils";import{applyOpsToCtx as h}from"./applier.js";const d=(r,a,e)=>(i={})=>{let{data:s}=i;const{schema:o}=i;s&&(s=r.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{}),Object.entries(s).forEach(([t,n])=>{e[t]&&typeof e[t]=="object"?t==="designSystem"?p(n):c(e[t],n):e[t]=n}),o&&(e.schema=o))},y=(r,a,e)=>(i={})=>{let{changes:s}=i;if(!s||!Array.isArray(s)||!s.length)return;s=r.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{});const o=h(e,s);if(o.has("state")&&a.update(e.state),["pages","components","snippets","functions","assets"].some(t=>o.has(t))){const{pathname:t,search:n,hash:f}=e.window.location;r.call("router",t+n+f,r.__ref.root,{},{scrollToTop:!1})}o.has("designSystem")&&p(e.designSystem)};export{y as onOps,d as onSnapshot};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/sync",
|
|
3
|
-
"version": "3.14.
|
|
4
|
-
"main": "./dist/cjs/index.
|
|
3
|
+
"version": "3.14.4",
|
|
4
|
+
"main": "./dist/cjs/index.js",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
|
|
7
7
|
"files": [
|
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
".": {
|
|
17
17
|
"development": "./index.js",
|
|
18
18
|
"import": "./dist/esm/index.js",
|
|
19
|
-
"require": "./dist/cjs/index.
|
|
19
|
+
"require": "./dist/cjs/index.js",
|
|
20
20
|
"default": "./dist/esm/index.js"
|
|
21
21
|
},
|
|
22
22
|
"./package.json": "./package.json",
|
|
23
23
|
"./applier": {
|
|
24
24
|
"development": "./applier.js",
|
|
25
25
|
"import": "./dist/esm/applier.js",
|
|
26
|
-
"require": "./dist/cjs/applier.
|
|
26
|
+
"require": "./dist/cjs/applier.js",
|
|
27
27
|
"default": "./dist/esm/applier.js"
|
|
28
28
|
},
|
|
29
29
|
"./handlers": {
|
|
30
30
|
"development": "./handlers.js",
|
|
31
31
|
"import": "./dist/esm/handlers.js",
|
|
32
|
-
"require": "./dist/cjs/handlers.
|
|
32
|
+
"require": "./dist/cjs/handlers.js",
|
|
33
33
|
"default": "./dist/esm/handlers.js"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"access": "restricted"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
-
"build:esm": "esbuild $(find . -type f -name \"*.js\" -not -path \"*/dist/*\" -not -path \"*/node_modules/*\" -not -path \"*/__tests__/*\" -not -path \"*/test/*\" -not -name \"*.test.js\") --target=
|
|
42
|
-
"build:cjs": "esbuild $(find . -type f -name \"*.js\" -not -path \"*/dist/*\" -not -path \"*/node_modules/*\" -not -path \"*/__tests__/*\" -not -path \"*/test/*\" -not -name \"*.test.js\") --target=
|
|
43
|
-
"build": "rimraf dist && npm run build:esm && npm run build:cjs",
|
|
41
|
+
"build:esm": "esbuild $(find . -type f -name \"*.js\" -not -path \"*/dist/*\" -not -path \"*/node_modules/*\" -not -path \"*/__tests__/*\" -not -path \"*/test/*\" -not -path \"*/demo/*\" -not -path \"*/demos/*\" -not -path \"*/examples/*\" -not -path \"*/fixtures/*\" -not -name \"*.test.js\") --target=es2022 --format=esm --outbase=. --outdir=dist/esm --minify --log-level=warning",
|
|
42
|
+
"build:cjs": "esbuild $(find . -type f -name \"*.js\" -not -path \"*/dist/*\" -not -path \"*/node_modules/*\" -not -path \"*/__tests__/*\" -not -path \"*/test/*\" -not -path \"*/demo/*\" -not -path \"*/demos/*\" -not -path \"*/examples/*\" -not -path \"*/fixtures/*\" -not -name \"*.test.js\") --target=node20 --format=cjs --outbase=. --outdir=dist/cjs --minify --log-level=warning",
|
|
43
|
+
"build": "rimraf dist && npm run build:esm && npm run build:cjs && node -e \"require('fs').writeFileSync('dist/cjs/package.json', '{\\\"type\\\": \\\"commonjs\\\"}')\"",
|
|
44
44
|
"prepublishOnly": "npm run build"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@symbo.ls/router": "^3.14.
|
|
48
|
-
"@symbo.ls/utils": "^3.14.
|
|
49
|
-
"@symbo.ls/scratch": "^3.14.
|
|
50
|
-
"@symbo.ls/default-config": "^3.14.
|
|
47
|
+
"@symbo.ls/router": "^3.14.3",
|
|
48
|
+
"@symbo.ls/utils": "^3.14.5",
|
|
49
|
+
"@symbo.ls/scratch": "^3.14.4",
|
|
50
|
+
"@symbo.ls/default-config": "^3.14.6",
|
|
51
51
|
"chalk": "^5.4.1",
|
|
52
52
|
"socket.io-client": "^4.8.1"
|
|
53
53
|
},
|
package/dist/cjs/handlers.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var y=(t,o)=>{for(var e in o)p(t,e,{get:o[e],enumerable:!0})},u=(t,o,e,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of g(o))!d.call(t,s)&&s!==e&&p(t,s,{get:()=>o[s],enumerable:!(n=l(o,s))||n.enumerable});return t};var A=t=>u(p({},"__esModule",{value:!0}),t);var O={};y(O,{onOps:()=>w,onSnapshot:()=>S});module.exports=A(O);var f=require("smbls/src/init.js"),c=require("@symbo.ls/utils"),h=require("./applier.js");const S=(t,o,e)=>(n={})=>{let{data:s}=n;const{schema:i}=n;s&&(s=t.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{}),Object.entries(s).forEach(([r,a])=>{e[r]&&typeof e[r]=="object"?r==="designSystem"?(0,f.init)(a):(0,c.overwriteShallow)(e[r],a):e[r]=a}),i&&(e.schema=i))},w=(t,o,e)=>(n={})=>{let{changes:s}=n;if(!s||!Array.isArray(s)||!s.length)return;s=t.call("deepDestringifyFunctions",s,Array.isArray(s)?[]:{});const i=(0,h.applyOpsToCtx)(e,s);if(i.has("state")&&o.update(e.state),["pages","components","snippets","functions","assets"].some(r=>i.has(r))){const{pathname:r,search:a,hash:m}=e.window.location;t.call("router",r+a+m,t.__ref.root,{},{scrollToTop:!1})}i.has("designSystem")&&(0,f.init)(e.designSystem)};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|