Skip to content

Releases: denoland/dnt

0.16.0

14 Jan 21:59
1c9b2c5
Compare
Choose a tag to compare
  • feat: support sub path in CDN imports (#99)
  • feat: support import maps (#103)
  • fix: show selected package manager in logs when installing (#100)

0.15.0

12 Jan 00:29
05fa937
Compare
Choose a tag to compare
  • feat: ability to specify "types" package for shim (#95)
  • feat: add DOMException shim (#95)
  • feat: add sham for WeakRef (#96)
  • fix: Object.hasOwn polyfill now works for destructuring (#94)
  • fix: remove dntGlobalThisType and try to inline globalThis.X shim types directly instead (#97)

0.14.0

08 Jan 18:23
a026048
Compare
Choose a tag to compare
  • feat: polyfill based on compiler script target and add String.prototype.replaceAll polyfill (#87)
  • fix: ensure test runner actually exits on failure for cjs tests (#89)
  • fix: npmignore test declaration files (#90)

0.13.0

07 Jan 01:54
ac138d9
Compare
Choose a tag to compare
  • feat: add Deno.test-only shim (#84)
  • fix: transform test runner code to specified compiler option target (#83)

0.12.0

06 Jan 02:40
b34f7f2
Compare
Choose a tag to compare
  • feat: allow to override package manager (#79)
  • feat: support mapping specifiers to npm package sub paths (#80)
  • fix: add web crypto declarations as they were missing (#81)
  • fix: improve global shimming to work in more situations (#82)

0.11.1

04 Jan 21:46
595dc1d
Compare
Choose a tag to compare
  • fix: update deno_ast to 0.8 and use @deno/deno-shim 0.1.1 #77

0.11.0

24 Dec 18:27
b379c9c
Compare
Choose a tag to compare
  • feat: targeted user-specified shimming (#72)
  • feat: globalThis proxy shim (#74)

Shimming is now targeted and user-specified. See the instructions in the readme for how to shim: https://github.com/denoland/dnt#shims

0.10.0

23 Dec 17:05
67e64e5
Compare
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
Compare
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
Compare
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