next-persist
Advanced tools
Comparing version 1.2.0 to 1.2.1-alpha.0
{ | ||
"name": "next-persist", | ||
"version": "1.2.0", | ||
"version": "1.2.1-alpha.0", | ||
"description": "Bridging the gap between client-side persistence and server-side rendering", | ||
"main": "index.js", | ||
"main": "./lib/esm/index.js", | ||
"types": "./types/nextpersist.d.ts", | ||
"scripts": { | ||
"test": "jest" | ||
"test": "jest", | ||
"lint": "eslint . --ext .ts", | ||
"tsc": "npx tsc -p tsconfig.json", | ||
"tsc2": "npx tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", | ||
"prepublish": "npm run tsc" | ||
}, | ||
@@ -32,5 +37,13 @@ "repository": { | ||
"devDependencies": { | ||
"@types/cookie": "^0.4.0", | ||
"@types/js-cookie": "^2.2.6", | ||
"@types/next": "^9.0.0", | ||
"@types/react-dom": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^4.22.0", | ||
"@typescript-eslint/parser": "^4.22.0", | ||
"eslint": "^7.24.0", | ||
"jest": "^26.6.3", | ||
"react": "^17.0.2", | ||
"react-redux": "^7.2.3" | ||
"react-redux": "^7.2.3", | ||
"typescript": "^4.2.4" | ||
}, | ||
@@ -37,0 +50,0 @@ "peerDependencies": { |
@@ -61,3 +61,2 @@ <p align="center"> | ||
</li> | ||
<!-- <li><a href="#roadmap">Roadmap</a></li> --> | ||
<li><a href="#contributing">Contributing</a></li> | ||
@@ -111,3 +110,4 @@ <li><a href="#license">License</a></li> | ||
4. If utilizing cookies to persist client-state:<br> | ||
Import `{ getCookieProps }` into your frontend at the top level of your Next.js app as well as importing `{ getCookieStore }` into any reducer(s) you plan to persist. | ||
Import `{ getCookieProps }` into your frontend at the top level of your Next.js app<br> | ||
Import `{ getCookieStore }` into any reducer(s) you plan to persist. | ||
@@ -114,0 +114,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33831
28
396
11
1
1