@tdreyno/pretty-please
Advanced tools
Comparing version 1.15.0 to 1.16.0
{ | ||
"name": "@tdreyno/pretty-please", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"files": [ | ||
@@ -16,5 +16,5 @@ "dist-*/", | ||
"devDependencies": { | ||
"@commitlint/cli": "^12.1.1", | ||
"@commitlint/config-conventional": "^12.1.1", | ||
"@commitlint/prompt": "^12.1.1", | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@commitlint/prompt": "^12.1.4", | ||
"@pika/pack": "^0.5.0", | ||
@@ -26,22 +26,22 @@ "@pika/plugin-build-node": "^0.9.2", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/github": "^7.2.1", | ||
"@types/jest": "^26.0.22", | ||
"@types/react": "^17.0.3", | ||
"@typescript-eslint/eslint-plugin": "^4.21.0", | ||
"@typescript-eslint/parser": "^4.21.0", | ||
"commitizen": "^4.2.3", | ||
"@semantic-release/github": "^7.2.3", | ||
"@types/jest": "^26.0.23", | ||
"@types/react": "^17.0.8", | ||
"@typescript-eslint/eslint-plugin": "^4.26.0", | ||
"@typescript-eslint/parser": "^4.26.0", | ||
"commitizen": "^4.2.4", | ||
"cz-conventional-changelog": "3.3.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"gzip-size-cli": "^4.0.0", | ||
"eslint": "^7.27.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"gzip-size-cli": "^5.0.0", | ||
"husky": "^6.0.0", | ||
"jest": "^26.6.3", | ||
"lint-staged": "^10.5.4", | ||
"prettier": "^2.2.1", | ||
"semantic-release": "^17.4.2", | ||
"terser": "^5.6.1", | ||
"ts-jest": "^26.5.4", | ||
"jest": "^27.0.0", | ||
"lint-staged": "^11.0.0", | ||
"prettier": "^2.3.0", | ||
"semantic-release": "^17.4.3", | ||
"terser": "^5.7.0", | ||
"ts-jest": "^27.0.0", | ||
"ts-toolbelt": "^9.6.0", | ||
"typescript": "^4.2.3" | ||
"typescript": "^4.3.2" | ||
}, | ||
@@ -48,0 +48,0 @@ "engines": { |
@@ -72,3 +72,3 @@ # Pretty Please | ||
user: User, | ||
notificationsApi: NotificationsAPI | ||
notificationsApi: NotificationsAPI, | ||
): Promise<Result> { | ||
@@ -84,11 +84,13 @@ return Promise.all([ | ||
.then(friends => | ||
Promise.all(friends.map(friend => friend.getProjects())).then(flatten) | ||
) | ||
Promise.all(friends.map(friend => friend.getProjects())).then( | ||
flatten, | ||
), | ||
), | ||
]).then(([myProjects, friendsProjects]) => | ||
myProjects.concat(friendsProjects).map(project => project.name) | ||
) | ||
myProjects.concat(friendsProjects).map(project => project.name), | ||
), | ||
]).then(([notifications, projectNames]) => ({ | ||
projectNames, | ||
notifications | ||
})); | ||
notifications, | ||
})) | ||
} | ||
@@ -104,3 +106,3 @@ ``` | ||
user: User, | ||
notificationsApi: NotificationsAPI | ||
notificationsApi: NotificationsAPI, | ||
): Task<Error, Result> { | ||
@@ -113,3 +115,3 @@ return Task.map3( | ||
.concat(friendsProjects) | ||
.map(project => project.name) | ||
.map(project => project.name), | ||
}), | ||
@@ -128,4 +130,4 @@ | ||
.chain(Task.all) | ||
.map(flatten) | ||
); | ||
.map(flatten), | ||
) | ||
} | ||
@@ -132,0 +134,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
320020
156