Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@octokit/types

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/types - npm Package Compare versions

Comparing version
15.0.0
to
15.0.1
+2
-2
dist-types/RequestError.d.ts

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

export type RequestError = {
export interface RequestError {
name: string;

@@ -11,2 +11,2 @@ status: number;

}>;
};
}

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

export type RequestHeaders = {
export interface RequestHeaders {
/**

@@ -15,2 +15,2 @@ * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead.

[header: string]: string | number | undefined;
};
}

@@ -8,3 +8,3 @@ import type { RequestHeaders } from "./RequestHeaders.js";

*/
export type RequestOptions = {
export interface RequestOptions {
method: RequestMethod;

@@ -15,2 +15,2 @@ url: Url;

request?: RequestRequestOptions;
};
}

@@ -7,3 +7,3 @@ import type { RequestRequestOptions } from "./RequestRequestOptions.js";

*/
export type RequestParameters = {
export interface RequestParameters {
/**

@@ -56,2 +56,2 @@ * Base URL to be used when a relative URL is passed, such as `/orgs/{org}`.

[parameter: string]: unknown;
};
}

@@ -5,3 +5,3 @@ import type { Fetch } from "./Fetch.js";

*/
export type RequestRequestOptions = {
export interface RequestRequestOptions {
/**

@@ -21,2 +21,2 @@ * Custom replacement for built-in fetch method. Useful for testing or request hooks.

[option: string]: any;
};
}

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

export type ResponseHeaders = {
export interface ResponseHeaders {
"cache-control"?: string;

@@ -21,2 +21,2 @@ "content-length"?: number;

[header: string]: string | number | undefined;
};
}

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

export declare const VERSION = "15.0.0";
export declare const VERSION = "15.0.1";
{
"name": "@octokit/types",
"version": "15.0.0",
"version": "15.0.1",
"publishConfig": {

@@ -28,3 +28,3 @@ "access": "public",

"prettier": "^3.0.0",
"semantic-release": "^24.0.0",
"semantic-release": "^25.0.0",
"semantic-release-plugin-update-version-in-files": "^2.0.0",

@@ -31,0 +31,0 @@ "sort-keys": "^6.0.0",

Sorry, the diff of this file is too big to display