diff --git a/README.md b/README.md index 86cb7bc..d70153b 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,15 @@ Before extending into new frontiers, we need to improve the loaders API enough t ### Milestone 2: Stability -- [ ] Provide a way to register loaders from application code, such as `import { register } from 'node:module'`. https://github.com/nodejs/node/pull/46826, https://github.com/nodejs/node/pull/48559. +- [x] Provide a way to register loaders from application code, such as `import { register } from 'node:module'`. https://github.com/nodejs/node/pull/46826, https://github.com/nodejs/node/pull/48559. -- [ ] Support loading source when the return value of `load` has `format: 'commonjs'`. See https://github.com/nodejs/node/issues/34753#issuecomment-735921348 and https://github.com/nodejs/loaders-test/blob/835506a638c6002c1b2d42ab7137db3e7eda53fa/coffeescript-loader/loader.js#L45-L50. https://github.com/nodejs/node/pull/47999. +- [ ] Replace `globalPreload` hook with new `initialize` hook; update `register` to preserve the communications channel from that hook so that we continue to provide a way to communicate between loaders code and application code. See https://github.com/nodejs/loaders/discussions/124#discussioncomment-5735397 and https://github.com/nodejs/loaders/issues/147. https://github.com/nodejs/node/pull/48842. -- [ ] Remove `globalPreload` hook; design a new API to preserve the communications channel from that hook so that we continue to provide a way to communicate between loaders code and application code. See https://github.com/nodejs/loaders/discussions/124#discussioncomment-5735397 and https://github.com/nodejs/loaders/issues/147. +- [ ] Support loading source when the return value of `load` has `format: 'commonjs'`. See https://github.com/nodejs/node/issues/34753#issuecomment-735921348 and https://github.com/nodejs/loaders-test/blob/835506a638c6002c1b2d42ab7137db3e7eda53fa/coffeescript-loader/loader.js#L45-L50. https://github.com/nodejs/node/pull/47999. ### Milestone 3: Usability improvements -- [ ] Provide a way to register loaders via configuration, for example via adding support for `.env` files to Node.js or having `node` read configuration from a new field in `package.json` or other configuration file. See https://github.com/nodejs/node/pull/46826, [#98](https://github.com/nodejs/loaders/issues/98), https://github.com/nodejs/node/pull/43973#issuecomment-1249549346. +- [ ] Provide a way to register loaders via configuration, for example via adding support for `.env` files to Node.js or having `node` read configuration from a new field in `package.json` or other configuration file. See https://github.com/nodejs/node/pull/46826, [#98](https://github.com/nodejs/loaders/issues/98), https://github.com/nodejs/node/pull/43973#issuecomment-1249549346. https://github.com/nodejs/node/pull/48890. - [ ] First-class support for [import maps](https://github.com/WICG/import-maps) that doesn’t require a custom loader.