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.
package/dist/index.js CHANGED
@@ -507,8 +507,14 @@ const domexception = {
507
507
  */
508
508
  const dommatrix = {};
509
509
 
510
- create$5(DOMMatrix);
511
- create$5(DOMMatrixReadOnly);
510
+ /* c8 ignore next */
511
+ if (typeof DOMMatrix !== 'undefined') {
512
+ create$5(DOMMatrix);
513
+ }
514
+ /* c8 ignore next */
515
+ if (typeof DOMMatrixReadOnly !== 'undefined') {
516
+ create$5(DOMMatrixReadOnly);
517
+ }
512
518
 
513
519
  /**
514
520
  * @param {typeof DOMMatrix|typeof DOMMatrixReadOnly} Ctor
@@ -568,8 +574,14 @@ function create$5 (Ctor) {
568
574
  */
569
575
  const dompoint = {};
570
576
 
571
- create$4(DOMPoint);
572
- create$4(DOMPointReadOnly);
577
+ /* c8 ignore next */
578
+ if (typeof DOMPoint !== 'undefined') {
579
+ create$4(DOMPoint);
580
+ }
581
+ /* c8 ignore next */
582
+ if (typeof DOMPointReadOnly !== 'undefined') {
583
+ create$4(DOMPointReadOnly);
584
+ }
573
585
 
574
586
  /**
575
587
  * @param {typeof DOMPoint|typeof DOMPointReadOnly} Ctor
@@ -621,8 +633,14 @@ const domquad = {
621
633
  */
622
634
  const domrect = {};
623
635
 
624
- create$3(DOMRect);
625
- create$3(DOMRectReadOnly);
636
+ /* c8 ignore next */
637
+ if (typeof DOMRect !== 'undefined') {
638
+ create$3(DOMRect);
639
+ }
640
+ /* c8 ignore next */
641
+ if (typeof DOMRectReadOnly !== 'undefined') {
642
+ create$3(DOMRectReadOnly);
643
+ }
626
644
 
627
645
  /**
628
646
  * @param {typeof DOMRect|typeof DOMRectReadOnly} Ctor