Skip to content

Commit 7d96e7b

Browse files
committed
fix: bumped @cocreate dependencies
1 parent ce747a5 commit 7d96e7b

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"name": "@cocreate/docs",
33
"version": "1.4.2",
44
"description": "Documentation generator ",
5-
"keywords": [
6-
"cocreate",
7-
"lowcode",
8-
"doc-generator"
9-
],
5+
"keywords": ["cocreate", "lowcode", "doc-generator"],
106
"main": "app.js",
117
"scripts": {
128
"test": "echo \"Error: no test specified\" && exit 1",
@@ -21,13 +17,11 @@
2117
},
2218
"author": "CoCreate LLC",
2319
"license": "MIT",
24-
"bugs": {
25-
"url": "https://github.com/CoCreate-app/CoCreate-docs/issues"
26-
},
20+
"bugs": { "url": "https://github.com/CoCreate-app/CoCreate-docs/issues" },
2721
"homepage": "https://github.com/CoCreate-app/CoCreate-docs#readme",
2822
"dependencies": {
29-
"@cocreate/crud-client": "^1.13.6",
30-
"@cocreate/hosting": "^1.6.0",
23+
"@cocreate/crud-client": "^1.14.0",
24+
"@cocreate/hosting": "^1.6.1",
3125
"extract-comments": "^1.1.0",
3226
"glob": "^7.1.6",
3327
"parse-html-comments": "^1.3.1"

test_files/CoCreate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
@value_end
1313
*/
1414
updateDocument: function(info) {
15-
if( !info || !info['document_id'] ) return;
15+
if ( !info || !info['document_id'] ) return;
1616

1717
let request_data = this.getCommonParams();
1818
request_data['collection'] = info['collection'] || 'module_activities';
1919
request_data['document_id'] = info['document_id'];
2020

21-
if( typeof info['data'] === 'object' ) request_data['set'] = info['data'];
22-
if( Array.isArray(info['delete_fields']) ) request_data['unset'] = info['delete_fields'];
21+
if ( typeof info['data'] === 'object' ) request_data['set'] = info['data'];
22+
if ( Array.isArray(info['delete_fields']) ) request_data['unset'] = info['delete_fields'];
2323

24-
if(!request_data['set'] && !request_data['unset']) return;
24+
if (!request_data['set'] && !request_data['unset']) return;
2525

2626
request_data['element'] = info['element'];
2727
request_data['metadata'] = info['metadata'];

0 commit comments

Comments
 (0)