@zaber/motion 7.4.2 → 7.5.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.
- package/LICENSE +9 -253
- package/binding.gyp +2 -1
- package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +11 -1
- package/dist/lib/ascii/axis.d.ts.map +1 -1
- package/dist/lib/ascii/axis.js +5 -1
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +10 -1
- package/dist/lib/ascii/device.d.ts.map +1 -1
- package/dist/lib/ascii/device.js +5 -1
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/gateway/wasm-exec.d.ts.map +1 -1
- package/dist/lib/gateway/wasm-exec.js +70 -64
- package/dist/lib/gateway/wasm-exec.js.map +1 -1
- package/dist/lib/library.js +1 -1
- package/dist/lib/library.js.map +1 -1
- package/dist/lib/microscopy/illuminator_channel.d.ts +11 -1
- package/dist/lib/microscopy/illuminator_channel.d.ts.map +1 -1
- package/dist/lib/microscopy/illuminator_channel.js +5 -1
- package/dist/lib/microscopy/illuminator_channel.js.map +1 -1
- package/dist/lib/product/process.d.ts +11 -1
- package/dist/lib/product/process.d.ts.map +1 -1
- package/dist/lib/product/process.js +5 -1
- package/dist/lib/product/process.js.map +1 -1
- package/dist/lib/requests/can_set_state_request.d.ts +2 -0
- package/dist/lib/requests/can_set_state_request.d.ts.map +1 -1
- package/dist/lib/requests/can_set_state_request.js +3 -0
- package/dist/lib/requests/can_set_state_request.js.map +1 -1
- package/dist/lib/units.d.ts +3 -1
- package/dist/lib/units.d.ts.map +1 -1
- package/dist/lib/units.js +2 -0
- package/dist/lib/units.js.map +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -65,13 +65,13 @@ SOFTWARE.
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
------------------
|
|
68
|
-
github.com/davecgh/go-spew v1.1.
|
|
68
|
+
github.com/davecgh/go-spew v1.1.1
|
|
69
69
|
------------------
|
|
70
70
|
ISC License
|
|
71
71
|
|
|
72
72
|
Copyright (c) 2012-2016 Dave Collins <dave@davec.name>
|
|
73
73
|
|
|
74
|
-
Permission to use, copy, modify, and distribute this software for any
|
|
74
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
75
75
|
purpose with or without fee is hereby granted, provided that the above
|
|
76
76
|
copyright notice and this permission notice appear in all copies.
|
|
77
77
|
|
|
@@ -421,57 +421,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
421
421
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
422
422
|
THE SOFTWARE.
|
|
423
423
|
|
|
424
|
-
------------------
|
|
425
|
-
github.com/stretchr/objx v0.1.0
|
|
426
|
-
------------------
|
|
427
|
-
The MIT License
|
|
428
|
-
|
|
429
|
-
Copyright (c) 2014 Stretchr, Inc.
|
|
430
|
-
Copyright (c) 2017-2018 objx contributors
|
|
431
|
-
|
|
432
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
433
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
434
|
-
in the Software without restriction, including without limitation the rights
|
|
435
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
436
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
437
|
-
furnished to do so, subject to the following conditions:
|
|
438
|
-
|
|
439
|
-
The above copyright notice and this permission notice shall be included in all
|
|
440
|
-
copies or substantial portions of the Software.
|
|
441
|
-
|
|
442
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
443
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
444
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
445
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
446
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
447
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
448
|
-
SOFTWARE.
|
|
449
|
-
|
|
450
|
-
------------------
|
|
451
|
-
github.com/stretchr/testify v1.7.0
|
|
452
|
-
------------------
|
|
453
|
-
MIT License
|
|
454
|
-
|
|
455
|
-
Copyright (c) 2012-2020 Mat Ryer, Tyler Bunnell and contributors.
|
|
456
|
-
|
|
457
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
458
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
459
|
-
in the Software without restriction, including without limitation the rights
|
|
460
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
461
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
462
|
-
furnished to do so, subject to the following conditions:
|
|
463
|
-
|
|
464
|
-
The above copyright notice and this permission notice shall be included in all
|
|
465
|
-
copies or substantial portions of the Software.
|
|
466
|
-
|
|
467
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
468
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
469
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
470
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
471
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
472
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
473
|
-
SOFTWARE.
|
|
474
|
-
|
|
475
424
|
------------------
|
|
476
425
|
github.com/zabertech/go-ethereum v1.10.4-rpc-1 (fork github.com/ethereum/go-ethereum)
|
|
477
426
|
------------------
|
|
@@ -1188,7 +1137,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
|
1188
1137
|
|
|
1189
1138
|
|
|
1190
1139
|
------------------
|
|
1191
|
-
gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-
|
|
1140
|
+
gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-20250220200722-1bb521485637
|
|
1192
1141
|
------------------
|
|
1193
1142
|
Copyright 2022 Zaber Technologies Inc.
|
|
1194
1143
|
|
|
@@ -1199,7 +1148,7 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
1199
1148
|
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.
|
|
1200
1149
|
|
|
1201
1150
|
------------------
|
|
1202
|
-
gitlab.com/ZaberTech/zaber-go-lib v0.0.0-
|
|
1151
|
+
gitlab.com/ZaberTech/zaber-go-lib v0.0.0-20240813205049-f6bcd1951361
|
|
1203
1152
|
------------------
|
|
1204
1153
|
Copyright 2022 Zaber Technologies Inc.
|
|
1205
1154
|
|
|
@@ -1508,69 +1457,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1508
1457
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1509
1458
|
|
|
1510
1459
|
------------------
|
|
1511
|
-
golang.org/x/mod v0.
|
|
1512
|
-
------------------
|
|
1513
|
-
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1514
|
-
|
|
1515
|
-
Redistribution and use in source and binary forms, with or without
|
|
1516
|
-
modification, are permitted provided that the following conditions are
|
|
1517
|
-
met:
|
|
1518
|
-
|
|
1519
|
-
* Redistributions of source code must retain the above copyright
|
|
1520
|
-
notice, this list of conditions and the following disclaimer.
|
|
1521
|
-
* Redistributions in binary form must reproduce the above
|
|
1522
|
-
copyright notice, this list of conditions and the following disclaimer
|
|
1523
|
-
in the documentation and/or other materials provided with the
|
|
1524
|
-
distribution.
|
|
1525
|
-
* Neither the name of Google Inc. nor the names of its
|
|
1526
|
-
contributors may be used to endorse or promote products derived from
|
|
1527
|
-
this software without specific prior written permission.
|
|
1528
|
-
|
|
1529
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1530
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1531
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
1532
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
1533
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
1534
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
1535
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
1536
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
1537
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1538
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1539
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1540
|
-
|
|
1541
|
-
------------------
|
|
1542
|
-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
|
1543
|
-
------------------
|
|
1544
|
-
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1545
|
-
|
|
1546
|
-
Redistribution and use in source and binary forms, with or without
|
|
1547
|
-
modification, are permitted provided that the following conditions are
|
|
1548
|
-
met:
|
|
1549
|
-
|
|
1550
|
-
* Redistributions of source code must retain the above copyright
|
|
1551
|
-
notice, this list of conditions and the following disclaimer.
|
|
1552
|
-
* Redistributions in binary form must reproduce the above
|
|
1553
|
-
copyright notice, this list of conditions and the following disclaimer
|
|
1554
|
-
in the documentation and/or other materials provided with the
|
|
1555
|
-
distribution.
|
|
1556
|
-
* Neither the name of Google Inc. nor the names of its
|
|
1557
|
-
contributors may be used to endorse or promote products derived from
|
|
1558
|
-
this software without specific prior written permission.
|
|
1559
|
-
|
|
1560
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1561
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1562
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
1563
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
1564
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
1565
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
1566
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
1567
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
1568
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1569
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1570
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1571
|
-
|
|
1572
|
-
------------------
|
|
1573
|
-
golang.org/x/sync v0.0.0-20190423024810-112230192c58
|
|
1460
|
+
golang.org/x/mod v0.12.0
|
|
1574
1461
|
------------------
|
|
1575
1462
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1576
1463
|
|
|
@@ -1601,7 +1488,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1601
1488
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1602
1489
|
|
|
1603
1490
|
------------------
|
|
1604
|
-
golang.org/x/
|
|
1491
|
+
golang.org/x/net v0.12.0
|
|
1605
1492
|
------------------
|
|
1606
1493
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1607
1494
|
|
|
@@ -1632,7 +1519,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1632
1519
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1633
1520
|
|
|
1634
1521
|
------------------
|
|
1635
|
-
golang.org/x/
|
|
1522
|
+
golang.org/x/sync v0.3.0
|
|
1636
1523
|
------------------
|
|
1637
1524
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1638
1525
|
|
|
@@ -1663,7 +1550,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1663
1550
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1664
1551
|
|
|
1665
1552
|
------------------
|
|
1666
|
-
golang.org/x/
|
|
1553
|
+
golang.org/x/sys v0.10.0
|
|
1667
1554
|
------------------
|
|
1668
1555
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1669
1556
|
|
|
@@ -1694,7 +1581,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1694
1581
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1695
1582
|
|
|
1696
1583
|
------------------
|
|
1697
|
-
golang.org/x/
|
|
1584
|
+
golang.org/x/text v0.9.0
|
|
1698
1585
|
------------------
|
|
1699
1586
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
1700
1587
|
|
|
@@ -1724,120 +1611,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
1724
1611
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1725
1612
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1726
1613
|
|
|
1727
|
-
------------------
|
|
1728
|
-
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
|
|
1729
|
-
------------------
|
|
1730
|
-
Copyright (c) 2019 The Go Authors. All rights reserved.
|
|
1731
|
-
|
|
1732
|
-
Redistribution and use in source and binary forms, with or without
|
|
1733
|
-
modification, are permitted provided that the following conditions are
|
|
1734
|
-
met:
|
|
1735
|
-
|
|
1736
|
-
* Redistributions of source code must retain the above copyright
|
|
1737
|
-
notice, this list of conditions and the following disclaimer.
|
|
1738
|
-
* Redistributions in binary form must reproduce the above
|
|
1739
|
-
copyright notice, this list of conditions and the following disclaimer
|
|
1740
|
-
in the documentation and/or other materials provided with the
|
|
1741
|
-
distribution.
|
|
1742
|
-
* Neither the name of Google Inc. nor the names of its
|
|
1743
|
-
contributors may be used to endorse or promote products derived from
|
|
1744
|
-
this software without specific prior written permission.
|
|
1745
|
-
|
|
1746
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
1747
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
1748
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
1749
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
1750
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
1751
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
1752
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
1753
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
1754
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1755
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
1756
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1757
|
-
|
|
1758
|
-
------------------
|
|
1759
|
-
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
|
|
1760
|
-
------------------
|
|
1761
|
-
Gocheck - A rich testing framework for Go
|
|
1762
|
-
|
|
1763
|
-
Copyright (c) 2010-2013 Gustavo Niemeyer <gustavo@niemeyer.net>
|
|
1764
|
-
|
|
1765
|
-
All rights reserved.
|
|
1766
|
-
|
|
1767
|
-
Redistribution and use in source and binary forms, with or without
|
|
1768
|
-
modification, are permitted provided that the following conditions are met:
|
|
1769
|
-
|
|
1770
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
1771
|
-
list of conditions and the following disclaimer.
|
|
1772
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
1773
|
-
this list of conditions and the following disclaimer in the documentation
|
|
1774
|
-
and/or other materials provided with the distribution.
|
|
1775
|
-
|
|
1776
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
1777
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
1778
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
1779
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
1780
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
1781
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
1782
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
1783
|
-
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
1784
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
1785
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1786
|
-
|
|
1787
|
-
------------------
|
|
1788
|
-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
|
|
1789
|
-
------------------
|
|
1790
|
-
|
|
1791
|
-
This project is covered by two different licenses: MIT and Apache.
|
|
1792
|
-
|
|
1793
|
-
#### MIT License ####
|
|
1794
|
-
|
|
1795
|
-
The following files were ported to Go from C files of libyaml, and thus
|
|
1796
|
-
are still covered by their original MIT license, with the additional
|
|
1797
|
-
copyright staring in 2011 when the project was ported over:
|
|
1798
|
-
|
|
1799
|
-
apic.go emitterc.go parserc.go readerc.go scannerc.go
|
|
1800
|
-
writerc.go yamlh.go yamlprivateh.go
|
|
1801
|
-
|
|
1802
|
-
Copyright (c) 2006-2010 Kirill Simonov
|
|
1803
|
-
Copyright (c) 2006-2011 Kirill Simonov
|
|
1804
|
-
|
|
1805
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
1806
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
1807
|
-
the Software without restriction, including without limitation the rights to
|
|
1808
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
1809
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
1810
|
-
so, subject to the following conditions:
|
|
1811
|
-
|
|
1812
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1813
|
-
copies or substantial portions of the Software.
|
|
1814
|
-
|
|
1815
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1816
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1817
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1818
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1819
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1820
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1821
|
-
SOFTWARE.
|
|
1822
|
-
|
|
1823
|
-
### Apache License ###
|
|
1824
|
-
|
|
1825
|
-
All the remaining project files are covered by the Apache license:
|
|
1826
|
-
|
|
1827
|
-
Copyright (c) 2011-2019 Canonical Ltd
|
|
1828
|
-
|
|
1829
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1830
|
-
you may not use this file except in compliance with the License.
|
|
1831
|
-
You may obtain a copy of the License at
|
|
1832
|
-
|
|
1833
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
1834
|
-
|
|
1835
|
-
Unless required by applicable law or agreed to in writing, software
|
|
1836
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1837
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1838
|
-
See the License for the specific language governing permissions and
|
|
1839
|
-
limitations under the License.
|
|
1840
|
-
|
|
1841
1614
|
------------------
|
|
1842
1615
|
gotest.tools v2.2.0+incompatible
|
|
1843
1616
|
------------------
|
|
@@ -1854,20 +1627,3 @@ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
1854
1627
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1855
1628
|
See the License for the specific language governing permissions and
|
|
1856
1629
|
limitations under the License.
|
|
1857
|
-
|
|
1858
|
-
------------------
|
|
1859
|
-
gotest.tools/v3 v3.0.2
|
|
1860
|
-
------------------
|
|
1861
|
-
Copyright 2018 gotest.tools authors
|
|
1862
|
-
|
|
1863
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1864
|
-
you may not use this file except in compliance with the License.
|
|
1865
|
-
You may obtain a copy of the License at
|
|
1866
|
-
|
|
1867
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
1868
|
-
|
|
1869
|
-
Unless required by applicable law or agreed to in writing, software
|
|
1870
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1871
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1872
|
-
See the License for the specific language governing permissions and
|
|
1873
|
-
limitations under the License.
|
package/binding.gyp
CHANGED
|
Binary file
|
package/dist/lib/ascii/axis.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { Response } from './response';
|
|
|
8
8
|
import { Measurement } from '../measurement';
|
|
9
9
|
import { AxisStorage } from './storage';
|
|
10
10
|
import { SetStateAxisResponse } from './set_state_axis_response';
|
|
11
|
+
import { FirmwareVersion } from '../firmware_version';
|
|
11
12
|
/**
|
|
12
13
|
* Represents an axis of motion associated with a device.
|
|
13
14
|
*/
|
|
@@ -272,9 +273,11 @@ export declare class Axis {
|
|
|
272
273
|
* This only covers exceptions that can be determined statically such as mismatches of ID or version,
|
|
273
274
|
* the process of applying the state can still fail when running.
|
|
274
275
|
* @param state The state object to check against.
|
|
276
|
+
* @param options.firmwareVersion The firmware version of the device to apply the state to.
|
|
277
|
+
* Use this to ensure the state will still be compatible after an update.
|
|
275
278
|
* @returns An explanation of why this state cannot be set to this axis.
|
|
276
279
|
*/
|
|
277
|
-
canSetState(state: string): Promise<string | null>;
|
|
280
|
+
canSetState(state: string, options?: Axis.CanSetStateOptions): Promise<string | null>;
|
|
278
281
|
/**
|
|
279
282
|
* Returns identity.
|
|
280
283
|
* @returns Axis identity.
|
|
@@ -508,6 +511,13 @@ declare namespace Axis {
|
|
|
508
511
|
*/
|
|
509
512
|
timeout?: number;
|
|
510
513
|
}
|
|
514
|
+
interface CanSetStateOptions {
|
|
515
|
+
/**
|
|
516
|
+
* The firmware version of the device to apply the state to.
|
|
517
|
+
* Use this to ensure the state will still be compatible after an update.
|
|
518
|
+
*/
|
|
519
|
+
firmwareVersion?: FirmwareVersion;
|
|
520
|
+
}
|
|
511
521
|
interface DriverEnableOptions {
|
|
512
522
|
/**
|
|
513
523
|
* Timeout in seconds. Specify 0 to attempt to enable the driver once.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axis.d.ts","sourceRoot":"","sources":["../../../src/ascii/axis.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE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;IACD,UAAiB,kBAAkB;QAC/B;;;WAGG;QACH,eAAe,CAAC,EAAE,eAAe,CAAC;KACrC;IACD,UAAiB,mBAAmB;QAChC;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IACD,UAAiB,cAAc;QAC3B;;;;WAIG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KAC3B;IACD,UAAiB,kBAAkB;QAC/B;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KAC3B;CACF"}
|
package/dist/lib/ascii/axis.js
CHANGED
|
@@ -690,16 +690,20 @@ class Axis {
|
|
|
690
690
|
* This only covers exceptions that can be determined statically such as mismatches of ID or version,
|
|
691
691
|
* the process of applying the state can still fail when running.
|
|
692
692
|
* @param state The state object to check against.
|
|
693
|
+
* @param options.firmwareVersion The firmware version of the device to apply the state to.
|
|
694
|
+
* Use this to ensure the state will still be compatible after an update.
|
|
693
695
|
* @returns An explanation of why this state cannot be set to this axis.
|
|
694
696
|
*/
|
|
695
|
-
async canSetState(state) {
|
|
697
|
+
async canSetState(state, options = {}) {
|
|
696
698
|
var _a;
|
|
699
|
+
const { firmwareVersion, } = options;
|
|
697
700
|
const request = {
|
|
698
701
|
...requests.CanSetStateRequest.DEFAULT,
|
|
699
702
|
interfaceId: this.device.connection.interfaceId,
|
|
700
703
|
device: this.device.deviceAddress,
|
|
701
704
|
axis: this.axisNumber,
|
|
702
705
|
state: state,
|
|
706
|
+
firmwareVersion: firmwareVersion,
|
|
703
707
|
toBinary() {
|
|
704
708
|
return requests.CanSetStateRequest.toBinary(this);
|
|
705
709
|
},
|