@octokit/core
Advanced tools
Comparing version 6.1.1 to 6.1.2
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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22960
458