@openedx/frontend-build 13.0.15

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 (231) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +10 -0
  3. package/.github/workflows/add-depr-ticket-to-depr-board.yml +19 -0
  4. package/.github/workflows/add-remove-label-on-comment.yml +20 -0
  5. package/.github/workflows/ci.yml +30 -0
  6. package/.github/workflows/commitlint.yml +10 -0
  7. package/.github/workflows/lockfileversion-check.yml +13 -0
  8. package/.github/workflows/release.yml +34 -0
  9. package/.github/workflows/self-assign-issue.yml +12 -0
  10. package/.github/workflows/sync-master-alpha.yml +35 -0
  11. package/.nvmrc +1 -0
  12. package/LICENSE +661 -0
  13. package/README.md +295 -0
  14. package/bin/fedx-scripts.js +88 -0
  15. package/config/.eslintrc.js +45 -0
  16. package/config/babel-preserve-modules.config.js +30 -0
  17. package/config/babel-typescript.config.js +5 -0
  18. package/config/babel.config.js +41 -0
  19. package/config/getLocalAliases.js +67 -0
  20. package/config/jest/fallback.env.config.js +12 -0
  21. package/config/jest/fileMock.js +1 -0
  22. package/config/jest/setupTest.js +10 -0
  23. package/config/jest/svgrMock.js +4 -0
  24. package/config/jest.config.js +43 -0
  25. package/config/webpack.common.config.js +40 -0
  26. package/config/webpack.dev-stage.config.js +191 -0
  27. package/config/webpack.dev.config.js +193 -0
  28. package/config/webpack.prod.config.js +219 -0
  29. package/coverage/clover.xml +6 -0
  30. package/coverage/coverage-final.json +1 -0
  31. package/coverage/lcov-report/base.css +224 -0
  32. package/coverage/lcov-report/block-navigation.js +87 -0
  33. package/coverage/lcov-report/favicon.png +0 -0
  34. package/coverage/lcov-report/index.html +101 -0
  35. package/coverage/lcov-report/prettify.css +1 -0
  36. package/coverage/lcov-report/prettify.js +2 -0
  37. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  38. package/coverage/lcov-report/sorter.js +196 -0
  39. package/coverage/lcov.info +0 -0
  40. package/docs/0001-non-usage-of-gatsby.rst +37 -0
  41. package/docs/0002-js-environment-config.md +47 -0
  42. package/docs/0003-fedx-scripts-serve.md +37 -0
  43. package/example/.env +0 -0
  44. package/example/.env.development +3 -0
  45. package/example/.env.test +2 -0
  46. package/example/.eslintignore +5 -0
  47. package/example/.eslintrc.js +3 -0
  48. package/example/dist/6.215b56a13e78398da5e3.js +3 -0
  49. package/example/dist/6.215b56a13e78398da5e3.js.LICENSE.txt +41 -0
  50. package/example/dist/6.215b56a13e78398da5e3.js.map +1 -0
  51. package/example/dist/app.80862a4da69beb9b3c51.css +3 -0
  52. package/example/dist/app.80862a4da69beb9b3c51.css.map +1 -0
  53. package/example/dist/app.80862a4da69beb9b3c51.js +2 -0
  54. package/example/dist/app.80862a4da69beb9b3c51.js.map +1 -0
  55. package/example/dist/b04e4301608fdcff39abf8f70b4a7de6.jpg +0 -0
  56. package/example/dist/babel/App.js +85 -0
  57. package/example/dist/babel/App.js.map +1 -0
  58. package/example/dist/babel/App.test.jsx +11 -0
  59. package/example/dist/babel/__snapshots__/App.test.jsx.snap +108 -0
  60. package/example/dist/babel/apple.jpg +0 -0
  61. package/example/dist/babel/apple.svg +1 -0
  62. package/example/dist/babel/index.js +13 -0
  63. package/example/dist/babel/index.js.map +1 -0
  64. package/example/dist/babel/style.scss +9 -0
  65. package/example/dist/cb28cdb1468c915e27e5cec9af64f22f.svg +1 -0
  66. package/example/dist/index.html +4 -0
  67. package/example/dist/report.html +39 -0
  68. package/example/dist/runtime.3eabd67eaf067d6c2f46.js +2 -0
  69. package/example/dist/runtime.3eabd67eaf067d6c2f46.js.map +1 -0
  70. package/example/env.config.js +6 -0
  71. package/example/node_modules/.package-lock.json +98 -0
  72. package/example/node_modules/js-tokens/CHANGELOG.md +151 -0
  73. package/example/node_modules/js-tokens/LICENSE +21 -0
  74. package/example/node_modules/js-tokens/README.md +240 -0
  75. package/example/node_modules/js-tokens/index.js +23 -0
  76. package/example/node_modules/js-tokens/package.json +30 -0
  77. package/example/node_modules/loose-envify/LICENSE +21 -0
  78. package/example/node_modules/loose-envify/README.md +45 -0
  79. package/example/node_modules/loose-envify/cli.js +16 -0
  80. package/example/node_modules/loose-envify/custom.js +4 -0
  81. package/example/node_modules/loose-envify/index.js +3 -0
  82. package/example/node_modules/loose-envify/loose-envify.js +36 -0
  83. package/example/node_modules/loose-envify/package.json +36 -0
  84. package/example/node_modules/loose-envify/replace.js +65 -0
  85. package/example/node_modules/object-assign/index.js +90 -0
  86. package/example/node_modules/object-assign/license +21 -0
  87. package/example/node_modules/object-assign/package.json +42 -0
  88. package/example/node_modules/object-assign/readme.md +61 -0
  89. package/example/node_modules/prop-types/LICENSE +21 -0
  90. package/example/node_modules/prop-types/README.md +302 -0
  91. package/example/node_modules/prop-types/checkPropTypes.js +103 -0
  92. package/example/node_modules/prop-types/factory.js +19 -0
  93. package/example/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
  94. package/example/node_modules/prop-types/factoryWithTypeCheckers.js +610 -0
  95. package/example/node_modules/prop-types/index.js +19 -0
  96. package/example/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
  97. package/example/node_modules/prop-types/lib/has.js +1 -0
  98. package/example/node_modules/prop-types/package.json +60 -0
  99. package/example/node_modules/prop-types/prop-types.js +1315 -0
  100. package/example/node_modules/prop-types/prop-types.min.js +1 -0
  101. package/example/node_modules/react/LICENSE +21 -0
  102. package/example/node_modules/react/README.md +13 -0
  103. package/example/node_modules/react/build-info.json +8 -0
  104. package/example/node_modules/react/cjs/react-jsx-dev-runtime.development.js +889 -0
  105. package/example/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
  106. package/example/node_modules/react/cjs/react-jsx-runtime.development.js +911 -0
  107. package/example/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
  108. package/example/node_modules/react/cjs/react.development.js +1912 -0
  109. package/example/node_modules/react/cjs/react.production.min.js +25 -0
  110. package/example/node_modules/react/index.js +7 -0
  111. package/example/node_modules/react/jsx-dev-runtime.js +7 -0
  112. package/example/node_modules/react/jsx-runtime.js +7 -0
  113. package/example/node_modules/react/package.json +44 -0
  114. package/example/node_modules/react/umd/react.development.js +3318 -0
  115. package/example/node_modules/react/umd/react.production.min.js +32 -0
  116. package/example/node_modules/react/umd/react.profiling.min.js +39 -0
  117. package/example/node_modules/react-dom/LICENSE +21 -0
  118. package/example/node_modules/react-dom/README.md +54 -0
  119. package/example/node_modules/react-dom/build-info.json +8 -0
  120. package/example/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4043 -0
  121. package/example/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +54 -0
  122. package/example/node_modules/react-dom/cjs/react-dom-server.node.development.js +4085 -0
  123. package/example/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +55 -0
  124. package/example/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1480 -0
  125. package/example/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +35 -0
  126. package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.browser.development.js +141 -0
  127. package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js +11 -0
  128. package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.node.development.js +162 -0
  129. package/example/node_modules/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js +12 -0
  130. package/example/node_modules/react-dom/cjs/react-dom-unstable-native-dependencies.development.js +1629 -0
  131. package/example/node_modules/react-dom/cjs/react-dom-unstable-native-dependencies.production.min.js +31 -0
  132. package/example/node_modules/react-dom/cjs/react-dom.development.js +25012 -0
  133. package/example/node_modules/react-dom/cjs/react-dom.production.min.js +292 -0
  134. package/example/node_modules/react-dom/cjs/react-dom.profiling.min.js +299 -0
  135. package/example/node_modules/react-dom/index.js +38 -0
  136. package/example/node_modules/react-dom/package.json +60 -0
  137. package/example/node_modules/react-dom/profiling.js +38 -0
  138. package/example/node_modules/react-dom/server.browser.js +7 -0
  139. package/example/node_modules/react-dom/server.js +3 -0
  140. package/example/node_modules/react-dom/server.node.js +7 -0
  141. package/example/node_modules/react-dom/test-utils.js +7 -0
  142. package/example/node_modules/react-dom/umd/react-dom-server.browser.development.js +4147 -0
  143. package/example/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +45 -0
  144. package/example/node_modules/react-dom/umd/react-dom-test-utils.development.js +1499 -0
  145. package/example/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +30 -0
  146. package/example/node_modules/react-dom/umd/react-dom-unstable-fizz.browser.development.js +141 -0
  147. package/example/node_modules/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js +10 -0
  148. package/example/node_modules/react-dom/umd/react-dom-unstable-native-dependencies.development.js +1628 -0
  149. package/example/node_modules/react-dom/umd/react-dom-unstable-native-dependencies.production.min.js +28 -0
  150. package/example/node_modules/react-dom/umd/react-dom.development.js +25147 -0
  151. package/example/node_modules/react-dom/umd/react-dom.production.min.js +239 -0
  152. package/example/node_modules/react-dom/umd/react-dom.profiling.min.js +247 -0
  153. package/example/node_modules/react-dom/unstable-fizz.browser.js +7 -0
  154. package/example/node_modules/react-dom/unstable-fizz.js +3 -0
  155. package/example/node_modules/react-dom/unstable-fizz.node.js +7 -0
  156. package/example/node_modules/react-dom/unstable-native-dependencies.js +7 -0
  157. package/example/node_modules/react-is/LICENSE +21 -0
  158. package/example/node_modules/react-is/README.md +104 -0
  159. package/example/node_modules/react-is/build-info.json +8 -0
  160. package/example/node_modules/react-is/cjs/react-is.development.js +181 -0
  161. package/example/node_modules/react-is/cjs/react-is.production.min.js +15 -0
  162. package/example/node_modules/react-is/index.js +7 -0
  163. package/example/node_modules/react-is/package.json +27 -0
  164. package/example/node_modules/react-is/umd/react-is.development.js +181 -0
  165. package/example/node_modules/react-is/umd/react-is.production.min.js +13 -0
  166. package/example/node_modules/react-test-renderer/LICENSE +21 -0
  167. package/example/node_modules/react-test-renderer/README.md +26 -0
  168. package/example/node_modules/react-test-renderer/build-info.json +8 -0
  169. package/example/node_modules/react-test-renderer/cjs/react-test-renderer-shallow.development.js +1019 -0
  170. package/example/node_modules/react-test-renderer/cjs/react-test-renderer-shallow.production.min.js +35 -0
  171. package/example/node_modules/react-test-renderer/cjs/react-test-renderer.development.js +15596 -0
  172. package/example/node_modules/react-test-renderer/cjs/react-test-renderer.production.min.js +181 -0
  173. package/example/node_modules/react-test-renderer/index.js +7 -0
  174. package/example/node_modules/react-test-renderer/package.json +41 -0
  175. package/example/node_modules/react-test-renderer/shallow.js +7 -0
  176. package/example/node_modules/react-test-renderer/umd/react-test-renderer-shallow.development.js +1176 -0
  177. package/example/node_modules/react-test-renderer/umd/react-test-renderer-shallow.production.min.js +31 -0
  178. package/example/node_modules/react-test-renderer/umd/react-test-renderer.development.js +15709 -0
  179. package/example/node_modules/react-test-renderer/umd/react-test-renderer.production.min.js +151 -0
  180. package/example/node_modules/scheduler/LICENSE +21 -0
  181. package/example/node_modules/scheduler/README.md +9 -0
  182. package/example/node_modules/scheduler/build-info.json +8 -0
  183. package/example/node_modules/scheduler/cjs/scheduler-tracing.development.js +349 -0
  184. package/example/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +10 -0
  185. package/example/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +17 -0
  186. package/example/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +857 -0
  187. package/example/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +20 -0
  188. package/example/node_modules/scheduler/cjs/scheduler.development.js +858 -0
  189. package/example/node_modules/scheduler/cjs/scheduler.production.min.js +21 -0
  190. package/example/node_modules/scheduler/index.js +7 -0
  191. package/example/node_modules/scheduler/package.json +39 -0
  192. package/example/node_modules/scheduler/tracing-profiling.js +7 -0
  193. package/example/node_modules/scheduler/tracing.js +7 -0
  194. package/example/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  195. package/example/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  196. package/example/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  197. package/example/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +857 -0
  198. package/example/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +17 -0
  199. package/example/node_modules/scheduler/umd/scheduler.development.js +152 -0
  200. package/example/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  201. package/example/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  202. package/example/node_modules/scheduler/unstable_mock.js +7 -0
  203. package/example/package-lock.json +110 -0
  204. package/example/package.json +24 -0
  205. package/example/public/index.html +13 -0
  206. package/example/src/App.jsx +40 -0
  207. package/example/src/App.test.jsx +11 -0
  208. package/example/src/__snapshots__/App.test.jsx.snap +108 -0
  209. package/example/src/apple.jpg +0 -0
  210. package/example/src/apple.svg +1 -0
  211. package/example/src/index.jsx +13 -0
  212. package/example/src/style.scss +9 -0
  213. package/index.js +7 -0
  214. package/lib/ConfigPreset.js +28 -0
  215. package/lib/createConfig.js +7 -0
  216. package/lib/formatter.js +10 -0
  217. package/lib/getBaseConfig.js +9 -0
  218. package/lib/plugins/html-webpack-new-relic-plugin/HtmlWebpackNewRelicPlugin.js +86 -0
  219. package/lib/plugins/html-webpack-new-relic-plugin/LICENSE +21 -0
  220. package/lib/plugins/html-webpack-new-relic-plugin/README.md +7 -0
  221. package/lib/plugins/html-webpack-new-relic-plugin/index.js +3 -0
  222. package/lib/plugins/html-webpack-new-relic-plugin/test/HtmlWebpackNewRelicPlugin.test.js +80 -0
  223. package/lib/plugins/html-webpack-new-relic-plugin/test/fixtures/entry.js +1 -0
  224. package/lib/presets.js +75 -0
  225. package/lib/resolveFilepaths.js +14 -0
  226. package/lib/resolvePrivateEnvConfig.js +15 -0
  227. package/lib/scripts/serve.js +78 -0
  228. package/openedx.yaml +10 -0
  229. package/package.json +95 -0
  230. package/renovate.json +22 -0
  231. package/smoke-test.sh +11 -0
