Skip to content

Bug in method getAll #202

Open
Open
@koalex

Description

@koalex

Method getAll return is not valid keys if key includes dot. Example:

storage.setSync('x-access-token.sig', { a: 1 }); // or async

storage.getAll((err, data) => {
  // data should be:  { 'x-access-token.sig': { a: 1 } };

  // but received: { sig: { a: 1 } }
});

Methods getSync & get works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions