@ind-rcg/backend 256.1006.0 → 258.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 -14
- package/src/bootstrap.js +4 -4
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ind-rcg/backend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "258.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": "
|
|
9
|
+
"body-parser": "2.2.0",
|
|
10
10
|
"copyfiles": "2.4.1",
|
|
11
|
-
"express": "
|
|
11
|
+
"express": "5.1.0",
|
|
12
12
|
"lodash": "4.17.21",
|
|
13
13
|
"log4js": "6.9.1",
|
|
14
14
|
"md5": "2.3.0",
|
|
15
15
|
"mkdirp": "3.0.1",
|
|
16
|
-
"node-addon-api": "8.1
|
|
16
|
+
"node-addon-api": "8.3.1",
|
|
17
17
|
"node-fetch": "3.3.2",
|
|
18
18
|
"pako": "2.1.0",
|
|
19
19
|
"rimraf": "6.0.1",
|
|
20
|
-
"sharp": "0.
|
|
20
|
+
"sharp": "0.34.1",
|
|
21
21
|
"sqlite3": "5.1.7",
|
|
22
22
|
"sqlite3-transactions": "0.0.5",
|
|
23
23
|
"yargs": "17.7.2"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"test": "mocha --recursive --timeout
|
|
27
|
-
"testWithLcovReport": "nyc --reporter=lcov --reporter=text-lcov mocha --recursive --timeout
|
|
28
|
-
"testSingle": "mocha test/
|
|
26
|
+
"test": "mocha --recursive --timeout 5000 --retries 3",
|
|
27
|
+
"testWithLcovReport": "nyc --reporter=lcov --reporter=text-lcov mocha --recursive --timeout 5000 --retries 3",
|
|
28
|
+
"testSingle": "mocha test/sfAttachmentsHandler-test.mjs --timeout 5000 --retries 3",
|
|
29
29
|
"lint": "npx eslint *.js src/*.js src/**/*.js test/*.js test/**/*.js",
|
|
30
|
+
"lintFix": "npx eslint --fix *.js src/*.js src/**/*.js test/*.js test/**/*.js",
|
|
30
31
|
"start": "node src/server.js",
|
|
31
32
|
"nativeConfigure": "node-gyp configure",
|
|
32
33
|
"nativeBuild": "node-gyp build",
|
|
@@ -59,13 +60,13 @@
|
|
|
59
60
|
"log4js.json"
|
|
60
61
|
],
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"@ind-rcg/com-salesforce-rcg-sqlite-extensions": "
|
|
63
|
-
"chai": "
|
|
64
|
-
"eslint": "
|
|
63
|
+
"@ind-rcg/com-salesforce-rcg-sqlite-extensions": "254.1001.0",
|
|
64
|
+
"chai": "5.2.0",
|
|
65
|
+
"eslint": "9.26.0",
|
|
65
66
|
"jszip": "3.10.1",
|
|
66
|
-
"mocha": "
|
|
67
|
-
"nyc": "17.
|
|
68
|
-
"supertest": "7.
|
|
67
|
+
"mocha": "11.2.2",
|
|
68
|
+
"nyc": "17.1.0",
|
|
69
|
+
"supertest": "7.1.0"
|
|
69
70
|
},
|
|
70
71
|
"overrides": {
|
|
71
72
|
"sqlite3": {
|
package/src/bootstrap.js
CHANGED
|
@@ -14,13 +14,13 @@ const _ = require('lodash');
|
|
|
14
14
|
const fs = require("fs");
|
|
15
15
|
const path = require("path");
|
|
16
16
|
const GlobalConfig = require('./globalConfig');
|
|
17
|
+
// eslint-disable-next-line no-redeclare
|
|
17
18
|
let fetch = null;
|
|
18
19
|
let salesforceInstanceURL;
|
|
19
|
-
//let salesforceAccessToken;
|
|
20
20
|
|
|
21
21
|
async function loadESModule() {
|
|
22
|
-
// eslint-disable-next-line no-shadow
|
|
23
|
-
fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
|
|
22
|
+
// eslint-disable-next-line no-shadow, no-global-assign
|
|
23
|
+
fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
|
|
24
24
|
return fetch;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -153,4 +153,4 @@ module.exports.setup = (webServerConfig) => {
|
|
|
153
153
|
|
|
154
154
|
module.exports.closeConnection = () => {
|
|
155
155
|
local.closeDBConnection();
|
|
156
|
-
};
|
|
156
|
+
};
|