three-stdlib 2.35.10 → 2.35.11

Sign up to get free protection for your applications and to get access to all the features.
package/libs/lottie.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  const lottie = /* @__PURE__ */ (() => {
3
- if (typeof navigator === "undefined" || typeof document === "undefined")
3
+ if (typeof navigator === "undefined" || typeof document === "undefined" || typeof CanvasRenderingContext2D === "undefined")
4
4
  return {};
5
5
  const svgNS = "http://www.w3.org/2000/svg";
6
6
  let locationHref = "";