Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2025-05-27 12:34:30 +00:00
parent 3934d2b758
commit 655a969b7c
221 changed files with 2272 additions and 1525 deletions

View file

@ -4,7 +4,7 @@ import { createAppAuth as createAppAuth3 } from "@octokit/auth-app";
import { OAuthApp } from "@octokit/oauth-app";
// pkg/dist-src/version.js
var VERSION = "15.1.6";
var VERSION = "16.0.1";
// pkg/dist-src/webhooks.js
import { createAppAuth } from "@octokit/auth-app";

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const VERSION = "15.1.6";
const VERSION = "16.0.1";
export {
VERSION
};

View file

@ -11,14 +11,7 @@ export declare function eachRepositoryIterator(app: App, query?: EachRepositoryQ
node_id: string;
name: string;
full_name: string;
license: {
key: string;
name: string;
url: string | null;
spdx_id: string | null;
node_id: string;
html_url?: string;
} | null;
license: import("@octokit/openapi-types").components["schemas"]["nullable-license-simple"];
forks: number;
permissions?: {
admin: boolean;
@ -27,30 +20,7 @@ export declare function eachRepositoryIterator(app: App, query?: EachRepositoryQ
push: boolean;
maintain?: boolean;
};
owner: {
name?: string | null;
email?: string | null;
login: string;
id: number;
node_id: string;
avatar_url: string;
gravatar_id: string | null;
url: string;
html_url: string;
followers_url: string;
following_url: string;
gists_url: string;
starred_url: string;
subscriptions_url: string;
organizations_url: string;
repos_url: string;
events_url: string;
received_events_url: string;
type: string;
site_admin: boolean;
starred_at?: string;
user_view_type?: string;
};
owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
private: boolean;
html_url: string;
description: string | null;

View file

@ -1 +1 @@
export declare const VERSION = "15.1.6";
export declare const VERSION = "16.0.1";

View file

@ -4,7 +4,7 @@ import { createAppAuth as createAppAuth3 } from "@octokit/auth-app";
import { OAuthApp } from "@octokit/oauth-app";
// pkg/dist-src/version.js
var VERSION = "15.1.6";
var VERSION = "16.0.1";
// pkg/dist-src/webhooks.js
import { createAppAuth } from "@octokit/auth-app";

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
"provenance": true
},
"type": "module",
"version": "5.1.2",
"version": "6.0.0",
"description": "GitHub API token authentication for browsers and Node.js",
"repository": "github:octokit/auth-token.js",
"keywords": [
@ -19,18 +19,17 @@
"devDependencies": {
"@octokit/request": "^9.0.0",
"@octokit/tsconfig": "^4.0.0",
"@octokit/types": "^13.0.0",
"@octokit/types": "^14.0.0",
"@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.24.0",
"fetch-mock": "^11.0.0",
"esbuild": "^0.25.0",
"fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.4.2",
"semantic-release": "^24.0.0",
"prettier": "3.5.3",
"typescript": "^5.3.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "6.1.5";
const VERSION = "7.0.2";
export {
VERSION
};

View file

@ -5,7 +5,7 @@ import type { Constructor, Hooks, OctokitOptions, OctokitPlugin, ReturnTypeOf, U
export type { OctokitOptions } from "./types.js";
export declare class Octokit {
static VERSION: string;
static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): S;
static defaults<S extends Constructor<any>>(this: S, defaults: OctokitOptions | Function): typeof this;
static plugins: OctokitPlugin[];
/**
* Attach a plugin (or many) to your Octokit instance.
@ -15,7 +15,7 @@ export declare class Octokit {
*/
static plugin<S extends Constructor<any> & {
plugins: any[];
}, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): S & Constructor<UnionToIntersection<ReturnTypeOf<T>>>;
}, T extends OctokitPlugin[]>(this: S, ...newPlugins: T): typeof this & Constructor<UnionToIntersection<ReturnTypeOf<T>>>;
constructor(options?: OctokitOptions);
request: typeof request;
graphql: typeof graphql;

View file

@ -1 +1 @@
export declare const VERSION = "6.1.5";
export declare const VERSION = "7.0.2";

View file

@ -1,6 +1,6 @@
{
"name": "@octokit/core",
"version": "6.1.5",
"version": "7.0.2",
"publishConfig": {
"access": "public",
"provenance": true
@ -18,18 +18,18 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/auth-token": "^5.0.0",
"@octokit/graphql": "^8.2.2",
"@octokit/request": "^9.2.3",
"@octokit/request-error": "^6.1.8",
"@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^9.0.1",
"@octokit/request": "^10.0.2",
"@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2",
"before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0"
},
"devDependencies": {
"@octokit/auth-action": "^5.0.0",
"@octokit/auth-app": "^7.0.0",
"@octokit/auth-oauth-app": "^8.0.0",
"@octokit/auth-action": "^6.0.1",
"@octokit/auth-app": "^8.0.0",
"@octokit/auth-oauth-app": "^9.0.0",
"@octokit/tsconfig": "^4.0.0",
"@sinonjs/fake-timers": "^14.0.0",
"@types/lolex": "^5.1.0",
@ -38,17 +38,15 @@
"@vitest/coverage-v8": "^3.0.5",
"esbuild": "^0.25.0",
"fetch-mock": "^12.0.0",
"glob": "^11.0.0",
"prettier": "3.5.3",
"proxy": "^2.0.0",
"semantic-release": "^24.0.0",
"semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0",
"undici": "^6.0.0",
"undici": "^7.0.0",
"vitest": "^3.0.5"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "8.2.2";
const VERSION = "9.0.1";
export {
VERSION
};

View file

@ -1 +1 @@
export declare const VERSION = "8.2.2";
export declare const VERSION = "9.0.1";

View file

@ -1,6 +1,6 @@
{
"name": "@octokit/graphql",
"version": "8.2.2",
"version": "9.0.1",
"publishConfig": {
"access": "public",
"provenance": true
@ -17,7 +17,7 @@
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/request": "^9.2.3",
"@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0"
},
@ -34,7 +34,7 @@
"vitest": "^3.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist-*/**",

View file

@ -1,4 +1,4 @@
const VERSION = "12.0.0";
const VERSION = "13.0.1";
export {
VERSION
};

View file

@ -1 +1 @@
export declare const VERSION = "12.0.0";
export declare const VERSION = "13.0.1";

View file

@ -5,7 +5,7 @@
"provenance": true
},
"type": "module",
"version": "12.0.0",
"version": "13.0.1",
"description": "Octokit plugin to paginate REST API endpoint responses",
"repository": "github:octokit/plugin-paginate-rest.js",
"keywords": [
@ -16,29 +16,29 @@
],
"license": "MIT",
"dependencies": {
"@octokit/types": "^14.0.0"
"@octokit/types": "^14.1.0"
},
"peerDependencies": {
"@octokit/core": ">=6"
},
"devDependencies": {
"@octokit/core": "^6.1.5",
"@octokit/plugin-rest-endpoint-methods": "^14.0.0",
"@octokit/core": "^7.0.0",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@octokit/tsconfig": "^4.0.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0",
"esbuild": "^0.25.0",
"fetch-mock": "^12.0.0",
"github-openapi-graphql-query": "^4.0.0",
"github-openapi-graphql-query": "^5.0.0",
"glob": "^11.0.0",
"npm-run-all2": "^7.0.0",
"npm-run-all2": "^8.0.0",
"prettier": "3.5.3",
"semantic-release-plugin-update-version-in-files": "^2.0.0",
"typescript": "^5.0.0",
"vitest": "^3.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist-*/**",

View file

@ -1,7 +1,7 @@
{
"name": "before-after-hook",
"type": "module",
"version": "3.0.2",
"version": "4.0.0",
"description": "asynchronous before/error/after hooks for internal functionality",
"exports": "./index.js",
"types": "./index.d.ts",
@ -12,12 +12,12 @@
],
"scripts": {
"test": "npm run test:code && npm run test:tsc && npm run test:tsd && npm run lint",
"test:code": "c8 --100 ava test/*.test.js",
"test:code": "c8 --100 --clean node --test",
"test:deno": "deno test --no-check",
"test:tsc": "tsc --allowJs --noEmit --esModuleInterop --skipLibCheck --lib es2020 index.js",
"test:tsd": "tsd",
"lint": "prettier --check \"*.{js,json,ts,md}\" \".github/**/*.yml\"",
"lint:fix": "prettier --write \"*.{js,json,ts,md}\" \".github/**/*.yml\"",
"coverage": "c8 report --reporter html",
"lint": "prettier --check \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"lint:fix": "prettier --write \"*.{js,json,ts,md}\" \"test//*.{js,json,ts,md}\" \".github/**/*.yml\"",
"postcoverage": "open-cli coverage/index.html"
},
"repository": "github:gr2m/before-after-hook",
@ -29,10 +29,9 @@
"author": "Gregor Martynus",
"license": "Apache-2.0",
"devDependencies": {
"ava": "^4.3.3",
"c8": "^7.12.0",
"@types/node": "^22.15.17",
"c8": "^10.1.3",
"prettier": "^2.0.0",
"sinon": "^14.0.1",
"tsd": "^0.24.1",
"typescript": "^4.8.4"
},

View file

@ -1,5 +1,5 @@
name: Release
"on":
on:
push:
branches:
- master
@ -8,6 +8,11 @@ name: Release
- "*.x"
jobs:
release:
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
name: release
runs-on: ubuntu-latest
steps:

View file

@ -7,9 +7,30 @@ on:
types:
- opened
- synchronize
- reopened
jobs:
test_matrix:
test-deno:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x # Run with latest stable Deno.
- run: deno install
- run: deno test
test-bun:
runs-on: ubuntu-latest
needs: test-node
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun test
test-node:
runs-on: ubuntu-latest
strategy:
matrix:
@ -17,20 +38,27 @@ jobs:
- 12
- 14
- 16
- 18
- 20
- 22
- 24
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: uses: actions/setup-node@v3
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: npm
- run: npm ci
- run: npm run test:code
- run: npm run test:node
test:
test-types:
runs-on: ubuntu-latest
needs: test_matrix
needs:
- test-node
- test-deno
- test-bun
steps:
- uses: actions/checkout@v2
- run: npm ci

View file

@ -1,5 +1,5 @@
name: Update Prettier
"on":
on:
push:
branches:
- renovate/prettier-*

View file

@ -0,0 +1,5 @@
## Security contact information
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

View file

@ -0,0 +1,40 @@
import { getUserAgent } from "./index.js";
if (getUserAgent instanceof Function === false) {
throw new Error("getUserAgent is not a function");
}
if (typeof getUserAgent() !== "string") {
throw new Error("getUserAgent does not return a string");
}
if ("Deno" in globalThis) {
if (/Deno\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Deno"
);
}
} else if ("Bun" in globalThis) {
if (/Bun\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Bun"
);
}
} else {
if (/Node\.js\//.test(getUserAgent()) === false) {
throw new Error(
"getUserAgent does not return the correct user agent for Node.js"
);
}
}
delete globalThis.navigator;
delete globalThis.process;
if (getUserAgent() !== "<environment undetectable>") {
throw new Error(
"getUserAgent does not return the correct user agent for undetectable environment"
);
}
console.info("getUserAgent test passed");

View file

@ -1,6 +1,6 @@
{
"name": "universal-user-agent",
"version": "7.0.2",
"version": "7.0.3",
"type": "module",
"description": "Get a user agent string across all JavaScript Runtime Environments",
"exports": "./index.js",
@ -12,12 +12,17 @@
"scripts": {
"lint": "prettier --check '*.{js,json,md}'",
"lint:fix": "prettier --write '*.{js,json,md}'",
"test": "npm run test:code && npm run test:types",
"test:code": "node test.js",
"test": "npm run test:node && npm run test:types",
"test:bun": "bun test",
"test:node": "node index.test.js",
"test:deno": "deno test",
"test:types": "tsd"
},
"devDependencies": {
"prettier": "^2.0.0",
"tsd": "^0.17.0"
},
"publishConfig": {
"provenance": true
}
}

View file

@ -1,8 +0,0 @@
import assert from "node:assert";
import { getUserAgent } from "./index.js";
assert(getUserAgent instanceof Function, "getUserAgent is a function");
assert.equal(typeof getUserAgent(), "string", "getUserAgent returns a string");
console.log("ok");

View file

@ -5,20 +5,20 @@
"provenance": true
},
"type": "module",
"version": "15.1.6",
"version": "16.0.1",
"description": "GitHub Apps toolset for Node.js",
"main": "./dist-node/index.js",
"repository": "github:octokit/app.js",
"author": "Gregor Martynus (https://github.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/auth-app": "^7.2.1",
"@octokit/auth-unauthenticated": "^6.1.3",
"@octokit/core": "^6.1.5",
"@octokit/oauth-app": "^7.1.6",
"@octokit/plugin-paginate-rest": "^12.0.0",
"@octokit/auth-app": "^8.0.1",
"@octokit/auth-unauthenticated": "^7.0.1",
"@octokit/core": "^7.0.2",
"@octokit/oauth-app": "^8.0.1",
"@octokit/plugin-paginate-rest": "^13.0.0",
"@octokit/types": "^14.0.0",
"@octokit/webhooks": "^13.6.1"
"@octokit/webhooks": "^14.0.0"
},
"devDependencies": {
"@octokit/tsconfig": "^4.0.0",
@ -35,7 +35,7 @@
"vitest": "^3.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
},
"files": [
"dist-*/**",