@redneckz/wildless-cms-uni-blocks 0.14.166 → 0.14.167

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.
@@ -1,28 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('fs'), require('path'), require('util')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'fs', 'path', 'util'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.UniMobileBlocks = {}, global.fs, null, global.util));
5
- })(this, (function (exports, fs, path, util) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
3
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.UniMobileBlocks = {}));
5
+ })(this, (function (exports) { 'use strict';
26
6
 
27
7
  let _hooks;
28
8
  const setupHooks = (_) => {
@@ -761,8 +741,6 @@
761
741
  return refs;
762
742
  };
763
743
 
764
- util.promisify(fs__namespace.readFile);
765
-
766
744
  async function fetchJSON(url, options) {
767
745
  try {
768
746
  return url ? await fetchJSONUnsafe(url, options) : null;
@@ -5651,7 +5629,7 @@
5651
5629
 
5652
5630
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5653
5631
 
5654
- const packageVersion = "0.14.165";
5632
+ const packageVersion = "0.14.166";
5655
5633
 
5656
5634
  exports.Blocks = Blocks;
5657
5635
  exports.ContentPage = ContentPage;