All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Keep
consola/core
subpath as is (40617bc)
- Pooya Parsa (@pi0)
- Implement basic
node:async_hooks
(#98) - Use
consola/core
instead of mocking consola (#93) - http: Support
IncomingMessage.headersDistinct
andIncomingMessage.trailersDistinct
(08e36cc) - node/crypto: Implement
randomBytes
(#100) - http: Support
ServerResponse.appendHeader
(c492d45)
- async_hooks: Add
snapshot
stub (1eec581)
- Pooya Parsa (@pi0)
- BoxenOfDonuts [email protected]
- node:process: Avoid recursive access (a1ba86c)
- Pooya Parsa (@pi0)
- node:process: Allow accessing
process.env
from dynamic sources (#95)
- Pooya Parsa (@pi0)
- node: Add
webcrypto
export fornode:crypto
(fb2b280)
- Pooya Parsa (@pi0)
- Pooya Parsa (@pi0)
- Fix some small typos and grammars (#80)
- Update node types (7219d5c)
- node/stream: Stop writing data when
writableEnded
is set (#79) - node/buffer: Add
isUtf8
util (not implemented) (527904b)
- Fix typos (#78)
- node/stream: Support writing multipe chunks (#75)
- node/util: Implement
MIMEType
andMIMEParams
(#76)
- Pooya Parsa [email protected]
- fetch: Only pass
context
key from main context (2e9b9fb)
- Pooya Parsa [email protected]
- call: Preserve fetch context in
req.__unenv__
(#72)
- Support import alias with
buffer/index.js
(660df39)
- Pooya Parsa [email protected]
- Add
extend
method to debug mock (#69)
- Daniel Roe [email protected]
- events: Export once function (#68)
- Switch to changelogen for release (745cf52)
- Format code (239b531)
- Pooya Parsa [email protected]
- Piyush Bhangale [email protected]
1.0.1 (2023-01-03)
- add missing latest node exports (dd046a8)
- add missing polyfill and types (97e7c6f)
- export named
fetch
fromnode-fetch
polyfill (#63) (605e649)
1.0.0 (2022-11-15)
0.6.2 (2022-08-30)
- createCall: normalize context headers (65fe2b1), closes nuxt/framework#5718
0.6.1 (2022-08-24)
- callHandle: narrrow body type to
BodyInit
(7030004)
0.6.0 (2022-08-24)
- createCall: return
res._data
as is
0.5.4 (2022-08-12)
- remove native
node:fs
import (524bc21)
0.5.3 (2022-08-08)
- allow mocking subpaths of cjs-proxy (#46) (70efe37)
- order aliases from specific to general (#45) (9c11eaa)
0.5.2 (2022-05-11)
- use
node-fetch-native
for polyfill (7944681)
0.5.1 (2022-05-05)
- add fs polyfill to nodeless (de2cf94)
- implement
path
(resolves #35) (bd473c5) - improve node polyfills (4206317)
- initial support for
fs
polyfill (#9) (5ee4115)
- add default export for process polyfill (45d859f)
- fix process polyfill (05aa34f)
- import
node-fetch
polyfill from src (0e9afae) - update http and add missing exports (16338d4)
- use named export for
events
(f4bf593) - use proxy for http class mocks (b8a44b4)
0.5.0 (2022-05-05)
- replace node polyfills (#30)
- replace
node-fetch
andcross-fetch
with platform natives (resolves #29)
- nodeless: support
node:
protocol aliases (d3e42f7) - node: polyfill
FormData
,Blob
andAbortController
(c0b83a7), closes #23 - opt-in support of whatwg-url mock (#15) (a38cf29)
- replace
node-fetch
andcross-fetch
with platform natives (resolves #29) (276d44d) - replace node polyfills (#30) (0a99ce2)
- add
fs/promises
to NodeBuiltinModules (resolves #34) (35f31a4) - add missing
stream
exports (resolves #11) (a51e893) - add more node subpath exports to built-in modules (8ed02ad), closes #34
- fix util.promisify implementation (674dd27)
- mock
mime/lite
as well (e733440)
0.4.6 (2022-04-07)
- pkg: expose cjs proxy as
mock/proxy-cjs
(6ac4279)
0.4.5 (2022-04-07)
- pkg: emit cjs for entry to avoid breaking change (0d64253)
0.4.4 (2022-04-07)
- resolve proxy to commonjs (26c19f7)
0.4.3 (2021-12-14)
0.4.2 (2021-12-01)
- global polyfill (f57dd75)
0.4.1 (2021-11-04)
0.4.0 (2021-10-22)
- pkg: use explicit
.cjs
- update node-fetch to 3.x
0.3.10 (2021-09-29)
0.3.9 (2021-09-29)
0.3.8 (2021-09-20)
- duplex: add missing
mergeFns
import (1b301de)
0.3.7 (2021-09-20)
- duplex: avoid cycling reference (3cd4797)
0.3.6 (2021-09-20)
0.3.5 (2021-09-10)
- url: add default export (c5f99d9)
0.3.4 (2021-09-10)
- add basic implementation for NodeJS
url
(c76edbd)
0.3.3 (2021-09-08)
- mock fsevents (3b4c4c1)
0.3.2 (2021-07-12)
0.3.1 (2021-07-12)
0.3.0 (2021-06-21)
- add exports field
- add exports field (8e8bc1b)
0.2.3 (2021-04-23)
- dual exports for node index (e28374c)
0.2.2 (2021-04-21)
- use globalThis for polyfills (e43a8b4)
0.2.1 (2021-04-21)
0.2.0 (2021-04-21)
- update build system
- update build system (18cfce8)
0.1.1 (2021-02-08)
0.1.0 (2021-01-21)
0.0.12 (2021-01-21)
- use mkdist to generate runtime (54c0f5d)
- de-default node-fetch (8319815)
0.0.11 (2020-12-07)
0.0.10 (2020-12-07)
- remove node-fetch alias (8c83e29)
0.0.9 (2020-11-21)
- alias
un
to RUNTIME_DIR by default (5af101e)
0.0.8 (2020-11-21)
- improve env support (b60a52a)
0.0.7 (2020-11-20)
- get original fetch from global (bd6b3a8)
0.0.6 (2020-11-20)
0.0.5 (2020-11-19)
0.0.4 (2020-11-19)
- emit close and finish events and remove listeners on destroy (cc42554)
- fetch and localFetch (19a147d)
- use babel to transpile runtime (ts => cjs) (82dac22)
0.0.3 (2020-11-19)
- resolve npm packages that override (c42196c)
- use default export for node mocks (cjs compat) (83c275d)
0.0.2 (2020-11-18)
- add runtime to package (32623af)
- add initial modules (ce62be1)