New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github-orgs-packages

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-orgs-packages - npm Package Compare versions

Comparing version

to
1.1.3

6

CHANGELOG.md

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

#### 1.1.3 (2018-03-19)
##### Refactors
* rename functions, replace console.log with error ([65ce5537](https://github.com/oleg-koval/github-orgs-packages/commit/65ce5537c8577a228627ef8f122f8314b34e6c99))
#### 1.1.2 (2018-03-19)

@@ -2,0 +8,0 @@

32

index.js

@@ -41,3 +41,3 @@ const {

.catch((err) => {
console.log({ err }, 'getReposList: Error during getting repos list');
console.error({ err }, 'getReposList: Error during getting repos list');
});

@@ -124,16 +124,3 @@ });

const alterDeps = deps => Object.keys(deps).map((key) => {
// console.log('DEPS[KEY]', JSON.stringify(deps[key], null, 2))
const t = deps[key].map(p => {
const {
projectName: name,
projectVersion: version,
projectDescription: description,
} = p;
return {
name,
version,
description
};
});
const remapGroupedDeps = deps => Object.keys(deps).map((key) => {
return {

@@ -145,3 +132,14 @@ name: key,

license: deps[key][0].depLicense,
projects: t
projects: deps[key].map(p => {
const {
projectName: name,
projectVersion: version,
projectDescription: description,
} = p;
return {
name,
version,
description
};
});
};

@@ -159,3 +157,3 @@ });

.then(groupByProjectName)
.then(alterDeps)
.then(remapGroupedDeps)
.catch(console.error);
{
"name": "github-orgs-packages",
"version": "1.1.2",
"version": "1.1.3",
"description": "Get information for all packages inside of your github organisation",

@@ -5,0 +5,0 @@ "main": "index.js",