@socketsecurity/config
Advanced tools
Comparing version 2.0.0 to 2.1.0
export type SocketYmlGitHub = { | ||
enabled?: boolean | undefined; | ||
ignoreUsers?: string[] | undefined; | ||
projectReportsEnabled?: boolean | undefined; | ||
pullRequestAlertsEnabled?: boolean | undefined; | ||
dependencyOverviewEnabled?: boolean | undefined; | ||
}; | ||
@@ -6,0 +8,0 @@ export type SocketYml = { |
@@ -14,4 +14,6 @@ 'use strict' | ||
* @property {boolean} [enabled] enable/disable the Socket.dev GitHub app entirely | ||
* @property {string[]} [ignoreUsers] list of GitHub usernames to ignore when creating reports | ||
* @property {boolean} [projectReportsEnabled] enable/disable Github app project report checks | ||
* @property {boolean} [pullRequestAlertsEnabled] enable/disable GitHub app pull request alert checks | ||
* @property {boolean} [dependencyOverviewEnabled] enable/disable Pull request comments with details about changed dependencies | ||
*/ | ||
@@ -48,4 +50,10 @@ | ||
enabled: { type: 'boolean', nullable: true }, | ||
ignoreUsers: { | ||
type: 'array', | ||
items: { type: 'string' }, | ||
nullable: true | ||
}, | ||
projectReportsEnabled: { type: 'boolean', nullable: true }, | ||
pullRequestAlertsEnabled: { type: 'boolean', nullable: true }, | ||
dependencyOverviewEnabled: { type: 'boolean', nullable: true } | ||
}, | ||
@@ -52,0 +60,0 @@ required: [], |
{ | ||
"name": "@socketsecurity/config", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Config parser for Socket.dev", | ||
@@ -47,3 +47,3 @@ "homepage": "http://github.com/SocketDev/socket-config-js", | ||
"devDependencies": { | ||
"@socketsecurity/eslint-config": "^1.0.0", | ||
"@socketsecurity/eslint-config": "^2.0.0", | ||
"@tsconfig/node14": "^1.0.3", | ||
@@ -53,21 +53,21 @@ "@types/chai": "^4.3.3", | ||
"@types/mocha": "^10.0.0", | ||
"@types/node": "^14.18.31", | ||
"@typescript-eslint/eslint-plugin": "^5.44.0", | ||
"@typescript-eslint/parser": "^5.44.0", | ||
"c8": "^7.12.0", | ||
"@types/node": "^14.18.36", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"c8": "^7.13.0", | ||
"chai": "^4.3.6", | ||
"chai-as-promised": "^7.1.1", | ||
"dependency-check": "^5.0.0-7", | ||
"eslint": "^8.28.0", | ||
"eslint": "^8.34.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-config-standard-jsx": "^11.0.0", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^39.5.0", | ||
"eslint-plugin-n": "^15.5.1", | ||
"eslint-import-resolver-typescript": "^3.5.3", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jsdoc": "^40.0.0", | ||
"eslint-plugin-n": "^15.6.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-react": "^7.31.11", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-unicorn": "^45.0.2", | ||
"husky": "^8.0.1", | ||
"husky": "^8.0.3", | ||
"installed-check": "^6.0.5", | ||
@@ -77,9 +77,9 @@ "mocha": "^10.0.0", | ||
"type-coverage": "^2.24.1", | ||
"typescript": "~4.9.3" | ||
"typescript": "~4.9.5" | ||
}, | ||
"dependencies": { | ||
"ajv": "^8.11.2", | ||
"ajv": "^8.12.0", | ||
"pony-cause": "^2.1.8", | ||
"yaml": "^2.1.3" | ||
"yaml": "^2.2.1" | ||
} | ||
} |
# Socket Config | ||
[![Socket Badge](https://socket.dev/api/badge/npm/package/@socketsecurity/config)](https://socket.dev/npm/package/@socketsecurity/config) | ||
[![npm version](https://img.shields.io/npm/v/@socketsecurity/config.svg?style=flat)](https://www.npmjs.com/package/@socketsecurity/config) | ||
@@ -4,0 +5,0 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/SocketDev/eslint-config) |
@@ -30,2 +30,9 @@ { | ||
}, | ||
"ignoreUsers": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"nullable": true | ||
}, | ||
"projectReportsEnabled": { | ||
@@ -38,2 +45,6 @@ "type": "boolean", | ||
"nullable": true | ||
}, | ||
"dependencyOverviewEnabled": { | ||
"type": "boolean", | ||
"nullable": true | ||
} | ||
@@ -40,0 +51,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16883
316
70
Updatedajv@^8.12.0
Updatedyaml@^2.2.1