@ind-rcg/backend 248.1006.0 → 252.1003.0
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/bin/libsqliteExtension.dylib +0 -0
- package/package.json +15 -15
- package/src/bootstrap.js +1 -1
- package/src/zipHandler.js +1 -1
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ind-rcg/backend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "252.1003.0",
|
|
4
4
|
"author": "Salesforce",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"description": "This backend module is required to simulate the application of Consumer Goods Mobile Application. This modules can only be used in modeler-sfdx-cli-plugin.",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"bindings": "1.5.0",
|
|
9
|
-
"body-parser": "1.20.
|
|
9
|
+
"body-parser": "1.20.2",
|
|
10
10
|
"copyfiles": "2.4.1",
|
|
11
11
|
"express": "4.18.2",
|
|
12
12
|
"lodash": "4.17.21",
|
|
13
|
-
"log4js": "6.
|
|
13
|
+
"log4js": "6.9.1",
|
|
14
14
|
"md5": "2.3.0",
|
|
15
|
-
"mkdirp": "
|
|
16
|
-
"node-addon-api": "
|
|
17
|
-
"node-fetch": "3.3.
|
|
18
|
-
"pako": "2.0
|
|
19
|
-
"rimraf": "
|
|
15
|
+
"mkdirp": "3.0.1",
|
|
16
|
+
"node-addon-api": "7.1.0",
|
|
17
|
+
"node-fetch": "3.3.2",
|
|
18
|
+
"pako": "2.1.0",
|
|
19
|
+
"rimraf": "5.0.5",
|
|
20
20
|
"sharp": "0.32.6",
|
|
21
|
-
"sqlite3": "5.1.
|
|
21
|
+
"sqlite3": "5.1.7",
|
|
22
22
|
"sqlite3-transactions": "0.0.5",
|
|
23
|
-
"yargs": "17.
|
|
23
|
+
"yargs": "17.7.2"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"test": "mocha --recursive --timeout 3000 --retries 3",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"log4js.json"
|
|
59
59
|
],
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@ind-rcg/com-salesforce-rcg-sqlite-extensions": "
|
|
62
|
-
"chai": "4.
|
|
63
|
-
"eslint": "8.
|
|
61
|
+
"@ind-rcg/com-salesforce-rcg-sqlite-extensions": "250.1001.0",
|
|
62
|
+
"chai": "4.4.1",
|
|
63
|
+
"eslint": "8.56.0",
|
|
64
64
|
"jszip": "3.10.1",
|
|
65
|
-
"mocha": "
|
|
65
|
+
"mocha": "10.3.0",
|
|
66
66
|
"nyc": "15.1.0",
|
|
67
|
-
"supertest": "6.
|
|
67
|
+
"supertest": "6.3.4"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/bootstrap.js
CHANGED
|
@@ -124,7 +124,7 @@ module.exports.setup = (webServerConfig) => {
|
|
|
124
124
|
|
|
125
125
|
const hesaFolderPath = `${GlobalConfig.AttachmentsFolder}/${GlobalConfig.hesaFolder}`;
|
|
126
126
|
if (fs.existsSync(hesaFolderPath)) {
|
|
127
|
-
fs.
|
|
127
|
+
fs.rmSync(hesaFolderPath, { recursive: true, force: true });
|
|
128
128
|
}
|
|
129
129
|
fs.mkdirSync(hesaFolderPath, { recursive: true, force: true });
|
|
130
130
|
|
package/src/zipHandler.js
CHANGED
|
@@ -131,7 +131,7 @@ const ZipHandler = new function(){
|
|
|
131
131
|
const promiseResult = [];
|
|
132
132
|
// Remove previous theme zip extraction
|
|
133
133
|
if (fs.existsSync(GlobalConfig.ThemeImagesFolder)) {
|
|
134
|
-
fs.
|
|
134
|
+
fs.rmSync(GlobalConfig.ThemeImagesFolder, { recursive: true, force: true });
|
|
135
135
|
}
|
|
136
136
|
fs.mkdirSync(GlobalConfig.ThemeImagesFolder);
|
|
137
137
|
GlobalConfig.validThemeFolders.forEach((folder) => {
|