Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capraconsulting/cals-cli

Package Overview
Dependencies
Maintainers
14
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capraconsulting/cals-cli - npm Package Compare versions

Comparing version 1.12.5 to 1.12.6

6

lib/github/changeset/changeset.d.ts

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

import { OrgsGetResponse } from "@octokit/rest";
import { Octokit } from "@octokit/rest";
import { Definition } from "../../definition/types";

@@ -12,7 +12,7 @@ import { GitHubService } from "../service";

*/
export declare function createChangeSetItemsForMembers(github: GitHubService, definition: Definition, org: OrgsGetResponse): Promise<ChangeSetItem[]>;
export declare function createChangeSetItemsForMembers(github: GitHubService, definition: Definition, org: Octokit.OrgsGetResponse): Promise<ChangeSetItem[]>;
/**
* Generate change set items for organization teams.
*/
export declare function createChangeSetItemsForTeams(github: GitHubService, definition: Definition, org: OrgsGetResponse): Promise<ChangeSetItem[]>;
export declare function createChangeSetItemsForTeams(github: GitHubService, definition: Definition, org: Octokit.OrgsGetResponse): Promise<ChangeSetItem[]>;
/**

@@ -19,0 +19,0 @@ * Remove redundant change set items due to effects by other

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

import Octokit, { OrgsGetResponse, ReposGetResponse, TeamsListResponseItem } from "@octokit/rest";
import { Octokit } from "@octokit/rest";
import { CacheProvider } from "../cache";

@@ -25,8 +25,8 @@ import { Config } from "../config";

getRepository(owner: string, repo: string): Promise<Octokit.ReposGetResponse | undefined>;
getRepositoryTeamsList(repo: ReposGetResponse): Promise<Octokit.ReposListTeamsResponseItem[]>;
getRepositoryTeamsList(repo: Octokit.ReposGetResponse): Promise<Octokit.ReposListTeamsResponseItem[]>;
getOrg(org: string): Promise<Octokit.OrgsGetResponse>;
getTeamList(org: OrgsGetResponse): Promise<Octokit.TeamsListResponseItem[]>;
getTeamMemberList(org: OrgsGetResponse, team: TeamsListResponseItem): Promise<Octokit.TeamsListMembersResponseItem[]>;
getTeamMemberInvitedList(org: OrgsGetResponse, team: TeamsListResponseItem): Promise<Octokit.TeamsListPendingInvitationsResponseItem[]>;
getTeamMemberListIncludingInvited(org: OrgsGetResponse, team: TeamsListResponseItem): Promise<TeamMemberOrInvited[]>;
getTeamList(org: Octokit.OrgsGetResponse): Promise<Octokit.TeamsListResponseItem[]>;
getTeamMemberList(org: Octokit.OrgsGetResponse, team: Octokit.TeamsListResponseItem): Promise<Octokit.TeamsListMembersResponseItem[]>;
getTeamMemberInvitedList(org: Octokit.OrgsGetResponse, team: Octokit.TeamsListResponseItem): Promise<Octokit.TeamsListPendingInvitationsResponseItem[]>;
getTeamMemberListIncludingInvited(org: Octokit.OrgsGetResponse, team: Octokit.TeamsListResponseItem): Promise<TeamMemberOrInvited[]>;
getSearchedPullRequestList(): Promise<{

@@ -33,0 +33,0 @@ __typename: string;

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

import { OrgsListMembersResponseItem, OrgsListPendingInvitationsResponseItem, TeamsListMembersResponseItem, TeamsListPendingInvitationsResponseItem } from "@octokit/rest";
import { Octokit } from "@octokit/rest";
export interface Repo {

@@ -28,7 +28,7 @@ name: string;

login: string;
data: TeamsListMembersResponseItem;
data: Octokit.TeamsListMembersResponseItem;
} | {
type: "invited";
login: string;
data: TeamsListPendingInvitationsResponseItem;
data: Octokit.TeamsListPendingInvitationsResponseItem;
};

@@ -38,7 +38,7 @@ export declare type OrgMemberOrInvited = {

login: string;
data: OrgsListMembersResponseItem;
data: Octokit.OrgsListMembersResponseItem;
} | {
type: "invited";
login: string;
data: OrgsListPendingInvitationsResponseItem;
data: Octokit.OrgsListPendingInvitationsResponseItem;
};

@@ -10,3 +10,3 @@ import fs from 'fs';

import 'lodash';
import Octokit from '@octokit/rest';
import { Octokit } from '@octokit/rest';
import keytar from 'keytar';

@@ -16,3 +16,3 @@ import fetch from 'node-fetch';

var version = "1.12.5";
var version = "1.12.6";

@@ -19,0 +19,0 @@ class CacheProvider {

@@ -16,3 +16,3 @@ 'use strict';

require('lodash');
var Octokit = _interopDefault(require('@octokit/rest'));
var rest = require('@octokit/rest');
var keytar = _interopDefault(require('keytar'));

@@ -22,3 +22,3 @@ var fetch = _interopDefault(require('node-fetch'));

var version = "1.12.5";
var version = "1.12.6";

@@ -601,3 +601,3 @@ class CacheProvider {

async function createOctokit(config) {
return new Octokit({
return new rest.Octokit({
auth: await GitHubService.getToken(),

@@ -604,0 +604,0 @@ request: {

{
"name": "@capraconsulting/cals-cli",
"version": "1.12.5",
"version": "1.12.6",
"description": "CLI for repeatable tasks in CALS",

@@ -33,15 +33,15 @@ "scripts": {

"devDependencies": {
"@types/jest": "24.9.0",
"@types/js-yaml": "3.12.1",
"@types/jest": "25.1.2",
"@types/js-yaml": "3.12.2",
"@types/lodash": "4.14.149",
"@types/node": "11.15.4",
"@types/node": "11.15.5",
"@types/node-fetch": "2.5.4",
"@types/read": "0.0.28",
"@types/sprintf-js": "1.1.2",
"@types/yargs": "15.0.1",
"@typescript-eslint/eslint-plugin": "2.17.0",
"@typescript-eslint/parser": "2.17.0",
"@types/yargs": "15.0.3",
"@typescript-eslint/eslint-plugin": "2.19.0",
"@typescript-eslint/parser": "2.19.0",
"dateformat": "3.0.3",
"eslint": "6.8.0",
"eslint-config-prettier": "6.9.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-prettier": "3.1.2",

@@ -51,3 +51,3 @@ "jest": "25.1.0",

"prettier": "1.19.1",
"rollup": "1.29.1",
"rollup": "1.31.0",
"rollup-plugin-alias": "2.2.0",

@@ -57,4 +57,4 @@ "rollup-plugin-json": "4.0.0",

"rollup-plugin-typescript2": "0.25.3",
"semantic-release": "16.0.2",
"ts-jest": "25.0.0",
"semantic-release": "17.0.2",
"ts-jest": "25.2.0",
"typescript": "3.7.5"

@@ -61,0 +61,0 @@ },

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

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