esm-sync 3.3.3 → 3.3.4-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -2
  2. package/esm/loader.js +1 -1
  3. package/package.json +12 -12
package/README.md CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  * Assorted updates from [@httptoolkit/esm](https://github.com/httptoolkit/esm) and [esm-wallaby fork](https://www.npmjs.com/package/esm-wallaby), adding support for ES modules containing new ES syntax, supporting modern Node versions (at least up to v22), and supporting `node:*` imports.
6
6
  * Support for modules that use the `const require = createRequire(...)` pattern (or declare any other global `require` variable) which are otherwise unusable with `esm`.
7
- * Support for modules that use only an `exports` map in their package.json, without a `main` field, which are otherwise unresolveable (reporting "Cannot find module", even though `import()` works correctly).
7
+ * Support for modules that use only an `exports` map in their package.json, without a `main` field, which are otherwise unresolvable (reporting "Cannot find module", even though `import()` works correctly).
8
8
  * Built-in types for use in TypeScript projects
9
9
 
10
10
  Install
11
11
  ---
12
12
 
13
- Run `npm i esm-sync` or `yarn add esm-sync`.
13
+ ```sh
14
+ npm install esm-sync
15
+ ```
14
16
 
15
17
  Getting started
16
18
  ---