Skip to content

Potential WIP replacement #9

@dead-claudia

Description

@dead-claudia

I decided to start working on a reimplementation of this based on the most recent Node: https://gist.github.com/isiahmeadows/829cfa16da8dc4688c18dad378e97df6

It's currently untested, but I plan to eventually port it with its tests, so I can ensure it actually works. If you would like to take that over and do it yourself, feel free, but that's what I've got so far.

Notes:

  • It supports most everything Node does, provided the engine supports the relevant stuff.
  • It depends on is-arguments, is-regex, and is-callable.
  • I removed all the ES6 stuff and re-implemented what I needed, so it should work on any machine that supports ES5.
  • I made a few alterations to optimize it a little, usually when it involved very suboptimal FP stuff that might not even exist in ES3 environments.
  • The test bed project I had uses an ESLint config, and where I initially worked on it locally, it auto-formatted it a bit differently than what Node core uses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions