Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021-present Maksym Synenko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,4 @@ The demo is the example app built with `VITE_DEMO=1`. GitHub Pages serves static

## License

MIT © [arenuzzz](https://github.com/arenuzzz)
[MIT](LICENSE) © Maksym Synenko
23 changes: 19 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"name": "react-clear-browser-cache",
"version": "1.0.0",
"author": "arenuzzz",
"description": "Library for clearing browser cache after react app updates",
"author": {
"name": "Maksym Synenko",
"url": "https://devmaxxx.github.io/"
},
"description": "Detect new deploys of a React app, clear Cache Storage and reload, or ask the user first. Recovers from missing lazy chunks.",
"license": "MIT",
"repository": "devmaxxx/react-clear-browser-cache",
"repository": {
"type": "git",
"url": "git+https://github.com/devmaxxx/react-clear-browser-cache.git"
},
"homepage": "https://devmaxxx.github.io/react-clear-browser-cache/",
"bugs": "https://github.com/devmaxxx/react-clear-browser-cache/issues",
"type": "commonjs",
"sideEffects": false,
"main": "./dist/index.cjs",
Expand Down Expand Up @@ -38,7 +46,14 @@
"browser cache",
"clear cache",
"refresh cache",
"react"
"react",
"cache-busting",
"chunk-load-error",
"deploy",
"reload",
"next.js",
"vite",
"webpack"
],
"packageManager": "pnpm@10.23.0",
"scripts": {
Expand Down
Loading