Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/plugin-paginate-graphql

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-paginate-graphql - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0-beta.1

7

dist-node/index.js

@@ -26,2 +26,3 @@ "use strict";

module.exports = __toCommonJS(dist_src_exports);
var import_core3 = require("@octokit/core");

@@ -115,2 +116,5 @@ // pkg/dist-src/errors.js

// pkg/dist-src/iterator.js
var import_core = require("@octokit/core");
// pkg/dist-src/page-info.js

@@ -154,2 +158,5 @@ var isForwardSearch = (givenPageInfo) => {

// pkg/dist-src/paginate.js
var import_core2 = require("@octokit/core");
// pkg/dist-src/merge-responses.js

@@ -156,0 +163,0 @@ var mergeResponses = (response1, response2) => {

1

dist-src/index.js

@@ -0,1 +1,2 @@

import { Octokit } from "@octokit/core";
import { createIterator } from "./iterator";

@@ -2,0 +3,0 @@ import { createPaginate } from "./paginate";

import { extractPageInfos } from "./extract-page-info";
import { Octokit } from "@octokit/core";
import { getCursorFrom, hasAnotherPage } from "./page-info";

@@ -3,0 +4,0 @@ import { MissingCursorChange } from "./errors";

@@ -0,1 +1,2 @@

import { Octokit } from "@octokit/core";
import { mergeResponses } from "./merge-responses";

@@ -2,0 +3,0 @@ import { createIterator } from "./iterator";

@@ -0,1 +1,4 @@

// pkg/dist-src/index.js
import { Octokit as Octokit3 } from "@octokit/core";
// pkg/dist-src/errors.js

@@ -88,2 +91,5 @@ var generateMessage = (path, cursorValue) => `The cursor at "${path.join(

// pkg/dist-src/iterator.js
import { Octokit } from "@octokit/core";
// pkg/dist-src/page-info.js

@@ -127,2 +133,5 @@ var isForwardSearch = (givenPageInfo) => {

// pkg/dist-src/paginate.js
import { Octokit as Octokit2 } from "@octokit/core";
// pkg/dist-src/merge-responses.js

@@ -129,0 +138,0 @@ var mergeResponses = (response1, response2) => {

7

package.json

@@ -6,3 +6,3 @@ {

},
"version": "2.0.3",
"version": "3.0.0-beta.1",
"description": "Octokit plugin to paginate GraphQL API endpoint responses",

@@ -28,3 +28,3 @@ "main": "dist-node/index.js",

"@types/node": "^18.0.0",
"esbuild": "^0.17.19",
"esbuild": "^0.18.0",
"fetch-mock": "^9.0.0",

@@ -39,2 +39,5 @@ "glob": "^10.2.6",

},
"engines": {
"node": ">= 18"
},
"files": [

@@ -41,0 +44,0 @@ "dist-*/**",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc