You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

git-mob-core

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-mob-core - npm Package Compare versions

Comparing version

to
0.8.1-beta.2

dist/git-mob-api/git-authors/create-coauthors-file.d.ts

3

dist/git-mob-api/git-authors/index.d.ts

@@ -5,3 +5,2 @@ export function gitAuthors(readFilePromise: any, writeFilePromise: any, overwriteFilePromise: any): {

overwrite: (authorJson: any) => Promise<any>;
fileExists: () => Promise<boolean>;
coAuthors(authorInitials: any, authorJson: any): any;

@@ -11,3 +10,5 @@ author(authorInitials: any, authorJson: any): any;

};
export function globalGitCoAuthorsPath(): string;
export function pathToCoAuthors(): Promise<string>;
export const gitCoauthorsFileName: ".git-coauthors";
import { Author } from "../author.js";

@@ -27,2 +27,3 @@ import { Author } from './git-mob-api/author.js';

export { saveNewCoAuthors } from './git-mob-api/manage-authors/add-new-coauthor.js';
export { createCoAuthorsFile } from './git-mob-api/git-authors/create-coauthors-file.js';
export { repoAuthorList } from './git-mob-api/git-authors/repo-author-list.js';

@@ -29,0 +30,0 @@ export { pathToCoAuthors } from './git-mob-api/git-authors/index.js';

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

