Skip to content

Valid ISBN13's occasionally fail #5

@colewinans

Description

@colewinans

I haven't found the source of this issue yet.

Occasionally, valid ISBN13's will fail.

Example code:

var ISBN = require("isbnjs")
var isbn13 = ISBN.parse('9789999929257');
isbn13.asIsbn13();

Results in TypeError: Cannot read property 'asIsbn13' of null

This is a valid ISBN13, yet it fails.

See Runkit to test: https://runkit.com/colewinans/5974bdeb4f0fa8001229d426

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