Skip to content
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

[Snyk] Upgrade dotenv from 16.3.1 to 16.3.2 #59

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
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@
"@iarna/toml": "^2.2.5",
"@octokit/graphql": "^7.0.1",
"@octokit/request": "^8.1.1",
"dotenv": "^16.3.1"
"dotenv": "^16.3.2"
},
"devDependencies": {
"assume": "^2.3.0",

Unchanged files with check annotations Beta

/**
* Find users who are currently admins of the org, but should not be, according
* to config.
* @param {object.<string, string>} configured - Configured usernames and their associated roles

Check warning on line 35 in src/lib/checkers.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 35 in src/lib/checkers.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 35 in src/lib/checkers.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 35 in src/lib/checkers.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
* @param {typedefs.MemberSet} retrieved - User list retrieved from GitHub
* @returns {string[]} An array of usernames who are admins, but should not be
*/
/**
* Find users who are currently regular members of the org, but are configured as admins
* @param {object.<string, string>} configured - Configured usernames and their associated roles

Check warning on line 49 in src/lib/checkers.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 49 in src/lib/checkers.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 49 in src/lib/checkers.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 49 in src/lib/checkers.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
* @param {typedefs.MemberSet} retrieved - User list retrieved from GitHub
* @returns {string[]} An array of usernames who are not admins, but should be
*/
/**
* Ensure that the org's current settings match those expected by the config
* @param {object.<string, *>} organization - The full collection of org settings collected from GitHub

Check warning on line 74 in src/lib/checkers.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 74 in src/lib/checkers.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 74 in src/lib/checkers.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 74 in src/lib/checkers.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
* @param {object.<string, *>} config - The full collection of org settings expected by config

Check warning on line 75 in src/lib/checkers.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 75 in src/lib/checkers.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 75 in src/lib/checkers.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 75 in src/lib/checkers.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
*/
function validateOrgSettings(organization, config) {
let failed = false;
/**
* A set of member records retrieved from the GitHub GraphQL API
* @typedef {object.<string, MemberRecord>} MemberSet

Check warning on line 12 in src/lib/typedefs.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 12 in src/lib/typedefs.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 12 in src/lib/typedefs.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 12 in src/lib/typedefs.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
*/
/**
* Structured data representing the expected configuration of a GitHub org
* @typedef {object} ExpectedOrgConfig
* @property {ConfigOrg} org - The expected configuration for the org entity itself
* @property {object.<string, string | Array.<string>>} members - A set of "internal" usernames paired up with GitHub usernames

Check warning on line 53 in src/lib/typedefs.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 53 in src/lib/typedefs.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 53 in src/lib/typedefs.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 53 in src/lib/typedefs.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
* @property {object.<string, string>} github-members - GitHub usernames and their expected roles

Check warning on line 54 in src/lib/typedefs.js

GitHub Actions / build (16.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 54 in src/lib/typedefs.js

GitHub Actions / build (18.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 54 in src/lib/typedefs.js

GitHub Actions / build (20.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`

Check warning on line 54 in src/lib/typedefs.js

GitHub Actions / build (19.x)

Use object shorthand or index signatures instead of `object`, e.g., `{[key: string]: string}`
* @property {Array.<ConfigTeam>} teams - The teams expected to exist in the org
*/