@sasjs/adapter 4.11.1 → 4.11.3
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/SASViyaApiClient.d.ts +6 -0
- package/SASjs.d.ts +1 -1
- package/api/viya/writeStream.d.ts +1 -1
- package/auth/getTokenRequestErrorPrefix.d.ts +2 -2
- package/file/generateFileUploadForm.d.ts +1 -1
- package/file/generateTableUploadForm.d.ts +1 -1
- package/index-dev.js +77056 -3
- package/index.js +77056 -2
- package/job-execution/JobExecutor.d.ts +1 -1
- package/minified_sas9.js +16558 -2
- package/node/SASViyaApiClient.d.ts +6 -0
- package/node/SASjs.d.ts +1 -1
- package/node/api/viya/writeStream.d.ts +1 -1
- package/node/auth/getTokenRequestErrorPrefix.d.ts +2 -2
- package/node/file/generateFileUploadForm.d.ts +1 -1
- package/node/file/generateTableUploadForm.d.ts +1 -1
- package/node/index.js +28150 -2
- package/node/job-execution/JobExecutor.d.ts +1 -1
- package/node/request/RequestClient.d.ts +11 -2
- package/node/types/PollOptions.d.ts +1 -1
- package/node/types/RequestClient.d.ts +1 -1
- package/node/types/WriteStream.d.ts +6 -3
- package/node/utils/getFormData.d.ts +1 -1
- package/package.json +13 -11
- package/request/RequestClient.d.ts +11 -2
- package/spec/SAS9ApiClient.spec.d.ts +1 -0
- package/spec/SASjsApiClient.spec.d.ts +1 -0
- package/src/SAS9ApiClient.ts +1 -1
- package/src/SASViyaApiClient.ts +1 -1
- package/src/SASjs.ts +2 -2
- package/src/SASjsApiClient.ts +1 -1
- package/src/api/viya/writeStream.ts +10 -5
- package/src/auth/refreshTokensForViya.ts +1 -1
- package/src/file/generateFileUploadForm.ts +1 -1
- package/src/file/generateTableUploadForm.ts +1 -1
- package/src/job-execution/Sas9JobExecutor.ts +1 -1
- package/src/job-execution/SasjsJobExecutor.ts +5 -3
- package/src/job-execution/WebJobExecutor.ts +5 -3
- package/src/request/RequestClient.ts +73 -81
- package/src/request/Sas9RequestClient.ts +5 -5
- package/src/test/SAS_server_app.ts +10 -2
- package/src/types/WriteStream.ts +9 -3
- package/src/utils/convertToCsv.ts +5 -1
- package/src/utils/getFormData.ts +2 -2
- package/src/utils/validateInput.ts +16 -13
- package/types/PollOptions.d.ts +1 -1
- package/types/RequestClient.d.ts +1 -1
- package/types/WriteStream.d.ts +6 -3
- package/types/errors/spec/SAS9AuthError.spec.d.ts +1 -0
- package/utils/getFormData.d.ts +1 -1
- package/utils/spec/parseSasViyaLog.spec.d.ts +1 -0
- package/utils/spec/parseViyaDebugResponse.spec.d.ts +1 -0
- package/index-dev.js.LICENSE.txt +0 -110
- package/index.js.LICENSE.txt +0 -110
- package/minified_sas9.js.LICENSE.txt +0 -15
- package/node/index.js.LICENSE.txt +0 -106
|
@@ -10,10 +10,14 @@ export const convertToCSV = (
|
|
|
10
10
|
tableName: string
|
|
11
11
|
) => {
|
|
12
12
|
if (!data[tableName]) {
|
|
13
|
-
|
|
13
|
+
const error = prefixMessage(
|
|
14
14
|
'No table provided to be converted to CSV.',
|
|
15
15
|
'Error while converting to CSV. '
|
|
16
16
|
)
|
|
17
|
+
|
|
18
|
+
if (typeof error === 'string') throw new Error(error)
|
|
19
|
+
|
|
20
|
+
throw error
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
const table = data[tableName]
|
package/src/utils/getFormData.ts
CHANGED
|
@@ -52,19 +52,22 @@ export const validateInput = (
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
55
|
+
// ES6 is stricter so we had to include the check for the array
|
|
56
|
+
if (Array.isArray(data[key])) {
|
|
57
|
+
for (const item of data[key]) {
|
|
58
|
+
if (getType(item) !== 'object') {
|
|
59
|
+
return {
|
|
60
|
+
status: false,
|
|
61
|
+
msg: `Table ${key} contains invalid structure. ${MORE_INFO}`
|
|
62
|
+
}
|
|
63
|
+
} else {
|
|
64
|
+
const attributes = Object.keys(item)
|
|
65
|
+
for (const attribute of attributes) {
|
|
66
|
+
if (item[attribute] === undefined) {
|
|
67
|
+
return {
|
|
68
|
+
status: false,
|
|
69
|
+
msg: `A row in table ${key} contains invalid value. Can't assign undefined to ${attribute}.`
|
|
70
|
+
}
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
73
|
}
|
package/types/PollOptions.d.ts
CHANGED
package/types/RequestClient.d.ts
CHANGED
package/types/WriteStream.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
import { WriteStream as FsWriteStream } from 'fs';
|
|
4
|
+
export interface WriteStream extends FsWriteStream {
|
|
5
|
+
write(chunk: any, encoding?: BufferEncoding | ((error: Error | null | undefined) => void), cb?: (error: Error | null | undefined) => void): boolean;
|
|
6
|
+
path: string | Buffer;
|
|
4
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/utils/getFormData.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import NodeFormData from 'form-data';
|
|
2
2
|
export declare const getFormData: () => NodeFormData | FormData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/index-dev.js.LICENSE.txt
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Redistribution and use in source and binary forms, with or without
|
|
6
|
-
* modification, are permitted provided that the following conditions are met:
|
|
7
|
-
*
|
|
8
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
9
|
-
* this list of conditions and the following disclaimer.
|
|
10
|
-
*
|
|
11
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
13
|
-
* and/or other materials provided with the distribution.
|
|
14
|
-
*
|
|
15
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
16
|
-
* be used to endorse or promote products derived from this software without
|
|
17
|
-
* specific prior written permission.
|
|
18
|
-
*
|
|
19
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
22
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
23
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
24
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
25
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
26
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
27
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
28
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/*!
|
|
33
|
-
* Copyright (c) 2015-2020, Salesforce.com, Inc.
|
|
34
|
-
* All rights reserved.
|
|
35
|
-
*
|
|
36
|
-
* Redistribution and use in source and binary forms, with or without
|
|
37
|
-
* modification, are permitted provided that the following conditions are met:
|
|
38
|
-
*
|
|
39
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
40
|
-
* this list of conditions and the following disclaimer.
|
|
41
|
-
*
|
|
42
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
43
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
44
|
-
* and/or other materials provided with the distribution.
|
|
45
|
-
*
|
|
46
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
47
|
-
* be used to endorse or promote products derived from this software without
|
|
48
|
-
* specific prior written permission.
|
|
49
|
-
*
|
|
50
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
51
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
52
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
53
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
54
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
55
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
56
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
57
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
58
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
59
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
60
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/*!
|
|
64
|
-
* Copyright (c) 2018, Salesforce.com, Inc.
|
|
65
|
-
* All rights reserved.
|
|
66
|
-
*
|
|
67
|
-
* Redistribution and use in source and binary forms, with or without
|
|
68
|
-
* modification, are permitted provided that the following conditions are met:
|
|
69
|
-
*
|
|
70
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
71
|
-
* this list of conditions and the following disclaimer.
|
|
72
|
-
*
|
|
73
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
74
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
75
|
-
* and/or other materials provided with the distribution.
|
|
76
|
-
*
|
|
77
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
78
|
-
* be used to endorse or promote products derived from this software without
|
|
79
|
-
* specific prior written permission.
|
|
80
|
-
*
|
|
81
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
82
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
83
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
84
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
85
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
86
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
87
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
88
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
89
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
90
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
91
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/*!
|
|
95
|
-
* The buffer module from node.js, for the browser.
|
|
96
|
-
*
|
|
97
|
-
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
98
|
-
* @license MIT
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/*!
|
|
102
|
-
* The buffer module from node.js, for the browser.
|
|
103
|
-
*
|
|
104
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
105
|
-
* @license MIT
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
109
|
-
|
|
110
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
package/index.js.LICENSE.txt
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Redistribution and use in source and binary forms, with or without
|
|
6
|
-
* modification, are permitted provided that the following conditions are met:
|
|
7
|
-
*
|
|
8
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
9
|
-
* this list of conditions and the following disclaimer.
|
|
10
|
-
*
|
|
11
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
13
|
-
* and/or other materials provided with the distribution.
|
|
14
|
-
*
|
|
15
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
16
|
-
* be used to endorse or promote products derived from this software without
|
|
17
|
-
* specific prior written permission.
|
|
18
|
-
*
|
|
19
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
22
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
23
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
24
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
25
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
26
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
27
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
28
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/*!
|
|
33
|
-
* Copyright (c) 2015-2020, Salesforce.com, Inc.
|
|
34
|
-
* All rights reserved.
|
|
35
|
-
*
|
|
36
|
-
* Redistribution and use in source and binary forms, with or without
|
|
37
|
-
* modification, are permitted provided that the following conditions are met:
|
|
38
|
-
*
|
|
39
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
40
|
-
* this list of conditions and the following disclaimer.
|
|
41
|
-
*
|
|
42
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
43
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
44
|
-
* and/or other materials provided with the distribution.
|
|
45
|
-
*
|
|
46
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
47
|
-
* be used to endorse or promote products derived from this software without
|
|
48
|
-
* specific prior written permission.
|
|
49
|
-
*
|
|
50
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
51
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
52
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
53
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
54
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
55
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
56
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
57
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
58
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
59
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
60
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/*!
|
|
64
|
-
* Copyright (c) 2018, Salesforce.com, Inc.
|
|
65
|
-
* All rights reserved.
|
|
66
|
-
*
|
|
67
|
-
* Redistribution and use in source and binary forms, with or without
|
|
68
|
-
* modification, are permitted provided that the following conditions are met:
|
|
69
|
-
*
|
|
70
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
71
|
-
* this list of conditions and the following disclaimer.
|
|
72
|
-
*
|
|
73
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
74
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
75
|
-
* and/or other materials provided with the distribution.
|
|
76
|
-
*
|
|
77
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
78
|
-
* be used to endorse or promote products derived from this software without
|
|
79
|
-
* specific prior written permission.
|
|
80
|
-
*
|
|
81
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
82
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
83
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
84
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
85
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
86
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
87
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
88
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
89
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
90
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
91
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/*!
|
|
95
|
-
* The buffer module from node.js, for the browser.
|
|
96
|
-
*
|
|
97
|
-
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
98
|
-
* @license MIT
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/*!
|
|
102
|
-
* The buffer module from node.js, for the browser.
|
|
103
|
-
*
|
|
104
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
105
|
-
* @license MIT
|
|
106
|
-
*/
|
|
107
|
-
|
|
108
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
109
|
-
|
|
110
|
-
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* The buffer module from node.js, for the browser.
|
|
3
|
-
*
|
|
4
|
-
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/*!
|
|
9
|
-
* The buffer module from node.js, for the browser.
|
|
10
|
-
*
|
|
11
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
12
|
-
* @license MIT
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2015, Salesforce.com, Inc.
|
|
3
|
-
* All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Redistribution and use in source and binary forms, with or without
|
|
6
|
-
* modification, are permitted provided that the following conditions are met:
|
|
7
|
-
*
|
|
8
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
9
|
-
* this list of conditions and the following disclaimer.
|
|
10
|
-
*
|
|
11
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
13
|
-
* and/or other materials provided with the distribution.
|
|
14
|
-
*
|
|
15
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
16
|
-
* be used to endorse or promote products derived from this software without
|
|
17
|
-
* specific prior written permission.
|
|
18
|
-
*
|
|
19
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
22
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
23
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
24
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
25
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
26
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
27
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
28
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
/*!
|
|
33
|
-
* Copyright (c) 2015-2020, Salesforce.com, Inc.
|
|
34
|
-
* All rights reserved.
|
|
35
|
-
*
|
|
36
|
-
* Redistribution and use in source and binary forms, with or without
|
|
37
|
-
* modification, are permitted provided that the following conditions are met:
|
|
38
|
-
*
|
|
39
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
40
|
-
* this list of conditions and the following disclaimer.
|
|
41
|
-
*
|
|
42
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
43
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
44
|
-
* and/or other materials provided with the distribution.
|
|
45
|
-
*
|
|
46
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
47
|
-
* be used to endorse or promote products derived from this software without
|
|
48
|
-
* specific prior written permission.
|
|
49
|
-
*
|
|
50
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
51
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
52
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
53
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
54
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
55
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
56
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
57
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
58
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
59
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
60
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/*!
|
|
64
|
-
* Copyright (c) 2018, Salesforce.com, Inc.
|
|
65
|
-
* All rights reserved.
|
|
66
|
-
*
|
|
67
|
-
* Redistribution and use in source and binary forms, with or without
|
|
68
|
-
* modification, are permitted provided that the following conditions are met:
|
|
69
|
-
*
|
|
70
|
-
* 1. Redistributions of source code must retain the above copyright notice,
|
|
71
|
-
* this list of conditions and the following disclaimer.
|
|
72
|
-
*
|
|
73
|
-
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
74
|
-
* this list of conditions and the following disclaimer in the documentation
|
|
75
|
-
* and/or other materials provided with the distribution.
|
|
76
|
-
*
|
|
77
|
-
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
78
|
-
* be used to endorse or promote products derived from this software without
|
|
79
|
-
* specific prior written permission.
|
|
80
|
-
*
|
|
81
|
-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
82
|
-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
83
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
84
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
85
|
-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
86
|
-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
87
|
-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
88
|
-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
89
|
-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
90
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
91
|
-
* POSSIBILITY OF SUCH DAMAGE.
|
|
92
|
-
*/
|
|
93
|
-
|
|
94
|
-
/*!
|
|
95
|
-
* mime-db
|
|
96
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
97
|
-
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
98
|
-
* MIT Licensed
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/*!
|
|
102
|
-
* mime-types
|
|
103
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
104
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
105
|
-
* MIT Licensed
|
|
106
|
-
*/
|