Socket
Socket
Sign inDemoInstall

@octokit/core

Package Overview
Dependencies
Maintainers
4
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/core - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

2

dist-src/index.js
import { getUserAgent } from "universal-user-agent";
import Hook from "before-after-hook";
import { request } from "@octokit/request";
import { graphql, withCustomRequest } from "@octokit/graphql";
import { withCustomRequest } from "@octokit/graphql";
import { createTokenAuth } from "@octokit/auth-token";

@@ -6,0 +6,0 @@ import { VERSION } from "./version.js";

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

const VERSION = "6.1.1";
const VERSION = "6.1.2";
export {
VERSION
};
import type { HookCollection } from "before-after-hook";
import { request } from "@octokit/request";
import { graphql } from "@octokit/graphql";
import { type graphql } from "@octokit/graphql";
import type { Constructor, Hooks, OctokitOptions, OctokitPlugin, ReturnTypeOf, UnionToIntersection } from "./types.js";

@@ -5,0 +5,0 @@ export type { OctokitOptions } from "./types.js";

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

export declare const VERSION = "6.1.1";
export declare const VERSION = "6.1.2";
{
"name": "@octokit/core",
"version": "6.1.1",
"version": "6.1.2",
"publishConfig": {

@@ -60,3 +60,2 @@ "access": "public",

],
"main": "./dist-src/index.js",
"types": "./dist-types/index.d.ts",

@@ -66,3 +65,7 @@ "exports": {

"types": "./dist-types/index.d.ts",
"import": "./dist-src/index.js"
"import": "./dist-src/index.js",
"default": "./dist-src/index.js"
},
"./types": {
"types": "./dist-types/types.d.ts"
}

@@ -69,0 +72,0 @@ },

@@ -58,2 +58,4 @@ # core.js

As we use [conditional exports](https://nodejs.org/api/packages.html#conditional-exports), you will need to adapt your `tsconfig.json`. See the TypeScript docs on [package.json "exports"](https://www.typescriptlang.org/docs/handbook/modules/reference.html#packagejson-exports).
### REST API example

@@ -60,0 +62,0 @@

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