Skip to content

Commit

Permalink
Version Packages (#79)
Browse files Browse the repository at this point in the history
Co-authored-by: Melanie Seltzer <[email protected]>
  • Loading branch information
github-actions[bot] and melanieseltzer committed Oct 14, 2022
1 parent 34f3841 commit ed0c6da
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 22 deletions.
10 changes: 0 additions & 10 deletions .changeset/grumpy-rivers-bathe.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/metal-knives-hang.md

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# react-use-caret-position

## 1.1.0

### Minor Changes

- [#73](https://github.com/melanieseltzer/react-use-caret-position/pull/73) [`cb32a6b`](https://github.com/melanieseltzer/react-use-caret-position/commit/cb32a6bbf5f2f9037e7787c96c23cec5a80218da) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Clean up package.json:

- Remove `jsnext:main` as it's deprecated and replaced by `module` field
- Add an `exports` map
- Mark package as a module
- Point to TypeScript types
- Expose UMD and modern bundle

### Patch Changes

- [#77](https://github.com/melanieseltzer/react-use-caret-position/pull/77) [`f4579e0`](https://github.com/melanieseltzer/react-use-caret-position/commit/f4579e04954118670492fbb06ace41ee7e1d6761) Thanks [@melanieseltzer](https://github.com/melanieseltzer)! - Removed conditionals checking existence of the ref object itself. The returned ref object from `useEffect` always exists, so the checks were unnecessary.

```diff
- if (node && node.current)
+ if (node.current)
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-use-caret-position",
"version": "1.0.3",
"version": "1.1.0",
"description": "A React hook to keep track of the caret position in an input",
"author": "Melanie Seltzer <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit ed0c6da

Please sign in to comment.