typeson-registry 9.2.0 → 9.2.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.
@@ -1751,8 +1751,15 @@
1751
1751
  * @type {import('typeson').TypeSpecSet}
1752
1752
  */
1753
1753
  var dommatrix = {};
1754
- create$5(DOMMatrix);
1755
- create$5(DOMMatrixReadOnly);
1754
+
1755
+ /* c8 ignore next */
1756
+ if (typeof DOMMatrix !== 'undefined') {
1757
+ create$5(DOMMatrix);
1758
+ }
1759
+ /* c8 ignore next */
1760
+ if (typeof DOMMatrixReadOnly !== 'undefined') {
1761
+ create$5(DOMMatrixReadOnly);
1762
+ }
1756
1763
 
1757
1764
  /**
1758
1765
  * @param {typeof DOMMatrix|typeof DOMMatrixReadOnly} Ctor
@@ -1808,8 +1815,15 @@
1808
1815
  * @type {import('typeson').TypeSpecSet}
1809
1816
  */
1810
1817
  var dompoint = {};
1811
- create$4(DOMPoint);
1812
- create$4(DOMPointReadOnly);
1818
+
1819
+ /* c8 ignore next */
1820
+ if (typeof DOMPoint !== 'undefined') {
1821
+ create$4(DOMPoint);
1822
+ }
1823
+ /* c8 ignore next */
1824
+ if (typeof DOMPointReadOnly !== 'undefined') {
1825
+ create$4(DOMPointReadOnly);
1826
+ }
1813
1827
 
1814
1828
  /**
1815
1829
  * @param {typeof DOMPoint|typeof DOMPointReadOnly} Ctor
@@ -1872,8 +1886,15 @@
1872
1886
  * @type {import('typeson').TypeSpecSet}
1873
1887
  */
1874
1888
  var domrect = {};
1875
- create$3(DOMRect);
1876
- create$3(DOMRectReadOnly);
1889
+
1890
+ /* c8 ignore next */
1891
+ if (typeof DOMRect !== 'undefined') {
1892
+ create$3(DOMRect);
1893
+ }
1894
+ /* c8 ignore next */
1895
+ if (typeof DOMRectReadOnly !== 'undefined') {
1896
+ create$3(DOMRectReadOnly);
1897
+ }
1877
1898
 
1878
1899
  /**
1879
1900
  * @param {typeof DOMRect|typeof DOMRectReadOnly} Ctor