punycode
Advanced tools
Comparing version 2.3.0 to 2.3.1
{ | ||
"name": "punycode", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", | ||
@@ -47,4 +47,4 @@ "homepage": "https://mths.be/punycode", | ||
"devDependencies": { | ||
"codecov": "^1.0.1", | ||
"istanbul": "^0.4.1", | ||
"codecov": "^3.8.3", | ||
"nyc": "^15.1.0", | ||
"mocha": "^10.2.0" | ||
@@ -51,0 +51,0 @@ }, |
@@ -425,3 +425,3 @@ 'use strict'; | ||
*/ | ||
'version': '2.1.0', | ||
'version': '2.3.1', | ||
/** | ||
@@ -428,0 +428,0 @@ * An object of methods to convert from JavaScript's internal character |
@@ -425,3 +425,3 @@ 'use strict'; | ||
*/ | ||
'version': '2.1.0', | ||
'version': '2.3.1', | ||
/** | ||
@@ -428,0 +428,0 @@ * An object of methods to convert from JavaScript's internal character |
@@ -1,2 +0,2 @@ | ||
# Punycode.js [![punycode on npm](https://img.shields.io/npm/v/punycode)](https://www.npmjs.com/package/emoji-test-regex-pattern) [![](https://data.jsdelivr.com/v1/package/npm/punycode/badge)](https://www.jsdelivr.com/package/npm/punycode) | ||
# Punycode.js [![punycode on npm](https://img.shields.io/npm/v/punycode)](https://www.npmjs.com/package/punycode) [![](https://data.jsdelivr.com/v1/package/npm/punycode/badge)](https://www.jsdelivr.com/package/npm/punycode) | ||
@@ -118,2 +118,24 @@ Punycode.js is a robust Punycode converter that fully complies to [RFC 3492](https://tools.ietf.org/html/rfc3492) and [RFC 5891](https://tools.ietf.org/html/rfc5891). | ||
## For maintainers | ||
### How to publish a new release | ||
1. On the `main` branch, bump the version number in `package.json`: | ||
```sh | ||
npm version patch -m 'Release v%s' | ||
``` | ||
Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/). | ||
Note that this produces a Git commit + tag. | ||
1. Push the release commit and tag: | ||
```sh | ||
git push && git push --tags | ||
``` | ||
Our CI then automatically publishes the new release to npm, under both the [`punycode`](https://www.npmjs.com/package/punycode) and [`punycode.js`](https://www.npmjs.com/package/punycode.js) names. | ||
## Author | ||
@@ -120,0 +142,0 @@ |
33514
149