@adobe/acc-js-sdk 1.1.39 → 1.1.41
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/docs/Gemfile.lock +2 -1
- package/docs/changeLog.html +17 -0
- package/docs/xtkJob.html +25 -0
- package/package-lock.json +293 -127
- package/package.json +1 -1
- package/src/client.js +8 -1
- package/src/xtkJob.js +33 -14
- package/test/client.test.js +49 -0
- package/test/xtkJob.test.js +42 -17
package/docs/Gemfile.lock
CHANGED
package/docs/changeLog.html
CHANGED
|
@@ -3,6 +3,23 @@ layout: page
|
|
|
3
3
|
title: Change Log
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
<section class="changelog"><h1>Version 1.1.41</h1>
|
|
7
|
+
<h2>2023/11/01</h2>
|
|
8
|
+
<li>
|
|
9
|
+
Support submitting jobs on static methods
|
|
10
|
+
</li>
|
|
11
|
+
<li>
|
|
12
|
+
Fixed a bug (missing await) when retreiving method object from cache when submitting a job on a non-static method
|
|
13
|
+
</li>
|
|
14
|
+
</section>
|
|
15
|
+
|
|
16
|
+
<section class="changelog"><h1>Version 1.1.40</h1>
|
|
17
|
+
<h2>2023/09/27</h2>
|
|
18
|
+
<li>
|
|
19
|
+
Every upload creates a new iframe is added to the body tag which takes up some space resulting in the scrollbar. Fix this by allowing CSS attributes on the iFrame.
|
|
20
|
+
</li>
|
|
21
|
+
</section>
|
|
22
|
+
|
|
6
23
|
<section class="changelog"><h1>Version 1.1.39</h1>
|
|
7
24
|
<h2>2023/09/20</h2>
|
|
8
25
|
<li>
|
package/docs/xtkJob.html
CHANGED
|
@@ -129,3 +129,28 @@ title: XTK Jobs (xkt:job, xkt:jobInterface)
|
|
|
129
129
|
<pre class="code">
|
|
130
130
|
var result = await job.getResult();
|
|
131
131
|
</pre>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<h1>Jobs & Static methods</h1>
|
|
135
|
+
<p>
|
|
136
|
+
Version 1.1.41 and above support submitting jobs on static methods.
|
|
137
|
+
</p>
|
|
138
|
+
<ul>
|
|
139
|
+
<li>Set the jobId parameter with the entity primary key. In the example below, the jobId is the id of the webApp to publish</li>
|
|
140
|
+
<li>Do not pass an object parameter. The method is static, there's no object.</li>
|
|
141
|
+
</ul>
|
|
142
|
+
<pre class="code">
|
|
143
|
+
const job = await client.jobInterface({
|
|
144
|
+
xtkschema: 'nms:webApp',
|
|
145
|
+
jobId: 9876,
|
|
146
|
+
method: 'Publish',
|
|
147
|
+
args: [
|
|
148
|
+
{ where: { condition: { expr: "@id=9876" } } },
|
|
149
|
+
{ type: "byte", value: "10" }
|
|
150
|
+
]
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
const jobId = await job.submitSoapCall();
|
|
154
|
+
</pre>
|
|
155
|
+
|
|
156
|
+
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/acc-js-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.41",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@adobe/acc-js-sdk",
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.41",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"axios": "^1.2.1",
|
|
@@ -35,16 +35,89 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"node_modules/@babel/code-frame": {
|
|
38
|
-
"version": "7.
|
|
38
|
+
"version": "7.22.13",
|
|
39
|
+
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
|
|
40
|
+
"integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
|
|
39
41
|
"dev": true,
|
|
40
|
-
"license": "MIT",
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@babel/highlight": "^7.
|
|
43
|
+
"@babel/highlight": "^7.22.13",
|
|
44
|
+
"chalk": "^2.4.2"
|
|
43
45
|
},
|
|
44
46
|
"engines": {
|
|
45
47
|
"node": ">=6.9.0"
|
|
46
48
|
}
|
|
47
49
|
},
|
|
50
|
+
"node_modules/@babel/code-frame/node_modules/ansi-styles": {
|
|
51
|
+
"version": "3.2.1",
|
|
52
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
53
|
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
54
|
+
"dev": true,
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"color-convert": "^1.9.0"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=4"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"node_modules/@babel/code-frame/node_modules/chalk": {
|
|
63
|
+
"version": "2.4.2",
|
|
64
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
|
65
|
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
|
66
|
+
"dev": true,
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"ansi-styles": "^3.2.1",
|
|
69
|
+
"escape-string-regexp": "^1.0.5",
|
|
70
|
+
"supports-color": "^5.3.0"
|
|
71
|
+
},
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=4"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"node_modules/@babel/code-frame/node_modules/color-convert": {
|
|
77
|
+
"version": "1.9.3",
|
|
78
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
79
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
80
|
+
"dev": true,
|
|
81
|
+
"dependencies": {
|
|
82
|
+
"color-name": "1.1.3"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"node_modules/@babel/code-frame/node_modules/color-name": {
|
|
86
|
+
"version": "1.1.3",
|
|
87
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
88
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
|
|
89
|
+
"dev": true
|
|
90
|
+
},
|
|
91
|
+
"node_modules/@babel/code-frame/node_modules/escape-string-regexp": {
|
|
92
|
+
"version": "1.0.5",
|
|
93
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
94
|
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
95
|
+
"dev": true,
|
|
96
|
+
"engines": {
|
|
97
|
+
"node": ">=0.8.0"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"node_modules/@babel/code-frame/node_modules/has-flag": {
|
|
101
|
+
"version": "3.0.0",
|
|
102
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
103
|
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
|
104
|
+
"dev": true,
|
|
105
|
+
"engines": {
|
|
106
|
+
"node": ">=4"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"node_modules/@babel/code-frame/node_modules/supports-color": {
|
|
110
|
+
"version": "5.5.0",
|
|
111
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
|
112
|
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
|
113
|
+
"dev": true,
|
|
114
|
+
"dependencies": {
|
|
115
|
+
"has-flag": "^3.0.0"
|
|
116
|
+
},
|
|
117
|
+
"engines": {
|
|
118
|
+
"node": ">=4"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
48
121
|
"node_modules/@babel/compat-data": {
|
|
49
122
|
"version": "7.20.5",
|
|
50
123
|
"dev": true,
|
|
@@ -82,29 +155,20 @@
|
|
|
82
155
|
"url": "https://opencollective.com/babel"
|
|
83
156
|
}
|
|
84
157
|
},
|
|
85
|
-
"node_modules/@babel/core/node_modules/@babel/parser": {
|
|
86
|
-
"version": "7.20.5",
|
|
87
|
-
"dev": true,
|
|
88
|
-
"license": "MIT",
|
|
89
|
-
"bin": {
|
|
90
|
-
"parser": "bin/babel-parser.js"
|
|
91
|
-
},
|
|
92
|
-
"engines": {
|
|
93
|
-
"node": ">=6.0.0"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
158
|
"node_modules/@babel/core/node_modules/convert-source-map": {
|
|
97
159
|
"version": "1.9.0",
|
|
98
160
|
"dev": true,
|
|
99
161
|
"license": "MIT"
|
|
100
162
|
},
|
|
101
163
|
"node_modules/@babel/generator": {
|
|
102
|
-
"version": "7.
|
|
164
|
+
"version": "7.23.0",
|
|
165
|
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
|
|
166
|
+
"integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
|
|
103
167
|
"dev": true,
|
|
104
|
-
"license": "MIT",
|
|
105
168
|
"dependencies": {
|
|
106
|
-
"@babel/types": "^7.
|
|
169
|
+
"@babel/types": "^7.23.0",
|
|
107
170
|
"@jridgewell/gen-mapping": "^0.3.2",
|
|
171
|
+
"@jridgewell/trace-mapping": "^0.3.17",
|
|
108
172
|
"jsesc": "^2.5.1"
|
|
109
173
|
},
|
|
110
174
|
"engines": {
|
|
@@ -142,31 +206,34 @@
|
|
|
142
206
|
}
|
|
143
207
|
},
|
|
144
208
|
"node_modules/@babel/helper-environment-visitor": {
|
|
145
|
-
"version": "7.
|
|
209
|
+
"version": "7.22.20",
|
|
210
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
|
|
211
|
+
"integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
|
|
146
212
|
"dev": true,
|
|
147
|
-
"license": "MIT",
|
|
148
213
|
"engines": {
|
|
149
214
|
"node": ">=6.9.0"
|
|
150
215
|
}
|
|
151
216
|
},
|
|
152
217
|
"node_modules/@babel/helper-function-name": {
|
|
153
|
-
"version": "7.
|
|
218
|
+
"version": "7.23.0",
|
|
219
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
|
|
220
|
+
"integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
|
|
154
221
|
"dev": true,
|
|
155
|
-
"license": "MIT",
|
|
156
222
|
"dependencies": {
|
|
157
|
-
"@babel/template": "^7.
|
|
158
|
-
"@babel/types": "^7.
|
|
223
|
+
"@babel/template": "^7.22.15",
|
|
224
|
+
"@babel/types": "^7.23.0"
|
|
159
225
|
},
|
|
160
226
|
"engines": {
|
|
161
227
|
"node": ">=6.9.0"
|
|
162
228
|
}
|
|
163
229
|
},
|
|
164
230
|
"node_modules/@babel/helper-hoist-variables": {
|
|
165
|
-
"version": "7.
|
|
231
|
+
"version": "7.22.5",
|
|
232
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
|
|
233
|
+
"integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
|
|
166
234
|
"dev": true,
|
|
167
|
-
"license": "MIT",
|
|
168
235
|
"dependencies": {
|
|
169
|
-
"@babel/types": "^7.
|
|
236
|
+
"@babel/types": "^7.22.5"
|
|
170
237
|
},
|
|
171
238
|
"engines": {
|
|
172
239
|
"node": ">=6.9.0"
|
|
@@ -221,28 +288,31 @@
|
|
|
221
288
|
}
|
|
222
289
|
},
|
|
223
290
|
"node_modules/@babel/helper-split-export-declaration": {
|
|
224
|
-
"version": "7.
|
|
291
|
+
"version": "7.22.6",
|
|
292
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
|
|
293
|
+
"integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
|
|
225
294
|
"dev": true,
|
|
226
|
-
"license": "MIT",
|
|
227
295
|
"dependencies": {
|
|
228
|
-
"@babel/types": "^7.
|
|
296
|
+
"@babel/types": "^7.22.5"
|
|
229
297
|
},
|
|
230
298
|
"engines": {
|
|
231
299
|
"node": ">=6.9.0"
|
|
232
300
|
}
|
|
233
301
|
},
|
|
234
302
|
"node_modules/@babel/helper-string-parser": {
|
|
235
|
-
"version": "7.
|
|
303
|
+
"version": "7.22.5",
|
|
304
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
|
|
305
|
+
"integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
|
|
236
306
|
"dev": true,
|
|
237
|
-
"license": "MIT",
|
|
238
307
|
"engines": {
|
|
239
308
|
"node": ">=6.9.0"
|
|
240
309
|
}
|
|
241
310
|
},
|
|
242
311
|
"node_modules/@babel/helper-validator-identifier": {
|
|
243
|
-
"version": "7.
|
|
312
|
+
"version": "7.22.20",
|
|
313
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
|
|
314
|
+
"integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
|
|
244
315
|
"dev": true,
|
|
245
|
-
"license": "MIT",
|
|
246
316
|
"engines": {
|
|
247
317
|
"node": ">=6.9.0"
|
|
248
318
|
}
|
|
@@ -269,12 +339,13 @@
|
|
|
269
339
|
}
|
|
270
340
|
},
|
|
271
341
|
"node_modules/@babel/highlight": {
|
|
272
|
-
"version": "7.
|
|
342
|
+
"version": "7.22.20",
|
|
343
|
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
|
|
344
|
+
"integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
|
|
273
345
|
"dev": true,
|
|
274
|
-
"license": "MIT",
|
|
275
346
|
"dependencies": {
|
|
276
|
-
"@babel/helper-validator-identifier": "^7.
|
|
277
|
-
"chalk": "^2.
|
|
347
|
+
"@babel/helper-validator-identifier": "^7.22.20",
|
|
348
|
+
"chalk": "^2.4.2",
|
|
278
349
|
"js-tokens": "^4.0.0"
|
|
279
350
|
},
|
|
280
351
|
"engines": {
|
|
@@ -283,8 +354,9 @@
|
|
|
283
354
|
},
|
|
284
355
|
"node_modules/@babel/highlight/node_modules/ansi-styles": {
|
|
285
356
|
"version": "3.2.1",
|
|
357
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
358
|
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
286
359
|
"dev": true,
|
|
287
|
-
"license": "MIT",
|
|
288
360
|
"dependencies": {
|
|
289
361
|
"color-convert": "^1.9.0"
|
|
290
362
|
},
|
|
@@ -294,8 +366,9 @@
|
|
|
294
366
|
},
|
|
295
367
|
"node_modules/@babel/highlight/node_modules/chalk": {
|
|
296
368
|
"version": "2.4.2",
|
|
369
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
|
370
|
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
|
297
371
|
"dev": true,
|
|
298
|
-
"license": "MIT",
|
|
299
372
|
"dependencies": {
|
|
300
373
|
"ansi-styles": "^3.2.1",
|
|
301
374
|
"escape-string-regexp": "^1.0.5",
|
|
@@ -307,37 +380,42 @@
|
|
|
307
380
|
},
|
|
308
381
|
"node_modules/@babel/highlight/node_modules/color-convert": {
|
|
309
382
|
"version": "1.9.3",
|
|
383
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
384
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
310
385
|
"dev": true,
|
|
311
|
-
"license": "MIT",
|
|
312
386
|
"dependencies": {
|
|
313
387
|
"color-name": "1.1.3"
|
|
314
388
|
}
|
|
315
389
|
},
|
|
316
390
|
"node_modules/@babel/highlight/node_modules/color-name": {
|
|
317
391
|
"version": "1.1.3",
|
|
318
|
-
"
|
|
319
|
-
"
|
|
392
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
393
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
|
|
394
|
+
"dev": true
|
|
320
395
|
},
|
|
321
396
|
"node_modules/@babel/highlight/node_modules/escape-string-regexp": {
|
|
322
397
|
"version": "1.0.5",
|
|
398
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
399
|
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
323
400
|
"dev": true,
|
|
324
|
-
"license": "MIT",
|
|
325
401
|
"engines": {
|
|
326
402
|
"node": ">=0.8.0"
|
|
327
403
|
}
|
|
328
404
|
},
|
|
329
405
|
"node_modules/@babel/highlight/node_modules/has-flag": {
|
|
330
406
|
"version": "3.0.0",
|
|
407
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
408
|
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
|
331
409
|
"dev": true,
|
|
332
|
-
"license": "MIT",
|
|
333
410
|
"engines": {
|
|
334
411
|
"node": ">=4"
|
|
335
412
|
}
|
|
336
413
|
},
|
|
337
414
|
"node_modules/@babel/highlight/node_modules/supports-color": {
|
|
338
415
|
"version": "5.5.0",
|
|
416
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
|
417
|
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
|
339
418
|
"dev": true,
|
|
340
|
-
"license": "MIT",
|
|
341
419
|
"dependencies": {
|
|
342
420
|
"has-flag": "^3.0.0"
|
|
343
421
|
},
|
|
@@ -346,9 +424,10 @@
|
|
|
346
424
|
}
|
|
347
425
|
},
|
|
348
426
|
"node_modules/@babel/parser": {
|
|
349
|
-
"version": "7.
|
|
427
|
+
"version": "7.23.0",
|
|
428
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
|
|
429
|
+
"integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
|
|
350
430
|
"dev": true,
|
|
351
|
-
"license": "MIT",
|
|
352
431
|
"bin": {
|
|
353
432
|
"parser": "bin/babel-parser.js"
|
|
354
433
|
},
|
|
@@ -520,31 +599,33 @@
|
|
|
520
599
|
}
|
|
521
600
|
},
|
|
522
601
|
"node_modules/@babel/template": {
|
|
523
|
-
"version": "7.
|
|
602
|
+
"version": "7.22.15",
|
|
603
|
+
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
|
|
604
|
+
"integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
|
|
524
605
|
"dev": true,
|
|
525
|
-
"license": "MIT",
|
|
526
606
|
"dependencies": {
|
|
527
|
-
"@babel/code-frame": "^7.
|
|
528
|
-
"@babel/parser": "^7.
|
|
529
|
-
"@babel/types": "^7.
|
|
607
|
+
"@babel/code-frame": "^7.22.13",
|
|
608
|
+
"@babel/parser": "^7.22.15",
|
|
609
|
+
"@babel/types": "^7.22.15"
|
|
530
610
|
},
|
|
531
611
|
"engines": {
|
|
532
612
|
"node": ">=6.9.0"
|
|
533
613
|
}
|
|
534
614
|
},
|
|
535
615
|
"node_modules/@babel/traverse": {
|
|
536
|
-
"version": "7.
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
"
|
|
540
|
-
|
|
541
|
-
"@babel/
|
|
542
|
-
"@babel/
|
|
543
|
-
"@babel/helper-
|
|
544
|
-
"@babel/helper-
|
|
545
|
-
"@babel/helper-
|
|
546
|
-
"@babel/
|
|
547
|
-
"@babel/
|
|
616
|
+
"version": "7.23.2",
|
|
617
|
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
|
|
618
|
+
"integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
|
|
619
|
+
"dev": true,
|
|
620
|
+
"dependencies": {
|
|
621
|
+
"@babel/code-frame": "^7.22.13",
|
|
622
|
+
"@babel/generator": "^7.23.0",
|
|
623
|
+
"@babel/helper-environment-visitor": "^7.22.20",
|
|
624
|
+
"@babel/helper-function-name": "^7.23.0",
|
|
625
|
+
"@babel/helper-hoist-variables": "^7.22.5",
|
|
626
|
+
"@babel/helper-split-export-declaration": "^7.22.6",
|
|
627
|
+
"@babel/parser": "^7.23.0",
|
|
628
|
+
"@babel/types": "^7.23.0",
|
|
548
629
|
"debug": "^4.1.0",
|
|
549
630
|
"globals": "^11.1.0"
|
|
550
631
|
},
|
|
@@ -552,17 +633,6 @@
|
|
|
552
633
|
"node": ">=6.9.0"
|
|
553
634
|
}
|
|
554
635
|
},
|
|
555
|
-
"node_modules/@babel/traverse/node_modules/@babel/parser": {
|
|
556
|
-
"version": "7.20.5",
|
|
557
|
-
"dev": true,
|
|
558
|
-
"license": "MIT",
|
|
559
|
-
"bin": {
|
|
560
|
-
"parser": "bin/babel-parser.js"
|
|
561
|
-
},
|
|
562
|
-
"engines": {
|
|
563
|
-
"node": ">=6.0.0"
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
636
|
"node_modules/@babel/traverse/node_modules/globals": {
|
|
567
637
|
"version": "11.12.0",
|
|
568
638
|
"dev": true,
|
|
@@ -572,12 +642,13 @@
|
|
|
572
642
|
}
|
|
573
643
|
},
|
|
574
644
|
"node_modules/@babel/types": {
|
|
575
|
-
"version": "7.
|
|
645
|
+
"version": "7.23.0",
|
|
646
|
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
|
|
647
|
+
"integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
|
|
576
648
|
"dev": true,
|
|
577
|
-
"license": "MIT",
|
|
578
649
|
"dependencies": {
|
|
579
|
-
"@babel/helper-string-parser": "^7.
|
|
580
|
-
"@babel/helper-validator-identifier": "^7.
|
|
650
|
+
"@babel/helper-string-parser": "^7.22.5",
|
|
651
|
+
"@babel/helper-validator-identifier": "^7.22.20",
|
|
581
652
|
"to-fast-properties": "^2.0.0"
|
|
582
653
|
},
|
|
583
654
|
"engines": {
|
|
@@ -3179,8 +3250,9 @@
|
|
|
3179
3250
|
},
|
|
3180
3251
|
"node_modules/js-tokens": {
|
|
3181
3252
|
"version": "4.0.0",
|
|
3182
|
-
"
|
|
3183
|
-
"
|
|
3253
|
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
3254
|
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
|
3255
|
+
"dev": true
|
|
3184
3256
|
},
|
|
3185
3257
|
"node_modules/js-yaml": {
|
|
3186
3258
|
"version": "4.1.0",
|
|
@@ -4608,10 +4680,71 @@
|
|
|
4608
4680
|
}
|
|
4609
4681
|
},
|
|
4610
4682
|
"@babel/code-frame": {
|
|
4611
|
-
"version": "7.
|
|
4683
|
+
"version": "7.22.13",
|
|
4684
|
+
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
|
|
4685
|
+
"integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==",
|
|
4612
4686
|
"dev": true,
|
|
4613
4687
|
"requires": {
|
|
4614
|
-
"@babel/highlight": "^7.
|
|
4688
|
+
"@babel/highlight": "^7.22.13",
|
|
4689
|
+
"chalk": "^2.4.2"
|
|
4690
|
+
},
|
|
4691
|
+
"dependencies": {
|
|
4692
|
+
"ansi-styles": {
|
|
4693
|
+
"version": "3.2.1",
|
|
4694
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
4695
|
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
4696
|
+
"dev": true,
|
|
4697
|
+
"requires": {
|
|
4698
|
+
"color-convert": "^1.9.0"
|
|
4699
|
+
}
|
|
4700
|
+
},
|
|
4701
|
+
"chalk": {
|
|
4702
|
+
"version": "2.4.2",
|
|
4703
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
|
4704
|
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
|
4705
|
+
"dev": true,
|
|
4706
|
+
"requires": {
|
|
4707
|
+
"ansi-styles": "^3.2.1",
|
|
4708
|
+
"escape-string-regexp": "^1.0.5",
|
|
4709
|
+
"supports-color": "^5.3.0"
|
|
4710
|
+
}
|
|
4711
|
+
},
|
|
4712
|
+
"color-convert": {
|
|
4713
|
+
"version": "1.9.3",
|
|
4714
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
4715
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
4716
|
+
"dev": true,
|
|
4717
|
+
"requires": {
|
|
4718
|
+
"color-name": "1.1.3"
|
|
4719
|
+
}
|
|
4720
|
+
},
|
|
4721
|
+
"color-name": {
|
|
4722
|
+
"version": "1.1.3",
|
|
4723
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
4724
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
|
|
4725
|
+
"dev": true
|
|
4726
|
+
},
|
|
4727
|
+
"escape-string-regexp": {
|
|
4728
|
+
"version": "1.0.5",
|
|
4729
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
4730
|
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
4731
|
+
"dev": true
|
|
4732
|
+
},
|
|
4733
|
+
"has-flag": {
|
|
4734
|
+
"version": "3.0.0",
|
|
4735
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
4736
|
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
|
4737
|
+
"dev": true
|
|
4738
|
+
},
|
|
4739
|
+
"supports-color": {
|
|
4740
|
+
"version": "5.5.0",
|
|
4741
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
|
4742
|
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
|
4743
|
+
"dev": true,
|
|
4744
|
+
"requires": {
|
|
4745
|
+
"has-flag": "^3.0.0"
|
|
4746
|
+
}
|
|
4747
|
+
}
|
|
4615
4748
|
}
|
|
4616
4749
|
},
|
|
4617
4750
|
"@babel/compat-data": {
|
|
@@ -4639,10 +4772,6 @@
|
|
|
4639
4772
|
"semver": "^6.3.0"
|
|
4640
4773
|
},
|
|
4641
4774
|
"dependencies": {
|
|
4642
|
-
"@babel/parser": {
|
|
4643
|
-
"version": "7.20.5",
|
|
4644
|
-
"dev": true
|
|
4645
|
-
},
|
|
4646
4775
|
"convert-source-map": {
|
|
4647
4776
|
"version": "1.9.0",
|
|
4648
4777
|
"dev": true
|
|
@@ -4650,11 +4779,14 @@
|
|
|
4650
4779
|
}
|
|
4651
4780
|
},
|
|
4652
4781
|
"@babel/generator": {
|
|
4653
|
-
"version": "7.
|
|
4782
|
+
"version": "7.23.0",
|
|
4783
|
+
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz",
|
|
4784
|
+
"integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==",
|
|
4654
4785
|
"dev": true,
|
|
4655
4786
|
"requires": {
|
|
4656
|
-
"@babel/types": "^7.
|
|
4787
|
+
"@babel/types": "^7.23.0",
|
|
4657
4788
|
"@jridgewell/gen-mapping": "^0.3.2",
|
|
4789
|
+
"@jridgewell/trace-mapping": "^0.3.17",
|
|
4658
4790
|
"jsesc": "^2.5.1"
|
|
4659
4791
|
},
|
|
4660
4792
|
"dependencies": {
|
|
@@ -4680,22 +4812,28 @@
|
|
|
4680
4812
|
}
|
|
4681
4813
|
},
|
|
4682
4814
|
"@babel/helper-environment-visitor": {
|
|
4683
|
-
"version": "7.
|
|
4815
|
+
"version": "7.22.20",
|
|
4816
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
|
|
4817
|
+
"integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
|
|
4684
4818
|
"dev": true
|
|
4685
4819
|
},
|
|
4686
4820
|
"@babel/helper-function-name": {
|
|
4687
|
-
"version": "7.
|
|
4821
|
+
"version": "7.23.0",
|
|
4822
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
|
|
4823
|
+
"integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
|
|
4688
4824
|
"dev": true,
|
|
4689
4825
|
"requires": {
|
|
4690
|
-
"@babel/template": "^7.
|
|
4691
|
-
"@babel/types": "^7.
|
|
4826
|
+
"@babel/template": "^7.22.15",
|
|
4827
|
+
"@babel/types": "^7.23.0"
|
|
4692
4828
|
}
|
|
4693
4829
|
},
|
|
4694
4830
|
"@babel/helper-hoist-variables": {
|
|
4695
|
-
"version": "7.
|
|
4831
|
+
"version": "7.22.5",
|
|
4832
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
|
|
4833
|
+
"integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
|
|
4696
4834
|
"dev": true,
|
|
4697
4835
|
"requires": {
|
|
4698
|
-
"@babel/types": "^7.
|
|
4836
|
+
"@babel/types": "^7.22.5"
|
|
4699
4837
|
}
|
|
4700
4838
|
},
|
|
4701
4839
|
"@babel/helper-module-imports": {
|
|
@@ -4731,18 +4869,24 @@
|
|
|
4731
4869
|
}
|
|
4732
4870
|
},
|
|
4733
4871
|
"@babel/helper-split-export-declaration": {
|
|
4734
|
-
"version": "7.
|
|
4872
|
+
"version": "7.22.6",
|
|
4873
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
|
|
4874
|
+
"integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
|
|
4735
4875
|
"dev": true,
|
|
4736
4876
|
"requires": {
|
|
4737
|
-
"@babel/types": "^7.
|
|
4877
|
+
"@babel/types": "^7.22.5"
|
|
4738
4878
|
}
|
|
4739
4879
|
},
|
|
4740
4880
|
"@babel/helper-string-parser": {
|
|
4741
|
-
"version": "7.
|
|
4881
|
+
"version": "7.22.5",
|
|
4882
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
|
|
4883
|
+
"integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
|
|
4742
4884
|
"dev": true
|
|
4743
4885
|
},
|
|
4744
4886
|
"@babel/helper-validator-identifier": {
|
|
4745
|
-
"version": "7.
|
|
4887
|
+
"version": "7.22.20",
|
|
4888
|
+
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
|
|
4889
|
+
"integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
|
|
4746
4890
|
"dev": true
|
|
4747
4891
|
},
|
|
4748
4892
|
"@babel/helper-validator-option": {
|
|
@@ -4759,16 +4903,20 @@
|
|
|
4759
4903
|
}
|
|
4760
4904
|
},
|
|
4761
4905
|
"@babel/highlight": {
|
|
4762
|
-
"version": "7.
|
|
4906
|
+
"version": "7.22.20",
|
|
4907
|
+
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz",
|
|
4908
|
+
"integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==",
|
|
4763
4909
|
"dev": true,
|
|
4764
4910
|
"requires": {
|
|
4765
|
-
"@babel/helper-validator-identifier": "^7.
|
|
4766
|
-
"chalk": "^2.
|
|
4911
|
+
"@babel/helper-validator-identifier": "^7.22.20",
|
|
4912
|
+
"chalk": "^2.4.2",
|
|
4767
4913
|
"js-tokens": "^4.0.0"
|
|
4768
4914
|
},
|
|
4769
4915
|
"dependencies": {
|
|
4770
4916
|
"ansi-styles": {
|
|
4771
4917
|
"version": "3.2.1",
|
|
4918
|
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
4919
|
+
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
4772
4920
|
"dev": true,
|
|
4773
4921
|
"requires": {
|
|
4774
4922
|
"color-convert": "^1.9.0"
|
|
@@ -4776,6 +4924,8 @@
|
|
|
4776
4924
|
},
|
|
4777
4925
|
"chalk": {
|
|
4778
4926
|
"version": "2.4.2",
|
|
4927
|
+
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
|
4928
|
+
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
|
4779
4929
|
"dev": true,
|
|
4780
4930
|
"requires": {
|
|
4781
4931
|
"ansi-styles": "^3.2.1",
|
|
@@ -4785,6 +4935,8 @@
|
|
|
4785
4935
|
},
|
|
4786
4936
|
"color-convert": {
|
|
4787
4937
|
"version": "1.9.3",
|
|
4938
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
4939
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
4788
4940
|
"dev": true,
|
|
4789
4941
|
"requires": {
|
|
4790
4942
|
"color-name": "1.1.3"
|
|
@@ -4792,18 +4944,26 @@
|
|
|
4792
4944
|
},
|
|
4793
4945
|
"color-name": {
|
|
4794
4946
|
"version": "1.1.3",
|
|
4947
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
4948
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
|
|
4795
4949
|
"dev": true
|
|
4796
4950
|
},
|
|
4797
4951
|
"escape-string-regexp": {
|
|
4798
4952
|
"version": "1.0.5",
|
|
4953
|
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
4954
|
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
|
4799
4955
|
"dev": true
|
|
4800
4956
|
},
|
|
4801
4957
|
"has-flag": {
|
|
4802
4958
|
"version": "3.0.0",
|
|
4959
|
+
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
4960
|
+
"integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
|
|
4803
4961
|
"dev": true
|
|
4804
4962
|
},
|
|
4805
4963
|
"supports-color": {
|
|
4806
4964
|
"version": "5.5.0",
|
|
4965
|
+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
|
4966
|
+
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
|
4807
4967
|
"dev": true,
|
|
4808
4968
|
"requires": {
|
|
4809
4969
|
"has-flag": "^3.0.0"
|
|
@@ -4812,7 +4972,9 @@
|
|
|
4812
4972
|
}
|
|
4813
4973
|
},
|
|
4814
4974
|
"@babel/parser": {
|
|
4815
|
-
"version": "7.
|
|
4975
|
+
"version": "7.23.0",
|
|
4976
|
+
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
|
|
4977
|
+
"integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==",
|
|
4816
4978
|
"dev": true
|
|
4817
4979
|
},
|
|
4818
4980
|
"@babel/plugin-syntax-async-generators": {
|
|
@@ -4914,34 +5076,34 @@
|
|
|
4914
5076
|
}
|
|
4915
5077
|
},
|
|
4916
5078
|
"@babel/template": {
|
|
4917
|
-
"version": "7.
|
|
5079
|
+
"version": "7.22.15",
|
|
5080
|
+
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
|
|
5081
|
+
"integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
|
|
4918
5082
|
"dev": true,
|
|
4919
5083
|
"requires": {
|
|
4920
|
-
"@babel/code-frame": "^7.
|
|
4921
|
-
"@babel/parser": "^7.
|
|
4922
|
-
"@babel/types": "^7.
|
|
5084
|
+
"@babel/code-frame": "^7.22.13",
|
|
5085
|
+
"@babel/parser": "^7.22.15",
|
|
5086
|
+
"@babel/types": "^7.22.15"
|
|
4923
5087
|
}
|
|
4924
5088
|
},
|
|
4925
5089
|
"@babel/traverse": {
|
|
4926
|
-
"version": "7.
|
|
4927
|
-
"
|
|
4928
|
-
"
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
"@babel/
|
|
4932
|
-
"@babel/
|
|
4933
|
-
"@babel/helper-
|
|
4934
|
-
"@babel/helper-
|
|
4935
|
-
"@babel/
|
|
4936
|
-
"@babel/
|
|
5090
|
+
"version": "7.23.2",
|
|
5091
|
+
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz",
|
|
5092
|
+
"integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==",
|
|
5093
|
+
"dev": true,
|
|
5094
|
+
"requires": {
|
|
5095
|
+
"@babel/code-frame": "^7.22.13",
|
|
5096
|
+
"@babel/generator": "^7.23.0",
|
|
5097
|
+
"@babel/helper-environment-visitor": "^7.22.20",
|
|
5098
|
+
"@babel/helper-function-name": "^7.23.0",
|
|
5099
|
+
"@babel/helper-hoist-variables": "^7.22.5",
|
|
5100
|
+
"@babel/helper-split-export-declaration": "^7.22.6",
|
|
5101
|
+
"@babel/parser": "^7.23.0",
|
|
5102
|
+
"@babel/types": "^7.23.0",
|
|
4937
5103
|
"debug": "^4.1.0",
|
|
4938
5104
|
"globals": "^11.1.0"
|
|
4939
5105
|
},
|
|
4940
5106
|
"dependencies": {
|
|
4941
|
-
"@babel/parser": {
|
|
4942
|
-
"version": "7.20.5",
|
|
4943
|
-
"dev": true
|
|
4944
|
-
},
|
|
4945
5107
|
"globals": {
|
|
4946
5108
|
"version": "11.12.0",
|
|
4947
5109
|
"dev": true
|
|
@@ -4949,11 +5111,13 @@
|
|
|
4949
5111
|
}
|
|
4950
5112
|
},
|
|
4951
5113
|
"@babel/types": {
|
|
4952
|
-
"version": "7.
|
|
5114
|
+
"version": "7.23.0",
|
|
5115
|
+
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz",
|
|
5116
|
+
"integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==",
|
|
4953
5117
|
"dev": true,
|
|
4954
5118
|
"requires": {
|
|
4955
|
-
"@babel/helper-string-parser": "^7.
|
|
4956
|
-
"@babel/helper-validator-identifier": "^7.
|
|
5119
|
+
"@babel/helper-string-parser": "^7.22.5",
|
|
5120
|
+
"@babel/helper-validator-identifier": "^7.22.20",
|
|
4957
5121
|
"to-fast-properties": "^2.0.0"
|
|
4958
5122
|
}
|
|
4959
5123
|
},
|
|
@@ -6698,6 +6862,8 @@
|
|
|
6698
6862
|
},
|
|
6699
6863
|
"js-tokens": {
|
|
6700
6864
|
"version": "4.0.0",
|
|
6865
|
+
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
6866
|
+
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
|
6701
6867
|
"dev": true
|
|
6702
6868
|
},
|
|
6703
6869
|
"js-yaml": {
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -606,8 +606,12 @@ const fileUploader = (client) => {
|
|
|
606
606
|
throw okay;
|
|
607
607
|
}
|
|
608
608
|
const iframe = document.createElement('iframe');
|
|
609
|
+
iframe.style.display = 'block';
|
|
609
610
|
iframe.style.height = 0;
|
|
610
611
|
iframe.style.width = 0;
|
|
612
|
+
if(options && options.className) {
|
|
613
|
+
iframe.className = options.className;
|
|
614
|
+
}
|
|
611
615
|
document.controller = { // Written to support https://git.corp.adobe.com/Campaign/ac/blob/v6-master/nl/datakit/nl/jsp/uploadFile.jsp
|
|
612
616
|
uploadFileCallBack: async (data) => {
|
|
613
617
|
if (!data || data.length !== 1) {
|
|
@@ -2009,7 +2013,10 @@ class Client {
|
|
|
2009
2013
|
const inputParams = [];
|
|
2010
2014
|
const outputParams = [];
|
|
2011
2015
|
|
|
2012
|
-
// For non static methods
|
|
2016
|
+
// For non static methods
|
|
2017
|
+
// in case of persistent job: object represents the entity instance
|
|
2018
|
+
// in case of non-persistent job: object represents job description
|
|
2019
|
+
// the first output parameters represent the entity itself. The name of the corresponding
|
|
2013
2020
|
// parameter is set the the entity schema name.
|
|
2014
2021
|
if (!isStatic) {
|
|
2015
2022
|
var schemaName = entitySchemaId.substring(entitySchemaId.indexOf(':') + 1);
|
package/src/xtkJob.js
CHANGED
|
@@ -160,23 +160,42 @@ class XtkJobInterface {
|
|
|
160
160
|
var schema = await this._client.getSchema(entitySchemaId, "xml", true);
|
|
161
161
|
if (!schema)
|
|
162
162
|
throw CampaignException.SOAP_UNKNOWN_METHOD(entitySchemaId, methodName, `Schema '${entitySchemaId}' not found`);
|
|
163
|
-
var method = this._client._methodCache.get(entitySchemaId, methodName);
|
|
163
|
+
var method = await this._client._methodCache.get(entitySchemaId, methodName);
|
|
164
164
|
if (!method)
|
|
165
165
|
throw CampaignException.SOAP_UNKNOWN_METHOD(entitySchemaId, methodName, `Method '${methodName}' of schema '${entitySchemaId}' not found`);
|
|
166
|
-
|
|
166
|
+
|
|
167
167
|
const isStatic = DomUtil.getAttributeAsBoolean(method, "static");
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
]
|
|
179
|
-
|
|
168
|
+
|
|
169
|
+
var jobId = null;
|
|
170
|
+
if ( !isStatic)
|
|
171
|
+
jobId = await callContext.client._callMethod("SubmitSoapCall", callContext, [ {
|
|
172
|
+
name: this._soapCall.method,
|
|
173
|
+
service: this._soapCall.xtkschema,
|
|
174
|
+
param: [
|
|
175
|
+
{ name:"this", type:"DOMDocument", value: this._soapCall.object },
|
|
176
|
+
{ name:"bStart", type:"boolean", value:"false" },
|
|
177
|
+
]
|
|
178
|
+
} ]);
|
|
179
|
+
else {
|
|
180
|
+
// for non-persistant job, override object to intialize job properties
|
|
181
|
+
callContext.object = {
|
|
182
|
+
doNotPersist: "true",
|
|
183
|
+
xtkschema: this._soapCall.xtkschema,
|
|
184
|
+
id: this._soapCall.jobId,
|
|
185
|
+
properties: {
|
|
186
|
+
warning: false,
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
// SubmitSoapCall now supports static method
|
|
190
|
+
// no need parameter type as it's already present in API definition
|
|
191
|
+
jobId = await callContext.client._callMethod("SubmitSoapCall", callContext,
|
|
192
|
+
{
|
|
193
|
+
name: this._soapCall.method,
|
|
194
|
+
service: this._soapCall.xtkschema,
|
|
195
|
+
param : this._soapCall.args
|
|
196
|
+
},
|
|
197
|
+
);
|
|
198
|
+
}
|
|
180
199
|
this.jobId = jobId;
|
|
181
200
|
return jobId;
|
|
182
201
|
}
|
package/test/client.test.js
CHANGED
|
@@ -3913,6 +3913,55 @@ describe('ACC Client', function () {
|
|
|
3913
3913
|
});
|
|
3914
3914
|
});
|
|
3915
3915
|
|
|
3916
|
+
it("Should support 'className' action", async () => {
|
|
3917
|
+
// Create a mock client and logon
|
|
3918
|
+
const client = await Mock.makeClient();
|
|
3919
|
+
client._transport.mockReturnValueOnce(Mock.LOGON_RESPONSE);
|
|
3920
|
+
await client.NLWS.xtkSession.logon();
|
|
3921
|
+
|
|
3922
|
+
// Mock the upload protocol
|
|
3923
|
+
// - the upload.jsp (which returns the content of an iframe and JS to eval)
|
|
3924
|
+
// - call to xtk:counter#IncreaseValue (first, retrieve the schema xtk:counter then call the function)
|
|
3925
|
+
// - call to xtk:session#Write
|
|
3926
|
+
// - call to xtk:fileRes#PublishIfNeeded
|
|
3927
|
+
// - call to xtk:fileRes#GetURL
|
|
3928
|
+
|
|
3929
|
+
client._transport.mockReturnValueOnce(Promise.resolve(`Ok
|
|
3930
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3931
|
+
<head>
|
|
3932
|
+
<script type="text/javascript">if(window.parent&&window.parent.document.controller&&"function"==typeof window.parent.document.controller.uploadFileCallBack){var aFilesInfo=new Array;aFilesInfo.push({paramName:"file",fileName:"test.txt",newFileName:"d8e8fca2dc0f896fd7cb4cb0031ba249.txt",md5:"d8e8fca2dc0f896fd7cb4cb0031ba249"}),window.parent.document.controller.uploadFileCallBack(aFilesInfo)}</script>
|
|
3933
|
+
</head>
|
|
3934
|
+
<body></body>
|
|
3935
|
+
</html>`)); // upload.jsp
|
|
3936
|
+
|
|
3937
|
+
client._transport.mockReturnValueOnce(Promise.resolve(Mock.GET_XTK_COUNTER_RESPONSE)); // GetEntityIfMoreRecentResponse - counter
|
|
3938
|
+
client._transport.mockReturnValueOnce(Mock.INCREASE_VALUE_RESPONSE); // xtk:counter#IncreaseValue
|
|
3939
|
+
|
|
3940
|
+
client._transport.mockReturnValueOnce(Mock.GET_XTK_SESSION_SCHEMA_RESPONSE); // GetEntityIfMoreRecentResponse - session
|
|
3941
|
+
client._transport.mockReturnValueOnce(Mock.FILE_RES_WRITE_RESPONSE); // xtk:session#Write
|
|
3942
|
+
|
|
3943
|
+
client._transport.mockReturnValueOnce(Promise.resolve(Mock.GET_FILERES_QUERY_SCHEMA_RESPONSE)); // GetEntityIfMoreRecentResponse - fileRes
|
|
3944
|
+
client._transport.mockReturnValueOnce(Promise.resolve(Mock.PUBLISH_IF_NEEDED_RESPONSE)); // xtk:fileRes#PublishIfNeeded
|
|
3945
|
+
|
|
3946
|
+
client._transport.mockReturnValueOnce(Promise.resolve(Mock.GET_URL_RESPONSE)); // xtk:fileRes#GetURL
|
|
3947
|
+
|
|
3948
|
+
// Call upload
|
|
3949
|
+
const result = await client.fileUploader.upload({
|
|
3950
|
+
type: 'text/html',
|
|
3951
|
+
size: 12345
|
|
3952
|
+
}, { action: "publishIfNeeded", className: "myClass" });
|
|
3953
|
+
|
|
3954
|
+
const body = global.document.body;
|
|
3955
|
+
const iframes = body.getElementsByTagName("iframe");
|
|
3956
|
+
let found = false;
|
|
3957
|
+
for (let i=0; i<iframes.length; i++) {
|
|
3958
|
+
const iframe = iframes[i];
|
|
3959
|
+
if (iframe.className === "myClass")
|
|
3960
|
+
found = true;
|
|
3961
|
+
}
|
|
3962
|
+
expect(found).toBe(true);
|
|
3963
|
+
});
|
|
3964
|
+
|
|
3916
3965
|
it("Should support 'none' action", async () => {
|
|
3917
3966
|
// Create a mock client and logon
|
|
3918
3967
|
const client = await Mock.makeClient();
|
package/test/xtkJob.test.js
CHANGED
|
@@ -325,6 +325,48 @@ describe('XRK Jobs', function () {
|
|
|
325
325
|
} ]);
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
+
it("SubmitSoapCall a non-persistant and static job with success", async () => {
|
|
329
|
+
const client = { _callMethod: jest.fn(), getSchema: jest.fn(), _methodCache: { get: jest.fn()} };
|
|
330
|
+
const jobDescription = {
|
|
331
|
+
doNotPersist: "true",
|
|
332
|
+
xtkschema: 'nms:webApp',
|
|
333
|
+
id: "9876",
|
|
334
|
+
properties: {
|
|
335
|
+
warning: false,
|
|
336
|
+
}};
|
|
337
|
+
const soapCallArgs = [
|
|
338
|
+
{
|
|
339
|
+
where: {
|
|
340
|
+
condition: {
|
|
341
|
+
expr: "@id=9876"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
type: "byte",
|
|
347
|
+
value: "10"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
const job = new XtkJobInterface(client, { xtkschema: "nms:webApp", jobId: "9876", method: "Publish", args: soapCallArgs });
|
|
351
|
+
client._callMethod.mockReturnValueOnce(Promise.resolve("9876"));
|
|
352
|
+
client.getSchema.mockReturnValueOnce(Promise.resolve(true));
|
|
353
|
+
client._methodCache.get.mockReturnValueOnce(DomUtil.parse('<method static="true"></method>').documentElement);
|
|
354
|
+
const jobId = await job.submitSoapCall();
|
|
355
|
+
expect(jobId).toBe("9876");
|
|
356
|
+
expect(client._callMethod.mock.calls.length).toBe(1);
|
|
357
|
+
expect(client._callMethod.mock.calls[0][0]).toBe("SubmitSoapCall");
|
|
358
|
+
expect(client._callMethod.mock.calls[0][1]).toMatchObject({
|
|
359
|
+
entitySchemaId: "nms:webApp",
|
|
360
|
+
schemaId: "xtk:jobInterface",
|
|
361
|
+
object: jobDescription,
|
|
362
|
+
});
|
|
363
|
+
expect(client._callMethod.mock.calls[0][2]).toEqual({
|
|
364
|
+
name: "Publish",
|
|
365
|
+
service: "nms:webApp",
|
|
366
|
+
param : soapCallArgs
|
|
367
|
+
});
|
|
368
|
+
});
|
|
369
|
+
|
|
328
370
|
it("Infer schema from objects", async () => {
|
|
329
371
|
const client = { _callMethod: jest.fn(), getSchema: jest.fn(), _methodCache: { get: jest.fn()} };
|
|
330
372
|
const job = new XtkJobInterface(client, { object: { xtkschema: "nms:delivery", name: "Hello World" }, method: "Prepare" });
|
|
@@ -390,23 +432,6 @@ describe('XRK Jobs', function () {
|
|
|
390
432
|
"statusCode": 400,
|
|
391
433
|
});
|
|
392
434
|
});
|
|
393
|
-
|
|
394
|
-
it("Should fail on static methods", async () => {
|
|
395
|
-
const client = { _callMethod: jest.fn(), getSchema: jest.fn(), _methodCache: { get: jest.fn()} };
|
|
396
|
-
const job = new XtkJobInterface(client, { object: { xtkschema: "nms:delivery", name: "Hello World" }, method: "StaticMethod" });
|
|
397
|
-
client._callMethod.mockReturnValueOnce(Promise.resolve("9876"));
|
|
398
|
-
client.getSchema.mockReturnValueOnce(Promise.resolve(true));
|
|
399
|
-
client._methodCache.get.mockReturnValueOnce(DomUtil.parse('<method static="true"></method>').documentElement);
|
|
400
|
-
await expect(job.submitSoapCall()).rejects.toMatchObject({
|
|
401
|
-
"detail": "Method 'StaticMethod' of schema 'nms:delivery' is static",
|
|
402
|
-
"errorCode": "SDK-000009",
|
|
403
|
-
"faultCode": 16384,
|
|
404
|
-
"faultString": "Unknown method 'StaticMethod' of schema 'nms:delivery'",
|
|
405
|
-
"message": "400 - Error 16384: SDK-000009 Unknown method 'StaticMethod' of schema 'nms:delivery'. Method 'StaticMethod' of schema 'nms:delivery' is static",
|
|
406
|
-
"name": "CampaignException",
|
|
407
|
-
"statusCode": 400,
|
|
408
|
-
});
|
|
409
|
-
});
|
|
410
435
|
});
|
|
411
436
|
|
|
412
437
|
describe("Get Status", () => {
|