browserify / browserify/acorn-node

Deno support

Open
#18 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Hi.
Some packages, like tailwindcss use `detective` as a dependency. And `detective` depends on `acorn-node`, a library that doesn't work on Deno because it uses the [highly discouraged](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto) `__proto__` object property. I've created a version of `acorn-node` replacing the `__proto__` deprecated feature with `Object.getPrototypeOf()` and `Object.setPrototypeOf()`: https://www.npmjs.com/package/@lumeland/acorn-node

I suggest to update `acorn-node` so it would work fine in Deno environment.

FYI, I've created also a [detective](https://www.npmjs.com/package/@lumeland/detective) and [tailwind](https://www.npmjs.com/package/@lumeland/tailwindcss) temporary packages that will be deprecated if you update this package.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.