solid-ui 2.4.27-39fb847a → 2.4.27-3d362e60

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/solid-ui.js CHANGED
@@ -13470,13 +13470,37 @@ function _getKeyIfExists() {
13470
13470
  case 7:
13471
13471
  _context6.prev = 7;
13472
13472
  _context6.t0 = _context6["catch"](0);
13473
+ if (!(_context6.t0.response.status === 404)) {
13474
+ _context6.next = 24;
13475
+ break;
13476
+ }
13477
+ debug.log('createIfNotExists: doc does NOT exist, will create... ' + keyUrl);
13478
+ _context6.prev = 11;
13479
+ _context6.next = 14;
13480
+ return _solidLogic.store.fetcher.webOperation('PUT', keyUrl, {
13481
+ data: '',
13482
+ contentType: 'text/turtle'
13483
+ });
13484
+ case 14:
13485
+ _context6.next = 20;
13486
+ break;
13487
+ case 16:
13488
+ _context6.prev = 16;
13489
+ _context6.t1 = _context6["catch"](11);
13490
+ debug.log('createIfNotExists doc FAILED: ' + keyUrl + ': ' + _context6.t1);
13491
+ throw _context6.t1;
13492
+ case 20:
13493
+ delete _solidLogic.store.fetcher.requested[keyUrl]; // delete cached 404 error
13494
+ // debug.log('createIfNotExists doc created ok ' + doc)
13495
+ return _context6.abrupt("return", undefined);
13496
+ case 24:
13473
13497
  debug.log('createIfNotExists doc FAILED: ' + keyUrl + ': ' + _context6.t0);
13474
13498
  throw _context6.t0;
13475
- case 11:
13499
+ case 26:
13476
13500
  case "end":
13477
13501
  return _context6.stop();
13478
13502
  }
13479
- }, _callee6, null, [[0, 7]]);
13503
+ }, _callee6, null, [[0, 7], [11, 16]]);
13480
13504
  }));
13481
13505
  return _getKeyIfExists.apply(this, arguments);
13482
13506
  }
@@ -13715,8 +13739,8 @@ Object.defineProperty(exports, "__esModule", ({
13715
13739
  }));
13716
13740
  exports.versionInfo = void 0;
13717
13741
  var versionInfo = {
13718
- buildTime: '2023-05-22T23:32:51Z',
13719
- commit: '39fb847ab11fd784295aae69f288118e77f2991e',
13742
+ buildTime: '2023-05-24T15:04:26Z',
13743
+ commit: '3d362e600d53ca3e74f700d72d653e9051b1f1d8',
13720
13744
  npmInfo: {
13721
13745
  'solid-ui': '2.4.27',
13722
13746
  npm: '8.19.4',
@@ -66532,7 +66556,22 @@ module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"
66532
66556
  /******/
66533
66557
  /******/ /* webpack/runtime/publicPath */
66534
66558
  /******/ (() => {
66535
- /******/ __webpack_require__.p = "";
66559
+ /******/ var scriptUrl;
66560
+ /******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
66561
+ /******/ var document = __webpack_require__.g.document;
66562
+ /******/ if (!scriptUrl && document) {
66563
+ /******/ if (document.currentScript)
66564
+ /******/ scriptUrl = document.currentScript.src;
66565
+ /******/ if (!scriptUrl) {
66566
+ /******/ var scripts = document.getElementsByTagName("script");
66567
+ /******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
66568
+ /******/ }
66569
+ /******/ }
66570
+ /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
66571
+ /******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
66572
+ /******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
66573
+ /******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
66574
+ /******/ __webpack_require__.p = scriptUrl;
66536
66575
  /******/ })();
66537
66576
  /******/
66538
66577
  /******/ /* webpack/runtime/jsonp chunk loading */