D
Deno

help

[SOLVED] deno.lock keeps getting populated with dependencies I don't need

TTheYuriG6/14/2023
I have tried to use a syntax highlighter before and have since removed it from my project, but every time I save any file, the deno.lock gets populated with these dependencies again, despite the fact that they are not used anywhere in my project. How can I make this stop?
TTheYuriG6/14/2023
feel free to ping if you reply, i don't check discord often
IioB6/14/2023
these dependencies are dependencies of dependencies you are using not a bug, but a feature
TTheYuriG6/14/2023
they aren't, i don't have dependencies (at some point this was imported, but I have since removed it so back to having no deps) i'm raw dogging this i do assume it's a feature to manage it being built just fine, i just need to know what is making the import map think that this is actually needed when it's not, so i can make this stop got it, at the very bottom of the list something sneaked in, that thing was requesting the others as dependencies. removed it and it's no longer populating those dependencies
IioB6/14/2023
šŸ‘
TTheYuriG6/14/2023
thanks for pointing me in the right direction

Looking for more? Join the community!

Recommended Posts
What a method prefixed with `#` means?This is perhaps the stupidest question ever. But I often see method with names prefixed with a `#`Logger names and prefixesIs there any obvious way on how to configure std/log so that loggers named `my-prefix/foo/bar` and `Deno and `npm:mongodb` problem with `node:`?``` āÆ deno check --reload main.ts error: Relative import path "net" not prefixed with / or ./ or ../DiscordJS "Error: Not implemented: ClientRequest.options.createConnection"```ts import { GatewayDispatchEvents, GatewayIntentBits, InteractionType, MessageFlags, Client } froUsing Superagent in Deno?Has anyone managed to make Superagent work nicely in Deno? ``` _ { type: "error", message: "BroOak ā€“ ctx.assert with custom response headersAm I doing this wrong? No extra custom headers are being set in the response as far as I can see in npm:undici doesn't workhttps://github.com/denoland/deno/issues/16710 Marked as resolved by this issue but does not work in Abusing prototype CryptoKey in `node:crypto`Is there any way that I can set the prototype of an object to specifically `CryptoKey` as defined byUncaught (in promise) TypeError: cannot read headers: request closedWhat is this? How to fix it?Async OP that returns value instead of promiseIn `deno_runtime` is possible to have async op that returns the resolved value instead of promise? KFresh Logging MiddlewareHow would you go about writing a duration logger? Using 2 middlewares, I assumed they would behave VS-Code auto import local modulesHey is there a way to enable some sort of auto import for local modules/files in VS-Code? Currently In memory Deno KvHi there, I am exploring with [Deno Kv](https://deno.com/deploy/docs/kv) and it looks great! But myDeno Language Server Issue - Attempting to Use KV in Existing ProjectHi! I'm attempting to create a branch of an existing project (utilizing Fresh) and add KV as an expeTwitter APIIs there a easy way to fetch Tweets using Twitter API or something else? (since they put their API cIn browser video chat client & serverHello! How might people go about architecting an in-browser video chat client & server, specificallynpm:pusher working but http://esm.sh/pusher notAny ideas? deno run -A test.js //test.js import Pusher from "pusher" // const Pusher = require('pFile Permissions on Deno.FileInfoHello. As a programming exercise I'm trying to convert a Decimal number into Octal and that Octal reDeno Fresh - Different POST handlers for different <form>s ?what's the idiomatic way of handling different POST requests on the same page?Deno.open() questionDoes, when the process terminate, deno close the files if they were opened with `Deno.open()`?