unpoly-rails 3.0.0.rc3 → 3.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de8f088d5834dc9173f8d21f9e94d8fa297b7c8eabfe423e2441bc182da36499
4
- data.tar.gz: dccf743d250036a656cd461553c301ab510b2da0a4dff27a5832116061c7526c
3
+ metadata.gz: 7b3078cf94f2f6e2c656a3558465bbca65e9fc9e1da9e5bd8a39a4c83fa3990c
4
+ data.tar.gz: 703f8a23eac0e4e0cfbdfdbf7d0f5789adb86c86c891a2347b6c35173b4bfbf2
5
5
  SHA512:
6
- metadata.gz: 13edf900a62d337fafc2771e0ef6daeb499b4e9b3824c263c26b7cdc52914c8c6386283927f3aaabaece33a239ef66571d0b7341a4f4f54079ae4db36d29c3ba
7
- data.tar.gz: 456ec9dc4a93e19a19a7a143f6aa82f606bbd9e65011c1f7a42f77a36d95889a0ff402465eb72f3048d4282055cae9b7ba7b7c77267ad7329a9aa4fd23599b40
6
+ metadata.gz: 8f9a8fc750817f39db37baa57a5f945724f13900954685483df283fdec839bbb1e67f31c7fe7d8a9b86dda04f1644e277335aa915b9e9f442030a086fa6922d0
7
+ data.tar.gz: f2715303e14e640a335660f88d727ac37c35f5b008c881a7654904a06d9802235f1edb2da2db18bd6e1b484e1ab8574314fa96785f66e0dd0acfd17021e6538b
@@ -5,7 +5,7 @@
5
5
  /***/ (() => {
6
6
 
7
7
  window.up = {
8
- version: '3.0.0-rc3'
8
+ version: '3.0.0-rc4'
9
9
  };
10
10
 
11
11
 
@@ -6171,6 +6171,9 @@ up.Request = (_a = class Request extends up.Record {
6171
6171
  this.addAutoHeader(up.protocol.headerize('version'), up.version);
6172
6172
  }
6173
6173
  addAutoHeader(name, value) {
6174
+ if (u.isMissing(value)) {
6175
+ return;
6176
+ }
6174
6177
  if (u.isOptions(value) || u.isArray(value)) {
6175
6178
  value = u.safeStringifyJSON(value);
6176
6179
  }
@@ -6292,7 +6295,9 @@ up.Request.Cache = class Cache {
6292
6295
  }
6293
6296
  }
6294
6297
  alias(existingCachedRequest, newRequest) {
6295
- existingCachedRequest = this.wrap(existingCachedRequest);
6298
+ existingCachedRequest = this.get(existingCachedRequest);
6299
+ if (!existingCachedRequest)
6300
+ return;
6296
6301
  newRequest = this.wrap(newRequest);
6297
6302
  this.track(existingCachedRequest, newRequest, { force: true });
6298
6303
  this.put(newRequest);