Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "sswr", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Svelte stale while revalidate (SWR) data fetching strategy", | ||
@@ -8,14 +8,17 @@ "repository": "github.com/ConsoleTVs/sswr", | ||
"license": "MIT", | ||
"type": "module", | ||
"types": "./dist/sswr.d.ts", | ||
"main": "./dist/sswr.umd.js", | ||
"module": "./dist/sswr.mjs", | ||
"main": "./dist/sswr.umd.cjs", | ||
"module": "./dist/sswr.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": "./dist/sswr.mjs", | ||
"require": "./dist/sswr.umd.js" | ||
} | ||
"types": "./dist/sswr.d.ts", | ||
"import": "./dist/sswr.js", | ||
"require": "./dist/sswr.umd.cjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src", | ||
"package.json" | ||
@@ -28,12 +31,13 @@ ], | ||
}, | ||
"dependencies": { | ||
"swrev": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.6", | ||
"vite": "^4.4.2" | ||
"svelte": "^4.2.8", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.10" | ||
}, | ||
"peerDependencies": { | ||
"svelte": "^4.0.0" | ||
}, | ||
"dependencies": { | ||
"swrev": "^4.0.0" | ||
"svelte": "^4.0.0 || ^5.0.0-next.0" | ||
} | ||
} |
@@ -131,4 +131,4 @@ # SSWR (Svelte Stale While Revalidate) | ||
You can configure the options globally by creating a SWR instance and using it in your vue | ||
application. This step is not mandatory but it's recommened for most apps. | ||
You can configure the options globally by creating a SWR instance and using it in your svelte | ||
application. This step is not mandatory but it's recommended for most apps. | ||
@@ -135,0 +135,0 @@ You can either choose to manually create a SWR instance and import it when needed or replace |
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
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
32755
7
404
Yes
3
1