@vercel/ruby 1.3.56 → 1.3.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 +18 -9
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1137,8 +1137,8 @@ module.exports.node = opts => {
|
|
|
1137
1137
|
|
|
1138
1138
|
"use strict";
|
|
1139
1139
|
|
|
1140
|
-
const isStream = __webpack_require__(
|
|
1141
|
-
const getStream = __webpack_require__(
|
|
1140
|
+
const isStream = __webpack_require__(1611);
|
|
1141
|
+
const getStream = __webpack_require__(5334);
|
|
1142
1142
|
const mergeStream = __webpack_require__(3565);
|
|
1143
1143
|
|
|
1144
1144
|
// `input` option
|
|
@@ -3328,7 +3328,7 @@ module.exports = {
|
|
|
3328
3328
|
|
|
3329
3329
|
/***/ }),
|
|
3330
3330
|
|
|
3331
|
-
/***/
|
|
3331
|
+
/***/ 6846:
|
|
3332
3332
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3333
3333
|
|
|
3334
3334
|
"use strict";
|
|
@@ -3388,13 +3388,14 @@ module.exports = options => {
|
|
|
3388
3388
|
|
|
3389
3389
|
/***/ }),
|
|
3390
3390
|
|
|
3391
|
-
/***/
|
|
3391
|
+
/***/ 5334:
|
|
3392
3392
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
3393
3393
|
|
|
3394
3394
|
"use strict";
|
|
3395
3395
|
|
|
3396
|
+
const {constants: BufferConstants} = __webpack_require__(4293);
|
|
3396
3397
|
const pump = __webpack_require__(8140);
|
|
3397
|
-
const bufferStream = __webpack_require__(
|
|
3398
|
+
const bufferStream = __webpack_require__(6846);
|
|
3398
3399
|
|
|
3399
3400
|
class MaxBufferError extends Error {
|
|
3400
3401
|
constructor() {
|
|
@@ -3418,7 +3419,8 @@ async function getStream(inputStream, options) {
|
|
|
3418
3419
|
let stream;
|
|
3419
3420
|
await new Promise((resolve, reject) => {
|
|
3420
3421
|
const rejectPromise = error => {
|
|
3421
|
-
|
|
3422
|
+
// Don't retrieve an oversized buffer.
|
|
3423
|
+
if (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {
|
|
3422
3424
|
error.bufferedData = stream.getBufferedValue();
|
|
3423
3425
|
}
|
|
3424
3426
|
|
|
@@ -4427,7 +4429,7 @@ function patch (fs) {
|
|
|
4427
4429
|
|
|
4428
4430
|
/***/ }),
|
|
4429
4431
|
|
|
4430
|
-
/***/
|
|
4432
|
+
/***/ 1611:
|
|
4431
4433
|
/***/ ((module) => {
|
|
4432
4434
|
|
|
4433
4435
|
"use strict";
|
|
@@ -4456,8 +4458,7 @@ isStream.duplex = stream =>
|
|
|
4456
4458
|
|
|
4457
4459
|
isStream.transform = stream =>
|
|
4458
4460
|
isStream.duplex(stream) &&
|
|
4459
|
-
typeof stream._transform === 'function'
|
|
4460
|
-
typeof stream._transformState === 'object';
|
|
4461
|
+
typeof stream._transform === 'function';
|
|
4461
4462
|
|
|
4462
4463
|
module.exports = isStream;
|
|
4463
4464
|
|
|
@@ -9044,6 +9045,14 @@ module.exports = require("assert");
|
|
|
9044
9045
|
|
|
9045
9046
|
/***/ }),
|
|
9046
9047
|
|
|
9048
|
+
/***/ 4293:
|
|
9049
|
+
/***/ ((module) => {
|
|
9050
|
+
|
|
9051
|
+
"use strict";
|
|
9052
|
+
module.exports = require("buffer");
|
|
9053
|
+
|
|
9054
|
+
/***/ }),
|
|
9055
|
+
|
|
9047
9056
|
/***/ 3129:
|
|
9048
9057
|
/***/ ((module) => {
|
|
9049
9058
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/ruby",
|
|
3
3
|
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.57",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index",
|
|
7
7
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/fs-extra": "8.0.0",
|
|
24
24
|
"@types/semver": "6.0.0",
|
|
25
|
-
"@vercel/build-utils": "
|
|
25
|
+
"@vercel/build-utils": "6.0.0",
|
|
26
26
|
"@vercel/ncc": "0.24.0",
|
|
27
27
|
"execa": "2.0.4",
|
|
28
28
|
"fs-extra": "^7.0.1",
|
|
29
29
|
"semver": "6.1.1",
|
|
30
30
|
"typescript": "4.3.4"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "25f6595d3698546ba69c7fe9f601a906167fef3f"
|
|
33
33
|
}
|