Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

302
Visualizações
Third party libraries of Deno having package.json?

Correct me if I'm wrong but Deno should not understand the concept of package.json nor node_modules, if that's the case, why there are couple of third party libraries such as lodash, dayjs still having package.json in their repo?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I can provide some historical context here; The first version of the deno.land/x registry worked by having a list of repositories that was kept directly in the GitHub repository, anyone could submit a PR to add any other public repository to that list and copied over to deno.land/x. As the site scaled and more and more people wanted to create modules, the model was switched to use GitHub webhooks that have to be set up by the repository owner instead.

lodash and dayjs we submitted in the early days of deno.land/x by community members, so the files of the repo were copied 1:1 over to deno.land/x and that's why you see the package.json file in there -- it's literally the same repository content as lodash.

While the file is available through deno.land/x via the browser or curl, Deno will never actually reach for it; It'll just look at your entrypoint and walk the dependency graph from there, only looking at JS/TS files. In fact I wouldn't be surprised if the versions of lodash and dayjs available on deno.land/x were completely broken in Deno (at least without import maps.)

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda