dnt icon indicating copy to clipboard operation
dnt copied to clipboard

Update picocolors and @types/node version dependency

Open UrielCh opened this issue 1 year ago • 3 comments

Picocolors used to not receive any updates, but last week it was updated to version 1.0.1. See changelog.

Having up-to-date dependencies improves the npm quality score. Since the deno + dnt project aims to be better than other projects, maintaining a good score is essential. 👯

By the way, I also updated the versions of @types/node and @deno/shim-deno.

UrielCh avatar May 22 '24 07:05 UrielCh

I will fix that soon, I saw CI failed.

UrielCh avatar May 23 '24 09:05 UrielCh

@dsherret sorry for the delay, Let me complet this PR.

I have add an extra const versions to put some versions number togeter.

So I have now two times the same versions object, maybe I should export it and share it to avoid duplication.

let me know.

by the way, I had also update @types/node version, but only to the latest v20.X.Y

UrielCh avatar Sep 10 '24 09:09 UrielCh

I can also add in lib/shims.ts

const versions = {
  denoShim: "~0.19.1",
  denoTestShim: "~0.5.0",
  cryptoShim: "~0.3.1",
  domExceptionShim: "^4.0.0",
  domExceptionShimTypes: "^4.0.0",
  promptsShim: "~0.1.0",
  timersShim: "~0.1.0",
  weakRefSham: "~0.1.0",
  undici: "^6.0.0",
  ws: "^8.13.0",
  wsType: "^8.5.4",
};

to centralise all version from the file, this versions object will then looks like the on present in tests/integration.test.ts but will differ by 3 versions entry.

UrielCh avatar Sep 10 '24 09:09 UrielCh