Skip to content

fix(deps): update npm - li-cli - experimental/li-cli/package.json #959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading

Unchanged files with check annotations Beta

let _api: Record<string, unknown> = defaultSettings.api;
let _cookieSecret: string = defaultSettings.cookieSecret;
let _sessionMaxAgeHours: number = defaultSettings.sessionMaxAgeHours;
let _plugins: any[] = defaultSettings.plugins;

Check warning on line 25 in src/config/index.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
let _commitConfig: Record<string, any> = defaultSettings.commitConfig;

Check warning on line 26 in src/config/index.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
let _attestationConfig: Record<string, unknown> = defaultSettings.attestationConfig;
let _privateOrganizations: string[] = defaultSettings.privateOrganizations;
let _urlShortener: string = defaultSettings.urlShortener;
authentication: Authentication[];
tempPassword?: TempPasswordConfig;
proxyUrl: string;
api: Record<string, any>;

Check warning on line 7 in src/config/types.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
cookieSecret: string;
sessionMaxAgeHours: number;
tls?: TLSConfig;
sslCertPemPath?: string; // deprecated
sslKeyPemPath?: string; // deprecated
plugins: any[];

Check warning on line 13 in src/config/types.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
commitConfig: Record<string, unknown>;
attestationConfig: Record<string, unknown>;
privateOrganizations: any[];

Check warning on line 16 in src/config/types.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
urlShortener: string;
contactEmail: string;
csrfProtection: boolean;
});
};
export const authorise = async (id: string, attestation: any) => {

Check warning on line 67 in src/db/file/pushes.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
const action = await getPush(id);
if (!action) {
throw new Error(`push ${id} not found`);
return { message: `cancel ${id}` };
};
export const canUserCancelPush = async (id: string, user: any) => {

Check warning on line 106 in src/db/file/pushes.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
return new Promise<boolean>(async (resolve) => {
const pushDetail = await getPush(id);
if (!pushDetail) {
});
};
export const canUserApproveRejectPush = async (id: string, user: any) => {

Check warning on line 125 in src/db/file/pushes.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
return new Promise<boolean>(async (resolve) => {
const action = await getPush(id);
if (!action) {
const db = new Datastore({ filename: './.data/db/repos.db', autoload: true });
export const getRepos = async (query: any = {}) => {

Check warning on line 10 in src/db/file/repo.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
return new Promise<Repo[]>((resolve, reject) => {
db.find({}, (err: Error, docs: Repo[]) => {
if (err) {
});
};
export const getUsers = (query: any = {}) => {

Check warning on line 79 in src/db/file/users.ts

GitHub Actions / Linting

Unexpected any. Specify a different type
return new Promise<User[]>((resolve, reject) => {
db.find(query, (err: Error, docs: User[]) => {
if (err) {