pnpm 7.32.1 → 7.32.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.
@@ -204,7 +204,7 @@ packageManager: pnpm@7.24.2
204
204
  pendingBuilds:
205
205
  - /node-gyp/9.3.1
206
206
  - /encoding/0.1.13
207
- prunedAt: Tue, 18 Apr 2023 00:33:47 GMT
207
+ prunedAt: Wed, 19 Apr 2023 12:53:53 GMT
208
208
  publicHoistPattern:
209
209
  - '*eslint*'
210
210
  - '*prettier*'
package/dist/pnpm.cjs CHANGED
@@ -3244,7 +3244,7 @@ var require_lib4 = __commonJS({
3244
3244
  var load_json_file_1 = __importDefault3(require_load_json_file());
3245
3245
  var defaultManifest = {
3246
3246
  name: true ? "pnpm" : "pnpm",
3247
- version: true ? "7.32.1" : "0.0.0"
3247
+ version: true ? "7.32.2" : "0.0.0"
3248
3248
  };
3249
3249
  var pkgJson;
3250
3250
  if (require.main == null) {
@@ -60188,9 +60188,9 @@ var require_fetch_blob = __commonJS({
60188
60188
  }
60189
60189
  });
60190
60190
 
60191
- // ../node_modules/.pnpm/node-fetch@3.0.0-beta.9/node_modules/node-fetch/dist/index.cjs
60191
+ // ../node_modules/.pnpm/@pnpm+node-fetch@1.0.0/node_modules/@pnpm/node-fetch/dist/index.cjs
60192
60192
  var require_dist6 = __commonJS({
60193
- "../node_modules/.pnpm/node-fetch@3.0.0-beta.9/node_modules/node-fetch/dist/index.cjs"(exports2, module2) {
60193
+ "../node_modules/.pnpm/@pnpm+node-fetch@1.0.0/node_modules/@pnpm/node-fetch/dist/index.cjs"(exports2, module2) {
60194
60194
  "use strict";
60195
60195
  exports2 = module2.exports = fetch;
60196
60196
  var http = require("http");
@@ -60283,7 +60283,7 @@ var require_dist6 = __commonJS({
60283
60283
  length += Buffer.byteLength(getFooter(boundary));
60284
60284
  return length;
60285
60285
  }
60286
- var INTERNALS = Symbol("Body internals");
60286
+ var INTERNALS$2 = Symbol("Body internals");
60287
60287
  var Body = class {
60288
60288
  constructor(body, {
60289
60289
  size = 0
@@ -60309,7 +60309,7 @@ var require_dist6 = __commonJS({
60309
60309
  } else {
60310
60310
  body = Buffer.from(String(body));
60311
60311
  }
60312
- this[INTERNALS] = {
60312
+ this[INTERNALS$2] = {
60313
60313
  body,
60314
60314
  boundary,
60315
60315
  disturbed: false,
@@ -60319,15 +60319,15 @@ var require_dist6 = __commonJS({
60319
60319
  if (body instanceof Stream) {
60320
60320
  body.on("error", (err) => {
60321
60321
  const error = err instanceof FetchBaseError ? err : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${err.message}`, "system", err);
60322
- this[INTERNALS].error = error;
60322
+ this[INTERNALS$2].error = error;
60323
60323
  });
60324
60324
  }
60325
60325
  }
60326
60326
  get body() {
60327
- return this[INTERNALS].body;
60327
+ return this[INTERNALS$2].body;
60328
60328
  }
60329
60329
  get bodyUsed() {
60330
- return this[INTERNALS].disturbed;
60330
+ return this[INTERNALS$2].disturbed;
60331
60331
  }
60332
60332
  /**
60333
60333
  * Decode response as ArrayBuffer
@@ -60344,7 +60344,7 @@ var require_dist6 = __commonJS({
60344
60344
  * @return Promise
60345
60345
  */
60346
60346
  async blob() {
60347
- const ct = this.headers && this.headers.get("content-type") || this[INTERNALS].body && this[INTERNALS].body.type || "";
60347
+ const ct = this.headers && this.headers.get("content-type") || this[INTERNALS$2].body && this[INTERNALS$2].body.type || "";
60348
60348
  const buf = await this.buffer();
60349
60349
  return new Blob([buf], {
60350
60350
  type: ct
@@ -60386,12 +60386,12 @@ var require_dist6 = __commonJS({
60386
60386
  text: { enumerable: true }
60387
60387
  });
60388
60388
  async function consumeBody(data) {
60389
- if (data[INTERNALS].disturbed) {
60389
+ if (data[INTERNALS$2].disturbed) {
60390
60390
  throw new TypeError(`body used already for: ${data.url}`);
60391
60391
  }
60392
- data[INTERNALS].disturbed = true;
60393
- if (data[INTERNALS].error) {
60394
- throw data[INTERNALS].error;
60392
+ data[INTERNALS$2].disturbed = true;
60393
+ if (data[INTERNALS$2].error) {
60394
+ throw data[INTERNALS$2].error;
60395
60395
  }
60396
60396
  let { body } = data;
60397
60397
  if (body === null) {
@@ -60450,7 +60450,7 @@ var require_dist6 = __commonJS({
60450
60450
  p2 = new Stream.PassThrough({ highWaterMark });
60451
60451
  body.pipe(p1);
60452
60452
  body.pipe(p2);
60453
- instance[INTERNALS].body = p1;
60453
+ instance[INTERNALS$2].body = p1;
60454
60454
  body = p2;
60455
60455
  }
60456
60456
  return body;
@@ -60475,7 +60475,7 @@ var require_dist6 = __commonJS({
60475
60475
  return `multipart/form-data;boundary=${body.getBoundary()}`;
60476
60476
  }
60477
60477
  if (isFormData(body)) {
60478
- return `multipart/form-data; boundary=${request[INTERNALS].boundary}`;
60478
+ return `multipart/form-data; boundary=${request[INTERNALS$2].boundary}`;
60479
60479
  }
60480
60480
  if (body instanceof Stream) {
60481
60481
  return null;
@@ -60497,7 +60497,7 @@ var require_dist6 = __commonJS({
60497
60497
  return body.hasKnownLength && body.hasKnownLength() ? body.getLengthSync() : null;
60498
60498
  }
60499
60499
  if (isFormData(body)) {
60500
- return getFormDataLength(request[INTERNALS].boundary);
60500
+ return getFormDataLength(request[INTERNALS$2].boundary);
60501
60501
  }
60502
60502
  return null;
60503
60503
  };
@@ -60581,7 +60581,7 @@ var require_dist6 = __commonJS({
60581
60581
  validateHeaderName(name);
60582
60582
  validateHeaderValue(name, String(value));
60583
60583
  return URLSearchParams.prototype[p].call(
60584
- receiver,
60584
+ target,
60585
60585
  String(name).toLowerCase(),
60586
60586
  String(value)
60587
60587
  );
@@ -60592,7 +60592,7 @@ var require_dist6 = __commonJS({
60592
60592
  return (name) => {
60593
60593
  validateHeaderName(name);
60594
60594
  return URLSearchParams.prototype[p].call(
60595
- receiver,
60595
+ target,
60596
60596
  String(name).toLowerCase()
60597
60597
  );
60598
60598
  };
@@ -60799,9 +60799,9 @@ var require_dist6 = __commonJS({
60799
60799
  const hash = parsedURL.hash || (parsedURL.href[lastOffset] === "#" ? "#" : "");
60800
60800
  return parsedURL.href[lastOffset - hash.length] === "?" ? "?" : "";
60801
60801
  };
60802
- var INTERNALS$2 = Symbol("Request internals");
60802
+ var INTERNALS = Symbol("Request internals");
60803
60803
  var isRequest = (object) => {
60804
- return typeof object === "object" && typeof object[INTERNALS$2] === "object";
60804
+ return typeof object === "object" && typeof object[INTERNALS] === "object";
60805
60805
  };
60806
60806
  var Request = class extends Body {
60807
60807
  constructor(input, init = {}) {
@@ -60835,7 +60835,7 @@ var require_dist6 = __commonJS({
60835
60835
  if (signal !== null && !isAbortSignal(signal)) {
60836
60836
  throw new TypeError("Expected signal to be an instanceof AbortSignal");
60837
60837
  }
60838
- this[INTERNALS$2] = {
60838
+ this[INTERNALS] = {
60839
60839
  method,
60840
60840
  redirect: init.redirect || input.redirect || "follow",
60841
60841
  headers,
@@ -60850,19 +60850,19 @@ var require_dist6 = __commonJS({
60850
60850
  this.insecureHTTPParser = init.insecureHTTPParser || input.insecureHTTPParser || false;
60851
60851
  }
60852
60852
  get method() {
60853
- return this[INTERNALS$2].method;
60853
+ return this[INTERNALS].method;
60854
60854
  }
60855
60855
  get url() {
60856
- return url.format(this[INTERNALS$2].parsedURL);
60856
+ return url.format(this[INTERNALS].parsedURL);
60857
60857
  }
60858
60858
  get headers() {
60859
- return this[INTERNALS$2].headers;
60859
+ return this[INTERNALS].headers;
60860
60860
  }
60861
60861
  get redirect() {
60862
- return this[INTERNALS$2].redirect;
60862
+ return this[INTERNALS].redirect;
60863
60863
  }
60864
60864
  get signal() {
60865
- return this[INTERNALS$2].signal;
60865
+ return this[INTERNALS].signal;
60866
60866
  }
60867
60867
  /**
60868
60868
  * Clone this request
@@ -60885,8 +60885,8 @@ var require_dist6 = __commonJS({
60885
60885
  signal: { enumerable: true }
60886
60886
  });
60887
60887
  var getNodeRequestOptions = (request) => {
60888
- const { parsedURL } = request[INTERNALS$2];
60889
- const headers = new Headers(request[INTERNALS$2].headers);
60888
+ const { parsedURL } = request[INTERNALS];
60889
+ const headers = new Headers(request[INTERNALS].headers);
60890
60890
  if (!headers.has("Accept")) {
60891
60891
  headers.set("Accept", "*/*");
60892
60892
  }
@@ -61121,7 +61121,7 @@ var require_dist6 = __commonJS({
61121
61121
  exports2.Headers = Headers;
61122
61122
  exports2.Request = Request;
61123
61123
  exports2.Response = Response;
61124
- exports2.default = fetch;
61124
+ exports2["default"] = fetch;
61125
61125
  exports2.isRedirect = isRedirect;
61126
61126
  }
61127
61127
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pnpm",
3
3
  "description": "Fast, disk space efficient package manager",
4
- "version": "7.32.1",
4
+ "version": "7.32.2",
5
5
  "bin": {
6
6
  "pnpm": "bin/pnpm.cjs",
7
7
  "pnpx": "bin/pnpx.cjs"