TagSpaces is an offline, open source, document manager with tagging support
v5.2.3
Ilian Sapundshiev6ceddbed3cf6
diff --git a/app/package.json b/app/package.jsonindex deb718fe2..04d498b36 100644--- a/app/package.json+++ b/app/package.json@@ -1,7 +1,7 @@{"name": "tagspaces","productName": "TagSpaces",- "version": "5.2.2",+ "version": "5.2.3","description": "Offline file organizer and browser with tagging support.","homepage": "https://www.tagspaces.org","main": "./main.prod.js",diff --git a/app/third-party.txt b/app/third-party.txtindex 5cff8bdcb..66f403205 100644--- a/app/third-party.txt+++ b/app/third-party.txt@@ -1325,7 +1325,7 @@ The following NPM packages may be included in this product:- @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]- - @aws-sdk/[email protected]+ - @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]- @aws-sdk/[email protected]@@ -2895,9 +2895,9 @@ Apache LicenseThe following NPM packages may be included in this product:- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]@@ -2921,7 +2921,7 @@ The following NPM packages may be included in this product:- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6- @babel/[email protected]@@ -2963,7 +2963,7 @@ The following NPM packages may be included in this product:- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]@@ -2987,7 +2987,7 @@ The following NPM packages may be included in this product:- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]@@ -2996,16 +2996,16 @@ The following NPM packages may be included in this product:- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]- - @babel/[email protected]+ - @babel/[email protected]- @babel/[email protected]These packages each contain the following license and notice below:@@ -3071,7 +3071,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM package may be included in this product:- - @babel/[email protected]+ - @babel/[email protected]This package contains the following license and notice below:@@ -3191,16 +3191,16 @@ SOFTWARE.The following NPM packages may be included in this product:- @codemirror/[email protected]- - @codemirror/[email protected]+ - @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]+ - @codemirror/[email protected]- @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]+ - @codemirror/[email protected]- @codemirror/[email protected]- @codemirror/[email protected]- @codemirror/[email protected]- - @codemirror/[email protected]+ - @codemirror/[email protected]These packages each contain the following license and notice below:@@ -5859,17 +5859,26 @@ This package contains the following license and notice below:The following NPM packages may be included in this product:- - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]+ - @jest/[email protected]- @jest/[email protected]- @jest/[email protected]+ - @jest/[email protected]@@ -5878,9 +5887,9 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -5939,11 +5948,12 @@ SOFTWARE.------------The following NPM package may be included in this product:+The following NPM packages may be included in this product:- @jridgewell/[email protected]+ - @jridgewell/[email protected]-This package contains the following license and notice below:+These packages each contain the following license and notice below:Copyright 2019 Justin Ridgewell <[email protected]>@@ -6032,7 +6042,7 @@ The following NPM packages may be included in this product:- @lezer/[email protected]- @lezer/[email protected]- @lezer/[email protected]- - @lezer/[email protected]+ - @lezer/[email protected]These packages each contain the following license and notice below:@@ -6145,15 +6155,15 @@ SOFTWARE.The following NPM packages may be included in this product:- @mui/[email protected]- - @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- @mui/[email protected]- @mui/[email protected]- @mui/[email protected]- - @mui/[email protected]+ - @mui/[email protected]- @mui/[email protected]- @mui/[email protected]@@ -6185,7 +6195,7 @@ SOFTWARE.The following NPM package may be included in this product:- - @mui/[email protected]+ - @mui/[email protected]This package contains the following license and notice below:@@ -6355,18 +6365,18 @@ SOFTWARE.The following NPM packages may be included in this product:- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]- - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]+ - @react-native-community/[email protected]These packages each contain the following license and notice below:@@ -6397,18 +6407,19 @@ SOFTWARE.The following NPM packages may be included in this product:- @react-native/[email protected]- - @react-native/[email protected]+ - @react-native/[email protected]- @react-native/[email protected]These packages each contain the following license and notice below:@@ -6472,10 +6483,100 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND-----------+The following NPM package may be included in this product:++ - @sinclair/[email protected]++This package contains the following license and notice below:++TypeBox: JSON Schema Type Builder with Static Type Resolution for TypeScript++The MIT License (MIT)++Copyright (c) 2017-2023 Haydn Paterson (sinclair) <[email protected]>++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------++The following NPM package may be included in this product:++ - @sinonjs/[email protected]++This package contains the following license and notice below:++BSD 3-Clause License++Copyright (c) 2018, Sinon.JS+All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++* Redistributions of source code must retain the above copyright notice, this+ list of conditions and the following disclaimer.++* Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimer in the documentation+ and/or other materials provided with the distribution.++* Neither the name of the copyright holder nor the names of its+ contributors may be used to endorse or promote products derived from+ this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.++-----------++The following NPM package may be included in this product:++ - @sinonjs/[email protected]++This package contains the following license and notice below:++Copyright (c) 2010-2014, Christian Johansen, [email protected]. All rights reserved.++Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:++1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.++2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.++3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.++-----------+The following NPM packages may be included in this product:- @tagspaces/[email protected]- - @tagspaces/[email protected]+ - @tagspaces/[email protected]These packages each contain the following license and notice below:@@ -6573,13 +6674,15 @@ The following NPM packages may be included in this product:- @types/[email protected]- @types/[email protected]- @types/[email protected]- - @types/[email protected]+ - @types/[email protected]- @types/[email protected]+ - @types/[email protected]- @types/[email protected]- @types/[email protected]- @types/[email protected]- @types/[email protected]- @types/[email protected]+ - @types/[email protected]These packages each contain the following license and notice below:@@ -6700,6 +6803,36 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++MIT License++Copyright (C) 2012-2022 by various contributors (see AUTHORS)++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------+The following NPM package may be included in this product:@@ -7037,12 +7170,14 @@ The following NPM packages may be included in this product:@@ -8003,7 +8138,7 @@ Apache LicenseThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -8486,9 +8621,9 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -9123,7 +9258,7 @@ THE SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -9219,6 +9354,7 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -9237,7 +9373,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -9759,11 +9895,12 @@ SOFTWARE.------------The following NPM package may be included in this product:+The following NPM packages may be included in this product:-This package contains the following license and notice below:+These packages each contain the following license and notice below:Copyright (c) 2015, Contributors@@ -9936,8 +10073,8 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -10000,6 +10137,7 @@ SOFTWARE.The following NPM packages may be included in this product:@@ -10377,11 +10515,11 @@ THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:-Copyright (c) 2014-2022 Denis Pushkarev+Copyright (c) 2014-2023 Denis PushkarevPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to deal@@ -10777,15 +10915,12 @@ SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:-Copyright 2010-2022 Mike Bostock+Copyright 2010-2023 Mike BostockPermission to use, copy, modify, and/or distribute this software for any purposewith or without fee is hereby granted, provided that the above copyright notice@@ -10840,9 +10975,33 @@ THIS SOFTWARE.-----------+The following NPM packages may be included in this product:+++These packages each contain the following license and notice below:++Copyright 2010-2022 Mike Bostock++Permission to use, copy, modify, and/or distribute this software for any purpose+with or without fee is hereby granted, provided that the above copyright notice+and this permission notice appear in all copies.++THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS+OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF+THIS SOFTWARE.++-----------+The following NPM package may be included in this product:This package contains the following license and notice below:@@ -11228,7 +11387,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -11523,6 +11682,144 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++# deprecated-react-native-prop-types++This package contains deprecated `prop-types` from [React Native](https://github.com/facebook/react-native).++## Image.propTypes++### Before++```js+import {Image} from 'react-native';++doSomething(Image.propTypes);+```++### After++```js+import {ImagePropTypes} from 'deprecated-react-native-prop-types';++doSomething(ImagePropTypes);+```++## Text.propTypes++### Before++```js+import {Text} from 'react-native';++doSomething(Text.propTypes);+```++### After++```js+import {TextPropTypes} from 'deprecated-react-native-prop-types';++doSomething(TextPropTypes);+```++## TextInput.propTypes++### Before++```js+import {TextInput} from 'react-native';++doSomething(TextInput.propTypes);+```++### After++```js+import {TextInputPropTypes} from 'deprecated-react-native-prop-types';++doSomething(TextInputPropTypes);+```++## ColorPropType++### Before++```js+import {ColorPropType} from 'react-native';++doSomething(ColorPropType);+```++### After++```js+import {ColorPropType} from 'deprecated-react-native-prop-types';++doSomething(ColorPropType);+```++## EdgeInsetsPropType++### Before++```js+import {EdgeInsetsPropType} from 'react-native';++doSomething(EdgeInsetsPropType);+```++### After++```js+import {EdgeInsetsPropType} from 'deprecated-react-native-prop-types';++doSomething(EdgeInsetsPropType);+```++## PointPropType++### Before++```js+import {PointPropType} from 'react-native';++doSomething(PointPropType);+```++### After++```js+import {PointPropType} from 'deprecated-react-native-prop-types';++doSomething(PointPropType);+```++## ViewPropTypes++### Before++```js+import {ViewPropTypes} from 'react-native';++doSomething(ViewPropTypes);+```++### After++```js+import {ViewPropTypes} from 'deprecated-react-native-prop-types';++doSomething(ViewPropTypes);+```++-----------+The following NPM packages may be included in this product:@@ -13087,7 +13384,7 @@ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -13127,14 +13424,14 @@ flow.parse('1+1', {});The second argument to `flow.parse` is the options object. Currently supported options:+* `all_comments` (boolean, default `true`) - include a list of all comments from the whole program+* `comments` (boolean, default `true`) - attach comments to AST nodes (`leadingComments` and `trailingComments`)* `enums` (boolean, default `false`) - enable parsing of Flow enums* `esproposal_decorators` (boolean, default `false`) - enable parsing of decorators-* `esproposal_class_instance_fields` (boolean, default `false`) - enable parsing of class instance fields-* `esproposal_class_static_fields` (boolean, default `false`) - enable parsing of class static fields* `esproposal_export_star_as` (boolean, default `false`) - enable parsing of `export * as` syntax-* `esproposal_optional_chaining` (boolean, default `false`) - enable parsing of optional chaining (`?.`)-* `esproposal_nullish_coalescing` (boolean, default `false`) - enable parsing of nullish coalescing (`??`)+* `tokens` (boolean, default `false`) - include a list of all parsed tokens in a top-level `tokens` property* `types` (boolean, default `true`) - enable parsing of Flow types+* `use_strict` (boolean, default `false`) - treat the file as strict, without needing a "use strict" directive-----------@@ -13258,30 +13555,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.------------The following NPM package may be included in this product:---This package contains the following license and notice below:--(The MIT License)--Copyright (c) 2011-2016 JP Richardson--Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files-(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is- furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--------------The following NPM packages may be included in this product:@@ -13955,7 +14228,7 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -14939,7 +15212,7 @@ The following NPM packages may be included in this product:@@ -15309,7 +15582,6 @@ SOFTWARE.The following NPM packages may be included in this product:@@ -16109,30 +16381,6 @@ DEALINGS IN THE SOFTWARE.------------The following NPM package may be included in this product:---This package contains the following license and notice below:--(The MIT License)--Copyright (c) 2015-2016 JP Richardson--Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files-(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,- merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is- furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE-WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS-OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.--------------The following NPM package may be included in this product:@@ -16555,7 +16803,7 @@ THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -16624,7 +16872,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -16656,14 +16904,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM packages may be included in this product:@@ -16705,7 +16953,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17155,7 +17403,7 @@ _Mermaid was created by Knut Sveidqvist for easier documentation._The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17167,7 +17415,7 @@ This package contains the following license and notice below:The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17181,7 +17429,7 @@ This package contains the following license and notice below:The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17202,7 +17450,7 @@ use case.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17229,7 +17477,7 @@ After the build process finishes the Hermes Bytecode Compiler JavaScript file wiThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -17279,7 +17527,7 @@ If you get stuck configuring Babel, please ask a question on Stack Overflow or fThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -17291,7 +17539,7 @@ This package contains the following license and notice below:The following NPM package may be included in this product:This package contains the following license and notice below:@@ -17305,7 +17553,7 @@ This package contains the following license and notice below:The following NPM package may be included in this product:This package contains the following license and notice below:@@ -22893,7 +23141,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIThe following NPM package may be included in this product:This package contains the following license and notice below:@@ -24110,11 +24358,11 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -24378,7 +24626,7 @@ limitations under the License.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -24439,73 +24687,129 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:# `react-devtools-core`-A standalone React DevTools implementation.+This package provides low-level APIs to support renderers like [React Native](https://github.com/facebook/react-native). If you're looking for the standalone React DevTools UI, **we suggest using [`react-devtools`](https://github.com/facebook/react/tree/main/packages/react-devtools) instead of using this package directly**.-This is a low-level package. If you're looking for the Electron app you can run, **use `react-devtools` package instead.**+This package provides two entrypoints: labeled "backend" and "standalone" (frontend). Both APIs are described below.-## API+# Backend API-### `react-devtools-core`+Backend APIs are embedded in _development_ builds of renderers like [React Native](https://github.com/facebook/react-native) in order to connect to the React DevTools UI.-This is similar requiring the `react-devtools` package, but provides several configurable options. Unlike `react-devtools`, requiring `react-devtools-core` doesn't connect immediately but instead exports a function:+### Example++If you are building a non-browser-based React renderer, you can use the backend API like so:```js-const { connectToDevTools } = require("react-devtools-core");-connectToDevTools(config);+if (process.env.NODE_ENV !== 'production') {+ const { connectToDevTools } = require("react-devtools-core");++ // Must be called before packages like react or react-native are imported+ connectToDevTools({+ ...config+ });+}```-Run `connectToDevTools()` in the same context as React to set up a connection to DevTools.-Be sure to run this function *before* importing e.g. `react`, `react-dom`, `react-native`.+> **NOTE** that this API (`connectToDevTools`) must be (1) run in the same context as React and (2) must be called before React packages are imported (e.g. `react`, `react-dom`, `react-native`).-The `config` object may contain:-* `host: string` (defaults to "localhost") - Websocket will connect to this host.-* `port: number` (defaults to `8097`) - Websocket will connect to this port.-* `useHttps: boolean` (defaults to `false`) - Websocket should use a secure protocol (wss).-* `websocket: Websocket` - Custom websocket to use. Overrides `host` and `port` settings if provided.-* `resolveRNStyle: (style: number) => ?Object` - Used by the React Native style plug-in.-* `retryConnectionDelay: number` (defaults to `2000`) - Milliseconds delay to wait between retrying a failed Websocket connection.-* `isAppActive: () => boolean` - If provided, DevTools will poll this method and wait until it returns true before connecting to React.+### `connectToDevTools` options+| Prop | Default | Description |+|---|---|---|+| `host` | `"localhost"` | Socket connection to frontend should use this host. |+| `isAppActive` | | (Optional) function that returns true/false, telling DevTools when it's ready to connect to React. |+| `port` | `8097` | Socket connection to frontend should use this port. |+| `resolveRNStyle` | | (Optional) function that accepts a key (number) and returns a style (object); used by React Native. |+| `retryConnectionDelay` | `200` | Delay (ms) to wait between retrying a failed Websocket connection |+| `useHttps` | `false` | Socket connection to frontend should use secure protocol (wss). |+| `websocket` | | Custom `WebSocket` connection to frontend; overrides `host` and `port` settings. |-## `react-devtools-core/standalone`+# Frontend API-Renders the DevTools interface into a DOM node.+Frontend APIs can be used to render the DevTools UI into a DOM node. One example of this is [`react-devtools`](https://github.com/facebook/react/tree/main/packages/react-devtools) which wraps DevTools in an Electron app.+### Example```js-require("react-devtools-core/standalone")- .setContentDOMNode(document.getElementById("container"))- .setStatusListener(status => {- // This callback is optional...- })- .startServer(port);+import DevtoolsUI from "react-devtools-core/standalone";++// See the full list of API methods in documentation below.+const { setContentDOMNode, startServer } = DevtoolsUI;++// Render DevTools UI into a DOM element.+setContentDOMNode(document.getElementById("container"));++// Start socket server used to communicate between backend and frontend.+startServer(+ // Port defaults to 8097+ 1234,++ // Host defaults to "localhost"+ "example.devserver.com",++ // Optional config for secure socket (WSS).+ {+ key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),+ cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem')+ }+);```-Renders DevTools interface into a DOM node over SSL using a custom host name (Default is localhost).+### Exported methods+The `default` export is an object defining the methods described below.+These methods support chaining for convenience. For example:```js-const host = 'dev.server.com';-const options = {- key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),- cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem')-};+const DevtoolsUI = require("react-devtools-core/standalone");+DevtoolsUI.setContentDOMNode(element).startServer();+```+#### `connectToSocket(socket: WebSocket)`+> This is an advanced config function that is typically not used.-require("react-devtools-core/standalone")- .setContentDOMNode(document.getElementById("container"))- .setStatusListener(status => {- // This callback is optional...- })- .startServer(port, host, options);+Custom `WebSocket` connection to use for communication between DevTools frontend and backend. Calling this method automatically initializes the DevTools UI (similar to calling `startServer()`).++#### `openProfiler()`+Automatically select the "Profiler" tab in the DevTools UI.++#### `setContentDOMNode(element: HTMLElement)`+Set the DOM element DevTools UI should be rendered into on initialization.++#### `setDisconnectedCallback(callback: Function)`+_Optional_ callback to be notified when DevTools `WebSocket` closes (or errors).++#### `setProjectRoots(roots: Array<string>)`+_Optional_ set of root directories for source files. These roots can be used to open an inspected component's source code using an IDE.++#### `setStatusListener(callback: Function)`+_Optional_ callback to be notified of socket server events (e.g. initialized, errored, connected).++This callback receives two parameters:+```js+function onStatus(+ message: string,+ status: 'server-connected' | 'devtools-connected' | 'error'+): void {+ // ...+}```-Reference the `react-devtools` package for a complete integration example.+#### `startServer(port?: number, host?: string, httpsOptions?: Object, loggerOptions?: Object)`+Start a socket server (used to communicate between backend and frontend) and renders the DevTools UI.++This method accepts the following parameters:+| Name | Default | Description |+|---|---|---|+| `port` | `8097` | Socket connection to backend should use this port. |+| `host` | `"localhost"` | Socket connection to backend should use this host. |+| `httpsOptions` | | _Optional_ object defining `key` and `cert` strings. |+| `loggerOptions` | | _Optional_ object defining a `surface` string (to be included with DevTools logging events). |-## Development+# DevelopmentWatch for changes made to the backend entry point and rebuild:```sh@@ -24517,6 +24821,8 @@ Watch for changes made to the standalone UI entry point and rebuild:yarn start:standalone```+Run the standalone UI using `yarn start` in the [`react-devtools`](https://github.com/facebook/react/tree/main/packages/react-devtools).+-----------The following NPM package may be included in this product:@@ -24848,7 +25154,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -24867,6 +25173,13 @@ yarn add --dev react-native-codegen[version-badge]: https://img.shields.io/npm/v/react-native-codegen?style=flat-square[package]: https://www.npmjs.com/package/react-native-codegen+## Testing++To run the tests in this package, run the following commands from the react Native root folder:++1. `yarn` to install the dependencies. You just need to run this once+2. `yarn jest react-native-codegen`.+-----------The following NPM package may be included in this product:@@ -24901,7 +25214,7 @@ SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -25446,7 +25759,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -25868,6 +26181,7 @@ The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -26718,6 +27032,36 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++The MIT License (MIT)++Copyright (c) 2016-2022 Isaac Z. Schlueter <[email protected]>, James Talmage <[email protected]> (github.com/jamestalmage), and Contributors++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------+The following NPM package may be included in this product:@@ -27015,6 +27359,44 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++Terser is released under the BSD license:++Copyright 2012-2018 (c) Mihai Bazon <[email protected]>++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions+are met:++ * Redistributions of source code must retain the above+ copyright notice, this list of conditions and the following+ disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials+ provided with the distribution.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,+OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF+THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF+SUCH DAMAGE.++-----------+The following NPM packages may be included in this product:@@ -27424,7 +27806,7 @@ div {The following NPM packages may be included in this product:These packages each contain the following license and notice below:@@ -27501,6 +27883,34 @@ SOFTWARE.-----------+The following NPM package may be included in this product:+++This package contains the following license and notice below:++Copyright (c) 2013 Jake Luer <[email protected]> (http://alogicalparadox.com)++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.++-----------+The following NPM package may be included in this product:@@ -27632,7 +28042,7 @@ THE SOFTWARE.The following NPM package may be included in this product:This package contains the following license and notice below:@@ -28382,11 +28792,12 @@ THE SOFTWARE.------------The following NPM package may be included in this product:+The following NPM packages may be included in this product:-This package contains the following license and notice below:+These packages each contain the following license and notice below:Copyright (c) 2015, Contributors@@ -28426,11 +28837,12 @@ THIS SOFTWARE.------------The following NPM package may be included in this product:+The following NPM packages may be included in this product:-This package contains the following license and notice below:+These packages each contain the following license and notice below:MIT License