"use strict";var pt=Object.create;var x=Object.defineProperty;var lt=Object.getOwnPropertyDescriptor;var ht=Object.getOwnPropertyNames;var dt=Object.getPrototypeOf,wt=Object.prototype.hasOwnProperty;var At=(t,r)=>{for(var o in r)x(t,o,{get:r[o],enumerable:!0})},_=(t,r,o,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of ht(r))!wt.call(t,n)&&n!==o&&x(t,n,{get:()=>r[n],enumerable:!(e=lt(r,n))||e.enumerable});return t};var v=(t,r,o)=>(o=t!=null?pt(dt(t)):{},_(r||!t||!t.__esModule?x(o,"default",{value:t,enumerable:!0}):o,t)),yt=t=>_(x({},"__esModule",{value:!0}),t);var jt={};At(jt,{Author:()=>c,fetchGitHubAuthors:()=>ct,getAllAuthors:()=>mt,getConfig:()=>w,getPrimaryAuthor:()=>Ut,getSelectedCoAuthors:()=>It,gitConfig:()=>Bt,gitMobConfig:()=>Jt,gitRevParse:()=>Dt,pathToCoAuthors:()=>C,repoAuthorList:()=>st,saveNewCoAuthors:()=>nt,setCoAuthors:()=>Nt,setPrimaryAuthor:()=>kt,solo:()=>ft,updateConfig:()=>I,updateGitTemplate:()=>N});module.exports=yt(jt);var U=require("node:child_process");var P={processCwd:void 0};function w(t){return P[t]}function I(t,r){if(t in P)P[t]=r;else throw new Error(`Invalid Git Mob Core config property "${t}"`)}function A(t){let r={shell:!0,encoding:"utf8"},o=w("processCwd");return o&&(r.cwd=o),(0,U.spawnSync)(t,r)}function k(t){try{let r=A(t);return r.status!==0?`GitMob handleResponse: "${t}" ${r.stderr.trim()}`:r.stdout.trim()}catch(r){return`GitMob catch: "${t}" ${r.message}`}}function Ct(t){return k(`git config --get-all ${t}`)}function J(t){return k(`git config --get ${t}`)}function L(t){return A(`git config ${t}`).status===0}function bt(t,r){return A(`git config --add ${t} "${r}"`)}function xt(){return L("--local commit.template")}function vt(){return L("--global commit.template")}function Tt(){return J("--global commit.template")}function Et(t,r){let{status:o}=A(`git config ${t} "${r}"`);if(o!==0){let e=`Option ${t} has multiple values. Cannot overwrite multiple values for option ${t} with a single value.`;console.log(`GitMob set: ${e}`)}}function Gt(t){return bt("--global git-mob.co-author",t)}function $t(){return A("git config --global --remove-section git-mob")}var p={getAll:Ct,get:J,has:L,set:Et},R={removeGitMobSection:$t,gitAddCoAuthor:Gt,usingLocalTemplate:xt,usingGlobalTemplate:vt,getGlobalTemplate:Tt};var c=class{constructor(r,o,e){this.key=r,this.name=o,this.email=e}format(){return`Co-authored-by: ${this.toString()}`}toString(){return`${this.name} <${this.email}>`}};var T=class extends Error{constructor(r){super(`Author with initials "${r}" not found!`)}};var y=v(require("node:fs")),z=v(require("node:os")),M=v(require("node:path")),E=require("node:util");var B=require("node:child_process"),D=require("node:util");async function l(t){let r={encoding:"utf8"},o=w("processCwd");o&&(r.cwd=o);let e=(0,D.promisify)(B.exec),{stderr:n,stdout:s}=await e(t,r);if(n)throw new Error(`Git mob core execCommand: "${t}" ${n.trim()}`);return s.trim()}async function f(t){try{return await l(`git config --get ${t}`)}catch{return}}async function j(t){try{return await l(`git config --get-all ${t}`)}catch{return}}async function q(t,r){try{await l(`git config ${t} "${r}"`)}catch{let o=`Option ${t} has multiple values. Cannot overwrite multiple values for option ${t} with a single value.`;throw new Error(`Git mob core setConfig: ${o}`)}}async function K(t){let r="git shortlog -seni HEAD";return t&&(r+=` --author="${t}"`),l(r)}async function h(){return l("git rev-parse --show-toplevel")}async function W(){try{return await l("git rev-parse --is-inside-work-tree")==="true"}catch{return!1}}function G(t,r,o){async function e(i){let a=t||(0,E.promisify)(y.default.readFile);try{return await a(i,"utf8")}catch(m){throw new Error(m.message)}}async function n(i,a){let m=r||(0,E.promisify)(y.default.appendFile);try{return await m(i,a,"utf8")}catch(g){throw new Error(g.message)}}async function s(i,a){let m=o||(0,E.promisify)(y.default.writeFile);try{return await m(i,a,"utf8")}catch(g){throw new Error(g.message)}}function u({name:i,email:a}){return`${i} <${a}>`}return{read:async()=>{let i=await e(await C());try{return JSON.parse(i)}catch(a){throw new Error("Invalid JSON "+a.message)}},write:async i=>{try{return n(await C(),JSON.stringify(i,null,2))}catch(a){throw new Error("Invalid JSON "+a.message)}},overwrite:async i=>{try{return s(await C(),JSON.stringify(i,null,2))}catch(a){throw new Error("Invalid JSON "+a.message)}},fileExists:async()=>y.default.existsSync(await C()),coAuthors(i,a){let{coauthors:m}=a;return i.map(g=>(Q(g,m),u(m[g])))},author(i,a){let{coauthors:m}=a;return Q(i,m),m[i]},toList(i){return Object.entries(i.coauthors).map(([m,{name:g,email:gt}])=>new c(m,g,gt))}}}function Q(t,r){if(!(t in r))throw new Error(`Author with initials "${t}" not found!`)}async function C(){if(process.env.GITMOB_COAUTHORS_PATH)return process.env.GITMOB_COAUTHORS_PATH;let t=".git-coauthors",r=null;try{r=M.default.join(await h(),t)}catch{r=""}return y.default.existsSync(r)?r:M.default.join(z.default.homedir(),t)}var b=require("node:fs"),$=require("node:os");function V(t){return t.code!=="ENOENT"}function St(t,r){return new Promise((o,e)=>{(0,b.readFile)(t,"utf8",(n,s)=>{n&&V(n)&&e(n);let u=r;s&&(u=s.replace(/(\r\n|\r|\n){1,2}Co-authored-by.*/g,"")+r),(0,b.writeFile)(t,u,i=>{i&&e(i),o()})})})}function Ot(t){return new Promise((r,o)=>{(0,b.readFile)(t,"utf8",(e,n)=>{e&&V(e)&&o(e),r(n)})})}function Pt(t){return t.map(r=>r.format()).join($.EOL)}function S(t,r,o){let e=r||St,n=o||Ot;return{writeCoAuthors:async s=>{let u=Pt(s);await e(t,$.EOL+$.EOL+u)},readCoAuthors:()=>n(t),removeCoAuthors:async()=>e(t,"")}}async function X(){return await f("--local git-mob-config.use-local-template")==="true"}async function Y(){return await f("--global git-mob-config.github-fetch")==="true"}async function Z(){return j("--global git-mob.co-author")}async function H(){return f("--local commit.template")}async function O(){return f("--global commit.template")}var d=require("node:path"),tt=require("node:os");async function rt(){await f("commit.template")||await q("--global commit.template",et())}async function ot(t){return process.env.GITMOB_MESSAGE_PATH?(0,d.resolve)(process.env.GITMOB_MESSAGE_PATH):t?(0,d.resolve)(await h(),t):(0,d.relative)(await h(),et())}function et(){return process.env.GITMOB_MESSAGE_PATH||(0,d.join)((0,tt.homedir)(),".gitmessage")}async function nt(t){if(!Array.isArray(t))throw new TypeError("saveNewCoAuthors argument should be an Array of Authors");let r=G(),o=await r.read(),e=[];for(let n of t){let{key:s,name:u,email:i}=n;if(s in o.coauthors)throw new Error(`Duplicate key ${s} exists in .git-coauthors`);o.coauthors[s]={name:u,email:i},e.push(new c(s,u,i))}return await r.overwrite(o),e}var it=require("node:os");async function st(t){let e=(await K(t)).split(it.EOL).map(Lt).filter(n=>n!==void 0);if(e.length>0)return e}function Lt(t){let o=/\d+\t(.+)\s<(.+)>/.exec(t);if(o!==null){let[,e,n]=o;return new c(Rt(e,n),e,n)}}function Rt(t,r){let o=t.toLowerCase().split(" ").reduce(function(n,s){return n+s[0]},""),e=r.slice(0,2);return o+e}var at=v(require("node:https"));async function ut(t,r){return new Promise((o,e)=>{at.default.request(t,r,s=>{let u="";s.on("data",i=>{u+=i}),s.on("end",()=>{o({statusCode:s.statusCode,data:JSON.parse(u)})})}).on("error",s=>{e(s)}).end()})}var Mt="https://api.github.com/users",F={headers:{Accept:"application/vnd.github.v3+json",method:"GET"}};function Ht(t){return"id"in t&&"login"in t&&"name"in t}async function ct(t,r,o=ut){if(!r)throw new Error("Error no user-agent header string given.");F.headers={...F.headers,"user-agent":r};let e=await Promise.all(t.map(async s=>o(Mt+"/"+s,F))),n=[];for(let s of e)if(Ft(s.statusCode),Ht(s.data)){let{login:u,id:i,name:a}=s.data;n.push(new c(u,a||u,`${i}+${u}@users.noreply.github.com`))}return n}function Ft(t){if(t===404)throw new Error("GitHub user not found!");if(t&&t>299)throw new Error(`Error failed to fetch GitHub user! Status code ${t}.`)}async function mt(){let t=G();return t.toList(await t.read())}async function Nt(t){let r=_t(t,await mt());await ft();for(let o of r)R.gitAddCoAuthor(o.toString());return await N(r),r}async function N(t){let[r,o]=await Promise.all([H(),f("commit.template")]),e=S(await ot(o));return t&&t.length>0?(r&&await S(await O()).writeCoAuthors(t),e.writeCoAuthors(t)):(r&&await S(await O()).removeCoAuthors(),e.removeCoAuthors())}function _t(t,r){let o=[];for(let e of t){let n=r.find(s=>s.key===e);if(!n)throw new T(e);o.push(n)}return o}function It(t){let r="",o="--global git-mob.co-author";return p.has(o)&&(r=p.getAll(o)),t.filter(e=>r.includes(e.email))}async function ft(){return await rt(),R.removeGitMobSection(),N()}function Ut(){let t=p.get("user.name"),r=p.get("user.email");if(t&&r)return new c("prime",t,r)}function kt(t){t&&(p.set("user.name",t.name),p.set("user.email",t.email))}var Jt={localTemplate:X,fetchFromGitHub:Y,getSetCoAuthors:Z},Bt={getLocalCommitTemplate:H,getGlobalCommitTemplate:O},Dt={insideWorkTree:W,topLevelDirectory:h};0&&(module.exports={Author,fetchGitHubAuthors,getAllAuthors,getConfig,getPrimaryAuthor,getSelectedCoAuthors,gitConfig,gitMobConfig,gitRevParse,pathToCoAuthors,repoAuthorList,saveNewCoAuthors,setCoAuthors,setPrimaryAuthor,solo,updateConfig,updateGitTemplate});
"use strict";var wt=Object.create;var v=Object.defineProperty;var At=Object.getOwnPropertyDescriptor;var yt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,bt=Object.prototype.hasOwnProperty;var xt=(t,o)=>{for(var r in o)v(t,r,{get:o[r],enumerable:!0})},I=(t,o,r,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of yt(o))!bt.call(t,n)&&n!==r&&v(t,n,{get:()=>o[n],enumerable:!(e=At(o,n))||e.enumerable});return t};var T=(t,o,r)=>(r=t!=null?wt(Ct(t)):{},I(o||!t||!t.__esModule?v(r,"default",{value:t,enumerable:!0}):r,t)),vt=t=>I(v({},"__esModule",{value:!0}),t);var zt={};xt(zt,{Author:()=>c,createCoAuthorsFile:()=>ut,fetchGitHubAuthors:()=>lt,getAllAuthors:()=>pt,getConfig:()=>w,getPrimaryAuthor:()=>jt,getSelectedCoAuthors:()=>Dt,gitConfig:()=>Wt,gitMobConfig:()=>Kt,gitRevParse:()=>Qt,pathToCoAuthors:()=>b,repoAuthorList:()=>mt,saveNewCoAuthors:()=>st,setCoAuthors:()=>Jt,setPrimaryAuthor:()=>qt,solo:()=>ht,updateConfig:()=>U,updateGitTemplate:()=>k});module.exports=vt(zt);var J=require("node:child_process");var L={processCwd:void 0};function w(t){return L[t]}function U(t,o){if(t in L)L[t]=o;else throw new Error(`Invalid Git Mob Core config property "${t}"`)}function A(t){let o={shell:!0,encoding:"utf8"},r=w("processCwd");return r&&(o.cwd=r),(0,J.spawnSync)(t,o)}function B(t){try{let o=A(t);return o.status!==0?`GitMob handleResponse: "${t}" ${o.stderr.trim()}`:o.stdout.trim()}catch(o){return`GitMob catch: "${t}" ${o.message}`}}function Tt(t){return B(`git config --get-all ${t}`)}function D(t){return B(`git config --get ${t}`)}function R(t){return A(`git config ${t}`).status===0}function Et(t,o){return A(`git config --add ${t} "${o}"`)}function Gt(){return R("--local commit.template")}function $t(){return R("--global commit.template")}function St(){return D("--global commit.template")}function Ot(t,o){let{status:r}=A(`git config ${t} "${o}"`);if(r!==0){let e=`Option ${t} has multiple values. Cannot overwrite multiple values for option ${t} with a single value.`;console.log(`GitMob set: ${e}`)}}function Pt(t){return Et("--global git-mob.co-author",t)}function Lt(){return A("git config --global --remove-section git-mob")}var l={getAll:Tt,get:D,has:R,set:Ot},M={removeGitMobSection:Lt,gitAddCoAuthor:Pt,usingLocalTemplate:Gt,usingGlobalTemplate:$t,getGlobalTemplate:St};var c=class{constructor(o,r,e){this.key=o,this.name=r,this.email=e}format(){return`Co-authored-by: ${this.toString()}`}toString(){return`${this.name} <${this.email}>`}};var E=class extends Error{constructor(o){super(`Author with initials "${o}" not found!`)}};var C=T(require("node:fs")),X=T(require("node:os")),F=T(require("node:path")),G=require("node:util");var j=require("node:child_process"),q=require("node:util");async function p(t){let o={encoding:"utf8"},r=w("processCwd");r&&(o.cwd=r);let e=(0,q.promisify)(j.exec),{stderr:n,stdout:s}=await e(t,o);if(n)throw new Error(`Git mob core execCommand: "${t}" ${n.trim()}`);return s.trim()}async function f(t){try{return await p(`git config --get ${t}`)}catch{return}}async function K(t){try{return await p(`git config --get-all ${t}`)}catch{return}}async function W(t,o){try{await p(`git config ${t} "${o}"`)}catch{let r=`Option ${t} has multiple values. Cannot overwrite multiple values for option ${t} with a single value.`;throw new Error(`Git mob core setConfig: ${r}`)}}async function Q(t){let o="git shortlog -seni HEAD";return t&&(o+=` --author="${t}"`),p(o)}async function h(){return p("git rev-parse --show-toplevel")}async function z(){try{return await p("git rev-parse --is-inside-work-tree")==="true"}catch{return!1}}function y(t,o,r){async function e(i){let a=t||(0,G.promisify)(C.default.readFile);try{return await a(i,"utf8")}catch(m){throw new Error(m.message)}}async function n(i,a){let m=o||(0,G.promisify)(C.default.appendFile);try{return await m(i,a,"utf8")}catch(g){throw new Error(g.message)}}async function s(i,a){let m=r||(0,G.promisify)(C.default.writeFile);try{return await m(i,a,"utf8")}catch(g){throw new Error(g.message)}}function u({name:i,email:a}){return`${i} <${a}>`}return{read:async()=>{let i=await e(await b());try{return JSON.parse(i)}catch(a){throw new Error("Invalid JSON "+a.message)}},write:async i=>{try{return n(await b(),JSON.stringify(i,null,2))}catch(a){throw new Error("Invalid JSON "+a.message)}},overwrite:async i=>{try{return s(await b(),JSON.stringify(i,null,2))}catch(a){throw new Error("Invalid JSON "+a.message)}},coAuthors(i,a){let{coauthors:m}=a;return i.map(g=>(V(g,m),u(m[g])))},author(i,a){let{coauthors:m}=a;return V(i,m),m[i]},toList(i){return Object.entries(i.coauthors).map(([m,{name:g,email:dt}])=>new c(m,g,dt))}}}function V(t,o){if(!(t in o))throw new Error(`Author with initials "${t}" not found!`)}var $=".git-coauthors";function H(){return F.default.join(X.default.homedir(),$)}async function b(){if(process.env.GITMOB_COAUTHORS_PATH)return process.env.GITMOB_COAUTHORS_PATH;let t=null;try{t=F.default.join(await h(),$)}catch{t=""}return C.default.existsSync(t)?t:H()}var x=require("node:fs"),S=require("node:os");function Y(t){return t.code!=="ENOENT"}function Rt(t,o){return new Promise((r,e)=>{(0,x.readFile)(t,"utf8",(n,s)=>{n&&Y(n)&&e(n);let u=o;s&&(u=s.replace(/(\r\n|\r|\n){1,2}Co-authored-by.*/g,"")+o),(0,x.writeFile)(t,u,i=>{i&&e(i),r()})})})}function Mt(t){return new Promise((o,r)=>{(0,x.readFile)(t,"utf8",(e,n)=>{e&&Y(e)&&r(e),o(n)})})}function Ft(t){return t.map(o=>o.format()).join(S.EOL)}function O(t,o,r){let e=o||Rt,n=r||Mt;return{writeCoAuthors:async s=>{let u=Ft(s);await e(t,S.EOL+S.EOL+u)},readCoAuthors:()=>n(t),removeCoAuthors:async()=>e(t,"")}}async function Z(){return await f("--local git-mob-config.use-local-template")==="true"}async function tt(){return await f("--global git-mob-config.github-fetch")==="true"}async function ot(){return K("--global git-mob.co-author")}async function N(){return f("--local commit.template")}async function P(){return f("--global commit.template")}var d=require("node:path"),rt=require("node:os");async function et(){await f("commit.template")||await W("--global commit.template",it())}async function nt(t){return process.env.GITMOB_MESSAGE_PATH?(0,d.resolve)(process.env.GITMOB_MESSAGE_PATH):t?(0,d.resolve)(await h(),t):(0,d.relative)(await h(),it())}function it(){return process.env.GITMOB_MESSAGE_PATH||(0,d.join)((0,rt.homedir)(),".gitmessage")}async function st(t){if(!Array.isArray(t))throw new TypeError("saveNewCoAuthors argument should be an Array of Authors");let o=y(),r=await o.read(),e=[];for(let n of t){let{key:s,name:u,email:i}=n;if(s in r.coauthors)throw new Error(`Duplicate key ${s} exists in .git-coauthors`);r.coauthors[s]={name:u,email:i},e.push(new c(s,u,i))}return await o.overwrite(r),e}var at=require("node:fs");var Ht={coauthors:{hh:{name:"Hulk Hogan",email:"hulk_hogan22@hotmail.org"}}};async function ut(){let t=y(),o=H();if((0,at.existsSync)(o))throw new Error(`${$} file exists globally`);return await t.write(Ht),!0}var ct=require("node:os");async function mt(t){let e=(await Q(t)).split(ct.EOL).map(Nt).filter(n=>n!==void 0);if(e.length>0)return e}function Nt(t){let r=/\d+\t(.+)\s<(.+)>/.exec(t);if(r!==null){let[,e,n]=r;return new c(_t(e,n),e,n)}}function _t(t,o){let r=t.toLowerCase().split(" ").reduce(function(n,s){return n+s[0]},""),e=o.slice(0,2);return r+e}var ft=T(require("node:https"));async function gt(t,o){return new Promise((r,e)=>{ft.default.request(t,o,s=>{let u="";s.on("data",i=>{u+=i}),s.on("end",()=>{r({statusCode:s.statusCode,data:JSON.parse(u)})})}).on("error",s=>{e(s)}).end()})}var kt="https://api.github.com/users",_={headers:{Accept:"application/vnd.github.v3+json",method:"GET"}};function It(t){return"id"in t&&"login"in t&&"name"in t}async function lt(t,o,r=gt){if(!o)throw new Error("Error no user-agent header string given.");_.headers={..._.headers,"user-agent":o};let e=await Promise.all(t.map(async s=>r(kt+"/"+s,_))),n=[];for(let s of e)if(Ut(s.statusCode),It(s.data)){let{login:u,id:i,name:a}=s.data;n.push(new c(u,a||u,`${i}+${u}@users.noreply.github.com`))}return n}function Ut(t){if(t===404)throw new Error("GitHub user not found!");if(t&&t>299)throw new Error(`Error failed to fetch GitHub user! Status code ${t}.`)}async function pt(){let t=y();return t.toList(await t.read())}async function Jt(t){let o=Bt(t,await pt());await ht();for(let r of o)M.gitAddCoAuthor(r.toString());return await k(o),o}async function k(t){let[o,r]=await Promise.all([N(),f("commit.template")]),e=O(await nt(r));return t&&t.length>0?(o&&await O(await P()).writeCoAuthors(t),e.writeCoAuthors(t)):(o&&await O(await P()).removeCoAuthors(),e.removeCoAuthors())}function Bt(t,o){let r=[];for(let e of t){let n=o.find(s=>s.key===e);if(!n)throw new E(e);r.push(n)}return r}function Dt(t){let o="",r="--global git-mob.co-author";return l.has(r)&&(o=l.getAll(r)),t.filter(e=>o.includes(e.email))}async function ht(){return await et(),M.removeGitMobSection(),k()}function jt(){let t=l.get("user.name"),o=l.get("user.email");if(t&&o)return new c("prime",t,o)}function qt(t){t&&(l.set("user.name",t.name),l.set("user.email",t.email))}var Kt={localTemplate:Z,fetchFromGitHub:tt,getSetCoAuthors:ot},Wt={getLocalCommitTemplate:N,getGlobalCommitTemplate:P},Qt={insideWorkTree:z,topLevelDirectory:h};0&&(module.exports={Author,createCoAuthorsFile,fetchGitHubAuthors,getAllAuthors,getConfig,getPrimaryAuthor,getSelectedCoAuthors,gitConfig,gitMobConfig,gitRevParse,pathToCoAuthors,repoAuthorList,saveNewCoAuthors,setCoAuthors,setPrimaryAuthor,solo,updateConfig,updateGitTemplate});

@@ -15,3 +15,2 @@ /// <reference types="jest" />

overwrite: jest.Mock<Promise<string>, [], any>;
fileExists: jest.Mock<boolean, [], any>;
coAuthors: jest.Mock<never[], [], any>;

@@ -18,0 +17,0 @@ author: jest.Mock<{}, [], any>;

{
"name": "git-mob-core",
"version": "0.8.1-beta.1",
"description": "Core Git Mob library to manage co-authoring",
"version": "0.8.1-beta.2",
"description": "Git Mob Core library to manage co-authoring",
"homepage": "https://github.com/rkotze/git-mob/blob/master/packages/git-mob-core/README.md",

@@ -6,0 +6,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.