Skip to content

Releases: denoland/dnt

0.41.3

13 Aug 20:40
dbf13c1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.41.2...0.41.3

0.41.2

28 May 23:11
00b9ab7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.41.1...0.41.2

0.41.1

27 Mar 23:44
c1df60c
Compare
Choose a tag to compare

What's Changed

  • fix: regression - make node: specifiers work by @dsherret in #393
  • fix: properly parse npm specifiers for mapping by @dsherret in #394

Full Changelog: 0.41.0...0.41.1

0.41.0

26 Mar 01:52
9f3ec7a
Compare
Choose a tag to compare

What's Changed

  • feat: migrate to and support jsr by @dsherret in #380
  • feat(BREAKING): no longer map node: specifiers to not have node scheme by @dsherret in #379
  • feat: polyfill Promise.withResolvers by @dsherret in #368
  • feat: support Deno.test.only by @dsherret in #367
  • feat: make stripInternal configurable and default to false by @dsherret in #373
  • feat: make declarationMap configurable and enable by default by @redabacha in #374
  • fix: .npmignore should ignore files relative to the root by @dsherret in #388
  • fix: remove needless semi-colon in fromAsync.ts by @dsherret in #370

Upgrading

  1. Run deno add @deno/dnt
  2. Update your import statement:
    - import { build, emptyDir } from "https://deno.land/x/[email protected]/mod.ts";
    + import { build, emptyDir } from "@deno/dnt";

New Contributors

Full Changelog: 0.40.0...0.41.0

0.40.0

29 Jan 21:33
b4f133c
Compare
Choose a tag to compare

What's Changed

  • feat: upgrade @deno/shim-deno to 0.18 for Deno 1.40 by @dsherret in #360
  • feat: add Array.fromAsync polyfill by @dsherret in #359
  • fix: warn when someone specifies 'files' in a package.json by @dsherret in #354
  • fix: add more missing exports to undici shim by @dsherret in #361
  • feat: add findLast/findLastIndex polyfill for Uint8Array by @dsherret in #363

Full Changelog: 0.39.0...0.40.0

0.39.0

14 Nov 21:31
3d9e465
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.38.1...0.39.0

0.38.1

17 Aug 16:16
ab4990f
Compare
Choose a tag to compare

What's Changed

  • fix: upgrade deno_cache to 0.5.2 #332

Full Changelog: 0.38.0...0.38.1

0.38.0

19 Jul 17:28
7e6b532
Compare
Choose a tag to compare

What's Changed

  • feat: add transform for import.meta.resolve/main expressions by @Gaubee in #322
  • feat: add internalWasmUrl option by @Gaubee in #323
  • fix: support comments when using deno.json as an import map by @dsherret in #315
  • fix(regression): properly ignore test declaration files in .npmignore by @dsherret in #326

Full Changelog: 0.37.0...0.38.0

0.37.0

01 Jun 15:30
45d5131
Compare
Choose a tag to compare

What's Changed

  • fix: cache dnt's wasm file locally after first run #313
  • feat: ability to filter TypeScript diagnostics #314

Full Changelog: 0.36.0...0.37.0

0.36.0

23 May 15:12
c41900b
Compare
Choose a tag to compare

What's Changed

  • feat: make declaration: "inline" the default by @dsherret in #292
  • feat: ability to type check both esm and script output by @dsherret in #294
  • feat: replace chalk dev dependency with picocolors by @UrielCh in #279
  • feat: export PackageJson by @UrielCh in #295
  • feat: complete PackageJson by @UrielCh in #291
  • feat: add more type checking compiler options by @dsherret in #302
  • feat: align casing of lib options with tsconfig.json by @dsherret in #303
  • fix: handle esm.sh/gh/ specifier by @dsherret in #293
  • docs: update GitHub Action instructions by @bjuppa in #299

This release makes declaration: "inline" the default, which was recommended by the TypeScript team. This means that dual esm/cjs packages will have two copies of declaration files—one for ESM and one for CJS (script). This fixes the "Masquerading as CJS" issue you might have seen on https://arethetypeswrong.github.io -- Note that the previous behavior is still available by specifying declaration: "separate".

New Contributors

Full Changelog: 0.35.0...0.36.0