Open ipselon opened 1 year ago
This is the line it chokes on for you: https://unpkg.com/browse/lru-cache@9.1.1/dist/mjs/index.js#L406
The #
is a private class field, it's supported since Node 12?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields
Is this a problem with lru-cache or with skypack?
It seems to be working fine on esm.sh:
I have the same issue on Google Chrome v113. I only need to have this line at the beginning of the module.
It used to work just fine.
import { Octokit, App } from "https://cdn.skypack.dev/octokit";
So does skypack just not work with private classes? Is that the issue here? Using unkpg in the meantime: https://unpkg.com/lru-cache@9.1.1/dist/mjs/index.js