Skip to content

Commit

Permalink
Upgrade dependent packages to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Jan 23, 2022
1 parent 8f56ccf commit 20fc0f1
Show file tree
Hide file tree
Showing 4 changed files with 433 additions and 399 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"watch": "rollup -w -c"
},
"devDependencies": {
"@babel/preset-env": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
Expand All @@ -76,13 +76,13 @@
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/markdown-it": "^12.2.3",
"@types/node": "~16.11.19",
"@types/node": "~16.11.21",
"@types/pug": "^2.0.6",
"@types/supertest": "^2.0.11",
"@types/ws": "^8.2.2",
"@types/yargs": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"autoprefixer": "^10.4.2",
"babel-plugin-transform-rename-import": "^2.3.0",
"bespoke": "bespokejs/bespoke",
Expand All @@ -91,22 +91,22 @@
"cheerio": "^1.0.0-rc.10",
"chrome-launcher": "^0.15.0",
"cssnano": "^5.0.15",
"eslint": "^8.6.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-jest": "^25.7.0",
"express": "^4.17.2",
"get-stdin": "^9.0.0",
"globby": "^12.0.2",
"image-size": "^1.0.0",
"globby": "^12.2.0",
"image-size": "^1.0.1",
"is-docker": "^3.0.0",
"jest": "^27.4.7",
"jest-junit": "^13.0.0",
"nanoid": "^3.1.30",
"nanoid": "^3.2.0",
"npm-run-all": "^4.1.5",
"os-locale": "^6.0.2",
"pdf-lib": "^1.17.1",
"pkg": "^5.5.1",
"pkg": "^5.5.2",
"pkg-up": "^4.0.0",
"portfinder": "^1.0.28",
"postcss": "^8.4.5",
Expand All @@ -115,40 +115,40 @@
"prettier": "^2.5.1",
"pug": "^3.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.63.0",
"rollup": "^2.66.0",
"rollup-plugin-license": "^2.6.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-pug": "^1.1.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.47.0",
"sass": "^1.49.0",
"strip-ansi": "^7.0.1",
"stylelint": "^14.2.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^3.0.0",
"supertest": "^6.1.6",
"supertest": "^6.2.2",
"tar-stream": "^2.2.0",
"ts-jest": "^27.1.2",
"ts-jest": "^27.1.3",
"ts-key-enum": "^2.0.8",
"tslib": "^2.3.1",
"typed-emitter": "^1.4.0",
"typescript": "^4.5.4",
"typed-emitter": "^2.1.0",
"typescript": "^4.5.5",
"vhtml": "^2.2.0",
"wrap-ansi": "^8.0.1",
"yauzl": "^2.10.0",
"zip-stream": "^4.1.0"
},
"dependencies": {
"@marp-team/marp-core": "^2.3.1",
"@marp-team/marpit": "^2.2.1",
"chokidar": "^3.5.2",
"@marp-team/marp-core": "^2.3.2",
"@marp-team/marpit": "^2.2.2",
"chokidar": "^3.5.3",
"cosmiconfig": "^7.0.1",
"import-from": "^4.0.0",
"is-wsl": "^2.2.0",
"puppeteer-core": "13.0.1",
"puppeteer-core": "13.1.1",
"serve-index": "^1.9.1",
"tmp": "^0.2.1",
"v8-compile-cache": "^2.3.0",
"ws": "^8.4.0",
"ws": "^8.4.2",
"yargs": "^17.3.1"
},
"resolutions": {
Expand Down
12 changes: 6 additions & 6 deletions src/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import {
import { isChromeInWSLHost } from './utils/wsl'

export namespace Preview {
export interface Events {
close(window: any): void
exit(): void
launch(): void
open(window: any, location: string): void
opening(location: string): void
export type Events = {
close: (window: any) => void
exit: () => void
launch: () => void
open: (window: any, location: string) => void
opening: (location: string) => void
}

export interface Options {
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class Server extends (EventEmitter as new () => TypedEmitter<Server.Event
}

export namespace Server {
export interface Events {
export type Events = {
converted: ConvertedCallback
error: (err: Error) => void
}
Expand Down
Loading

0 comments on commit 20fc0f1

Please sign in to comment.