All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Read cache from
evalOptions
(2c1765e)
- Pooya Parsa (@pi0)
- Expose
jiti.evalModule
(#146)
- Update badges (6124894)
- Lint code (fbd46e4)
- Update snapshots for node 18 (c51f049)
- Update dependencies (9aedf07)
- Update destr import (5b1c1ca)
- Fix vitest (c6798c6)
- Speficy env types (37e0692)
- Lint (37b6b7a)
- Fix development in windows (#135)
- Mask node version in snapshots (64cf136)
- Pooya Parsa (@pi0)
- Joaquín Sánchez (@userquin)
- Sébastien Chopin [email protected]
- Use extension resolutions only for parent typescript files (27a9888)
- Handle parretns with
c ([mts
extension too](https://github.com/unjs/jiti/commit/mts` extension too))
- Update lockfile (e91d3a1)
- Add support to emit decorator metadata (#119)
- Use inline require cache to avoid circular dependencies (#125)
- Workaround for pnpm and
TMPDIR
(#123)
- Add typescript satisfies fixture (#107)
- Format with prettier (42669e5)
- Pooya Parsa (@pi0)
- Jonas Thelemann (@dargmuesli)
- Sabin Marcu (@sabinmarcu)
- Peter [email protected]
- Prefer
require
condition first in esm resolve mode (#117)
- Use
mkdirSync
fromnode:fs
instead ofmkdirp
(413d3c3)
- Update dependencies (f532c57)
- Add missing semi (a9c2876)
- Switch to changelogen for releases (bd4bd8c)
- Pooya Parsa [email protected]
1.17.0 (2023-02-08)
- add support for
.mts
(#112) (94ab3f2) - support import assertions and
.json
imports with.default
property (#114) (08a9a47)
1.16.2 (2023-01-10)
1.16.1 (2023-01-03)
1.16.0 (2022-09-19)
- deps: update pathe (6231320)
1.15.0 (2022-09-06)
- basic alias support (resolves #37) (cab50cc)
- options for
nativeModules
andtransformModules
(64151af)
- manually exclude
typescript
from transpilation (dbd3f22) - use pathe for path resolution (000c6ad), closes #74
1.14.0 (2022-06-20)
1.13.0 (2022-02-18)
- use backslash to make import maps working in windows (e8696c7)
1.12.15 (2022-01-28)
1.12.14 (2022-01-26)
- move esm resolve behind a flag (60e094c)
1.12.13 (2022-01-25)
1.12.12 (2022-01-25)
- ensure resolve esm id exists (2d44274)
1.12.11 (2022-01-25)
1.12.10 (2022-01-25)
1.12.9 (2021-10-18)
1.12.8 (2021-10-18)
- update mlly to latest (cf178ce)
1.12.7 (2021-10-12)
1.12.6 (2021-10-02)
- avoid detecting dynamic import as esm syntax (0b904a9)
1.12.5 (2021-09-29)
- remove dynamicImport from options (ad42dd1)
1.12.4 (2021-09-29)
- remove v8-compile-cache integration (a9fe3a0)
1.12.3 (2021-09-21)
- interopDefault: allow recursive default (55e0f62)
1.12.2 (2021-09-21)
- interopDefault: handle cjs cache (1f3e4c3)
1.12.1 (2021-09-21)
- interopDefault: support mixed CJS + default (4392c6a)
1.12.0 (2021-09-13)
1.11.0 (2021-07-26)
1.10.1 (2021-05-28)
- babel: properly pass plugin-transform-typescript options (7a1ae3b)
1.10.0 (2021-05-28)
1.9.2 (2021-05-11)
1.9.1 (2021-04-09)
1.9.0 (2021-04-09)
- interopDefault option (opt-in) (5203145)
1.8.0 (2021-04-09)
1.7.0 (2021-04-09)
- support legacy decorators for typescript (#28) (801b798), closes #27
- support legacy parameter decorators for typescript (#29) (6586a1c)
1.6.4 (2021-03-11)
- exclude
.pnp.js
from transpiling (resolves #24) (0280b58) - skip unknown guard if input has not ext (resolves #17) (afe6706)
- babel: always add class syntax plugin (c0098fe), closes #23
- update require cache children (ce3b084), closes nuxt/nuxt.js#8976
1.6.3 (2021-03-06)
- disable transform cache if no filename provided (69113bc), closes unjsio/mkdist#3
1.6.2 (2021-03-05)
- support class property syntax for esm (64b1636)
1.6.1 (2021-03-05)
- stub @babel/helper-compilation-targets to ignore browserslist in package.json (af8fedc), closes nuxt/nuxt.js#8916
1.6.0 (2021-03-03)
1.5.0 (2021-03-03)
extensions
option (fixes mjs handling) (3804b3c)
- don't cache errors (8a7f881), closes nuxt/nuxt.js#8916
- fix issues with dynamic import (e318cf5)
1.4.0 (2021-03-01)
- transpile nullish-coalescing-operator and optional-chaining for node<14 (6011ef5)
1.3.0 (2021-01-21)
1.2.1 (2021-01-20)
- improve extension handling for unknown formats (a2a797d)
- use dynamic import => cjs only if native dynamic import is not possible (5323175)
1.2.0 (2021-01-14)
- expose transform (6b1ab5e)
1.1.0 (2021-01-13)
- support mixed sytax via esm fallback (1e642e4)
- consistantly use tmpdir as cache dir (e49a791)
1.0.0 (2021-01-12)
0.1.20 (2021-01-12)
- resolve with index.{ts,mjs} (2fe1846)
0.1.19 (2020-12-30)
- improved parse and runtime error stack trace (9d94ca1)
0.1.18 (2020-12-22)
- use native require for resolving (f7e1a56)
0.1.17 (2020-11-27)
- cli: resolve relative to cwd (52a4c12)
0.1.16 (2020-11-23)
- fallback to tmpdir and then disable if cache dir is not writable (398fe08)
- support JITI_DEBUG ands JITI_CACHE environment variables (eed965d)
0.1.15 (2020-11-22)
- basic support for dynamic imports (9494452)
0.1.14 (2020-11-21)
- cli: import main wrapper (25bceb1)
0.1.13 (2020-11-21)
- basic cli (b028046)
0.1.12 (2020-11-01)
- directly call wrapper to fix require.resolve issue (63c0a5c)
0.1.11 (2020-06-19)
- interopDefault (44117ef)
0.1.10 (2020-06-19)
- always ensure isDir for filename (6b343a4)
0.1.9 (2020-06-12)
0.1.8 (2020-06-12)
- use fake file for default _filename (05d721f)
- types: allow passing undefined filename (#2) (9136f15)
0.1.7 (2020-06-11)
- pkg: add repository field (639c02f)
0.1.6 (2020-06-11)
- cache support (65c2de2)
0.1.5 (2020-06-11)
- allow passign debug as jiti options (8da2310)
- build and stack-trace improvements (71780ab)
- improve babel transpile and debug (f3042dc)
0.1.4 (2020-06-11)
- improve babel options (ae4dc58)
- multiline syntax detection (46f830b)
0.1.3 (2020-06-07)
0.1.2 (2020-06-07)
- improve build system and stability (5c3ee63)