Skip to content

Commit 6e68817

Browse files
committed
fix: update package versions
1 parent 2903130 commit 6e68817

File tree

3 files changed

+63
-17
lines changed

3 files changed

+63
-17
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"webpack-log": "^3.0.1"
6262
},
6363
"dependencies": {
64-
"@cocreate/docs": "^1.1.14"
64+
"@cocreate/docs": "^1.1.29"
6565
}
6666
}

src/index.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -113,22 +113,22 @@ const CoCreateRender = {
113113
attrValue = that.__replaceValue(data, attrValue);
114114

115115
if (attrValue) {
116-
if(attr_name == 'value'){
117-
let tag = e.tagName.toLowerCase();
118-
switch (tag) {
119-
case 'input':
120-
e.setAttribute(attr_name, attrValue);
121-
break;
122-
case 'textarea':
123-
e.setAttribute(attr_name, attrValue);
124-
e.textContent = attrValue;
125-
break;
126-
default:
127-
if (e.children.length === 0) {
128-
e.innerHTML = attrValue;
129-
}
130-
}
131-
}
116+
// if(attr_name == 'value'){
117+
// let tag = e.tagName.toLowerCase();
118+
// switch (tag) {
119+
// case 'input':
120+
// e.setAttribute(attr_name, attrValue);
121+
// break;
122+
// case 'textarea':
123+
// e.setAttribute(attr_name, attrValue);
124+
// e.textContent = attrValue;
125+
// break;
126+
// default:
127+
// if (e.children.length === 0) {
128+
// e.innerHTML = attrValue;
129+
// }
130+
// }
131+
// }
132132
e.setAttribute(attr_name, attrValue);
133133
}
134134
});

yarn.lock

+46
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,14 @@
876876
"@cocreate/docs" "^1.0.0"
877877
"@cocreate/socket-client" "^1.0.0"
878878

879+
"@cocreate/crud-client@^1.1.10", "@cocreate/crud-client@^1.1.9":
880+
version "1.1.12"
881+
resolved "https://registry.yarnpkg.com/@cocreate/crud-client/-/crud-client-1.1.12.tgz#c897e897ce5fba4fc8d0bfe32ff0117c13cbbabe"
882+
integrity sha512-QECgF4uBovtaIGb595a4enMP/OAXHJsKaVmqRpkI0bHW7HhoYoqpNfMdjAIrr1eZlDEL+p5Dwl1Kmcsejk/ZOA==
883+
dependencies:
884+
"@cocreate/docs" "^1.1.14"
885+
"@cocreate/socket-client" "^1.1.5"
886+
879887
"@cocreate/docs@^1.0.0", "@cocreate/docs@^1.1.14":
880888
version "1.1.14"
881889
resolved "https://registry.yarnpkg.com/@cocreate/docs/-/docs-1.1.14.tgz#992e6e2e2d9b848e3ba65ff4f4abff07dc3ec6ab"
@@ -888,6 +896,18 @@
888896
parse-html-comments "^1.3.1"
889897
ws "^7.3.1"
890898

899+
"@cocreate/docs@^1.1.29":
900+
version "1.1.29"
901+
resolved "https://registry.yarnpkg.com/@cocreate/docs/-/docs-1.1.29.tgz#010c3495ce54dedab69bbabc2073c067ae90b64b"
902+
integrity sha512-+d+ocGp9RgJpZcwFkXZenjPlgKmnhsyGFl/mGpwjLYpK/X2nS08jt0XSSZP88B+g7NhcVnOs/oYaD1KZKxH7+w==
903+
dependencies:
904+
"@cocreate/crud-client" "^1.1.10"
905+
"@cocreate/hosting" "^1.1.3"
906+
extract-comments "^1.1.0"
907+
glob "^7.1.6"
908+
parse-html-comments "^1.3.1"
909+
ws "^7.3.1"
910+
891911
"@cocreate/hosting@^1.0.0":
892912
version "1.1.4"
893913
resolved "https://registry.yarnpkg.com/@cocreate/hosting/-/hosting-1.1.4.tgz#a8dfd8e00bdab2e00150bc3e046959e9dde5423f"
@@ -898,6 +918,16 @@
898918
"@cocreate/socket-client" "^1.0.0"
899919
mime-types "^2.1.30"
900920

921+
"@cocreate/hosting@^1.1.3":
922+
version "1.1.8"
923+
resolved "https://registry.yarnpkg.com/@cocreate/hosting/-/hosting-1.1.8.tgz#3d019c56113516d141902a933df453cae1847e2c"
924+
integrity sha512-is2cM+M6bv5cSGdSTtPpKijFhLDsPBNq49fZwMllVVAUCrLbCFdIPwmBd30swSJu8HX0C1Fp22eKAuO2jaMGZg==
925+
dependencies:
926+
"@cocreate/crud-client" "^1.1.9"
927+
"@cocreate/docs" "^1.1.14"
928+
"@cocreate/socket-client" "^1.1.5"
929+
mime-types "^2.1.30"
930+
901931
"@cocreate/socket-client@^1.0.0":
902932
version "1.1.5"
903933
resolved "https://registry.yarnpkg.com/@cocreate/socket-client/-/socket-client-1.1.5.tgz#0eb487607c7a3adc815923ba4a18be8899bdd1cd"
@@ -907,6 +937,15 @@
907937
"@cocreate/uuid" "^1.0.0"
908938
ws "^7.4.4"
909939

940+
"@cocreate/socket-client@^1.1.5":
941+
version "1.1.8"
942+
resolved "https://registry.yarnpkg.com/@cocreate/socket-client/-/socket-client-1.1.8.tgz#b887fa80d7bc311c163a62b1302dbbd9e12e891a"
943+
integrity sha512-ia3ipeemqJ9GXqBz38/YU468cuUkRcDwMVdPAR7zaLkSiU5pP0KJNaOrs6/JsSJ4/t+yKnxRpzalOQIQsGvzhw==
944+
dependencies:
945+
"@cocreate/docs" "^1.1.14"
946+
"@cocreate/uuid" "^1.0.9"
947+
ws "^7.4.4"
948+
910949
"@cocreate/uuid@^1.0.0":
911950
version "1.0.9"
912951
resolved "https://registry.yarnpkg.com/@cocreate/uuid/-/uuid-1.0.9.tgz#c97ce6c0909925c5141828d145523d9dcd26be52"
@@ -915,6 +954,13 @@
915954
"@cocreate/docs" "^1.0.0"
916955
mini-css-extract-plugin "^1.5.0"
917956

957+
"@cocreate/uuid@^1.0.9":
958+
version "1.0.12"
959+
resolved "https://registry.yarnpkg.com/@cocreate/uuid/-/uuid-1.0.12.tgz#785e152d2b21a34e34133b490b97b0f189ef363a"
960+
integrity sha512-KvUs05kp1L4kS7JW19EnDS81tpnmAY9Xmg2xnAuw9U1QMFlwsZdwN6Xdn9smNwLi73KUL6+FBlfkW4Bd6y+pEA==
961+
dependencies:
962+
"@cocreate/docs" "^1.1.14"
963+
918964
"@discoveryjs/json-ext@^0.5.0":
919965
version "0.5.3"
920966
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz#90420f9f9c6d3987f176a19a7d8e764271a2f55d"

0 commit comments

Comments
 (0)