@vercel/python 3.1.55 → 3.1.57
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/dist/index.js +4 -11
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -397,7 +397,7 @@ module.exports = resolveCommand;
|
|
|
397
397
|
|
|
398
398
|
/***/ }),
|
|
399
399
|
|
|
400
|
-
/***/
|
|
400
|
+
/***/ 235:
|
|
401
401
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
402
402
|
|
|
403
403
|
var once = __webpack_require__(924);
|
|
@@ -422,7 +422,6 @@ var eos = function(stream, opts, callback) {
|
|
|
422
422
|
var rs = stream._readableState;
|
|
423
423
|
var readable = opts.readable || (opts.readable !== false && stream.readable);
|
|
424
424
|
var writable = opts.writable || (opts.writable !== false && stream.writable);
|
|
425
|
-
var cancelled = false;
|
|
426
425
|
|
|
427
426
|
var onlegacyfinish = function() {
|
|
428
427
|
if (!stream.writable) onfinish();
|
|
@@ -447,13 +446,8 @@ var eos = function(stream, opts, callback) {
|
|
|
447
446
|
};
|
|
448
447
|
|
|
449
448
|
var onclose = function() {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
var onclosenexttick = function() {
|
|
454
|
-
if (cancelled) return;
|
|
455
|
-
if (readable && !(rs && (rs.ended && !rs.destroyed))) return callback.call(stream, new Error('premature close'));
|
|
456
|
-
if (writable && !(ws && (ws.ended && !ws.destroyed))) return callback.call(stream, new Error('premature close'));
|
|
449
|
+
if (readable && !(rs && rs.ended)) return callback.call(stream, new Error('premature close'));
|
|
450
|
+
if (writable && !(ws && ws.ended)) return callback.call(stream, new Error('premature close'));
|
|
457
451
|
};
|
|
458
452
|
|
|
459
453
|
var onrequest = function() {
|
|
@@ -478,7 +472,6 @@ var eos = function(stream, opts, callback) {
|
|
|
478
472
|
stream.on('close', onclose);
|
|
479
473
|
|
|
480
474
|
return function() {
|
|
481
|
-
cancelled = true;
|
|
482
475
|
stream.removeListener('complete', onfinish);
|
|
483
476
|
stream.removeListener('abort', onclose);
|
|
484
477
|
stream.removeListener('request', onrequest);
|
|
@@ -1433,7 +1426,7 @@ module.exports = opts => {
|
|
|
1433
1426
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1434
1427
|
|
|
1435
1428
|
var once = __webpack_require__(924)
|
|
1436
|
-
var eos = __webpack_require__(
|
|
1429
|
+
var eos = __webpack_require__(235)
|
|
1437
1430
|
var fs = __webpack_require__(747) // we only need fs to get the ReadStream and WriteStream prototypes
|
|
1438
1431
|
|
|
1439
1432
|
var noop = function () {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.57",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"@types/execa": "^0.9.0",
|
|
24
24
|
"@types/jest": "27.4.1",
|
|
25
25
|
"@types/node": "14.18.33",
|
|
26
|
-
"@vercel/build-utils": "6.
|
|
26
|
+
"@vercel/build-utils": "6.7.0",
|
|
27
27
|
"@vercel/ncc": "0.24.0",
|
|
28
28
|
"execa": "^1.0.0",
|
|
29
29
|
"typescript": "4.3.4"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "46348201b4eadb03b403f99dc5574c31d2b3926e"
|
|
32
32
|
}
|