ru.Bee 1.3.3 → 1.4.0
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.
- checksums.yaml +4 -4
- data/bin/rubee +36 -4
- data/lib/app/views/app.tsx +27 -0
- data/lib/app/views/index.html +47 -0
- data/lib/app/views/layout.erb +3 -3
- data/lib/app/views/utils/redirectToBackend.tsx +9 -0
- data/lib/app/views/welcome_show.erb +1 -1
- data/lib/config/base_configuration.rb +9 -0
- data/lib/config/routes.rb +1 -0
- data/lib/esbuild.config.js +33 -0
- data/lib/js/app.js +13 -0
- data/lib/js/app.js.map +7 -0
- data/lib/js/bundle.js +26157 -0
- data/lib/js/bundle.js.map +7 -0
- data/lib/node_modules/@types/cookie/LICENSE +21 -0
- data/lib/node_modules/@types/cookie/README.md +15 -0
- data/lib/node_modules/@types/cookie/index.d.ts +154 -0
- data/lib/node_modules/@types/cookie/package.json +30 -0
- data/lib/node_modules/cookie/LICENSE +24 -0
- data/lib/node_modules/cookie/README.md +248 -0
- data/lib/node_modules/cookie/dist/index.d.ts +114 -0
- data/lib/node_modules/cookie/dist/index.js +239 -0
- data/lib/node_modules/cookie/dist/index.js.map +1 -0
- data/lib/node_modules/cookie/package.json +42 -0
- data/lib/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/lib/node_modules/js-tokens/LICENSE +21 -0
- data/lib/node_modules/js-tokens/README.md +240 -0
- data/lib/node_modules/js-tokens/index.js +23 -0
- data/lib/node_modules/js-tokens/package.json +30 -0
- data/lib/node_modules/loose-envify/LICENSE +21 -0
- data/lib/node_modules/loose-envify/README.md +45 -0
- data/lib/node_modules/loose-envify/cli.js +16 -0
- data/lib/node_modules/loose-envify/custom.js +4 -0
- data/lib/node_modules/loose-envify/index.js +3 -0
- data/lib/node_modules/loose-envify/loose-envify.js +36 -0
- data/lib/node_modules/loose-envify/package.json +36 -0
- data/lib/node_modules/loose-envify/replace.js +65 -0
- data/lib/node_modules/react/LICENSE +21 -0
- data/lib/node_modules/react/README.md +37 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1315 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.development.js +1333 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
- data/lib/node_modules/react/cjs/react.development.js +2740 -0
- data/lib/node_modules/react/cjs/react.production.min.js +26 -0
- data/lib/node_modules/react/cjs/react.shared-subset.development.js +20 -0
- data/lib/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
- data/lib/node_modules/react/index.js +7 -0
- data/lib/node_modules/react/jsx-dev-runtime.js +7 -0
- data/lib/node_modules/react/jsx-runtime.js +7 -0
- data/lib/node_modules/react/package.json +47 -0
- data/lib/node_modules/react/react.shared-subset.js +7 -0
- data/lib/node_modules/react/umd/react.development.js +3343 -0
- data/lib/node_modules/react/umd/react.production.min.js +31 -0
- data/lib/node_modules/react/umd/react.profiling.min.js +31 -0
- data/lib/node_modules/react-dom/LICENSE +21 -0
- data/lib/node_modules/react-dom/README.md +60 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7029 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7093 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7014 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.node.development.js +7070 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
- data/lib/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1763 -0
- data/lib/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
- data/lib/node_modules/react-dom/cjs/react-dom.development.js +29923 -0
- data/lib/node_modules/react-dom/cjs/react-dom.production.min.js +322 -0
- data/lib/node_modules/react-dom/cjs/react-dom.profiling.min.js +366 -0
- data/lib/node_modules/react-dom/client.js +25 -0
- data/lib/node_modules/react-dom/index.js +38 -0
- data/lib/node_modules/react-dom/package.json +62 -0
- data/lib/node_modules/react-dom/profiling.js +38 -0
- data/lib/node_modules/react-dom/server.browser.js +17 -0
- data/lib/node_modules/react-dom/server.js +3 -0
- data/lib/node_modules/react-dom/server.node.js +17 -0
- data/lib/node_modules/react-dom/test-utils.js +7 -0
- data/lib/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7026 -0
- data/lib/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
- data/lib/node_modules/react-dom/umd/react-dom-server.browser.development.js +7011 -0
- data/lib/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
- data/lib/node_modules/react-dom/umd/react-dom-test-utils.development.js +1759 -0
- data/lib/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
- data/lib/node_modules/react-dom/umd/react-dom.development.js +29924 -0
- data/lib/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
- data/lib/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
- data/lib/node_modules/react-router/CHANGELOG.md +1526 -0
- data/lib/node_modules/react-router/LICENSE.md +23 -0
- data/lib/node_modules/react-router/README.md +7 -0
- data/lib/node_modules/react-router/dist/development/chunk-KNED5TY2.mjs +10476 -0
- data/lib/node_modules/react-router/dist/development/dom-export.d.mts +23 -0
- data/lib/node_modules/react-router/dist/development/dom-export.d.ts +23 -0
- data/lib/node_modules/react-router/dist/development/dom-export.js +6111 -0
- data/lib/node_modules/react-router/dist/development/dom-export.mjs +234 -0
- data/lib/node_modules/react-router/dist/development/fog-of-war-1hWhK5ey.d.mts +1690 -0
- data/lib/node_modules/react-router/dist/development/fog-of-war-oa9CGk10.d.ts +1690 -0
- data/lib/node_modules/react-router/dist/development/future-ldDp5FKH.d.mts +21 -0
- data/lib/node_modules/react-router/dist/development/future-ldDp5FKH.d.ts +21 -0
- data/lib/node_modules/react-router/dist/development/index.d.mts +841 -0
- data/lib/node_modules/react-router/dist/development/index.d.ts +841 -0
- data/lib/node_modules/react-router/dist/development/index.js +10624 -0
- data/lib/node_modules/react-router/dist/development/index.mjs +242 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.d.mts +209 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.d.ts +209 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.js +28 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.mjs +10 -0
- data/lib/node_modules/react-router/dist/development/route-data-5OzAzQtT.d.mts +1716 -0
- data/lib/node_modules/react-router/dist/development/route-data-5OzAzQtT.d.ts +1716 -0
- data/lib/node_modules/react-router/dist/production/chunk-ZIM7OIE3.mjs +10476 -0
- data/lib/node_modules/react-router/dist/production/dom-export.d.mts +23 -0
- data/lib/node_modules/react-router/dist/production/dom-export.d.ts +23 -0
- data/lib/node_modules/react-router/dist/production/dom-export.js +6111 -0
- data/lib/node_modules/react-router/dist/production/dom-export.mjs +234 -0
- data/lib/node_modules/react-router/dist/production/fog-of-war-1hWhK5ey.d.mts +1690 -0
- data/lib/node_modules/react-router/dist/production/fog-of-war-oa9CGk10.d.ts +1690 -0
- data/lib/node_modules/react-router/dist/production/future-ldDp5FKH.d.mts +21 -0
- data/lib/node_modules/react-router/dist/production/future-ldDp5FKH.d.ts +21 -0
- data/lib/node_modules/react-router/dist/production/index.d.mts +841 -0
- data/lib/node_modules/react-router/dist/production/index.d.ts +841 -0
- data/lib/node_modules/react-router/dist/production/index.js +10624 -0
- data/lib/node_modules/react-router/dist/production/index.mjs +242 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.d.mts +209 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.d.ts +209 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.js +28 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.mjs +10 -0
- data/lib/node_modules/react-router/dist/production/route-data-5OzAzQtT.d.mts +1716 -0
- data/lib/node_modules/react-router/dist/production/route-data-5OzAzQtT.d.ts +1716 -0
- data/lib/node_modules/react-router/package.json +116 -0
- data/lib/node_modules/react-router-dom/LICENSE.md +23 -0
- data/lib/node_modules/react-router-dom/README.md +6 -0
- data/lib/node_modules/react-router-dom/dist/index.d.mts +2 -0
- data/lib/node_modules/react-router-dom/dist/index.d.ts +2 -0
- data/lib/node_modules/react-router-dom/dist/index.js +45 -0
- data/lib/node_modules/react-router-dom/dist/index.mjs +18 -0
- data/lib/node_modules/react-router-dom/package.json +82 -0
- data/lib/node_modules/scheduler/LICENSE +21 -0
- data/lib/node_modules/scheduler/README.md +9 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +700 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +20 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +207 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +14 -0
- data/lib/node_modules/scheduler/cjs/scheduler.development.js +634 -0
- data/lib/node_modules/scheduler/cjs/scheduler.production.min.js +19 -0
- data/lib/node_modules/scheduler/index.js +7 -0
- data/lib/node_modules/scheduler/package.json +36 -0
- data/lib/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +699 -0
- data/lib/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +19 -0
- data/lib/node_modules/scheduler/umd/scheduler.development.js +152 -0
- data/lib/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- data/lib/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- data/lib/node_modules/scheduler/unstable_mock.js +7 -0
- data/lib/node_modules/scheduler/unstable_post_task.js +7 -0
- data/lib/node_modules/set-cookie-parser/LICENSE +21 -0
- data/lib/node_modules/set-cookie-parser/README.md +202 -0
- data/lib/node_modules/set-cookie-parser/lib/set-cookie.js +224 -0
- data/lib/node_modules/set-cookie-parser/package.json +45 -0
- data/lib/node_modules/turbo-stream/LICENSE +7 -0
- data/lib/node_modules/turbo-stream/README.md +31 -0
- data/lib/node_modules/turbo-stream/dist/flatten.d.ts +2 -0
- data/lib/node_modules/turbo-stream/dist/flatten.js +203 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.d.ts +13 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.js +207 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.mjs +673 -0
- data/lib/node_modules/turbo-stream/dist/unflatten.d.ts +2 -0
- data/lib/node_modules/turbo-stream/dist/unflatten.js +243 -0
- data/lib/node_modules/turbo-stream/dist/utils.d.ts +44 -0
- data/lib/node_modules/turbo-stream/dist/utils.js +55 -0
- data/lib/node_modules/turbo-stream/package.json +50 -0
- data/lib/package-lock.json +133 -0
- data/lib/package.json +12 -0
- data/lib/rubee/controllers/base_controller.rb +14 -0
- data/lib/rubee.rb +58 -19
- data/lib/tests/rubeeapp_test.rb +17 -0
- data/lib/tests/test.db +0 -0
- data/lib/tests/user_model_test.rb +1 -0
- data/readme.md +104 -2
- metadata +170 -3
@@ -0,0 +1,634 @@
|
|
1
|
+
/**
|
2
|
+
* @license React
|
3
|
+
* scheduler.development.js
|
4
|
+
*
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
+
*
|
7
|
+
* This source code is licensed under the MIT license found in the
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
9
|
+
*/
|
10
|
+
|
11
|
+
'use strict';
|
12
|
+
|
13
|
+
if (process.env.NODE_ENV !== "production") {
|
14
|
+
(function() {
|
15
|
+
|
16
|
+
'use strict';
|
17
|
+
|
18
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
19
|
+
if (
|
20
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
21
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===
|
22
|
+
'function'
|
23
|
+
) {
|
24
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
25
|
+
}
|
26
|
+
var enableSchedulerDebugging = false;
|
27
|
+
var enableProfiling = false;
|
28
|
+
var frameYieldMs = 5;
|
29
|
+
|
30
|
+
function push(heap, node) {
|
31
|
+
var index = heap.length;
|
32
|
+
heap.push(node);
|
33
|
+
siftUp(heap, node, index);
|
34
|
+
}
|
35
|
+
function peek(heap) {
|
36
|
+
return heap.length === 0 ? null : heap[0];
|
37
|
+
}
|
38
|
+
function pop(heap) {
|
39
|
+
if (heap.length === 0) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
|
43
|
+
var first = heap[0];
|
44
|
+
var last = heap.pop();
|
45
|
+
|
46
|
+
if (last !== first) {
|
47
|
+
heap[0] = last;
|
48
|
+
siftDown(heap, last, 0);
|
49
|
+
}
|
50
|
+
|
51
|
+
return first;
|
52
|
+
}
|
53
|
+
|
54
|
+
function siftUp(heap, node, i) {
|
55
|
+
var index = i;
|
56
|
+
|
57
|
+
while (index > 0) {
|
58
|
+
var parentIndex = index - 1 >>> 1;
|
59
|
+
var parent = heap[parentIndex];
|
60
|
+
|
61
|
+
if (compare(parent, node) > 0) {
|
62
|
+
// The parent is larger. Swap positions.
|
63
|
+
heap[parentIndex] = node;
|
64
|
+
heap[index] = parent;
|
65
|
+
index = parentIndex;
|
66
|
+
} else {
|
67
|
+
// The parent is smaller. Exit.
|
68
|
+
return;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
function siftDown(heap, node, i) {
|
74
|
+
var index = i;
|
75
|
+
var length = heap.length;
|
76
|
+
var halfLength = length >>> 1;
|
77
|
+
|
78
|
+
while (index < halfLength) {
|
79
|
+
var leftIndex = (index + 1) * 2 - 1;
|
80
|
+
var left = heap[leftIndex];
|
81
|
+
var rightIndex = leftIndex + 1;
|
82
|
+
var right = heap[rightIndex]; // If the left or right node is smaller, swap with the smaller of those.
|
83
|
+
|
84
|
+
if (compare(left, node) < 0) {
|
85
|
+
if (rightIndex < length && compare(right, left) < 0) {
|
86
|
+
heap[index] = right;
|
87
|
+
heap[rightIndex] = node;
|
88
|
+
index = rightIndex;
|
89
|
+
} else {
|
90
|
+
heap[index] = left;
|
91
|
+
heap[leftIndex] = node;
|
92
|
+
index = leftIndex;
|
93
|
+
}
|
94
|
+
} else if (rightIndex < length && compare(right, node) < 0) {
|
95
|
+
heap[index] = right;
|
96
|
+
heap[rightIndex] = node;
|
97
|
+
index = rightIndex;
|
98
|
+
} else {
|
99
|
+
// Neither child is smaller. Exit.
|
100
|
+
return;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
function compare(a, b) {
|
106
|
+
// Compare sort index first, then task id.
|
107
|
+
var diff = a.sortIndex - b.sortIndex;
|
108
|
+
return diff !== 0 ? diff : a.id - b.id;
|
109
|
+
}
|
110
|
+
|
111
|
+
// TODO: Use symbols?
|
112
|
+
var ImmediatePriority = 1;
|
113
|
+
var UserBlockingPriority = 2;
|
114
|
+
var NormalPriority = 3;
|
115
|
+
var LowPriority = 4;
|
116
|
+
var IdlePriority = 5;
|
117
|
+
|
118
|
+
function markTaskErrored(task, ms) {
|
119
|
+
}
|
120
|
+
|
121
|
+
/* eslint-disable no-var */
|
122
|
+
|
123
|
+
var hasPerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
|
124
|
+
|
125
|
+
if (hasPerformanceNow) {
|
126
|
+
var localPerformance = performance;
|
127
|
+
|
128
|
+
exports.unstable_now = function () {
|
129
|
+
return localPerformance.now();
|
130
|
+
};
|
131
|
+
} else {
|
132
|
+
var localDate = Date;
|
133
|
+
var initialTime = localDate.now();
|
134
|
+
|
135
|
+
exports.unstable_now = function () {
|
136
|
+
return localDate.now() - initialTime;
|
137
|
+
};
|
138
|
+
} // Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
139
|
+
// Math.pow(2, 30) - 1
|
140
|
+
// 0b111111111111111111111111111111
|
141
|
+
|
142
|
+
|
143
|
+
var maxSigned31BitInt = 1073741823; // Times out immediately
|
144
|
+
|
145
|
+
var IMMEDIATE_PRIORITY_TIMEOUT = -1; // Eventually times out
|
146
|
+
|
147
|
+
var USER_BLOCKING_PRIORITY_TIMEOUT = 250;
|
148
|
+
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
149
|
+
var LOW_PRIORITY_TIMEOUT = 10000; // Never times out
|
150
|
+
|
151
|
+
var IDLE_PRIORITY_TIMEOUT = maxSigned31BitInt; // Tasks are stored on a min heap
|
152
|
+
|
153
|
+
var taskQueue = [];
|
154
|
+
var timerQueue = []; // Incrementing id counter. Used to maintain insertion order.
|
155
|
+
|
156
|
+
var taskIdCounter = 1; // Pausing the scheduler is useful for debugging.
|
157
|
+
var currentTask = null;
|
158
|
+
var currentPriorityLevel = NormalPriority; // This is set while performing work, to prevent re-entrance.
|
159
|
+
|
160
|
+
var isPerformingWork = false;
|
161
|
+
var isHostCallbackScheduled = false;
|
162
|
+
var isHostTimeoutScheduled = false; // Capture local references to native APIs, in case a polyfill overrides them.
|
163
|
+
|
164
|
+
var localSetTimeout = typeof setTimeout === 'function' ? setTimeout : null;
|
165
|
+
var localClearTimeout = typeof clearTimeout === 'function' ? clearTimeout : null;
|
166
|
+
var localSetImmediate = typeof setImmediate !== 'undefined' ? setImmediate : null; // IE and Node.js + jsdom
|
167
|
+
|
168
|
+
var isInputPending = typeof navigator !== 'undefined' && navigator.scheduling !== undefined && navigator.scheduling.isInputPending !== undefined ? navigator.scheduling.isInputPending.bind(navigator.scheduling) : null;
|
169
|
+
|
170
|
+
function advanceTimers(currentTime) {
|
171
|
+
// Check for tasks that are no longer delayed and add them to the queue.
|
172
|
+
var timer = peek(timerQueue);
|
173
|
+
|
174
|
+
while (timer !== null) {
|
175
|
+
if (timer.callback === null) {
|
176
|
+
// Timer was cancelled.
|
177
|
+
pop(timerQueue);
|
178
|
+
} else if (timer.startTime <= currentTime) {
|
179
|
+
// Timer fired. Transfer to the task queue.
|
180
|
+
pop(timerQueue);
|
181
|
+
timer.sortIndex = timer.expirationTime;
|
182
|
+
push(taskQueue, timer);
|
183
|
+
} else {
|
184
|
+
// Remaining timers are pending.
|
185
|
+
return;
|
186
|
+
}
|
187
|
+
|
188
|
+
timer = peek(timerQueue);
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
function handleTimeout(currentTime) {
|
193
|
+
isHostTimeoutScheduled = false;
|
194
|
+
advanceTimers(currentTime);
|
195
|
+
|
196
|
+
if (!isHostCallbackScheduled) {
|
197
|
+
if (peek(taskQueue) !== null) {
|
198
|
+
isHostCallbackScheduled = true;
|
199
|
+
requestHostCallback(flushWork);
|
200
|
+
} else {
|
201
|
+
var firstTimer = peek(timerQueue);
|
202
|
+
|
203
|
+
if (firstTimer !== null) {
|
204
|
+
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
function flushWork(hasTimeRemaining, initialTime) {
|
211
|
+
|
212
|
+
|
213
|
+
isHostCallbackScheduled = false;
|
214
|
+
|
215
|
+
if (isHostTimeoutScheduled) {
|
216
|
+
// We scheduled a timeout but it's no longer needed. Cancel it.
|
217
|
+
isHostTimeoutScheduled = false;
|
218
|
+
cancelHostTimeout();
|
219
|
+
}
|
220
|
+
|
221
|
+
isPerformingWork = true;
|
222
|
+
var previousPriorityLevel = currentPriorityLevel;
|
223
|
+
|
224
|
+
try {
|
225
|
+
if (enableProfiling) {
|
226
|
+
try {
|
227
|
+
return workLoop(hasTimeRemaining, initialTime);
|
228
|
+
} catch (error) {
|
229
|
+
if (currentTask !== null) {
|
230
|
+
var currentTime = exports.unstable_now();
|
231
|
+
markTaskErrored(currentTask, currentTime);
|
232
|
+
currentTask.isQueued = false;
|
233
|
+
}
|
234
|
+
|
235
|
+
throw error;
|
236
|
+
}
|
237
|
+
} else {
|
238
|
+
// No catch in prod code path.
|
239
|
+
return workLoop(hasTimeRemaining, initialTime);
|
240
|
+
}
|
241
|
+
} finally {
|
242
|
+
currentTask = null;
|
243
|
+
currentPriorityLevel = previousPriorityLevel;
|
244
|
+
isPerformingWork = false;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
|
248
|
+
function workLoop(hasTimeRemaining, initialTime) {
|
249
|
+
var currentTime = initialTime;
|
250
|
+
advanceTimers(currentTime);
|
251
|
+
currentTask = peek(taskQueue);
|
252
|
+
|
253
|
+
while (currentTask !== null && !(enableSchedulerDebugging )) {
|
254
|
+
if (currentTask.expirationTime > currentTime && (!hasTimeRemaining || shouldYieldToHost())) {
|
255
|
+
// This currentTask hasn't expired, and we've reached the deadline.
|
256
|
+
break;
|
257
|
+
}
|
258
|
+
|
259
|
+
var callback = currentTask.callback;
|
260
|
+
|
261
|
+
if (typeof callback === 'function') {
|
262
|
+
currentTask.callback = null;
|
263
|
+
currentPriorityLevel = currentTask.priorityLevel;
|
264
|
+
var didUserCallbackTimeout = currentTask.expirationTime <= currentTime;
|
265
|
+
|
266
|
+
var continuationCallback = callback(didUserCallbackTimeout);
|
267
|
+
currentTime = exports.unstable_now();
|
268
|
+
|
269
|
+
if (typeof continuationCallback === 'function') {
|
270
|
+
currentTask.callback = continuationCallback;
|
271
|
+
} else {
|
272
|
+
|
273
|
+
if (currentTask === peek(taskQueue)) {
|
274
|
+
pop(taskQueue);
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
advanceTimers(currentTime);
|
279
|
+
} else {
|
280
|
+
pop(taskQueue);
|
281
|
+
}
|
282
|
+
|
283
|
+
currentTask = peek(taskQueue);
|
284
|
+
} // Return whether there's additional work
|
285
|
+
|
286
|
+
|
287
|
+
if (currentTask !== null) {
|
288
|
+
return true;
|
289
|
+
} else {
|
290
|
+
var firstTimer = peek(timerQueue);
|
291
|
+
|
292
|
+
if (firstTimer !== null) {
|
293
|
+
requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
294
|
+
}
|
295
|
+
|
296
|
+
return false;
|
297
|
+
}
|
298
|
+
}
|
299
|
+
|
300
|
+
function unstable_runWithPriority(priorityLevel, eventHandler) {
|
301
|
+
switch (priorityLevel) {
|
302
|
+
case ImmediatePriority:
|
303
|
+
case UserBlockingPriority:
|
304
|
+
case NormalPriority:
|
305
|
+
case LowPriority:
|
306
|
+
case IdlePriority:
|
307
|
+
break;
|
308
|
+
|
309
|
+
default:
|
310
|
+
priorityLevel = NormalPriority;
|
311
|
+
}
|
312
|
+
|
313
|
+
var previousPriorityLevel = currentPriorityLevel;
|
314
|
+
currentPriorityLevel = priorityLevel;
|
315
|
+
|
316
|
+
try {
|
317
|
+
return eventHandler();
|
318
|
+
} finally {
|
319
|
+
currentPriorityLevel = previousPriorityLevel;
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
function unstable_next(eventHandler) {
|
324
|
+
var priorityLevel;
|
325
|
+
|
326
|
+
switch (currentPriorityLevel) {
|
327
|
+
case ImmediatePriority:
|
328
|
+
case UserBlockingPriority:
|
329
|
+
case NormalPriority:
|
330
|
+
// Shift down to normal priority
|
331
|
+
priorityLevel = NormalPriority;
|
332
|
+
break;
|
333
|
+
|
334
|
+
default:
|
335
|
+
// Anything lower than normal priority should remain at the current level.
|
336
|
+
priorityLevel = currentPriorityLevel;
|
337
|
+
break;
|
338
|
+
}
|
339
|
+
|
340
|
+
var previousPriorityLevel = currentPriorityLevel;
|
341
|
+
currentPriorityLevel = priorityLevel;
|
342
|
+
|
343
|
+
try {
|
344
|
+
return eventHandler();
|
345
|
+
} finally {
|
346
|
+
currentPriorityLevel = previousPriorityLevel;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
function unstable_wrapCallback(callback) {
|
351
|
+
var parentPriorityLevel = currentPriorityLevel;
|
352
|
+
return function () {
|
353
|
+
// This is a fork of runWithPriority, inlined for performance.
|
354
|
+
var previousPriorityLevel = currentPriorityLevel;
|
355
|
+
currentPriorityLevel = parentPriorityLevel;
|
356
|
+
|
357
|
+
try {
|
358
|
+
return callback.apply(this, arguments);
|
359
|
+
} finally {
|
360
|
+
currentPriorityLevel = previousPriorityLevel;
|
361
|
+
}
|
362
|
+
};
|
363
|
+
}
|
364
|
+
|
365
|
+
function unstable_scheduleCallback(priorityLevel, callback, options) {
|
366
|
+
var currentTime = exports.unstable_now();
|
367
|
+
var startTime;
|
368
|
+
|
369
|
+
if (typeof options === 'object' && options !== null) {
|
370
|
+
var delay = options.delay;
|
371
|
+
|
372
|
+
if (typeof delay === 'number' && delay > 0) {
|
373
|
+
startTime = currentTime + delay;
|
374
|
+
} else {
|
375
|
+
startTime = currentTime;
|
376
|
+
}
|
377
|
+
} else {
|
378
|
+
startTime = currentTime;
|
379
|
+
}
|
380
|
+
|
381
|
+
var timeout;
|
382
|
+
|
383
|
+
switch (priorityLevel) {
|
384
|
+
case ImmediatePriority:
|
385
|
+
timeout = IMMEDIATE_PRIORITY_TIMEOUT;
|
386
|
+
break;
|
387
|
+
|
388
|
+
case UserBlockingPriority:
|
389
|
+
timeout = USER_BLOCKING_PRIORITY_TIMEOUT;
|
390
|
+
break;
|
391
|
+
|
392
|
+
case IdlePriority:
|
393
|
+
timeout = IDLE_PRIORITY_TIMEOUT;
|
394
|
+
break;
|
395
|
+
|
396
|
+
case LowPriority:
|
397
|
+
timeout = LOW_PRIORITY_TIMEOUT;
|
398
|
+
break;
|
399
|
+
|
400
|
+
case NormalPriority:
|
401
|
+
default:
|
402
|
+
timeout = NORMAL_PRIORITY_TIMEOUT;
|
403
|
+
break;
|
404
|
+
}
|
405
|
+
|
406
|
+
var expirationTime = startTime + timeout;
|
407
|
+
var newTask = {
|
408
|
+
id: taskIdCounter++,
|
409
|
+
callback: callback,
|
410
|
+
priorityLevel: priorityLevel,
|
411
|
+
startTime: startTime,
|
412
|
+
expirationTime: expirationTime,
|
413
|
+
sortIndex: -1
|
414
|
+
};
|
415
|
+
|
416
|
+
if (startTime > currentTime) {
|
417
|
+
// This is a delayed task.
|
418
|
+
newTask.sortIndex = startTime;
|
419
|
+
push(timerQueue, newTask);
|
420
|
+
|
421
|
+
if (peek(taskQueue) === null && newTask === peek(timerQueue)) {
|
422
|
+
// All tasks are delayed, and this is the task with the earliest delay.
|
423
|
+
if (isHostTimeoutScheduled) {
|
424
|
+
// Cancel an existing timeout.
|
425
|
+
cancelHostTimeout();
|
426
|
+
} else {
|
427
|
+
isHostTimeoutScheduled = true;
|
428
|
+
} // Schedule a timeout.
|
429
|
+
|
430
|
+
|
431
|
+
requestHostTimeout(handleTimeout, startTime - currentTime);
|
432
|
+
}
|
433
|
+
} else {
|
434
|
+
newTask.sortIndex = expirationTime;
|
435
|
+
push(taskQueue, newTask);
|
436
|
+
// wait until the next time we yield.
|
437
|
+
|
438
|
+
|
439
|
+
if (!isHostCallbackScheduled && !isPerformingWork) {
|
440
|
+
isHostCallbackScheduled = true;
|
441
|
+
requestHostCallback(flushWork);
|
442
|
+
}
|
443
|
+
}
|
444
|
+
|
445
|
+
return newTask;
|
446
|
+
}
|
447
|
+
|
448
|
+
function unstable_pauseExecution() {
|
449
|
+
}
|
450
|
+
|
451
|
+
function unstable_continueExecution() {
|
452
|
+
|
453
|
+
if (!isHostCallbackScheduled && !isPerformingWork) {
|
454
|
+
isHostCallbackScheduled = true;
|
455
|
+
requestHostCallback(flushWork);
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
459
|
+
function unstable_getFirstCallbackNode() {
|
460
|
+
return peek(taskQueue);
|
461
|
+
}
|
462
|
+
|
463
|
+
function unstable_cancelCallback(task) {
|
464
|
+
// remove from the queue because you can't remove arbitrary nodes from an
|
465
|
+
// array based heap, only the first one.)
|
466
|
+
|
467
|
+
|
468
|
+
task.callback = null;
|
469
|
+
}
|
470
|
+
|
471
|
+
function unstable_getCurrentPriorityLevel() {
|
472
|
+
return currentPriorityLevel;
|
473
|
+
}
|
474
|
+
|
475
|
+
var isMessageLoopRunning = false;
|
476
|
+
var scheduledHostCallback = null;
|
477
|
+
var taskTimeoutID = -1; // Scheduler periodically yields in case there is other work on the main
|
478
|
+
// thread, like user events. By default, it yields multiple times per frame.
|
479
|
+
// It does not attempt to align with frame boundaries, since most tasks don't
|
480
|
+
// need to be frame aligned; for those that do, use requestAnimationFrame.
|
481
|
+
|
482
|
+
var frameInterval = frameYieldMs;
|
483
|
+
var startTime = -1;
|
484
|
+
|
485
|
+
function shouldYieldToHost() {
|
486
|
+
var timeElapsed = exports.unstable_now() - startTime;
|
487
|
+
|
488
|
+
if (timeElapsed < frameInterval) {
|
489
|
+
// The main thread has only been blocked for a really short amount of time;
|
490
|
+
// smaller than a single frame. Don't yield yet.
|
491
|
+
return false;
|
492
|
+
} // The main thread has been blocked for a non-negligible amount of time. We
|
493
|
+
|
494
|
+
|
495
|
+
return true;
|
496
|
+
}
|
497
|
+
|
498
|
+
function requestPaint() {
|
499
|
+
|
500
|
+
}
|
501
|
+
|
502
|
+
function forceFrameRate(fps) {
|
503
|
+
if (fps < 0 || fps > 125) {
|
504
|
+
// Using console['error'] to evade Babel and ESLint
|
505
|
+
console['error']('forceFrameRate takes a positive int between 0 and 125, ' + 'forcing frame rates higher than 125 fps is not supported');
|
506
|
+
return;
|
507
|
+
}
|
508
|
+
|
509
|
+
if (fps > 0) {
|
510
|
+
frameInterval = Math.floor(1000 / fps);
|
511
|
+
} else {
|
512
|
+
// reset the framerate
|
513
|
+
frameInterval = frameYieldMs;
|
514
|
+
}
|
515
|
+
}
|
516
|
+
|
517
|
+
var performWorkUntilDeadline = function () {
|
518
|
+
if (scheduledHostCallback !== null) {
|
519
|
+
var currentTime = exports.unstable_now(); // Keep track of the start time so we can measure how long the main thread
|
520
|
+
// has been blocked.
|
521
|
+
|
522
|
+
startTime = currentTime;
|
523
|
+
var hasTimeRemaining = true; // If a scheduler task throws, exit the current browser task so the
|
524
|
+
// error can be observed.
|
525
|
+
//
|
526
|
+
// Intentionally not using a try-catch, since that makes some debugging
|
527
|
+
// techniques harder. Instead, if `scheduledHostCallback` errors, then
|
528
|
+
// `hasMoreWork` will remain true, and we'll continue the work loop.
|
529
|
+
|
530
|
+
var hasMoreWork = true;
|
531
|
+
|
532
|
+
try {
|
533
|
+
hasMoreWork = scheduledHostCallback(hasTimeRemaining, currentTime);
|
534
|
+
} finally {
|
535
|
+
if (hasMoreWork) {
|
536
|
+
// If there's more work, schedule the next message event at the end
|
537
|
+
// of the preceding one.
|
538
|
+
schedulePerformWorkUntilDeadline();
|
539
|
+
} else {
|
540
|
+
isMessageLoopRunning = false;
|
541
|
+
scheduledHostCallback = null;
|
542
|
+
}
|
543
|
+
}
|
544
|
+
} else {
|
545
|
+
isMessageLoopRunning = false;
|
546
|
+
} // Yielding to the browser will give it a chance to paint, so we can
|
547
|
+
};
|
548
|
+
|
549
|
+
var schedulePerformWorkUntilDeadline;
|
550
|
+
|
551
|
+
if (typeof localSetImmediate === 'function') {
|
552
|
+
// Node.js and old IE.
|
553
|
+
// There's a few reasons for why we prefer setImmediate.
|
554
|
+
//
|
555
|
+
// Unlike MessageChannel, it doesn't prevent a Node.js process from exiting.
|
556
|
+
// (Even though this is a DOM fork of the Scheduler, you could get here
|
557
|
+
// with a mix of Node.js 15+, which has a MessageChannel, and jsdom.)
|
558
|
+
// https://github.com/facebook/react/issues/20756
|
559
|
+
//
|
560
|
+
// But also, it runs earlier which is the semantic we want.
|
561
|
+
// If other browsers ever implement it, it's better to use it.
|
562
|
+
// Although both of these would be inferior to native scheduling.
|
563
|
+
schedulePerformWorkUntilDeadline = function () {
|
564
|
+
localSetImmediate(performWorkUntilDeadline);
|
565
|
+
};
|
566
|
+
} else if (typeof MessageChannel !== 'undefined') {
|
567
|
+
// DOM and Worker environments.
|
568
|
+
// We prefer MessageChannel because of the 4ms setTimeout clamping.
|
569
|
+
var channel = new MessageChannel();
|
570
|
+
var port = channel.port2;
|
571
|
+
channel.port1.onmessage = performWorkUntilDeadline;
|
572
|
+
|
573
|
+
schedulePerformWorkUntilDeadline = function () {
|
574
|
+
port.postMessage(null);
|
575
|
+
};
|
576
|
+
} else {
|
577
|
+
// We should only fallback here in non-browser environments.
|
578
|
+
schedulePerformWorkUntilDeadline = function () {
|
579
|
+
localSetTimeout(performWorkUntilDeadline, 0);
|
580
|
+
};
|
581
|
+
}
|
582
|
+
|
583
|
+
function requestHostCallback(callback) {
|
584
|
+
scheduledHostCallback = callback;
|
585
|
+
|
586
|
+
if (!isMessageLoopRunning) {
|
587
|
+
isMessageLoopRunning = true;
|
588
|
+
schedulePerformWorkUntilDeadline();
|
589
|
+
}
|
590
|
+
}
|
591
|
+
|
592
|
+
function requestHostTimeout(callback, ms) {
|
593
|
+
taskTimeoutID = localSetTimeout(function () {
|
594
|
+
callback(exports.unstable_now());
|
595
|
+
}, ms);
|
596
|
+
}
|
597
|
+
|
598
|
+
function cancelHostTimeout() {
|
599
|
+
localClearTimeout(taskTimeoutID);
|
600
|
+
taskTimeoutID = -1;
|
601
|
+
}
|
602
|
+
|
603
|
+
var unstable_requestPaint = requestPaint;
|
604
|
+
var unstable_Profiling = null;
|
605
|
+
|
606
|
+
exports.unstable_IdlePriority = IdlePriority;
|
607
|
+
exports.unstable_ImmediatePriority = ImmediatePriority;
|
608
|
+
exports.unstable_LowPriority = LowPriority;
|
609
|
+
exports.unstable_NormalPriority = NormalPriority;
|
610
|
+
exports.unstable_Profiling = unstable_Profiling;
|
611
|
+
exports.unstable_UserBlockingPriority = UserBlockingPriority;
|
612
|
+
exports.unstable_cancelCallback = unstable_cancelCallback;
|
613
|
+
exports.unstable_continueExecution = unstable_continueExecution;
|
614
|
+
exports.unstable_forceFrameRate = forceFrameRate;
|
615
|
+
exports.unstable_getCurrentPriorityLevel = unstable_getCurrentPriorityLevel;
|
616
|
+
exports.unstable_getFirstCallbackNode = unstable_getFirstCallbackNode;
|
617
|
+
exports.unstable_next = unstable_next;
|
618
|
+
exports.unstable_pauseExecution = unstable_pauseExecution;
|
619
|
+
exports.unstable_requestPaint = unstable_requestPaint;
|
620
|
+
exports.unstable_runWithPriority = unstable_runWithPriority;
|
621
|
+
exports.unstable_scheduleCallback = unstable_scheduleCallback;
|
622
|
+
exports.unstable_shouldYield = shouldYieldToHost;
|
623
|
+
exports.unstable_wrapCallback = unstable_wrapCallback;
|
624
|
+
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
625
|
+
if (
|
626
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&
|
627
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===
|
628
|
+
'function'
|
629
|
+
) {
|
630
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
631
|
+
}
|
632
|
+
|
633
|
+
})();
|
634
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* @license React
|
3
|
+
* scheduler.production.min.js
|
4
|
+
*
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
6
|
+
*
|
7
|
+
* This source code is licensed under the MIT license found in the
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
9
|
+
*/
|
10
|
+
'use strict';function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}
|
11
|
+
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D="function"===typeof setTimeout?setTimeout:null,E="function"===typeof clearTimeout?clearTimeout:null,F="undefined"!==typeof setImmediate?setImmediate:null;
|
12
|
+
"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}
|
13
|
+
function J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;
|
14
|
+
function M(){return exports.unstable_now()-Q<P?!1:!0}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=!0;try{b=O(!0,a)}finally{b?S():(N=!1,O=null)}}else N=!1}var S;if("function"===typeof F)S=function(){F(R)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null)}}else S=function(){D(R,0)};function I(a){O=a;N||(N=!0,S())}function K(a,b){L=D(function(){a(exports.unstable_now())},b)}
|
15
|
+
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(){A||z||(A=!0,I(J))};
|
16
|
+
exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<a?Math.floor(1E3/a):5};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y}var c=y;y=b;try{return a()}finally{y=c}};exports.unstable_pauseExecution=function(){};
|
17
|
+
exports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=y;y=a;try{return b()}finally{y=c}};
|
18
|
+
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};
|
19
|
+
exports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{
|
2
|
+
"name": "scheduler",
|
3
|
+
"version": "0.23.2",
|
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
|
+
},
|
22
|
+
"files": [
|
23
|
+
"LICENSE",
|
24
|
+
"README.md",
|
25
|
+
"index.js",
|
26
|
+
"unstable_mock.js",
|
27
|
+
"unstable_post_task.js",
|
28
|
+
"cjs/",
|
29
|
+
"umd/"
|
30
|
+
],
|
31
|
+
"browserify": {
|
32
|
+
"transform": [
|
33
|
+
"loose-envify"
|
34
|
+
]
|
35
|
+
}
|
36
|
+
}
|