mooch
mooch2y ago

Can you specify a git hash instead of version for npm modules?

As the title mentions, I'd like to use a specific commit for an npm package. Is this possible?
1 Reply
mooch
moochOP2y ago
} from "npm:discord.js@git@github.com:discordjs/discord.js.git#4407695bb90e1971eae2c14120e6a10363229721";
} from "npm:discord.js@git@github.com:discordjs/discord.js.git#4407695bb90e1971eae2c14120e6a10363229721";
this gave me an invalid version requirement error