Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', {
  3. value: true
  4. });
  5. Object.defineProperty(exports, 'clearLine', {
  6. enumerable: true,
  7. get: function () {
  8. return _clearLine.default;
  9. }
  10. });
  11. Object.defineProperty(exports, 'createDirectory', {
  12. enumerable: true,
  13. get: function () {
  14. return _createDirectory.default;
  15. }
  16. });
  17. Object.defineProperty(exports, 'ErrorWithStack', {
  18. enumerable: true,
  19. get: function () {
  20. return _ErrorWithStack.default;
  21. }
  22. });
  23. Object.defineProperty(exports, 'installCommonGlobals', {
  24. enumerable: true,
  25. get: function () {
  26. return _installCommonGlobals.default;
  27. }
  28. });
  29. Object.defineProperty(exports, 'interopRequireDefault', {
  30. enumerable: true,
  31. get: function () {
  32. return _interopRequireDefault.default;
  33. }
  34. });
  35. Object.defineProperty(exports, 'isInteractive', {
  36. enumerable: true,
  37. get: function () {
  38. return _isInteractive.default;
  39. }
  40. });
  41. Object.defineProperty(exports, 'isPromise', {
  42. enumerable: true,
  43. get: function () {
  44. return _isPromise.default;
  45. }
  46. });
  47. Object.defineProperty(exports, 'setGlobal', {
  48. enumerable: true,
  49. get: function () {
  50. return _setGlobal.default;
  51. }
  52. });
  53. Object.defineProperty(exports, 'deepCyclicCopy', {
  54. enumerable: true,
  55. get: function () {
  56. return _deepCyclicCopy.default;
  57. }
  58. });
  59. Object.defineProperty(exports, 'convertDescriptorToString', {
  60. enumerable: true,
  61. get: function () {
  62. return _convertDescriptorToString.default;
  63. }
  64. });
  65. Object.defineProperty(exports, 'replacePathSepForGlob', {
  66. enumerable: true,
  67. get: function () {
  68. return _replacePathSepForGlob.default;
  69. }
  70. });
  71. Object.defineProperty(exports, 'testPathPatternToRegExp', {
  72. enumerable: true,
  73. get: function () {
  74. return _testPathPatternToRegExp.default;
  75. }
  76. });
  77. Object.defineProperty(exports, 'globsToMatcher', {
  78. enumerable: true,
  79. get: function () {
  80. return _globsToMatcher.default;
  81. }
  82. });
  83. Object.defineProperty(exports, 'pluralize', {
  84. enumerable: true,
  85. get: function () {
  86. return _pluralize.default;
  87. }
  88. });
  89. Object.defineProperty(exports, 'formatTime', {
  90. enumerable: true,
  91. get: function () {
  92. return _formatTime.default;
  93. }
  94. });
  95. Object.defineProperty(exports, 'tryRealpath', {
  96. enumerable: true,
  97. get: function () {
  98. return _tryRealpath.default;
  99. }
  100. });
  101. Object.defineProperty(exports, 'requireOrImportModule', {
  102. enumerable: true,
  103. get: function () {
  104. return _requireOrImportModule.default;
  105. }
  106. });
  107. exports.preRunMessage = exports.specialChars = void 0;
  108. var _clearLine = _interopRequireDefault2(require('./clearLine'));
  109. var _createDirectory = _interopRequireDefault2(require('./createDirectory'));
  110. var _ErrorWithStack = _interopRequireDefault2(require('./ErrorWithStack'));
  111. var _installCommonGlobals = _interopRequireDefault2(
  112. require('./installCommonGlobals')
  113. );
  114. var _interopRequireDefault = _interopRequireDefault2(
  115. require('./interopRequireDefault')
  116. );
  117. var _isInteractive = _interopRequireDefault2(require('./isInteractive'));
  118. var _isPromise = _interopRequireDefault2(require('./isPromise'));
  119. var _setGlobal = _interopRequireDefault2(require('./setGlobal'));
  120. var _deepCyclicCopy = _interopRequireDefault2(require('./deepCyclicCopy'));
  121. var _convertDescriptorToString = _interopRequireDefault2(
  122. require('./convertDescriptorToString')
  123. );
  124. var _specialChars = _interopRequireWildcard(require('./specialChars'));
  125. exports.specialChars = _specialChars;
  126. var _replacePathSepForGlob = _interopRequireDefault2(
  127. require('./replacePathSepForGlob')
  128. );
  129. var _testPathPatternToRegExp = _interopRequireDefault2(
  130. require('./testPathPatternToRegExp')
  131. );
  132. var _globsToMatcher = _interopRequireDefault2(require('./globsToMatcher'));
  133. var _preRunMessage = _interopRequireWildcard(require('./preRunMessage'));
  134. exports.preRunMessage = _preRunMessage;
  135. var _pluralize = _interopRequireDefault2(require('./pluralize'));
  136. var _formatTime = _interopRequireDefault2(require('./formatTime'));
  137. var _tryRealpath = _interopRequireDefault2(require('./tryRealpath'));
  138. var _requireOrImportModule = _interopRequireDefault2(
  139. require('./requireOrImportModule')
  140. );
  141. function _getRequireWildcardCache(nodeInterop) {
  142. if (typeof WeakMap !== 'function') return null;
  143. var cacheBabelInterop = new WeakMap();
  144. var cacheNodeInterop = new WeakMap();
  145. return (_getRequireWildcardCache = function (nodeInterop) {
  146. return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
  147. })(nodeInterop);
  148. }
  149. function _interopRequireWildcard(obj, nodeInterop) {
  150. if (!nodeInterop && obj && obj.__esModule) {
  151. return obj;
  152. }
  153. if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
  154. return {default: obj};
  155. }
  156. var cache = _getRequireWildcardCache(nodeInterop);
  157. if (cache && cache.has(obj)) {
  158. return cache.get(obj);
  159. }
  160. var newObj = {};
  161. var hasPropertyDescriptor =
  162. Object.defineProperty && Object.getOwnPropertyDescriptor;
  163. for (var key in obj) {
  164. if (key !== 'default' && Object.prototype.hasOwnProperty.call(obj, key)) {
  165. var desc = hasPropertyDescriptor
  166. ? Object.getOwnPropertyDescriptor(obj, key)
  167. : null;
  168. if (desc && (desc.get || desc.set)) {
  169. Object.defineProperty(newObj, key, desc);
  170. } else {
  171. newObj[key] = obj[key];
  172. }
  173. }
  174. }
  175. newObj.default = obj;
  176. if (cache) {
  177. cache.set(obj, newObj);
  178. }
  179. return newObj;
  180. }
  181. function _interopRequireDefault2(obj) {
  182. return obj && obj.__esModule ? obj : {default: obj};
  183. }