@vxrn/vendor 1.2.46 → 1.2.48
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/package.json +1 -1
- package/react/cjs/react-compiler-runtime.development.js +9 -9
- package/react/cjs/react-compiler-runtime.production.js +4 -4
- package/react/cjs/react-compiler-runtime.profiling.js +4 -4
- package/react/cjs/react-jsx-dev-runtime.development.js +271 -320
- package/react/cjs/react-jsx-dev-runtime.production.js +4 -4
- package/react/cjs/react-jsx-dev-runtime.profiling.js +4 -4
- package/react/cjs/react-jsx-dev-runtime.react-server.development.js +277 -326
- package/react/cjs/react-jsx-dev-runtime.react-server.production.js +19 -19
- package/react/cjs/react-jsx-runtime.development.js +272 -314
- package/react/cjs/react-jsx-runtime.production.js +16 -16
- package/react/cjs/react-jsx-runtime.profiling.js +16 -16
- package/react/cjs/react-jsx-runtime.react-server.development.js +277 -326
- package/react/cjs/react-jsx-runtime.react-server.production.js +19 -19
- package/react/cjs/react.development.js +657 -734
- package/react/cjs/react.production.js +258 -301
- package/react/cjs/react.react-server.development.js +475 -535
- package/react/cjs/react.react-server.production.js +195 -229
- package/react/compiler-runtime.js +9 -9
- package/react/index.js +3 -3
- package/react/jsx-dev-runtime.js +3 -3
- package/react/jsx-dev-runtime.react-server.js +3 -3
- package/react/jsx-runtime.js +3 -3
- package/react/jsx-runtime.react-server.js +3 -3
- package/react/react.react-server.js +3 -3
- package/react-dom/cjs/react-dom-client.development.js +10301 -12280
- package/react-dom/cjs/react-dom-client.production.js +6275 -7412
- package/react-dom/cjs/react-dom-profiling.development.js +10463 -12479
- package/react-dom/cjs/react-dom-profiling.profiling.js +6611 -7839
- package/react-dom/cjs/react-dom-server-legacy.browser.development.js +4015 -4567
- package/react-dom/cjs/react-dom-server-legacy.browser.production.js +2598 -2934
- package/react-dom/cjs/react-dom-server-legacy.node.development.js +4015 -4567
- package/react-dom/cjs/react-dom-server-legacy.node.production.js +2627 -2961
- package/react-dom/cjs/react-dom-server.browser.development.js +4132 -4771
- package/react-dom/cjs/react-dom-server.browser.production.js +2725 -3092
- package/react-dom/cjs/react-dom-server.bun.development.js +4000 -4466
- package/react-dom/cjs/react-dom-server.bun.production.js +2629 -2967
- package/react-dom/cjs/react-dom-server.edge.development.js +4137 -4780
- package/react-dom/cjs/react-dom-server.edge.production.js +2760 -3123
- package/react-dom/cjs/react-dom-server.node.development.js +4102 -4707
- package/react-dom/cjs/react-dom-server.node.production.js +2739 -3092
- package/react-dom/cjs/react-dom-test-utils.development.js +9 -9
- package/react-dom/cjs/react-dom-test-utils.production.js +7 -7
- package/react-dom/cjs/react-dom.development.js +185 -225
- package/react-dom/cjs/react-dom.production.js +88 -111
- package/react-dom/cjs/react-dom.react-server.development.js +145 -180
- package/react-dom/cjs/react-dom.react-server.production.js +60 -79
- package/react-dom/client.js +8 -8
- package/react-dom/client.react-server.js +2 -4
- package/react-dom/index.js +8 -8
- package/react-dom/profiling.js +8 -8
- package/react-dom/profiling.react-server.js +2 -4
- package/react-dom/react-dom.react-server.js +3 -3
- package/react-dom/server.browser.js +11 -11
- package/react-dom/server.bun.js +12 -12
- package/react-dom/server.edge.js +12 -12
- package/react-dom/server.js +2 -2
- package/react-dom/server.node.js +11 -11
- package/react-dom/server.react-server.js +2 -4
- package/react-dom/static.browser.js +7 -7
- package/react-dom/static.edge.js +7 -7
- package/react-dom/static.js +2 -2
- package/react-dom/static.node.js +7 -7
- package/react-dom/static.react-server.js +2 -4
- package/react-dom/test-utils.js +3 -3
|
@@ -8,29 +8,29 @@
|
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
var React = require(
|
|
11
|
+
'use strict'
|
|
12
|
+
var React = require('react')
|
|
13
13
|
function formatProdErrorMessage(code) {
|
|
14
|
-
var url =
|
|
14
|
+
var url = 'https://react.dev/errors/' + code
|
|
15
15
|
if (1 < arguments.length) {
|
|
16
|
-
url +=
|
|
16
|
+
url += '?args[]=' + encodeURIComponent(arguments[1])
|
|
17
17
|
for (var i = 2; i < arguments.length; i++)
|
|
18
|
-
url +=
|
|
18
|
+
url += '&args[]=' + encodeURIComponent(arguments[i])
|
|
19
19
|
}
|
|
20
20
|
return (
|
|
21
|
-
|
|
21
|
+
'Minified React error #' +
|
|
22
22
|
code +
|
|
23
|
-
|
|
23
|
+
'; visit ' +
|
|
24
24
|
url +
|
|
25
|
-
|
|
26
|
-
)
|
|
25
|
+
' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.'
|
|
26
|
+
)
|
|
27
27
|
}
|
|
28
28
|
function noop() {}
|
|
29
29
|
var Internals = {
|
|
30
30
|
d: {
|
|
31
31
|
f: noop,
|
|
32
32
|
r: function () {
|
|
33
|
-
throw Error(formatProdErrorMessage(522))
|
|
33
|
+
throw Error(formatProdErrorMessage(522))
|
|
34
34
|
},
|
|
35
35
|
D: noop,
|
|
36
36
|
C: noop,
|
|
@@ -38,173 +38,150 @@ var Internals = {
|
|
|
38
38
|
m: noop,
|
|
39
39
|
X: noop,
|
|
40
40
|
S: noop,
|
|
41
|
-
M: noop
|
|
41
|
+
M: noop,
|
|
42
42
|
},
|
|
43
43
|
p: 0,
|
|
44
|
-
findDOMNode: null
|
|
44
|
+
findDOMNode: null,
|
|
45
45
|
},
|
|
46
|
-
REACT_PORTAL_TYPE = Symbol.for(
|
|
46
|
+
REACT_PORTAL_TYPE = Symbol.for('react.portal')
|
|
47
47
|
function createPortal$1(children, containerInfo, implementation) {
|
|
48
|
-
var key =
|
|
49
|
-
3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
48
|
+
var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null
|
|
50
49
|
return {
|
|
51
50
|
$$typeof: REACT_PORTAL_TYPE,
|
|
52
|
-
key: null == key ? null :
|
|
51
|
+
key: null == key ? null : '' + key,
|
|
53
52
|
children: children,
|
|
54
53
|
containerInfo: containerInfo,
|
|
55
|
-
implementation: implementation
|
|
56
|
-
}
|
|
54
|
+
implementation: implementation,
|
|
55
|
+
}
|
|
57
56
|
}
|
|
58
57
|
var ReactSharedInternals =
|
|
59
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
|
|
58
|
+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE
|
|
60
59
|
function getCrossOriginStringAs(as, input) {
|
|
61
|
-
if (
|
|
62
|
-
if (
|
|
63
|
-
return "use-credentials" === input ? input : "";
|
|
60
|
+
if ('font' === as) return ''
|
|
61
|
+
if ('string' === typeof input) return 'use-credentials' === input ? input : ''
|
|
64
62
|
}
|
|
65
|
-
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
66
|
-
Internals;
|
|
63
|
+
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals
|
|
67
64
|
exports.createPortal = function (children, container) {
|
|
68
|
-
var key =
|
|
69
|
-
2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
65
|
+
var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null
|
|
70
66
|
if (
|
|
71
67
|
!container ||
|
|
72
|
-
(1 !== container.nodeType &&
|
|
73
|
-
9 !== container.nodeType &&
|
|
74
|
-
11 !== container.nodeType)
|
|
68
|
+
(1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
|
|
75
69
|
)
|
|
76
|
-
throw Error(formatProdErrorMessage(299))
|
|
77
|
-
return createPortal$1(children, container, null, key)
|
|
78
|
-
}
|
|
70
|
+
throw Error(formatProdErrorMessage(299))
|
|
71
|
+
return createPortal$1(children, container, null, key)
|
|
72
|
+
}
|
|
79
73
|
exports.flushSync = function (fn) {
|
|
80
74
|
var previousTransition = ReactSharedInternals.T,
|
|
81
|
-
previousUpdatePriority = Internals.p
|
|
75
|
+
previousUpdatePriority = Internals.p
|
|
82
76
|
try {
|
|
83
|
-
if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn()
|
|
77
|
+
if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn()
|
|
84
78
|
} finally {
|
|
85
|
-
(ReactSharedInternals.T = previousTransition),
|
|
79
|
+
;((ReactSharedInternals.T = previousTransition),
|
|
86
80
|
(Internals.p = previousUpdatePriority),
|
|
87
|
-
Internals.d.f()
|
|
81
|
+
Internals.d.f())
|
|
88
82
|
}
|
|
89
|
-
}
|
|
83
|
+
}
|
|
90
84
|
exports.preconnect = function (href, options) {
|
|
91
|
-
|
|
85
|
+
'string' === typeof href &&
|
|
92
86
|
(options
|
|
93
87
|
? ((options = options.crossOrigin),
|
|
94
88
|
(options =
|
|
95
|
-
|
|
96
|
-
?
|
|
89
|
+
'string' === typeof options
|
|
90
|
+
? 'use-credentials' === options
|
|
97
91
|
? options
|
|
98
|
-
:
|
|
92
|
+
: ''
|
|
99
93
|
: void 0))
|
|
100
94
|
: (options = null),
|
|
101
|
-
Internals.d.C(href, options))
|
|
102
|
-
}
|
|
95
|
+
Internals.d.C(href, options))
|
|
96
|
+
}
|
|
103
97
|
exports.prefetchDNS = function (href) {
|
|
104
|
-
|
|
105
|
-
}
|
|
98
|
+
'string' === typeof href && Internals.d.D(href)
|
|
99
|
+
}
|
|
106
100
|
exports.preinit = function (href, options) {
|
|
107
|
-
if (
|
|
101
|
+
if ('string' === typeof href && options && 'string' === typeof options.as) {
|
|
108
102
|
var as = options.as,
|
|
109
103
|
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
|
|
110
|
-
integrity =
|
|
111
|
-
"string" === typeof options.integrity ? options.integrity : void 0,
|
|
104
|
+
integrity = 'string' === typeof options.integrity ? options.integrity : void 0,
|
|
112
105
|
fetchPriority =
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
: void 0;
|
|
116
|
-
"style" === as
|
|
106
|
+
'string' === typeof options.fetchPriority ? options.fetchPriority : void 0
|
|
107
|
+
'style' === as
|
|
117
108
|
? Internals.d.S(
|
|
118
109
|
href,
|
|
119
|
-
|
|
110
|
+
'string' === typeof options.precedence ? options.precedence : void 0,
|
|
120
111
|
{
|
|
121
112
|
crossOrigin: crossOrigin,
|
|
122
113
|
integrity: integrity,
|
|
123
|
-
fetchPriority: fetchPriority
|
|
114
|
+
fetchPriority: fetchPriority,
|
|
124
115
|
}
|
|
125
116
|
)
|
|
126
|
-
:
|
|
117
|
+
: 'script' === as &&
|
|
127
118
|
Internals.d.X(href, {
|
|
128
119
|
crossOrigin: crossOrigin,
|
|
129
120
|
integrity: integrity,
|
|
130
121
|
fetchPriority: fetchPriority,
|
|
131
|
-
nonce:
|
|
132
|
-
})
|
|
122
|
+
nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
|
|
123
|
+
})
|
|
133
124
|
}
|
|
134
|
-
}
|
|
125
|
+
}
|
|
135
126
|
exports.preinitModule = function (href, options) {
|
|
136
|
-
if (
|
|
137
|
-
if (
|
|
138
|
-
if (null == options.as ||
|
|
139
|
-
var crossOrigin = getCrossOriginStringAs(
|
|
140
|
-
options.as,
|
|
141
|
-
options.crossOrigin
|
|
142
|
-
);
|
|
127
|
+
if ('string' === typeof href)
|
|
128
|
+
if ('object' === typeof options && null !== options) {
|
|
129
|
+
if (null == options.as || 'script' === options.as) {
|
|
130
|
+
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin)
|
|
143
131
|
Internals.d.M(href, {
|
|
144
132
|
crossOrigin: crossOrigin,
|
|
145
|
-
integrity:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
});
|
|
133
|
+
integrity: 'string' === typeof options.integrity ? options.integrity : void 0,
|
|
134
|
+
nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
|
|
135
|
+
})
|
|
149
136
|
}
|
|
150
|
-
} else null == options && Internals.d.M(href)
|
|
151
|
-
}
|
|
137
|
+
} else null == options && Internals.d.M(href)
|
|
138
|
+
}
|
|
152
139
|
exports.preload = function (href, options) {
|
|
153
140
|
if (
|
|
154
|
-
|
|
155
|
-
|
|
141
|
+
'string' === typeof href &&
|
|
142
|
+
'object' === typeof options &&
|
|
156
143
|
null !== options &&
|
|
157
|
-
|
|
144
|
+
'string' === typeof options.as
|
|
158
145
|
) {
|
|
159
146
|
var as = options.as,
|
|
160
|
-
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin)
|
|
147
|
+
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin)
|
|
161
148
|
Internals.d.L(href, as, {
|
|
162
149
|
crossOrigin: crossOrigin,
|
|
163
|
-
integrity:
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
type: "string" === typeof options.type ? options.type : void 0,
|
|
150
|
+
integrity: 'string' === typeof options.integrity ? options.integrity : void 0,
|
|
151
|
+
nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
|
|
152
|
+
type: 'string' === typeof options.type ? options.type : void 0,
|
|
167
153
|
fetchPriority:
|
|
168
|
-
|
|
169
|
-
? options.fetchPriority
|
|
170
|
-
: void 0,
|
|
154
|
+
'string' === typeof options.fetchPriority ? options.fetchPriority : void 0,
|
|
171
155
|
referrerPolicy:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
imageSizes:
|
|
178
|
-
"string" === typeof options.imageSizes ? options.imageSizes : void 0,
|
|
179
|
-
media: "string" === typeof options.media ? options.media : void 0
|
|
180
|
-
});
|
|
156
|
+
'string' === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
|
|
157
|
+
imageSrcSet: 'string' === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
|
|
158
|
+
imageSizes: 'string' === typeof options.imageSizes ? options.imageSizes : void 0,
|
|
159
|
+
media: 'string' === typeof options.media ? options.media : void 0,
|
|
160
|
+
})
|
|
181
161
|
}
|
|
182
|
-
}
|
|
162
|
+
}
|
|
183
163
|
exports.preloadModule = function (href, options) {
|
|
184
|
-
if (
|
|
164
|
+
if ('string' === typeof href)
|
|
185
165
|
if (options) {
|
|
186
|
-
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin)
|
|
166
|
+
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin)
|
|
187
167
|
Internals.d.m(href, {
|
|
188
168
|
as:
|
|
189
|
-
|
|
190
|
-
? options.as
|
|
191
|
-
: void 0,
|
|
169
|
+
'string' === typeof options.as && 'script' !== options.as ? options.as : void 0,
|
|
192
170
|
crossOrigin: crossOrigin,
|
|
193
|
-
integrity:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
};
|
|
171
|
+
integrity: 'string' === typeof options.integrity ? options.integrity : void 0,
|
|
172
|
+
})
|
|
173
|
+
} else Internals.d.m(href)
|
|
174
|
+
}
|
|
198
175
|
exports.requestFormReset = function (form) {
|
|
199
|
-
Internals.d.r(form)
|
|
200
|
-
}
|
|
176
|
+
Internals.d.r(form)
|
|
177
|
+
}
|
|
201
178
|
exports.unstable_batchedUpdates = function (fn, a) {
|
|
202
|
-
return fn(a)
|
|
203
|
-
}
|
|
179
|
+
return fn(a)
|
|
180
|
+
}
|
|
204
181
|
exports.useFormState = function (action, initialState, permalink) {
|
|
205
|
-
return ReactSharedInternals.H.useFormState(action, initialState, permalink)
|
|
206
|
-
}
|
|
182
|
+
return ReactSharedInternals.H.useFormState(action, initialState, permalink)
|
|
183
|
+
}
|
|
207
184
|
exports.useFormStatus = function () {
|
|
208
|
-
return ReactSharedInternals.H.useHostTransitionStatus()
|
|
209
|
-
}
|
|
210
|
-
exports.version =
|
|
185
|
+
return ReactSharedInternals.H.useHostTransitionStatus()
|
|
186
|
+
}
|
|
187
|
+
exports.version = '19.0.0'
|