Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 6acae1d

Browse files
authored
chore: minor migration guide fixes (#4118)
1 parent a5856a6 commit 6acae1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/upgrading/v0.62-v0.63.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
The biggest change to `[email protected]` is that the module is now [ESM-only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
1616

17-
ESM is the module system for JavaScript, it allows us to structure our code in separate files without polluting a global namespace.
17+
ESM is the module system for JavaScript. It allows us to structure our code in separate files without polluting a global namespace.
1818

1919
Other systems have tried to fill this gap, notably CommonJS, AMD, RequireJS and others, but ESM is [the official standard format](https://tc39.es/ecma262/#sec-modules) to package JavaScript code for reuse.
2020

@@ -34,11 +34,11 @@ async function loadIpfs () {
3434
}
3535
```
3636

37-
37+
3838

3939
`[email protected]` upgrades to `[email protected]`. This is a significant refactor that ports the entire stack to TypeScript and publishes all modules as ESM-only code.
4040

41-
Please see the [libp2p 0.37.x` upgrade guide](https://github.com/libp2p/js-libp2p/blob/master/doc/migrations/v0.36-v.037.md) for how this may affect your application.
41+
Please see the [libp2p 0.37.x upgrade guide](https://github.com/libp2p/js-libp2p/blob/master/doc/migrations/v0.36-v.037.md) for how this may affect your application.
4242

4343
## PeerIds
4444

@@ -116,7 +116,7 @@ const peerId = await createEd25519PeerId()
116116

117117
## multiaddrs
118118

119-
The `multiaddr` module has been ported to Typescript and is now published as ESM-only.
119+
The `multiaddr` module has been ported to TypeScript and is now published as ESM-only.
120120

121121
It has been renamed to `@multiformats/multiaddr` so please update your dependencies and replace usage in your code.
122122

0 commit comments

Comments
 (0)