diff --git a/LICENSE.md b/LICENSE.md index 5cd30127..5be9a594 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -6,14 +6,14 @@ Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -- Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -- Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -- Neither the name of Yahoo Inc. nor the names of YUI's contributors may be - used to endorse or promote products derived from this software without - specific prior written permission of Yahoo Inc. +- Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +- Neither the name of Yahoo Inc. nor the names of YUI's contributors may be + used to endorse or promote products derived from this software without + specific prior written permission of Yahoo Inc. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED diff --git a/README.md b/README.md index e08c3a6a..befc65f3 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ Another highlight is that `react-stickynode` can handle the case where a sticky ## Features -- Retrieve `scrollTop` only once for all sticky components. -- Listen to throttled scrolling to have better performance. -- Use rAF to update sticky status to have better performance. -- Support top offset from the top of screen. -- Support bottom boundary to stop sticky status. -- Support any sticky target with various width units. +- Retrieve `scrollTop` only once for all sticky components. +- Listen to throttled scrolling to have better performance. +- Use rAF to update sticky status to have better performance. +- Support top offset from the top of screen. +- Support bottom boundary to stop sticky status. +- Support any sticky target with various width units. ## Usage diff --git a/package.json b/package.json index 33ad4af8..ee106658 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "jest-environment-jsdom": "^29.0.0", "mocha": "^10.0.0", "pre-commit": "^1.0.0", - "prettier": "^3.0.0", + "prettier": "^3.4.2", "react": "^18.0.0", "react-dom": "^18.0.0", "react-test-renderer": "^18.0.0",