Skip to content

Commit

Permalink
fix(Deps): Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Sep 6, 2020
1 parent a062aa8 commit 0fef0fa
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 89 deletions.
119 changes: 36 additions & 83 deletions package-lock.json

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

13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
},
"dependencies": {
"@stencila/configa": "^0.4.8",
"@stencila/logga": "^2.2.0",
"@stencila/schema": "^0.43.3",
"@stencila/logga": "^3.0.0",
"@stencila/schema": "^0.44.2",
"@types/ws": "7.2.6",
"ajv": "^6.12.3",
"ajv": "^6.12.4",
"chalk": "^4.1.0",
"cli-highlight": "^2.1.4",
"cross-fetch": "^3.0.5",
Expand All @@ -96,9 +96,9 @@
"length-prefixed-stream": "^2.0.0",
"mkdirp": "^1.0.4",
"nanoid": "^3.1.12",
"ora": "^4.0.5",
"ora": "^5.1.0",
"p-retry": "^4.2.0",
"split2": "^3.1.1",
"split2": "^3.2.2",
"ws": "^7.3.1"
},
"prettier": "@stencila/dev-config/prettier-config.json",
Expand Down Expand Up @@ -146,6 +146,9 @@
],
"coveragePathIgnorePatterns": [
"test/*"
],
"setupFilesAfterEnv": [
"<rootDir>/src/test/setup.ts"
]
},
"husky": {
Expand Down
1 change: 1 addition & 0 deletions src/cli/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export async function init(config: Config): Promise<Listener> {
const { debug } = config
replaceHandlers((data) =>
defaultHandler(data, {
exitOnError: false,
maxLevel: debug ? LogLevel.debug : LogLevel.info,
showStack: debug,
})
Expand Down
1 change: 0 additions & 1 deletion src/cli/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { collectConfig, helpUsage } from '@stencila/configa'
import * as schema from '@stencila/schema'
import { Executor } from '../base/Executor'
import { Listener } from '../base/Listener'
import { Config } from '../config'
import configSchema from '../config.schema.json'
Expand Down
8 changes: 8 additions & 0 deletions src/test/setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defaultHandler, replaceHandlers } from '@stencila/logga'

// Do not exit tests on logged errors
replaceHandlers((data) =>
defaultHandler(data, {
exitOnError: false,
})
)

0 comments on commit 0fef0fa

Please sign in to comment.