punycode-esm 1.0.1 → 1.0.2

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -38,7 +38,7 @@ npm i punycode-esm
38
38
  ## Example
39
39
 
40
40
  ```ts
41
- import { toASCII, toUnicode } as Punycode from 'punycode-esm';
41
+ import { toASCII, toUnicode } from 'punycode-esm';
42
42
 
43
43
  // encode domain names
44
44
  toASCII('mañana.com'); // 'xn--maana-pta.com'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "punycode-esm",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Typescript + ESM version of punycode.js",
5
5
  "engines": {
6
6
  "node": ">=14"