Skip to content

Getting a "writeStringToMemory is deprecated" message when building anki files #12

@LarryBattle

Description

@LarryBattle

Getting an warning message when building anki files on mdanki 1.0.2.
The built anki files work by the way.

Steps to reproduce

example.md

## Test

test

Command:

npx mdanki example.md example.apkg

Actual Output:

writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!
The deck "mdanki" has been generated in /home/u/markdown_to_anki/example.apkg

Expected Output:

The deck "mdanki" has been generated in /home/u/markdown_to_anki/example.apkg

Cause?

Wild guess but maybe the message comes from an old copy of sql.js that anki-apkg-export 4.0.3 is using.
Related links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions