Socket
Socket
Sign inDemoInstall

apollo-link-pagination

Package Overview
Dependencies
40
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

lib/createPaginationLink.js

@@ -22,5 +22,3 @@ "use strict";

}
var doc = (_c = utilities_1.removeDirectivesFromDocument([{ name: foundDirective }], query)) !== null && _c !== void 0 ? _c : query;
var cleanedQuery = client_1.gql(graphql_1.print(doc));
operation.query = cleanedQuery;
operation.query = (_c = utilities_1.removeDirectivesFromDocument([{ name: foundDirective }], query)) !== null && _c !== void 0 ? _c : query;
if (appliedPolicies.includes(foundDirective)) {

@@ -27,0 +25,0 @@ return;

{
"name": "apollo-link-pagination",
"version": "1.0.0",
"version": "1.0.1",
"description": "A @pagination directive for GraphQL queries",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -36,3 +36,3 @@ # Apollo Link Pagination

const paginationLink = createPaginationLink(cache, {
cursorPagination: cursorPagination('cursor'),
cursorPagination: cursorPagination(),
offsetLimitPagination: offsetLimitPagination(),

@@ -39,0 +39,0 @@ // or you can define your own pagination directives.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc