Skip to content

Releases: denoland/dnt

0.10.0

23 Dec 17:05
67e64e5

Choose a tag to compare

  • feat: support using export declarations with json modules (#67)
  • feat: convert window global to globalThis (#69)
  • fix: prevent erroneous shim injection when there are text changes, but not a deno shim text change (#70)
  • fix: strip BOM if it exists when inlining JSON modules (#71)

0.9.0

20 Dec 17:41
65c2006

Choose a tag to compare

  • feat: add redirects for output specific files #57
  • feat: support json modules #63
  • BREAKING CHANGE: rename // deno-shim-ignore to // dnt-shim-ignore #64 - It will warn if you use the previous comment. This was done because deno-shim-ignore is not exactly correct because dnt now does more than just shimming the Deno namespace

0.8.0

15 Dec 01:02
443df28

Choose a tag to compare

  • feat: add Object.hasOwn polyfill - Starting to add polyfills. In the future this will be based on the target. Follow #55 for updates on that.
  • feat: add Error#cause declaration

0.7.4

01 Dec 01:29
9432802

Choose a tag to compare

  • fix: ensure headers are cached via deno_cache #48

0.7.3

19 Nov 21:07
5d181c1

Choose a tag to compare

  • fix: emit "use strict"; (#43)

0.7.2

17 Nov 18:39
02b44d1

Choose a tag to compare

  • fix: add better/instructional error message when npm command doesn't exist on path (#33)
  • fix: do not inject Deno namespace into globalThis in property access expression when next identifier is not Deno (#39)
  • fix: improve Blob type to have global fallback (upgrade to deno.ns 0.7.3) (#30)
  • fix: shim incorrectly injected for global type name when local type of same name exists (#40)

0.7.1

16 Nov 15:16
1733ee3

Choose a tag to compare

  • fix(types): fix types with global fallback (such as Headers) (#28)

0.7.0

14 Nov 20:37
1cb927e

Choose a tag to compare

  • feat: add importHelpers compiler option and align with ts compiler default of false (#25)
  • feat: support inlining sources in source maps (#20)
  • fix: do not insert shim for globalThis directly in unary and binary expressions (#24)
  • fix: ensure mappings get passed to rust (#23)
  • fix: shim setTimeout and setInterval (#27)

0.6.0

10 Nov 16:42
5ffc430

Choose a tag to compare

  • Sourcemap support (#13)