New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@urql/exchange-request-policy

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@urql/exchange-request-policy - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-canary-0204e044

7

CHANGELOG.md
# Changelog
## 1.2.0-canary-0204e044
### Minor Changes
- Mark `@urql/core` as a peer dependency as well as a regular dependency
Submitted by [@kitten](https://github.com/kitten) (See [#3579](https://github.com/urql-graphql/urql/pull/3579))
## 1.1.0

@@ -4,0 +11,0 @@

9

package.json
{
"name": "@urql/exchange-request-policy",
"version": "1.1.0",
"version": "1.2.0-canary-0204e044",
"description": "An exchange for operation request-policy upgrading in urql",

@@ -43,6 +43,9 @@ "sideEffects": false,

"graphql": "^16.0.0",
"@urql/core": "4.3.0"
"@urql/core": "5.0.3"
},
"peerDependencies": {
"@urql/core": "^5.0.0"
},
"dependencies": {
"@urql/core": ">=4.3.0",
"@urql/core": "^5.0.0",
"wonka": "^6.3.2"

@@ -49,0 +52,0 @@ },

@@ -19,3 +19,3 @@ # @urql/exchange-request-policy (Exchange factory)

```js
import { createClient, dedupExchange, cacheExchange, fetchExchange } from 'urql';
import { createClient, cacheExchange, fetchExchange } from 'urql';
import { requestPolicyExchange } from '@urql/exchange-request-policy';

@@ -26,3 +26,2 @@

exchanges: [
dedupExchange,
requestPolicyExchange({

@@ -29,0 +28,0 @@ // The amount of time in ms that has to go by before upgrading, default is 5 minutes.

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