@luxonis/depthai-pipeline-lib 3.9.8 → 4.0.1

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.
@@ -68,10 +68,6 @@ This file is generated by `npm run licenses:scan`. Do not edit it by hand.
68
68
  | @floating-ui/dom | 1.8.0 | MIT |
69
69
  | @floating-ui/react-dom | 2.1.9 | MIT |
70
70
  | @floating-ui/utils | 0.2.12 | MIT |
71
- | @formatjs/fast-memoize | 3.1.7 | MIT |
72
- | @formatjs/icu-messageformat-parser | 3.5.15 | MIT |
73
- | @formatjs/icu-skeleton-parser | 2.1.11 | MIT |
74
- | @formatjs/intl | 4.1.17 | MIT |
75
71
  | @hookform/resolvers | 5.4.0 | MIT |
76
72
  | @radix-ui/number | 1.1.2 | MIT |
77
73
  | @radix-ui/primitive | 1.1.6 | MIT |
@@ -160,7 +156,6 @@ This file is generated by `npm run licenses:scan`. Do not edit it by hand.
160
156
  | get-nonce | 1.0.1 | MIT |
161
157
  | hasown | 2.0.4 | MIT |
162
158
  | hast-util-sanitize | 5.0.2 | MIT |
163
- | intl-messageformat | 11.2.12 | BSD-3-Clause |
164
159
  | is-core-module | 2.16.2 | MIT |
165
160
  | node-releases | 2.0.51 | MIT |
166
161
  | non-error | 0.1.0 | MIT |
@@ -198,9 +193,8 @@ This file is generated by `npm run licenses:scan`. Do not edit it by hand.
198
193
  | postcss-selector-parser | 6.1.4 | MIT |
199
194
  | postcss-selector-parser | 7.1.4 | MIT |
200
195
  | postcss-value-parser | 4.2.0 | MIT |
201
- | react-hook-form | 7.70.0 | MIT |
196
+ | react-hook-form | 7.79.0 | MIT |
202
197
  | react-icons | 5.7.0 | MIT |
203
- | react-intl | 10.1.18 | BSD-3-Clause |
204
198
  | react-remove-scroll | 2.7.2 | MIT |
205
199
  | react-remove-scroll-bar | 2.3.8 | MIT |
206
200
  | react-style-singleton | 2.2.3 | MIT |
@@ -213,7 +207,7 @@ This file is generated by `npm run licenses:scan`. Do not edit it by hand.
213
207
  | tagged-tag | 1.0.0 | MIT |
214
208
  | tailwind-merge | 3.6.0 | MIT |
215
209
  | tslib | 2.8.1 | 0BSD |
216
- | type-fest | 5.8.0 | (MIT OR CC0-1.0) |
210
+ | type-fest | 5.9.0 | (MIT OR CC0-1.0) |
217
211
  | unist-util-position | 5.0.0 | MIT |
218
212
  | update-browserslist-db | 1.2.3 | MIT |
219
213
  | use-callback-ref | 1.3.3 | MIT |
@@ -348,21 +342,7 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
348
342
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
349
343
  ```
350
344
 
351
- ### @formatjs/fast-memoize 3.1.7, @formatjs/icu-messageformat-parser 3.5.15, @formatjs/icu-skeleton-parser 2.1.11, @formatjs/intl 4.1.17
352
-
353
- ```
354
- MIT License
355
-
356
- Copyright (c) 2023 FormatJS
357
-
358
- 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:
359
-
360
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
361
-
362
- 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.
363
- ```
364
-
365
- ### @hookform/resolvers 5.4.0, react-hook-form 7.70.0
345
+ ### @hookform/resolvers 5.4.0, react-hook-form 7.79.0
366
346
 
367
347
  ```
368
348
  MIT License
@@ -848,7 +828,7 @@ exhaustive, and do not form part of our licenses.
848
828
  such as asking that all changes be marked or described.
849
829
  Although not required by our licenses, you are encouraged to
850
830
  respect those requests where reasonable. More_considerations
851
- for the public:
831
+ for the public:
852
832
  wiki.creativecommons.org/Considerations_for_licensees
853
833
 
854
834
  =======================================================================
@@ -1764,44 +1744,6 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1764
1744
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1765
1745
  ```
1766
1746
 
1767
- ### intl-messageformat 11.2.12
1768
-
1769
- ```
1770
- Copyright (c) 2023, Oath Inc.
1771
-
1772
- Licensed under the terms of the New BSD license. See below for terms.
1773
-
1774
- Redistribution and use of this software in source and binary forms,
1775
- with or without modification, are permitted provided that the following
1776
- conditions are met:
1777
-
1778
- - Redistributions of source code must retain the above
1779
- copyright notice, this list of conditions and the
1780
- following disclaimer.
1781
-
1782
- - Redistributions in binary form must reproduce the above
1783
- copyright notice, this list of conditions and the
1784
- following disclaimer in the documentation and/or other
1785
- materials provided with the distribution.
1786
-
1787
- - Neither the name of Oath Inc. nor the names of its
1788
- contributors may be used to endorse or promote products
1789
- derived from this software without specific prior
1790
- written permission of Oath Inc.
1791
-
1792
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
1793
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1794
- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
1795
- PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1796
- OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1797
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1798
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1799
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1800
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1801
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1802
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1803
- ```
1804
-
1805
1747
  ### is-core-module 2.16.2
1806
1748
 
1807
1749
  ```
@@ -2118,25 +2060,25 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2118
2060
  ### postcss-replace-overflow-wrap 4.0.0
2119
2061
 
2120
2062
  ```
2121
- The MIT License (MIT)
2122
-
2123
- Copyright 2016 Matthias Müller <MattDiMu@users.noreply.github.com>
2124
-
2125
- Permission is hereby granted, free of charge, to any person obtaining a copy of
2126
- this software and associated documentation files (the "Software"), to deal in
2127
- the Software without restriction, including without limitation the rights to
2128
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
2129
- the Software, and to permit persons to whom the Software is furnished to do so,
2130
- subject to the following conditions:
2131
-
2132
- The above copyright notice and this permission notice shall be included in all
2133
- copies or substantial portions of the Software.
2134
-
2135
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2136
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
2137
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
2138
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
2139
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2063
+ The MIT License (MIT)
2064
+
2065
+ Copyright 2016 Matthias Müller <MattDiMu@users.noreply.github.com>
2066
+
2067
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
2068
+ this software and associated documentation files (the "Software"), to deal in
2069
+ the Software without restriction, including without limitation the rights to
2070
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
2071
+ the Software, and to permit persons to whom the Software is furnished to do so,
2072
+ subject to the following conditions:
2073
+
2074
+ The above copyright notice and this permission notice shall be included in all
2075
+ copies or substantial portions of the Software.
2076
+
2077
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2078
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
2079
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
2080
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
2081
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
2140
2082
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2141
2083
  ```
2142
2084
 
@@ -2301,38 +2243,6 @@ Icons8 Line Awesome - https://icons8.com/line-awesome
2301
2243
  License: MIT https://github.com/icons8/line-awesome/blob/master/LICENSE.md
2302
2244
  ```
2303
2245
 
2304
- ### react-intl 10.1.18
2305
-
2306
- ```
2307
- Copyright 2019 Oath Inc.
2308
- All rights reserved.
2309
-
2310
- Redistribution and use in source and binary forms, with or without
2311
- modification, are permitted provided that the following conditions are met:
2312
-
2313
- * Redistributions of source code must retain the above copyright
2314
- notice, this list of conditions and the following disclaimer.
2315
-
2316
- * Redistributions in binary form must reproduce the above copyright
2317
- notice, this list of conditions and the following disclaimer in the
2318
- documentation and/or other materials provided with the distribution.
2319
-
2320
- * Neither the name of the Oath Inc. nor the
2321
- names of its contributors may be used to endorse or promote products
2322
- derived from this software without specific prior written permission.
2323
-
2324
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2325
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2326
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2327
- DISCLAIMED. IN NO EVENT SHALL Oath INC. BE LIABLE FOR ANY
2328
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
2329
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2330
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2331
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2332
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2333
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2334
- ```
2335
-
2336
2246
  ### read-cache 1.0.0
2337
2247
 
2338
2248
  ```
@@ -2492,17 +2402,17 @@ SOFTWARE.
2492
2402
  ### tslib 2.8.1
2493
2403
 
