Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no https specifiers that are not using deno.land/x #443

Open
ry opened this issue Apr 25, 2024 · 0 comments
Open

no https specifiers that are not using deno.land/x #443

ry opened this issue Apr 25, 2024 · 0 comments
Assignees

Comments

@ry
Copy link
Member

ry commented Apr 25, 2024

For example, here is a code snippet that uses x.nest.land
https://docs.deno.com/runtime/manual/basics/modules/#remote-import

import {
  add,
  multiply,
} from "https://x.nest.land/ramda@0.27.0/source/index.js";

function totalCost(outbound: number, inbound: number, tax: number): number {
  return multiply(add(outbound, inbound), tax);
}

console.log(totalCost(19, 31, 1.2));
console.log(totalCost(45, 27, 1.15));

switch all https imports to https://deno.land/x imports so we can ensure they continue to work

(also that code sample has an annoying amount of comments in it - those should be remove too)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants