Socket
Socket
Sign inDemoInstall

sswr

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sswr - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

dist/sswr.js

30

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc