Skip to content

ReferenceError: Can't find variable FinalizationRegistry on Safari < 14.1 #395

@MelodicsPavol

Description

@MelodicsPavol

Description

When using @rive-app/canvas v2.27.4+ the script will fail with: ReferenceError: Can't find variable FinalizationRegistry

Provide a Repro

Any minimal example using @rive-app/canvas v2.27.4+ will fail to load.

Source .riv/.rev file

Not specific to any particular .riv file.

Expected behavior

Script will not fail and animation will play.

Browser & Versions (please complete the following information)

  • Browser: Safari 14.0
  • OS: macOS 11.0
  • NPM Version: 10.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions