@mjhls/mjh-framework 1.0.1081 → 1.0.1082-404-v5

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 (126) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AlgoliaSearch.js +468 -196
  3. package/dist/cjs/ArticleProgramLandingPage.js +3 -3
  4. package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
  5. package/dist/cjs/ArticleSeriesListing.js +1 -1
  6. package/dist/cjs/AuthWrapper.js +233 -609
  7. package/dist/cjs/CEDeckSupabase.js +1 -5
  8. package/dist/cjs/CMEDeck.js +1 -5
  9. package/dist/cjs/ConferenceArticleCard.js +1 -1
  10. package/dist/cjs/ContentCardPaginated.js +1 -1
  11. package/dist/cjs/DeckContent.js +1 -1
  12. package/dist/cjs/DeckQueue.js +1 -1
  13. package/dist/cjs/DeckQueuePaginated.js +1 -1
  14. package/dist/cjs/EventsDeck.js +2 -2
  15. package/dist/cjs/ExternalResources.js +4 -4
  16. package/dist/cjs/ForbesHero.js +1 -1
  17. package/dist/cjs/GridContent.js +2 -2
  18. package/dist/cjs/GridContentPaginated.js +2 -2
  19. package/dist/cjs/GridHero.js +1 -1
  20. package/dist/cjs/HighlightenVideo.js +1 -1
  21. package/dist/cjs/HorizontalArticleListing.js +3 -3
  22. package/dist/cjs/HorizontalHero.js +1 -1
  23. package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-7c995858.js} +6 -11
  24. package/dist/cjs/IssueContentDeck.js +1 -1
  25. package/dist/cjs/IssueLanding.js +3 -3
  26. package/dist/cjs/MasterDeck.js +1 -1
  27. package/dist/cjs/MediaSeriesCard.js +3 -3
  28. package/dist/cjs/MediaSeriesLanding.js +6 -6
  29. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
  30. package/dist/cjs/OncliveHero.js +1 -1
  31. package/dist/cjs/OncliveLargeHero.js +1 -1
  32. package/dist/cjs/PartnerDetailListing.js +5 -5
  33. package/dist/cjs/PartnerDetailListingPaginated.js +5 -5
  34. package/dist/cjs/PodcastsLanding.js +4 -4
  35. package/dist/cjs/PtceDeck.js +1 -1
  36. package/dist/cjs/PubSection.js +1 -1
  37. package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-4b68e0db.js} +1 -1
  38. package/dist/cjs/QueueDeckExpanded.js +1 -1
  39. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1
  40. package/dist/cjs/RelatedContent.js +1 -1
  41. package/dist/cjs/TaxonomyDescription.js +3 -3
  42. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-b8516cbf.js} +107 -61
  43. package/dist/cjs/VerticalHero.js +1 -1
  44. package/dist/cjs/VideoProgramLandingPage.js +3 -3
  45. package/dist/cjs/VideoSeriesCard.js +1 -1
  46. package/dist/cjs/VideoSeriesLandingPage.js +1 -1
  47. package/dist/cjs/VideoSeriesListing.js +1 -1
  48. package/dist/cjs/View.js +25 -12
  49. package/dist/cjs/YahooHero.js +1 -1
  50. package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-35faab67.js} +3 -3
  51. package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
  52. package/dist/cjs/getQuery.js +1 -2
  53. package/dist/cjs/getRelatedArticle.js +33 -15
  54. package/dist/cjs/getSerializers.js +3 -3
  55. package/dist/cjs/{index-4fdedd6a.js → index-171e9e82.js} +233 -14
  56. package/dist/cjs/index-3177f564.js +1573 -0
  57. package/dist/cjs/{index-50be6759.js → index-ff83a88b.js} +13 -14
  58. package/dist/cjs/index.js +8 -9
  59. package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
  60. package/dist/cjs/timeDifferenceCalc.js +1 -1
  61. package/dist/esm/AlgoliaSearch.js +468 -196
  62. package/dist/esm/ArticleProgramLandingPage.js +3 -3
  63. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  64. package/dist/esm/ArticleSeriesListing.js +1 -1
  65. package/dist/esm/AuthWrapper.js +232 -608
  66. package/dist/esm/CEDeckSupabase.js +1 -5
  67. package/dist/esm/CMEDeck.js +1 -5
  68. package/dist/esm/ConferenceArticleCard.js +1 -1
  69. package/dist/esm/ContentCardPaginated.js +1 -1
  70. package/dist/esm/DeckContent.js +1 -1
  71. package/dist/esm/DeckQueue.js +1 -1
  72. package/dist/esm/DeckQueuePaginated.js +1 -1
  73. package/dist/esm/EventsDeck.js +2 -2
  74. package/dist/esm/ExternalResources.js +4 -4
  75. package/dist/esm/ForbesHero.js +1 -1
  76. package/dist/esm/GridContent.js +2 -2
  77. package/dist/esm/GridContentPaginated.js +2 -2
  78. package/dist/esm/GridHero.js +1 -1
  79. package/dist/esm/HighlightenVideo.js +1 -1
  80. package/dist/esm/HorizontalArticleListing.js +3 -3
  81. package/dist/esm/HorizontalHero.js +1 -1
  82. package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-75f7b81a.js} +6 -11
  83. package/dist/esm/IssueContentDeck.js +1 -1
  84. package/dist/esm/IssueLanding.js +3 -3
  85. package/dist/esm/MasterDeck.js +1 -1
  86. package/dist/esm/MediaSeriesCard.js +3 -3
  87. package/dist/esm/MediaSeriesLanding.js +6 -6
  88. package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
  89. package/dist/esm/OncliveHero.js +1 -1
  90. package/dist/esm/OncliveLargeHero.js +1 -1
  91. package/dist/esm/Pagination-9fe9f61d.js +1 -1
  92. package/dist/esm/PartnerDetailListing.js +5 -5
  93. package/dist/esm/PartnerDetailListingPaginated.js +5 -5
  94. package/dist/esm/PodcastsLanding.js +4 -4
  95. package/dist/esm/PtceDeck.js +1 -1
  96. package/dist/esm/PubSection.js +1 -1
  97. package/dist/esm/{PublicationFeature-89b7afdb.js → PublicationFeature-6c334891.js} +1 -1
  98. package/dist/esm/QueueDeckExpanded.js +1 -1
  99. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  100. package/dist/esm/RelatedContent.js +1 -1
  101. package/dist/esm/TaxonomyDescription.js +3 -3
  102. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-fe0ed92d.js} +108 -62
  103. package/dist/esm/VerticalHero.js +1 -1
  104. package/dist/esm/VideoProgramLandingPage.js +3 -3
  105. package/dist/esm/VideoSeriesCard.js +1 -1
  106. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  107. package/dist/esm/VideoSeriesListing.js +1 -1
  108. package/dist/esm/View.js +25 -12
  109. package/dist/esm/YahooHero.js +1 -1
  110. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
  111. package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
  112. package/dist/esm/getQuery.js +1 -2
  113. package/dist/esm/getRelatedArticle.js +34 -16
  114. package/dist/esm/getSerializers.js +3 -3
  115. package/dist/esm/{index-de2bb37c.js → index-1d1bbc8c.js} +233 -14
  116. package/dist/esm/index-4550ef23.js +1571 -0
  117. package/dist/esm/{index-98ca9cec.js → index-c8d5e72b.js} +13 -14
  118. package/dist/esm/index.js +8 -9
  119. package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
  120. package/dist/esm/timeDifferenceCalc.js +1 -1
  121. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  122. package/package.json +1 -1
  123. package/dist/cjs/index-96c331fd.js +0 -1572
  124. package/dist/cjs/typeof-1358762e.js +0 -33
  125. package/dist/esm/index-30a6257d.js +0 -1570
  126. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,5 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
