You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ES6 `String.prototype.codePointAt` polyfill [](https://www.npmjs.com/package/string.prototype.codepointat)
2
2
3
3
A robust & optimized polyfill for [the `String.prototype.codePointAt` method in ECMAScript 6](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-string.prototype.codepointat).
4
4
@@ -42,6 +42,28 @@ In a browser:
42
42
43
43
[A polyfill + test suite for `String.fromCodePoint`](https://mths.be/fromcodepoint) is available, too.
44
44
45
+
## For maintainers
46
+
47
+
### How to publish a new release
48
+
49
+
1. On the `main` branch, bump the version number in `package.json`:
50
+
51
+
```sh
52
+
npm version patch -m 'Release v%s'
53
+
```
54
+
55
+
Instead of `patch`, use `minor` or `major` [as needed](https://semver.org/).
56
+
57
+
Note that this produces a Git commit + tag.
58
+
59
+
1. Push the release commit and tag:
60
+
61
+
```sh
62
+
git push && git push --tags
63
+
```
64
+
65
+
Our CI then automatically publishes the new release to npm.
66
+
45
67
## Author
46
68
47
69
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
0 commit comments