@jsforce/jsforce-node 3.3.0 → 3.3.2
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/lib/VERSION.d.ts +1 -1
- package/lib/VERSION.js +1 -1
- package/lib/api/wsdl/wsdl2schema.js +3 -3
- package/package.json +7 -4
package/lib/VERSION.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "3.3.
|
|
1
|
+
declare const _default: "3.3.2";
|
|
2
2
|
export default _default;
|
package/lib/VERSION.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
6
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
7
7
|
const xml2js_1 = __importDefault(require("xml2js"));
|
|
8
8
|
const soap_1 = require("../../soap");
|
|
9
9
|
const function_1 = require("../../util/function");
|
|
@@ -122,7 +122,7 @@ function toJsType(xsdType, simpleTypes) {
|
|
|
122
122
|
*
|
|
123
123
|
*/
|
|
124
124
|
async function readWSDLFile(filePath) {
|
|
125
|
-
const xmlData = await
|
|
125
|
+
const xmlData = await node_fs_1.default.promises.readFile(filePath, 'utf8');
|
|
126
126
|
const json = await xml2js_1.default.parseStringPromise(xmlData, {
|
|
127
127
|
explicitArray: false,
|
|
128
128
|
});
|
|
@@ -202,7 +202,7 @@ const GENERATED_MESSAGE_COMMENT = `/**
|
|
|
202
202
|
*
|
|
203
203
|
*/
|
|
204
204
|
async function dumpSchema(schemas, outFile) {
|
|
205
|
-
const out =
|
|
205
|
+
const out = node_fs_1.default.createWriteStream(outFile, 'utf8');
|
|
206
206
|
const print = (str, indent = 0) => {
|
|
207
207
|
for (let i = 0; i < indent; i++) {
|
|
208
208
|
out.write(' ');
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"database.com"
|
|
11
11
|
],
|
|
12
12
|
"homepage": "http://github.com/jsforce/jsforce",
|
|
13
|
-
"version": "3.3.
|
|
13
|
+
"version": "3.3.2",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "git://github.com/jsforce/jsforce.git"
|
|
@@ -193,14 +193,12 @@
|
|
|
193
193
|
},
|
|
194
194
|
"dependencies": {
|
|
195
195
|
"@sindresorhus/is": "^4",
|
|
196
|
-
"@types/node": "^18.15.3",
|
|
197
196
|
"abort-controller": "^3.0.0",
|
|
198
197
|
"base64url": "^3.0.1",
|
|
199
198
|
"csv-parse": "^5.5.2",
|
|
200
199
|
"csv-stringify": "^6.4.4",
|
|
201
200
|
"faye": "^1.4.0",
|
|
202
201
|
"form-data": "^4.0.0",
|
|
203
|
-
"fs-extra": "^8.1.0",
|
|
204
202
|
"https-proxy-agent": "^5.0.0",
|
|
205
203
|
"multistream": "^3.1.0",
|
|
206
204
|
"node-fetch": "^2.6.1",
|
|
@@ -214,8 +212,8 @@
|
|
|
214
212
|
"@babel/preset-env": "^7.22.20",
|
|
215
213
|
"@babel/preset-typescript": "^7.23.0",
|
|
216
214
|
"@babel/register": "^7.22.15",
|
|
217
|
-
"@types/fs-extra": "^8.0.1",
|
|
218
215
|
"@types/inquirer": "^6.5.0",
|
|
216
|
+
"@types/node": "^18.15.3",
|
|
219
217
|
"@types/jest": "^29.5.5",
|
|
220
218
|
"@types/multistream": "^2.1.1",
|
|
221
219
|
"@types/node-fetch": "^2.5.7",
|
|
@@ -266,5 +264,10 @@
|
|
|
266
264
|
"webpack-cli": "^5.0.2",
|
|
267
265
|
"wireit": "^0.14.0",
|
|
268
266
|
"zx": "^7.2.3"
|
|
267
|
+
},
|
|
268
|
+
"overrides": {
|
|
269
|
+
"node-fetch": {
|
|
270
|
+
"whatwg-url": "^14.0.0"
|
|
271
|
+
}
|
|
269
272
|
}
|
|
270
273
|
}
|