- import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
3
3
  import getQuery from './getQuery.js';
4
4
  import './core.get-iterator-method-95db387d.js';
5
5
  import './web.dom.iterable-3fffc027.js';
@@ -29,7 +29,6 @@ var serialize_1 = serialize;
29
29
 
30
30
  var decode = decodeURIComponent;
31
31
  var encode = encodeURIComponent;
32
- var pairSplitRegExp = /; */;
33
32
 
34
33
  /**
35
34
  * RegExp to match field-content in RFC 7230 sec 3.2
@@ -60,28 +59,29 @@ function parse$1(str, options) {
60
59
 
61
60
  var obj = {};
62
61
  var opt = options || {};
63
- var pairs = str.split(pairSplitRegExp);
62
+ var pairs = str.split(';');
64
63
  var dec = opt.decode || decode;
65
64
 
66
65
  for (var i = 0; i < pairs.length; i++) {
67
66
  var pair = pairs[i];
68
- var eq_idx = pair.indexOf('=');
67
+ var index = pair.indexOf('=');
69
68
 
70
69
  // skip things that don't look like key=value
71
- if (eq_idx < 0) {
70
+ if (index < 0) {
72
71
  continue;
73
72
  }
74
73
 
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
- }
74
+ var key = pair.substring(0, index).trim();
82
75
 
83
76
  // only assign once
84
77
  if (undefined == obj[key]) {
78
+ var val = pair.substring(index + 1, pair.length).trim();
79
+
80
+ // quoted values
81
+ if (val[0] === '"') {
82
+ val = val.slice(1, -1);
83
+ }
84
+
85
85
  obj[key] = tryDecode(val, dec);
86
86
  }
87
87
  }
@@ -225,9 +225,11 @@ function isNonEmptyString(str) {
225
225
 
226
226
  function parseString(setCookieValue, options) {
227
227
  var parts = setCookieValue.split(";").filter(isNonEmptyString);
228
- var nameValue = parts.shift().split("=");
229
- var name = nameValue.shift();
230
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
228
+
229
+ var nameValuePairStr = parts.shift();
230
+ var parsed = parseNameValuePair(nameValuePairStr);
231
+ var name = parsed.name;
232
+ var value = parsed.value;
231
233
 
232
234
  options = options
233
235
  ? Object.assign({}, defaultParseOptions, options)
@@ -245,7 +247,7 @@ function parseString(setCookieValue, options) {
245
247
  }
246
248
 
247
249
  var cookie = {
248
- name: name, // grab everything before the first =
250
+ name: name,
249
251
  value: value,
250
252
  };
251
253
 
@@ -271,6 +273,22 @@ function parseString(setCookieValue, options) {
271
273
  return cookie;
272
274
  }
273
275
 
276
+ function parseNameValuePair(nameValuePairStr) {
277
+ // Parses name-value-pair according to rfc6265bis draft
278
+
279
+ var name = "";
280
+ var value = "";
281
+ var nameValueArr = nameValuePairStr.split("=");
282
+ if (nameValueArr.length > 1) {
283
+ name = nameValueArr.shift();
284
+ value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
285
+ } else {
286
+ value = nameValuePairStr;
287
+ }
288
+
289
+ return { name: name, value: value };
290
+ }
291
+
274
292
  function parse(input, options) {
275
293
  options = options
276
294
  ? Object.assign({}, defaultParseOptions, options)
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-de2bb37c.js';
2
+ export { g as default } from './index-1d1bbc8c.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
27
27
  import 'react-dom';
28
28
  import './typeof-3ab7d3b6.js';
29
29
  import './_is-array-68c79b29.js';
30
- import './brightcove-react-player-loader.es-57a70a56.js';
30
+ import './brightcove-react-player-loader.es-a2422c4b.js';
31
31
  import './_object-to-array-9dfdfb29.js';
32
32
  import './keys-185288f4.js';
33
33
  import './_object-sap-14bd8e96.js';
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
37
37
  import 'react-ga';
38
38
  import './GroupDeck.js';
39
39
  import './smoothscroll-fa4e3f8c.js';
40
- import './moment-bc12cb97.js';
40
+ import './moment-48faeb9c.js';
41
41
  import './SocialShare.js';
42
42
  import 'next/head';
43
43
  import 'react-share';
@@ -16,7 +16,7 @@ import { u as urlForFile } from './urlForFile-2e523b67.js';
16
16
  import { L as LazyLoad } from './index-755f2cc2.js';
17
17
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
18
18
  import { _ as _typeof$1 } from './typeof-3ab7d3b6.js';
19
- import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
19
+ import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-a2422c4b.js';
20
20
  import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
21
21
  import { _ as _export, a as _core } from './core.get-iterator-method-95db387d.js';
22
22
  import { _ as _objectToArray } from './_object-to-array-9dfdfb29.js';
@@ -26,7 +26,7 @@ import Button from 'react-bootstrap/Button';
26
26
  import Form from 'react-bootstrap/Form';
27
27
  import ReactGA from 'react-ga';
28
28
  import GroupDeck from './GroupDeck.js';
29
- import { m as moment } from './moment-bc12cb97.js';
29
+ import { m as moment } from './moment-48faeb9c.js';
30
30
  import SocialShare from './SocialShare.js';
31
31
  import { _ as _toConsumableArray, a as _Array$from } from './toConsumableArray-e6f28e5c.js';
32
32
  import Pagination from 'react-bootstrap/Pagination';
@@ -695,7 +695,7 @@ debug.names;
695
695
  debug.skips;
696
696
  debug.formatters;
697
697
 
698
- var browser = createCommonjsModule(function (module, exports) {
698
+ var browser$1 = createCommonjsModule(function (module, exports) {
699
699
  /**
700
700
  * This is the web browser implementation of `debug()`.
701
701
  *
@@ -882,13 +882,13 @@ function localstorage() {
882
882
  } catch (e) {}
883
883
  }
884
884
  });
885
- browser.log;
886
- browser.formatArgs;
887
- browser.save;
888
- browser.load;
889
- browser.useColors;
890
- browser.storage;
891
- browser.colors;
885
+ browser$1.log;
886
+ browser$1.formatArgs;
887
+ browser$1.save;
888
+ browser$1.load;
889
+ browser$1.useColors;
890
+ browser$1.storage;
891
+ browser$1.colors;
892
892
 
893
893
  // MIT lisence
894
894
  // from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
@@ -912,16 +912,227 @@ var tty = {
912
912
  };
913
913
 
914
914
  // shim for using process in browser
915
+ // based off https://github.com/defunctzombie/node-process/blob/master/browser.js
916
+
917
+ function defaultSetTimout() {
918
+ throw new Error('setTimeout has not been defined');
919
+ }
920
+ function defaultClearTimeout () {
921
+ throw new Error('clearTimeout has not been defined');
922
+ }
923
+ var cachedSetTimeout = defaultSetTimout;
924
+ var cachedClearTimeout = defaultClearTimeout;
925
+ if (typeof global.setTimeout === 'function') {
926
+ cachedSetTimeout = setTimeout;
927
+ }
928
+ if (typeof global.clearTimeout === 'function') {
929
+ cachedClearTimeout = clearTimeout;
930
+ }
931
+
932
+ function runTimeout(fun) {
933
+ if (cachedSetTimeout === setTimeout) {
934
+ //normal enviroments in sane situations
935
+ return setTimeout(fun, 0);
936
+ }
937
+ // if setTimeout wasn't available but was latter defined
938
+ if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
939
+ cachedSetTimeout = setTimeout;
940
+ return setTimeout(fun, 0);
941
+ }
942
+ try {
943
+ // when when somebody has screwed with setTimeout but no I.E. maddness
944
+ return cachedSetTimeout(fun, 0);
945
+ } catch(e){
946
+ try {
947
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
948
+ return cachedSetTimeout.call(null, fun, 0);
949
+ } catch(e){
950
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
951
+ return cachedSetTimeout.call(this, fun, 0);
952
+ }
953
+ }
954
+
955
+
956
+ }
957
+ function runClearTimeout(marker) {
958
+ if (cachedClearTimeout === clearTimeout) {
959
+ //normal enviroments in sane situations
960
+ return clearTimeout(marker);
961
+ }
962
+ // if clearTimeout wasn't available but was latter defined
963
+ if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
964
+ cachedClearTimeout = clearTimeout;
965
+ return clearTimeout(marker);
966
+ }
967
+ try {
968
+ // when when somebody has screwed with setTimeout but no I.E. maddness
969
+ return cachedClearTimeout(marker);
970
+ } catch (e){
971
+ try {
972
+ // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
973
+ return cachedClearTimeout.call(null, marker);
974
+ } catch (e){
975
+ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
976
+ // Some versions of I.E. have different rules for clearTimeout vs setTimeout
977
+ return cachedClearTimeout.call(this, marker);
978
+ }
979
+ }
980
+
981
+
982
+
983
+ }
984
+ var queue = [];
985
+ var draining = false;
986
+ var currentQueue;
987
+ var queueIndex = -1;
988
+
989
+ function cleanUpNextTick() {
990
+ if (!draining || !currentQueue) {
991
+ return;
992
+ }
993
+ draining = false;
994
+ if (currentQueue.length) {
995
+ queue = currentQueue.concat(queue);
996
+ } else {
997
+ queueIndex = -1;
998
+ }
999
+ if (queue.length) {
1000
+ drainQueue();
1001
+ }
1002
+ }
1003
+
1004
+ function drainQueue() {
1005
+ if (draining) {
1006
+ return;
1007
+ }
1008
+ var timeout = runTimeout(cleanUpNextTick);
1009
+ draining = true;
1010
+
1011
+ var len = queue.length;
1012
+ while(len) {
1013
+ currentQueue = queue;
1014
+ queue = [];
1015
+ while (++queueIndex < len) {
1016
+ if (currentQueue) {
1017
+ currentQueue[queueIndex].run();
1018
+ }
1019
+ }
1020
+ queueIndex = -1;
1021
+ len = queue.length;
1022
+ }
1023
+ currentQueue = null;
1024
+ draining = false;
1025
+ runClearTimeout(timeout);
1026
+ }
1027
+ function nextTick(fun) {
1028
+ var args = new Array(arguments.length - 1);
1029
+ if (arguments.length > 1) {
1030
+ for (var i = 1; i < arguments.length; i++) {
1031
+ args[i - 1] = arguments[i];
1032
+ }
1033
+ }
1034
+ queue.push(new Item(fun, args));
1035
+ if (queue.length === 1 && !draining) {
1036
+ runTimeout(drainQueue);
1037
+ }
1038
+ }
1039
+ // v8 likes predictible objects
1040
+ function Item(fun, array) {
1041
+ this.fun = fun;
1042
+ this.array = array;
1043
+ }
1044
+ Item.prototype.run = function () {
1045
+ this.fun.apply(null, this.array);
1046
+ };
1047
+ var title = 'browser';
1048
+ var platform = 'browser';
1049
+ var browser = true;
1050
+ var env = {};
1051
+ var argv = [];
1052
+ var version = ''; // empty string to avoid regexp issues
1053
+ var versions = {};
1054
+ var release = {};
1055
+ var config = {};
1056
+
1057
+ function noop() {}
1058
+
1059
+ var on = noop;
1060
+ var addListener = noop;
1061
+ var once = noop;
1062
+ var off = noop;
1063
+ var removeListener = noop;
1064
+ var removeAllListeners = noop;
1065
+ var emit = noop;
1066
+
1067
+ function binding(name) {
1068
+ throw new Error('process.binding is not supported');
1069
+ }
1070
+
1071
+ function cwd () { return '/' }
1072
+ function chdir (dir) {
1073
+ throw new Error('process.chdir is not supported');
1074
+ }function umask() { return 0; }
915
1075
 
916
1076
  // from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
917
1077
  var performance = global.performance || {};
918
- performance.now ||
1078
+ var performanceNow =
1079
+ performance.now ||
919
1080
  performance.mozNow ||
920
1081
  performance.msNow ||
921
1082
  performance.oNow ||
922
1083
  performance.webkitNow ||
923
1084
  function(){ return (new Date()).getTime() };
924
1085
 
1086
+ // generate timestamp or delta
1087
+ // see http://nodejs.org/api/process.html#process_process_hrtime
1088
+ function hrtime(previousTimestamp){
1089
+ var clocktime = performanceNow.call(performance)*1e-3;
1090
+ var seconds = Math.floor(clocktime);
1091
+ var nanoseconds = Math.floor((clocktime%1)*1e9);
1092
+ if (previousTimestamp) {
1093
+ seconds = seconds - previousTimestamp[0];
1094
+ nanoseconds = nanoseconds - previousTimestamp[1];
1095
+ if (nanoseconds<0) {
1096
+ seconds--;
1097
+ nanoseconds += 1e9;
1098
+ }
1099
+ }
1100
+ return [seconds,nanoseconds]
1101
+ }
1102
+
1103
+ var startTime = new Date();
1104
+ function uptime() {
1105
+ var currentTime = new Date();
1106
+ var dif = currentTime - startTime;
1107
+ return dif / 1000;
1108
+ }
1109
+
1110
+ var process$1 = {
1111
+ nextTick: nextTick,
1112
+ title: title,
1113
+ browser: browser,
1114
+ env: env,
1115
+ argv: argv,
1116
+ version: version,
1117
+ versions: versions,
1118
+ on: on,
1119
+ addListener: addListener,
1120
+ once: once,
1121
+ off: off,
1122
+ removeListener: removeListener,
1123
+ removeAllListeners: removeAllListeners,
1124
+ emit: emit,
1125
+ binding: binding,
1126
+ cwd: cwd,
1127
+ chdir: chdir,
1128
+ umask: umask,
1129
+ hrtime: hrtime,
1130
+ platform: platform,
1131
+ release: release,
1132
+ config: config,
1133
+ uptime: uptime
1134
+ };
1135
+
925
1136
  var inherits;
926
1137
  if (typeof Object.create === 'function'){
927
1138
  inherits = function inherits(ctor, superCtor) {
@@ -998,10 +1209,18 @@ function deprecate(fn, msg) {
998
1209
  };
999
1210
  }
1000
1211
 
1212
+ if (process$1.noDeprecation === true) {
1213
+ return fn;
1214
+ }
1215
+
1001
1216
  var warned = false;
1002
1217
  function deprecated() {
1003
1218
  if (!warned) {
1004
- {
1219
+ if (process$1.throwDeprecation) {
1220
+ throw new Error(msg);
1221
+ } else if (process$1.traceDeprecation) {
1222
+ console.trace(msg);
1223
+ } else {
1005
1224
  console.error(msg);
1006
1225
  }
1007
1226
  warned = true;
@@ -1016,7 +1235,7 @@ var debugs = {};
1016
1235
  var debugEnviron;
1017
1236
  function debuglog(set) {
1018
1237
  if (isUndefined(debugEnviron))
1019
- debugEnviron = '';
1238
+ debugEnviron = process$1.env.NODE_DEBUG || '';
1020
1239
  set = set.toUpperCase();
1021
1240
  if (!debugs[set]) {
1022
1241
  if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
@@ -1763,7 +1982,7 @@ var src = createCommonjsModule(function (module) {
1763
1982
  */
1764
1983
 
1765
1984
  if (typeof process !== 'undefined' && process.type === 'renderer') {
1766
- module.exports = browser;
1985
+ module.exports = browser$1;
1767
1986
  } else {
1768
1987
  module.exports = node;
1769
1988
  }