@mjhls/mjh-framework 1.0.1081 → 1.0.1082-404-v4
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/README.md +1 -1
- package/dist/cjs/AlgoliaSearch.js +468 -196
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/AuthWrapper.js +233 -609
- package/dist/cjs/CEDeckSupabase.js +1 -5
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +1 -1
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +1 -1
- package/dist/cjs/EventsDeck.js +2 -2
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +2 -2
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-7c995858.js} +6 -11
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/MasterDeck.js +1 -1
- package/dist/cjs/MediaSeriesCard.js +3 -3
- package/dist/cjs/MediaSeriesLanding.js +6 -6
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +5 -5
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -5
- package/dist/cjs/PodcastsLanding.js +4 -4
- package/dist/cjs/PtceDeck.js +1 -1
- package/dist/cjs/PubSection.js +1 -1
- package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-4b68e0db.js} +1 -1
- package/dist/cjs/QueueDeckExpanded.js +1 -1
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-b8516cbf.js} +107 -61
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +11 -7
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-35faab67.js} +3 -3
- package/dist/cjs/{defineProperty-e0fb52c5.js → defineProperty-19580e93.js} +2 -4
- package/dist/cjs/getQuery.js +0 -1
- package/dist/cjs/getRelatedArticle.js +33 -15
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{index-4fdedd6a.js → index-171e9e82.js} +233 -14
- package/dist/cjs/index-3177f564.js +1573 -0
- package/dist/cjs/{index-50be6759.js → index-ff83a88b.js} +13 -14
- package/dist/cjs/index.js +8 -9
- package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/esm/AlgoliaSearch.js +468 -196
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/AuthWrapper.js +232 -608
- package/dist/esm/CEDeckSupabase.js +1 -5
- package/dist/esm/CMEDeck.js +1 -5
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +1 -1
- package/dist/esm/DeckContent.js +1 -1
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +1 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +4 -4
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridContentPaginated.js +2 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-75f7b81a.js} +6 -11
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueLanding.js +3 -3
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/MediaSeriesCard.js +3 -3
- package/dist/esm/MediaSeriesLanding.js +6 -6
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -6
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +1 -1
- package/dist/esm/PartnerDetailListing.js +5 -5
- package/dist/esm/PartnerDetailListingPaginated.js +5 -5
- package/dist/esm/PodcastsLanding.js +4 -4
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/{PublicationFeature-89b7afdb.js → PublicationFeature-6c334891.js} +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-fe0ed92d.js} +108 -62
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +11 -7
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
- package/dist/esm/{defineProperty-23a8f8cd.js → defineProperty-e8022d1e.js} +2 -4
- package/dist/esm/getQuery.js +0 -1
- package/dist/esm/getRelatedArticle.js +34 -16
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{index-de2bb37c.js → index-1d1bbc8c.js} +233 -14
- package/dist/esm/index-4550ef23.js +1571 -0
- package/dist/esm/{index-98ca9cec.js → index-c8d5e72b.js} +13 -14
- package/dist/esm/index.js +8 -9
- package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-96c331fd.js +0 -1572
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/index-30a6257d.js +0 -1570
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
}
|