2494
2404
  ```
2495
- Copyright (c) Microsoft Corporation.
2496
-
2497
- Permission to use, copy, modify, and/or distribute this software for any
2498
- purpose with or without fee is hereby granted.
2499
-
2500
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2501
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2502
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2503
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2504
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2505
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2405
+ Copyright (c) Microsoft Corporation.
2406
+
2407
+ Permission to use, copy, modify, and/or distribute this software for any
2408
+ purpose with or without fee is hereby granted.
2409
+
2410
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2411
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2412
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2413
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2414
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2415
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2506
2416
  PERFORMANCE OF THIS SOFTWARE.
2507
2417
  ```
2508
2418
 
@@ -2674,4 +2584,4 @@ of each declared license is available from https://spdx.org/licenses/.
2674
2584
  - postcss-selector-parser 6.1.4 (MIT)
2675
2585
  - postcss-selector-parser 7.1.4 (MIT)
2676
2586
  - react-remove-scroll-bar 2.3.8 (MIT)
2677
- - type-fest 5.8.0 ((MIT OR CC0-1.0))
2587
+ - type-fest 5.9.0 ((MIT OR CC0-1.0))
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Badge, Flex, Label, SubLabel } from '@luxonis/ui-components';
3
- import { PACKAGE_VERSION } from '../version.js';
3
+ import { appVersion } from '..';
4
4
  const debugSections = [
5
5
  {
6
6
  title: 'Nodes',
@@ -199,5 +199,5 @@ export const PipelineLegend = ({ isDebugging }) => {
199
199
  bridgeSection,
200
200
  ]
201
201
  : sharedSections;
202
- return (_jsxs(Flex, { direction: "column", gap: "xs", className: "w-full max-w-[390px] bg-card border border-border rounded-sm p-4", children: [_jsx(Label, { text: "Legend", color: "normal", weight: "medium", align: "center" }), _jsx(Flex, { direction: "column", gap: "xs", className: "w-full", children: sections.map((section) => (_jsx(LegendSection, { title: section.title, items: section.items }, section.title))) }), _jsx(SubLabel, { text: `v${PACKAGE_VERSION}`, color: "lightGray", align: "right" })] }));
202
+ return (_jsxs(Flex, { direction: "column", gap: "xs", className: "w-full max-w-[390px] bg-card border border-border rounded-sm p-4", children: [_jsx(Label, { text: "Legend", color: "normal", weight: "medium", align: "center" }), _jsx(Flex, { direction: "column", gap: "xs", className: "w-full", children: sections.map((section) => (_jsx(LegendSection, { title: section.title, items: section.items }, section.title))) }), _jsx(SubLabel, { text: `v${appVersion}`, color: "lightGray", align: "right" })] }));
203
203
  };
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
+ export { version as appVersion } from '../package.json';
6
7
  export type { PipelineCanvasProps } from './components/PipelineCanvas.js';
7
8
  export { PipelineCanvas } from './components/PipelineCanvas.js';
8
9
  export type { ParsedNode, Pipeline, RawPipeline, RawPipelineEdge, RawPipelineNode, RawPipelineNodeIO, RawPipelinePayload, } from './services/pipeline.js';
@@ -10,4 +11,3 @@ export { parsePipeline } from './services/pipeline.js';
10
11
  export type { ParsedHandle } from './services/pipeline-handles.js';
11
12
  export type { GPSTTimingsType, IONodeState, IOStates, NodeExtras, NodeState, NodeStateRaw, PipelineState, PipelineStateDotColor, RawPipelineState, RawPipelineStatePayload, Timing, TimingWithFps, } from './services/pipeline-state.js';
12
13
  export { parsePipelineState } from './services/pipeline-state.js';
13
- export { PACKAGE_VERSION } from './version.js';
package/dist/src/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
+ export { version as appVersion } from '../package.json';
6
7
  export { PipelineCanvas } from './components/PipelineCanvas.js';
7
8
  export { parsePipeline } from './services/pipeline.js';
8
9
  export { parsePipelineState } from './services/pipeline-state.js';
9
- export { PACKAGE_VERSION } from './version.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxonis/depthai-pipeline-lib",
3
- "version": "3.9.8",
3
+ "version": "4.0.1",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./dist/src/index.js",
@@ -1,4 +0,0 @@
1
- /**
2
- * Package version injected during the library build.
3
- */
4
- export declare const PACKAGE_VERSION = "3.9.8";
@@ -1,5 +0,0 @@
1
- // Do not edit it manually.
2
- /**
3
- * Package version injected during the library build.
4
- */
5
- export const PACKAGE_VERSION = '3.9.8';