Óscar
Óscar
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
No description
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
ah, I think deno vendor is deprecated
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
No description
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
import { Tar } from "archive/tar"; this works in my end
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
looks like jsr imports cannot end with trailing slashes. this works to me:
"archive": "jsr:@std/archive@^0.224.0"
"archive": "jsr:@std/archive@^0.224.0"
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
yeah, I have the same error
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
are you using the lastest Deno version?
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
no idea. It should work
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
oh, never mind
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
I see. That's is because std is now splitted into multiple packages
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
oh
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
you have to add the trailing /
28 replies
DDeno
Created by Carlos Scheidegger on 9/18/2024 in #help
`deno vendor`: help with import_map.json changes from deno.land to jsr?
the problem is JSR removed the file extensions. So you have to do import { Tar } from "archive/tar"; (removing the file extension).
28 replies
DDeno
Created by Óscar on 8/7/2024 in #help
Detect when the event loop is finished in a Worker
Yep, that's what I was afraid of. Thanks anyway!
4 replies
DDeno
Created by babakfp on 5/8/2024 in #help
How to prevent `deno add` from adding `^` to package version?
You might be interested in https://github.com/oscarotero/nudd (I'm the maintainer). It supports packages from deno.land, jsdelivr, jsr and npm. And it doesn't add ^ to package version. - nudd add react (install react from npm) - nudd add @std/path (install std/path from jsr) - You can update them with nudd update.
3 replies
DDeno
Created by rnbguy on 8/22/2023 in #help
puppeteer makes script to hang for a while at the end
I have the same issue with puppeteer. In fact I filed an issue here: https://github.com/denoland/deno/issues/20179
28 replies
DDeno
Created by wauterboi on 8/14/2023 in #help
Deno for SASS dependencies?
These two dependencies are not updated very often, so I'd download them manually to my project, it's the simplest solution. Alternatively, you can use remoteFiles (https://lume.land/docs/core/remote-files/) to use these files without downloading. For example:
site.remoteFile("includes/scss/_breakpoint.scss", "https://unpkg.com/breakpoint-sass@3.0.0/stylesheets/_breakpoint.scss");
site.remoteFile("includes/scss/_breakpoint.scss", "https://unpkg.com/breakpoint-sass@3.0.0/stylesheets/_breakpoint.scss");
3 replies
DDeno
Created by seraf on 8/3/2023 in #help
tsParticles & Deno
I don't think so. They are designed to track changes after user interaction or data loading.
12 replies
DDeno
Created by seraf on 8/3/2023 in #help
tsParticles & Deno
but you're using hooks and they don't work on server side
12 replies
DDeno
Created by seraf on 8/3/2023 in #help
tsParticles & Deno
This seems to work:
return (
<Particles.default
id="tsparticles"
// init={particlesInit}
// loaded={particlesLoaded}
options={options}
/>
);
return (
<Particles.default
id="tsparticles"
// init={particlesInit}
// loaded={particlesLoaded}
options={options}
/>
);
12 replies