@mjhls/mjh-framework 1.0.1056 → 1.0.1059

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.
Files changed (46) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/ArticleProgramLandingPage.js +1 -2
  3. package/dist/cjs/ExternalResources.js +1 -2
  4. package/dist/cjs/HorizontalArticleListing.js +1 -2
  5. package/dist/cjs/IssueLanding.js +1 -2
  6. package/dist/cjs/{MediaSeriesCard-6c1bfd9c.js → MediaSeriesCard-857688ac.js} +1 -1
  7. package/dist/cjs/MediaSeriesLanding.js +2 -3
  8. package/dist/cjs/MediaSeriesLandingPaginated.js +2 -3
  9. package/dist/cjs/PartnerDetailListing.js +1 -2
  10. package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
  11. package/dist/cjs/PodcastsLanding.js +2 -3
  12. package/dist/cjs/TaxonomyDescription.js +1 -2
  13. package/dist/cjs/VideoProgramLandingPage.js +1 -2
  14. package/dist/cjs/View.js +4 -3
  15. package/dist/cjs/faundadb.js +321 -4
  16. package/dist/cjs/getRelatedArticle.js +211 -6
  17. package/dist/cjs/getSerializers.js +1 -2
  18. package/dist/cjs/{index-46b24f52.js → index-f45cc731.js} +596 -13
  19. package/dist/cjs/index.js +1 -9
  20. package/dist/esm/ArticleProgramLandingPage.js +1 -2
  21. package/dist/esm/ExternalResources.js +1 -2
  22. package/dist/esm/HorizontalArticleListing.js +1 -2
  23. package/dist/esm/IssueLanding.js +1 -2
  24. package/dist/esm/{MediaSeriesCard-ed860bcf.js → MediaSeriesCard-3c455b88.js} +1 -1
  25. package/dist/esm/MediaSeriesLanding.js +2 -3
  26. package/dist/esm/MediaSeriesLandingPaginated.js +2 -3
  27. package/dist/esm/PartnerDetailListing.js +1 -2
  28. package/dist/esm/PartnerDetailListingPaginated.js +1 -2
  29. package/dist/esm/PodcastsLanding.js +2 -3
  30. package/dist/esm/TaxonomyDescription.js +1 -2
  31. package/dist/esm/VideoProgramLandingPage.js +1 -2
  32. package/dist/esm/View.js +4 -3
  33. package/dist/esm/faundadb.js +319 -2
  34. package/dist/esm/getRelatedArticle.js +206 -1
  35. package/dist/esm/getSerializers.js +1 -2
  36. package/dist/esm/{index-d3b5043e.js → index-787e3306.js} +586 -3
  37. package/dist/esm/index.js +1 -8
  38. package/package.json +1 -1
  39. package/dist/cjs/Auth.js +0 -3682
  40. package/dist/cjs/index-bd6c9f56.js +0 -211
  41. package/dist/cjs/md5-e1ca5797.js +0 -323
  42. package/dist/cjs/util-93a37fd0.js +0 -587
  43. package/dist/esm/Auth.js +0 -3661
  44. package/dist/esm/index-db3bb315.js +0 -207
  45. package/dist/esm/md5-4e42248e.js +0 -321
  46. package/dist/esm/util-8ed16d48.js +0 -585
@@ -1,6 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
2
2
  import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
3
- import { c as cookie } from './index-db3bb315.js';
4
3
  import getQuery from './getQuery.js';
5
4
  import './core.get-iterator-method-ea258bb1.js';
6
5
  import './web.dom.iterable-ab4dea5c.js';
@@ -8,6 +7,212 @@ import './_library-528f1934.js';
8
7
  import './_set-species-2cd9340f.js';
9
8
  import './_iter-detect-98db3b07.js';
10
9
 
10
+ /*!
11
+ * cookie
12
+ * Copyright(c) 2012-2014 Roman Shtylman
13
+ * Copyright(c) 2015 Douglas Christopher Wilson
14
+ * MIT Licensed
15
+ */
16
+
17
+ /**
18
+ * Module exports.
19
+ * @public
20
+ */
21
+
22
+ var parse_1$1 = parse$1;
23
+ var serialize_1 = serialize;
24
+
25
+ /**
26
+ * Module variables.
27
+ * @private
28
+ */
29
+
30
+ var decode = decodeURIComponent;
31
+ var encode = encodeURIComponent;
32
+ var pairSplitRegExp = /; */;
33
+
34
+ /**
35
+ * RegExp to match field-content in RFC 7230 sec 3.2
36
+ *
37
+ * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
38
+ * field-vchar = VCHAR / obs-text
39
+ * obs-text = %x80-FF
40
+ */
41
+
42
+ var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
43
+
44
+ /**
45
+ * Parse a cookie header.
46
+ *
47
+ * Parse the given cookie header string into an object
48
+ * The object has the various cookies as keys(names) => values
49
+ *
50
+ * @param {string} str
51
+ * @param {object} [options]
52
+ * @return {object}
53
+ * @public
54
+ */
55
+
56
+ function parse$1(str, options) {
57
+ if (typeof str !== 'string') {
58
+ throw new TypeError('argument str must be a string');
59
+ }
60
+
61
+ var obj = {};
62
+ var opt = options || {};
63
+ var pairs = str.split(pairSplitRegExp);
64
+ var dec = opt.decode || decode;
65
+
66
+ for (var i = 0; i < pairs.length; i++) {
67
+ var pair = pairs[i];
68
+ var eq_idx = pair.indexOf('=');
69
+
70
+ // skip things that don't look like key=value
71
+ if (eq_idx < 0) {
72
+ continue;
73
+ }
74
+
75
+ var key = pair.substr(0, eq_idx).trim();
76
+ var val = pair.substr(++eq_idx, pair.length).trim();
77
+
78
+ // quoted values
79
+ if ('"' == val[0]) {
80
+ val = val.slice(1, -1);
81
+ }
82
+
83
+ // only assign once
84
+ if (undefined == obj[key]) {
85
+ obj[key] = tryDecode(val, dec);
86
+ }
87
+ }
88
+
89
+ return obj;
90
+ }
91
+
92
+ /**
93
+ * Serialize data into a cookie header.
94
+ *
95
+ * Serialize the a name value pair into a cookie string suitable for
96
+ * http headers. An optional options object specified cookie parameters.
97
+ *
98
+ * serialize('foo', 'bar', { httpOnly: true })
99
+ * => "foo=bar; httpOnly"
100
+ *
101
+ * @param {string} name
102
+ * @param {string} val
103
+ * @param {object} [options]
104
+ * @return {string}
105
+ * @public
106
+ */
107
+
108
+ function serialize(name, val, options) {
109
+ var opt = options || {};
110
+ var enc = opt.encode || encode;
111
+
112
+ if (typeof enc !== 'function') {
113
+ throw new TypeError('option encode is invalid');
114
+ }
115
+
116
+ if (!fieldContentRegExp.test(name)) {
117
+ throw new TypeError('argument name is invalid');
118
+ }
119
+
120
+ var value = enc(val);
121
+
122
+ if (value && !fieldContentRegExp.test(value)) {
123
+ throw new TypeError('argument val is invalid');
124
+ }
125
+
126
+ var str = name + '=' + value;
127
+
128
+ if (null != opt.maxAge) {
129
+ var maxAge = opt.maxAge - 0;
130
+
131
+ if (isNaN(maxAge) || !isFinite(maxAge)) {
132
+ throw new TypeError('option maxAge is invalid')
133
+ }
134
+
135
+ str += '; Max-Age=' + Math.floor(maxAge);
136
+ }
137
+
138
+ if (opt.domain) {
139
+ if (!fieldContentRegExp.test(opt.domain)) {
140
+ throw new TypeError('option domain is invalid');
141
+ }
142
+
143
+ str += '; Domain=' + opt.domain;
144
+ }
145
+
146
+ if (opt.path) {
147
+ if (!fieldContentRegExp.test(opt.path)) {
148
+ throw new TypeError('option path is invalid');
149
+ }
150
+
151
+ str += '; Path=' + opt.path;
152
+ }
153
+
154
+ if (opt.expires) {
155
+ if (typeof opt.expires.toUTCString !== 'function') {
156
+ throw new TypeError('option expires is invalid');
157
+ }
158
+
159
+ str += '; Expires=' + opt.expires.toUTCString();
160
+ }
161
+
162
+ if (opt.httpOnly) {
163
+ str += '; HttpOnly';
164
+ }
165
+
166
+ if (opt.secure) {
167
+ str += '; Secure';
168
+ }
169
+
170
+ if (opt.sameSite) {
171
+ var sameSite = typeof opt.sameSite === 'string'
172
+ ? opt.sameSite.toLowerCase() : opt.sameSite;
173
+
174
+ switch (sameSite) {
175
+ case true:
176
+ str += '; SameSite=Strict';
177
+ break;
178
+ case 'lax':
179
+ str += '; SameSite=Lax';
180
+ break;
181
+ case 'strict':
182
+ str += '; SameSite=Strict';
183
+ break;
184
+ case 'none':
185
+ str += '; SameSite=None';
186
+ break;
187
+ default:
188
+ throw new TypeError('option sameSite is invalid');
189
+ }
190
+ }
191
+
192
+ return str;
193
+ }
194
+
195
+ /**
196
+ * Try decoding a string using a decoding function.
197
+ *
198
+ * @param {string} str
199
+ * @param {function} decode
200
+ * @private
201
+ */
202
+
203
+ function tryDecode(str, decode) {
204
+ try {
205
+ return decode(str);
206
+ } catch (e) {
207
+ return str;
208
+ }
209
+ }
210
+
211
+ var cookie = {
212
+ parse: parse_1$1,
213
+ serialize: serialize_1
214
+ };
215
+
11
216
  var defaultParseOptions = {
12
217
  decodeValues: true,
13
218
  map: false,
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-d3b5043e.js';
2
+ export { g as default } from './index-787e3306.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-6ebcbfea.js';
@@ -14,7 +14,6 @@ import './index-5cc7b406.js';
14
14
  import 'prop-types';
15
15
  import 'next/router';
16
16
  import './index-c7e2ac95.js';
17
- import './util-8ed16d48.js';
18
17
  import './Beam.js';
19
18
  import './stringify-2b084bee.js';
20
19
  import './asyncToGenerator-64822ccc.js';