Skip to content

Document the fact that Node version >= 12 is needed. #193

Open
@michielbdejong

Description

@michielbdejong

This line:
https://github.com/solid/solid-ui/blame/master/src/authn/authn.ts#L477
uses:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat
Which will not work in older browsers, nor in node 8 or node 10.
I updated the .travis.yml now to only run the tests in node 12. The .nvmrc version also says to use Node 12, but we should mention it in the readme.

Apart from the node version, we also need to decide which browsers we want to target, because if we say Array.flat is allowed, then we miss out on 15% of web users according to https://caniuse.com/#feat=array-flat ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions