Skip to content

Commit

Permalink
Dependency updates (#341)
Browse files Browse the repository at this point in the history
* Update dependencies

* Autofix: Third party licenses

[atomist:generated] [atomist:autofix=Third party licenses]

* Typo

* Fix tests

* Revert TS update

* Autofix: Third party licenses

[atomist:generated] [atomist:autofix=Third party licenses]

* Gql-gen changed api

* Downgrade graphql-code-generator

* Autofix: Third party licenses

[atomist:generated] [atomist:autofix=Third party licenses]

* Downgrade @octokit/rest

* Autofix: Third party licenses

[atomist:generated] [atomist:autofix=Third party licenses]

* Revert some changes for TS 3.0.1

* Remove unused import
  • Loading branch information
cdupuis authored and ddgenome committed Aug 21, 2018
1 parent 333df40 commit 3b9090f
Show file tree
Hide file tree
Showing 8 changed files with 388 additions and 984 deletions.
165 changes: 45 additions & 120 deletions legal/THIRD_PARTY.md

Large diffs are not rendered by default.

1,138 changes: 309 additions & 829 deletions package-lock.json

Large diffs are not rendered by default.

57 changes: 28 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"url": "https://github.com/atomist/automation-client-ts/issues"
},
"dependencies": {
"@atomist/microgrammar": "^0.8.0",
"@atomist/microgrammar": "^0.8.1",
"@atomist/slack-messages": "^0.12.1",
"@atomist/tree-path": "^0.1.9",
"@octokit/rest": "^14.0.9",
Expand All @@ -31,30 +31,29 @@
"@types/express": "^4.11.1",
"@types/fs-extra": "^5.0.0",
"@types/glob": "^5.0.35",
"@types/graphql": "^0.12.4",
"@types/helmet": "0.0.37",
"@types/inquirer": "0.0.36",
"@types/graphql": "^0.13.4",
"@types/helmet": "0.0.38",
"@types/inquirer": "0.0.43",
"@types/isomorphic-fetch": "0.0.34",
"@types/json-stringify-safe": "^5.0.0",
"@types/lodash": "^4.14.104",
"@types/minimatch": "^3.0.3",
"@types/node": "^9.4.6",
"@types/node": "^10.7.1",
"@types/passport": "^0.4.3",
"@types/passport-http": "^0.3.5",
"@types/passport-http-bearer": "^1.0.30",
"@types/power-assert": "^1.4.29",
"@types/promise-retry": "^1.1.1",
"@types/retry": "^0.10.2",
"@types/semver": "^5.5.0",
"@types/shelljs": "^0.7.8",
"@types/shelljs": "^0.8.0",
"@types/utf8": "^2.1.6",
"@types/uuid": "^3.4.3",
"@types/winston": "^2.3.8",
"@types/ws": "^4.0.1",
"@types/winston": "^2.4.4",
"@types/ws": "^6.0.0",
"@types/yargs": "^11.0.0",
"apollo-cache-inmemory": "^1.1.9",
"apollo-client": "^2.2.5",
"apollo-codegen": "^0.19.1",
"apollo-cache-inmemory": "1.2.8",
"apollo-client": "^2.4.0",
"apollo-link-http": "^1.5.1",
"app-root-path": "^2.0.1",
"asciify": "^1.3.5",
Expand All @@ -71,24 +70,24 @@
"cross-spawn": "^6.0.5",
"express": "^4.16.2",
"express-session": "^1.15.6",
"find-up": "^2.1.0",
"find-up": "^3.0.0",
"flat": "^4.1.0",
"fs-extra": "^5.0.0",
"git-url-parse": "^8.3.1",
"fs-extra": "^7.0.0",
"git-url-parse": "^10.0.1",
"glob-promise": "^3.3.0",
"glob-stream": "^6.1.0",
"graphql": "^0.12.3",
"graphql-code-generator": "^0.8.14",
"graphql": "^0.13.2",
"graphql-code-generator": "^0.8.13",
"graphql-tag": "^2.8.0",
"helmet": "^3.11.0",
"hot-shots": "^5.2.0",
"https-proxy-agent": "^2.1.1",
"inquirer": "^5.1.0",
"inquirer": "^6.1.0",
"isbinaryfile": "^3.0.2",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.5",
"lru_map": "^0.3.3",
"metrics": "^0.1.14",
"metrics": "^0.1.17",
"minimatch": "^3.0.4",
"murmurhash3js": "^3.0.1",
"node-cache": "^4.1.1",
Expand All @@ -99,35 +98,35 @@
"power-assert": "^1.4.4",
"promise-retry": "^1.1.1",
"proper-lockfile": "^2.0.1",
"retry": "^0.10.1",
"semver": "^5.5.0",
"retry": "^0.12.0",
"semver": "^5.5.1",
"serialize-error": "^2.1.0",
"shelljs": "^0.8.1",
"source-map-support": "^0.5.5",
"source-map-support": "^0.5.9",
"stack-trace": "0.0.10",
"stream-spigot": "^3.0.6",
"strip-ansi": "^4.0.0",
"tmp-promise": "^1.0.4",
"utf8": "^3.0.0",
"uuid": "^3.2.0",
"winston": "^2.3.1",
"ws": "^4.1.0",
"yargs": "^11.0.0"
"winston": "^2.4.3",
"ws": "^6.0.0",
"yargs": "^12.0.1"
},
"devDependencies": {
"@types/mocha": "^2.2.48",
"@types/mocha": "^5.2.5",
"axios-mock-adapter": "^1.14.0",
"config": "^1.30.0",
"espower-typescript": "^8.1.3",
"config": "^2.0.1",
"espower-typescript": "^9.0.0",
"mocha": "^5.0.1",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.2",
"rimraf": "^2.6.2",
"supervisor": "^0.12.0",
"ts-node": "^7.0.0",
"ts-node": "^7.0.1",
"tslint": "^5.4.3",
"typedoc": "^0.11.1",
"typescript": "2.9.2",
"typescript": "^2.9.2",
"typescript-formatter": "^7.2.2"
},
"directories": {
Expand Down
4 changes: 2 additions & 2 deletions src/internal/graph/graphQL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export function replaceOperationName(q: string, name: string): string {
export function validateQuery(q: string): GraphQLError[] {
const graphql = parse(q);
const clientSchema = buildClientSchema(schema.data as IntrospectionQuery);
return validate(clientSchema, graphql);
return [...validate(clientSchema, graphql)];
}

export function prettyPrintErrors(errors: GraphQLError[], q?: string): string {
Expand Down Expand Up @@ -355,7 +355,7 @@ function locateAndLoadGraphql(
} else if (queries.length === 0) {
// Remove for next major release
logger.warn(`WARNING: No ${subfolder} graphql operation found for name '${options.name}'. ` +
`Falling back to file name lookup. Support for file name lookup will be removed in a future release.'`);
`Falling back to file name lookup. Support for file name lookup will be removed in a future release.`);
if (!options.name.endsWith(".graphql")) {
path = p.join(queryDir, `${options.name}.graphql`);
} else {
Expand Down
2 changes: 1 addition & 1 deletion test/api/generatorEndToEndTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe("generator end to end", () => {
const repoName = tempRepoName();
const rr = new GitHubRepoRef(TargetOwner, repoName);
const cleanupDone = (err: Error | void = null) => {
deleteOrIgnore(rr, { token: GitHubToken }).then(done(err));
deleteOrIgnore(rr, { token: GitHubToken }).then(() => done(err));
};

const clonedSeed = GitCommandGitProject.cloned({ token: GitHubToken },
Expand Down
2 changes: 1 addition & 1 deletion test/bitbucket-api/generatorEndToEndTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("BitBucket generator end to end", () => {
const repoName = tempRepoName();
const targetRepo = new BitBucketRepoRef(BitBucketUser, repoName);
const cleanupDone = (err: Error | void = null) => {
deleteOrIgnore(targetRepo, BitBucketCredentials).then(done(err));
deleteOrIgnore(targetRepo, BitBucketCredentials).then(() => done(err));
};

const clonedSeed = GitCommandGitProject.cloned(BitBucketCredentials,
Expand Down
2 changes: 1 addition & 1 deletion test/project/git/CachedGitCloneTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("cached git clone projects", () => {
Promise.all(clones)
.then(them =>
them.forEach(clone => clone.release()))
.then(done(err));
.then(() => done(err));
};

Promise.all(clones)
Expand Down
2 changes: 1 addition & 1 deletion test/project/git/GitProjectTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe("GitProject cloning on filesystem", () => {
Promise.all(clones)
.then(them =>
them.forEach(clone => clone.release()))
.then(done(err));
.then(() => done(err));
};

Promise.all(clones)
Expand Down

0 comments on commit 3b9090f

Please sign in to comment.