@vxrn/vendor 1.1.145
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 +13 -0
- package/react/LICENSE +21 -0
- package/react/README.md +37 -0
- package/react/cjs/react-compiler-runtime.development.js +41 -0
- package/react/cjs/react-compiler-runtime.production.js +16 -0
- package/react/cjs/react-compiler-runtime.profiling.js +16 -0
- package/react/cjs/react-jsx-dev-runtime.development.js +677 -0
- package/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
- package/react/cjs/react-jsx-dev-runtime.react-server.development.js +687 -0
- package/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
- package/react/cjs/react-jsx-runtime.development.js +673 -0
- package/react/cjs/react-jsx-runtime.production.js +34 -0
- package/react/cjs/react-jsx-runtime.profiling.js +34 -0
- package/react/cjs/react-jsx-runtime.react-server.development.js +687 -0
- package/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
- package/react/cjs/react.development.js +1547 -0
- package/react/cjs/react.production.js +539 -0
- package/react/cjs/react.react-server.development.js +1141 -0
- package/react/cjs/react.react-server.production.js +427 -0
- package/react/compiler-runtime.js +14 -0
- package/react/index.js +7 -0
- package/react/jsx-dev-runtime.js +7 -0
- package/react/jsx-dev-runtime.react-server.js +7 -0
- package/react/jsx-runtime.js +7 -0
- package/react/jsx-runtime.react-server.js +7 -0
- package/react/package.json +51 -0
- package/react/react.react-server.js +7 -0
- package/react-dom/LICENSE +21 -0
- package/react-dom/README.md +60 -0
- package/react-dom/cjs/react-dom-client.development.js +24359 -0
- package/react-dom/cjs/react-dom-client.production.js +14810 -0
- package/react-dom/cjs/react-dom-profiling.development.js +24746 -0
- package/react-dom/cjs/react-dom-profiling.profiling.js +15685 -0
- package/react-dom/cjs/react-dom-server-legacy.browser.development.js +8370 -0
- package/react-dom/cjs/react-dom-server-legacy.browser.production.js +5496 -0
- package/react-dom/cjs/react-dom-server-legacy.node.development.js +8370 -0
- package/react-dom/cjs/react-dom-server-legacy.node.production.js +5578 -0
- package/react-dom/cjs/react-dom-server.browser.development.js +8636 -0
- package/react-dom/cjs/react-dom-server.browser.production.js +5861 -0
- package/react-dom/cjs/react-dom-server.bun.development.js +8083 -0
- package/react-dom/cjs/react-dom-server.bun.production.js +5562 -0
- package/react-dom/cjs/react-dom-server.edge.development.js +8651 -0
- package/react-dom/cjs/react-dom-server.edge.production.js +5953 -0
- package/react-dom/cjs/react-dom-server.node.development.js +8479 -0
- package/react-dom/cjs/react-dom-server.node.production.js +5808 -0
- package/react-dom/cjs/react-dom-test-utils.development.js +43 -0
- package/react-dom/cjs/react-dom-test-utils.production.js +21 -0
- package/react-dom/cjs/react-dom.development.js +440 -0
- package/react-dom/cjs/react-dom.production.js +209 -0
- package/react-dom/cjs/react-dom.react-server.development.js +358 -0
- package/react-dom/cjs/react-dom.react-server.production.js +154 -0
- package/react-dom/client.js +38 -0
- package/react-dom/client.react-server.js +5 -0
- package/react-dom/index.js +38 -0
- package/react-dom/package.json +117 -0
- package/react-dom/profiling.js +38 -0
- package/react-dom/profiling.react-server.js +5 -0
- package/react-dom/react-dom.react-server.js +7 -0
- package/react-dom/server.browser.js +18 -0
- package/react-dom/server.bun.js +19 -0
- package/react-dom/server.edge.js +19 -0
- package/react-dom/server.js +3 -0
- package/react-dom/server.node.js +18 -0
- package/react-dom/server.react-server.js +5 -0
- package/react-dom/static.browser.js +11 -0
- package/react-dom/static.edge.js +11 -0
- package/react-dom/static.js +3 -0
- package/react-dom/static.node.js +11 -0
- package/react-dom/static.react-server.js +5 -0
- package/react-dom/test-utils.js +7 -0
package/package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vxrn/vendor",
|
|
3
|
+
"version": "1.1.145",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
"./react-19": "./react/index.js",
|
|
11
|
+
"./react-dom-19": "./react-dom/index.js"
|
|
12
|
+
}
|
|
13
|
+
}
|
package/react/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/react/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# `react`
|
|
2
|
+
|
|
3
|
+
React is a JavaScript library for creating user interfaces.
|
|
4
|
+
|
|
5
|
+
The `react` package contains only the functionality necessary to define React components. It is typically used together with a React renderer like `react-dom` for the web, or `react-native` for the native environments.
|
|
6
|
+
|
|
7
|
+
**Note:** by default, React will be in development mode. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages. Don't forget to use the [production build](https://reactjs.org/docs/optimizing-performance.html#use-the-production-build) when deploying your application.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { useState } from 'react';
|
|
13
|
+
import { createRoot } from 'react-dom/client';
|
|
14
|
+
|
|
15
|
+
function Counter() {
|
|
16
|
+
const [count, setCount] = useState(0);
|
|
17
|
+
return (
|
|
18
|
+
<>
|
|
19
|
+
<h1>{count}</h1>
|
|
20
|
+
<button onClick={() => setCount(count + 1)}>
|
|
21
|
+
Increment
|
|
22
|
+
</button>
|
|
23
|
+
</>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const root = createRoot(document.getElementById('root'));
|
|
28
|
+
root.render(<Counter />);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Documentation
|
|
32
|
+
|
|
33
|
+
See https://react.dev/
|
|
34
|
+
|
|
35
|
+
## API
|
|
36
|
+
|
|
37
|
+
See https://react.dev/reference/react
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-compiler-runtime.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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
|
+
"production" !== process.env.NODE_ENV &&
|
|
13
|
+
(function () {
|
|
14
|
+
function error(format) {
|
|
15
|
+
for (
|
|
16
|
+
var _len2 = arguments.length,
|
|
17
|
+
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
|
18
|
+
_key2 = 1;
|
|
19
|
+
_key2 < _len2;
|
|
20
|
+
_key2++
|
|
21
|
+
)
|
|
22
|
+
args[_key2 - 1] = arguments[_key2];
|
|
23
|
+
_len2 = format;
|
|
24
|
+
_key2 = Error("react-stack-top-frame");
|
|
25
|
+
ReactSharedInternals.getCurrentStack &&
|
|
26
|
+
((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
|
|
27
|
+
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
|
|
28
|
+
args.unshift(_len2);
|
|
29
|
+
Function.prototype.apply.call(console.error, console, args);
|
|
30
|
+
}
|
|
31
|
+
var ReactSharedInternals =
|
|
32
|
+
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
33
|
+
exports.c = function (size) {
|
|
34
|
+
var dispatcher = ReactSharedInternals.H;
|
|
35
|
+
null === dispatcher &&
|
|
36
|
+
error(
|
|
37
|
+
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
|
38
|
+
);
|
|
39
|
+
return dispatcher.useMemoCache(size);
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-compiler-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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
|
+
var ReactSharedInternals =
|
|
13
|
+
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
14
|
+
exports.c = function (size) {
|
|
15
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-compiler-runtime.profiling.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and 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
|
+
var ReactSharedInternals =
|
|
13
|
+
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
14
|
+
exports.c = function (size) {
|
|
15
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
16
|
+
};
|