@@ -0,0 +1,21 @@
1
+ /** @license React v0.19.1
2
+ * scheduler.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';var f,g,h,k,l;
11
+ if("undefined"===typeof window||"function"!==typeof MessageChannel){var p=null,q=null,t=function(){if(null!==p)try{var a=exports.unstable_now();p(!0,a);p=null}catch(b){throw setTimeout(t,0),b;}},u=Date.now();exports.unstable_now=function(){return Date.now()-u};f=function(a){null!==p?setTimeout(f,0,a):(p=a,setTimeout(t,0))};g=function(a,b){q=setTimeout(a,b)};h=function(){clearTimeout(q)};k=function(){return!1};l=exports.unstable_forceFrameRate=function(){}}else{var w=window.performance,x=window.Date,
12
+ y=window.setTimeout,z=window.clearTimeout;if("undefined"!==typeof console){var A=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");"function"!==typeof A&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===
13
+ typeof w&&"function"===typeof w.now)exports.unstable_now=function(){return w.now()};else{var B=x.now();exports.unstable_now=function(){return x.now()-B}}var C=!1,D=null,E=-1,F=5,G=0;k=function(){return exports.unstable_now()>=G};l=function(){};exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):F=0<a?Math.floor(1E3/a):5};var H=new MessageChannel,I=H.port2;H.port1.onmessage=
14
+ function(){if(null!==D){var a=exports.unstable_now();G=a+F;try{D(!0,a)?I.postMessage(null):(C=!1,D=null)}catch(b){throw I.postMessage(null),b;}}else C=!1};f=function(a){D=a;C||(C=!0,I.postMessage(null))};g=function(a,b){E=y(function(){a(exports.unstable_now())},b)};h=function(){z(E);E=-1}}function J(a,b){var c=a.length;a.push(b);a:for(;;){var d=c-1>>>1,e=a[d];if(void 0!==e&&0<K(e,b))a[d]=b,a[c]=e,c=d;else break a}}function L(a){a=a[0];return void 0===a?null:a}
15
+ function M(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var m=2*(d+1)-1,n=a[m],v=m+1,r=a[v];if(void 0!==n&&0>K(n,c))void 0!==r&&0>K(r,n)?(a[d]=r,a[v]=c,d=v):(a[d]=n,a[m]=c,d=m);else if(void 0!==r&&0>K(r,c))a[d]=r,a[v]=c,d=v;else break a}}return b}return null}function K(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}var N=[],O=[],P=1,Q=null,R=3,S=!1,T=!1,U=!1;
16
+ function V(a){for(var b=L(O);null!==b;){if(null===b.callback)M(O);else if(b.startTime<=a)M(O),b.sortIndex=b.expirationTime,J(N,b);else break;b=L(O)}}function W(a){U=!1;V(a);if(!T)if(null!==L(N))T=!0,f(X);else{var b=L(O);null!==b&&g(W,b.startTime-a)}}
17
+ function X(a,b){T=!1;U&&(U=!1,h());S=!0;var c=R;try{V(b);for(Q=L(N);null!==Q&&(!(Q.expirationTime>b)||a&&!k());){var d=Q.callback;if(null!==d){Q.callback=null;R=Q.priorityLevel;var e=d(Q.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?Q.callback=e:Q===L(N)&&M(N);V(b)}else M(N);Q=L(N)}if(null!==Q)var m=!0;else{var n=L(O);null!==n&&g(W,n.startTime-b);m=!1}return m}finally{Q=null,R=c,S=!1}}
18
+ function Y(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var Z=l;exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null};exports.unstable_continueExecution=function(){T||S||(T=!0,f(X))};
19
+ exports.unstable_getCurrentPriorityLevel=function(){return R};exports.unstable_getFirstCallbackNode=function(){return L(N)};exports.unstable_next=function(a){switch(R){case 1:case 2:case 3:var b=3;break;default:b=R}var c=R;R=b;try{return a()}finally{R=c}};exports.unstable_pauseExecution=function(){};exports.unstable_requestPaint=Z;exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=R;R=a;try{return b()}finally{R=c}};
20
+ exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:Y(a)}else c=Y(a),e=d;c=e+c;a={id:P++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,J(O,a),null===L(N)&&a===L(O)&&(U?h():U=!0,g(W,e-d))):(a.sortIndex=c,J(N,a),T||S||(T=!0,f(X)));return a};
21
+ exports.unstable_shouldYield=function(){var a=exports.unstable_now();V(a);var b=L(N);return b!==Q&&null!==Q&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<Q.expirationTime||k()};exports.unstable_wrapCallback=function(a){var b=R;return function(){var c=R;R=b;try{return a.apply(this,arguments)}finally{R=c}}};
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./cjs/scheduler.production.min.js');
5
+ } else {
6
+ module.exports = require('./cjs/scheduler.development.js');
7
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "scheduler",
3
+ "version": "0.19.1",
4
+ "description": "Cooperative scheduler for the browser environment.",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/facebook/react.git",
9
+ "directory": "packages/scheduler"
10
+ },
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "react"
14
+ ],
15
+ "bugs": {
16
+ "url": "https://github.com/facebook/react/issues"
17
+ },
18
+ "homepage": "https://reactjs.org/",
19
+ "dependencies": {
20
+ "loose-envify": "^1.1.0",
21
+ "object-assign": "^4.1.1"
22
+ },
23
+ "files": [
24
+ "LICENSE",
25
+ "README.md",
26
+ "build-info.json",
27
+ "index.js",
28
+ "tracing.js",
29
+ "tracing-profiling.js",
30
+ "unstable_mock.js",
31
+ "cjs/",
32
+ "umd/"
33
+ ],
34
+ "browserify": {
35
+ "transform": [
36
+ "loose-envify"
37
+ ]
38
+ }
39
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./cjs/scheduler-tracing.profiling.min.js');
5
+ } else {
6
+ module.exports = require('./cjs/scheduler-tracing.development.js');
7
+ }
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === 'production') {
4
+ module.exports = require('./cjs/scheduler-tracing.production.min.js');
5
+ } else {
6
+ module.exports = require('./cjs/scheduler-tracing.development.js');
7
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @license React
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';
11
+
12
+ (function(global, factory) {
13
+ // eslint-disable-next-line no-unused-expressions
14
+ typeof exports === 'object' && typeof module !== 'undefined'
15
+ ? (module.exports = factory(require('react')))
16
+ : typeof define === 'function' && define.amd // eslint-disable-line no-undef
17
+ ? define(['react'], factory) // eslint-disable-line no-undef
18
+ : (global.SchedulerTracing = factory(global));
19
+ })(this, function(global) {
20
+ function unstable_clear() {
21
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
22
+ this,
23
+ arguments
24
+ );
25
+ }
26
+
27
+ function unstable_getCurrent() {
28
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
29
+ this,
30
+ arguments
31
+ );
32
+ }
33
+
34
+ function unstable_getThreadID() {
35
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
36
+ this,
37
+ arguments
38
+ );
39
+ }
40
+
41
+ function unstable_subscribe() {
42
+ // eslint-disable-next-line max-len
43
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
44
+ this,
45
+ arguments
46
+ );
47
+ }
48
+
49
+ function unstable_trace() {
50
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
51
+ this,
52
+ arguments
53
+ );
54
+ }
55
+
56
+ function unstable_unsubscribe() {
57
+ // eslint-disable-next-line max-len
58
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
59
+ this,
60
+ arguments
61
+ );
62
+ }
63
+
64
+ function unstable_wrap() {
65
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
66
+ this,
67
+ arguments
68
+ );
69
+ }
70
+
71
+ return Object.freeze({
72
+ unstable_clear: unstable_clear,
73
+ unstable_getCurrent: unstable_getCurrent,
74
+ unstable_getThreadID: unstable_getThreadID,
75
+ unstable_subscribe: unstable_subscribe,
76
+ unstable_trace: unstable_trace,
77
+ unstable_unsubscribe: unstable_unsubscribe,
78
+ unstable_wrap: unstable_wrap,
79
+ });
80
+ });
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @license React
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';
11
+
12
+ (function(global, factory) {
13
+ // eslint-disable-next-line no-unused-expressions
14
+ typeof exports === 'object' && typeof module !== 'undefined'
15
+ ? (module.exports = factory(require('react')))
16
+ : typeof define === 'function' && define.amd // eslint-disable-line no-undef
17
+ ? define(['react'], factory) // eslint-disable-line no-undef
18
+ : (global.SchedulerTracing = factory(global));
19
+ })(this, function(global) {
20
+ function unstable_clear() {
21
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
22
+ this,
23
+ arguments
24
+ );
25
+ }
26
+
27
+ function unstable_getCurrent() {
28
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
29
+ this,
30
+ arguments
31
+ );
32
+ }
33
+
34
+ function unstable_getThreadID() {
35
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
36
+ this,
37
+ arguments
38
+ );
39
+ }
40
+
41
+ function unstable_subscribe() {
42
+ // eslint-disable-next-line max-len
43
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
44
+ this,
45
+ arguments
46
+ );
47
+ }
48
+
49
+ function unstable_trace() {
50
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
51
+ this,
52
+ arguments
53
+ );
54
+ }
55
+
56
+ function unstable_unsubscribe() {
57
+ // eslint-disable-next-line max-len
58
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
59
+ this,
60
+ arguments
61
+ );
62
+ }
63
+
64
+ function unstable_wrap() {
65
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
66
+ this,
67
+ arguments
68
+ );
69
+ }
70
+
71
+ return Object.freeze({
72
+ unstable_clear: unstable_clear,
73
+ unstable_getCurrent: unstable_getCurrent,
74
+ unstable_getThreadID: unstable_getThreadID,
75
+ unstable_subscribe: unstable_subscribe,
76
+ unstable_trace: unstable_trace,
77
+ unstable_unsubscribe: unstable_unsubscribe,
78
+ unstable_wrap: unstable_wrap,
79
+ });
80
+ });
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @license React
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';
11
+
12
+ (function(global, factory) {
13
+ // eslint-disable-next-line no-unused-expressions
14
+ typeof exports === 'object' && typeof module !== 'undefined'
15
+ ? (module.exports = factory(require('react')))
16
+ : typeof define === 'function' && define.amd // eslint-disable-line no-undef
17
+ ? define(['react'], factory) // eslint-disable-line no-undef
18
+ : (global.SchedulerTracing = factory(global));
19
+ })(this, function(global) {
20
+ function unstable_clear() {
21
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_clear.apply(
22
+ this,
23
+ arguments
24
+ );
25
+ }
26
+
27
+ function unstable_getCurrent() {
28
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getCurrent.apply(
29
+ this,
30
+ arguments
31
+ );
32
+ }
33
+
34
+ function unstable_getThreadID() {
35
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_getThreadID.apply(
36
+ this,
37
+ arguments
38
+ );
39
+ }
40
+
41
+ function unstable_subscribe() {
42
+ // eslint-disable-next-line max-len
43
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_subscribe.apply(
44
+ this,
45
+ arguments
46
+ );
47
+ }
48
+
49
+ function unstable_trace() {
50
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_trace.apply(
51
+ this,
52
+ arguments
53
+ );
54
+ }
55
+
56
+ function unstable_unsubscribe() {
57
+ // eslint-disable-next-line max-len
58
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_unsubscribe.apply(
59
+ this,
60
+ arguments
61
+ );
62
+ }
63
+
64
+ function unstable_wrap() {
65
+ return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.SchedulerTracing.unstable_wrap.apply(
66
+ this,
67
+ arguments
68
+ );
69
+ }
70
+
71
+ return Object.freeze({
72
+ unstable_clear: unstable_clear,
73
+ unstable_getCurrent: unstable_getCurrent,
74
+ unstable_getThreadID: unstable_getThreadID,
75
+ unstable_subscribe: unstable_subscribe,
76
+ unstable_trace: unstable_trace,
77
+ unstable_unsubscribe: unstable_unsubscribe,
78
+ unstable_wrap: unstable_wrap,
79
+ });
80
+ });