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 Nov 20, 2022
1 parent 4d6e808 commit 8dac4da
Show file tree
Hide file tree
Showing 7 changed files with 1,353 additions and 1,215 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ module.exports = {
node: true,
},
extends: ['eslint:recommended', 'plugin:import/recommended', 'prettier'],
parserOptions: { ecmaFeatures: { jsx: true } },
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
},
rules: {
'import/no-unresolved': ['error', { ignore: ['chalk', 'ts-key-enum'] }],
'import/order': ['error', { alphabetize: { order: 'asc' } }],
Expand Down
85 changes: 44 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"check:format": "yarn -s format -c",
"check:ts": "tsc --noEmit",
"clean": "rimraf lib",
"format": "prettier \"**/*.{css,js,jsx,json,md,scss,ts,tsx,yaml,yml}\"",
"format": "prettier \"**/*.{css,js,jsx,json,md,mjs,scss,ts,tsx,yaml,yml}\"",
"format:write": "yarn -s format --write",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives --cache .",
"lint:js": "eslint --ext .js,.mjs,.jsx,.ts,.tsx --report-unused-disable-directives --cache .",
"lint:css": "stylelint \"src/**/*.{css,scss}\"",
"prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types",
"preversion": "run-p check:* lint:* test:coverage",
Expand All @@ -67,95 +67,98 @@
"watch": "rollup -w -c"
},
"devDependencies": {
"@babel/preset-env": "^7.19.1",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.5.0",
"@rollup/plugin-url": "^7.0.0",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-typescript": "^9.0.2",
"@rollup/plugin-url": "^8.0.1",
"@tsconfig/node14": "^1.0.3",
"@types/cheerio": "^0.22.31",
"@types/express": "^4.17.14",
"@types/jest": "^29.0.3",
"@types/jest": "^29.2.3",
"@types/markdown-it": "^12.2.3",
"@types/node": "~16.11.59",
"@types/node": "~18.11.9",
"@types/pug": "^2.0.6",
"@types/supertest": "^2.0.12",
"@types/ws": "^8.5.3",
"@types/yargs": "^17.0.12",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"autoprefixer": "^10.4.11",
"@types/yargs": "^17.0.13",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"autoprefixer": "^10.4.13",
"babel-plugin-transform-rename-import": "^2.3.0",
"bespoke": "bespokejs/bespoke",
"builtin-modules": "^3.3.0",
"chalk": "^5.0.1",
"chalk": "^5.1.2",
"cheerio": "^1.0.0-rc.12",
"chrome-launcher": "^0.15.1",
"cssnano": "^5.1.13",
"eslint": "^8.23.1",
"cssnano": "^5.1.14",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-exports": "^1.0.0-beta.3",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"express": "^4.18.1",
"eslint-plugin-jest": "^27.1.5",
"express": "^4.18.2",
"fast-plist": "^0.1.2",
"get-stdin": "^9.0.0",
"globby": "^13.1.2",
"image-size": "^1.0.2",
"is-docker": "^3.0.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"jest-junit": "^14.0.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-junit": "^15.0.0",
"nanoid": "^4.0.0",
"npm-run-all": "^4.1.5",
"os-locale": "^6.0.2",
"pdf-lib": "^1.17.1",
"pkg": "^5.8.0",
"pkg-up": "^4.0.0",
"portfinder": "1.0.32",
"postcss": "^8.4.16",
"postcss": "^8.4.19",
"postcss-url": "^10.1.3",
"pptxgenjs": "^3.11.0",
"prettier": "^2.7.1",
"pug": "^3.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.79.0",
"rollup-plugin-license": "^2.8.1",
"rollup": "^3.3.0",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-pug": "^1.1.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.54.9",
"sass": "^1.56.1",
"strip-ansi": "^7.0.1",
"stylelint": "^14.12.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^5.0.0",
"supertest": "^6.2.4",
"stylelint": "^14.15.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-standard-scss": "^6.1.0",
"supertest": "^6.3.1",
"tar-stream": "^2.2.0",
"ts-jest": "^29.0.1",
"ts-jest": "^29.0.3",
"ts-key-enum": "^3.0.12",
"tslib": "^2.4.0",
"tslib": "^2.4.1",
"typed-emitter": "^2.1.0",
"typescript": "^4.8.3",
"typescript": "^4.9.3",
"vhtml": "^2.2.0",
"wrap-ansi": "^8.0.1",
"yauzl": "^2.10.0",
"zip-stream": "^4.1.0"
},
"dependencies": {
"@marp-team/marp-core": "^3.3.3",
"@marp-team/marpit": "^2.4.1",
"@marp-team/marp-core": "^3.4.0",
"@marp-team/marpit": "^2.4.2",
"chokidar": "^3.5.3",
"cosmiconfig": "^7.0.1",
"cosmiconfig": "^7.1.0",
"import-from": "^4.0.0",
"is-wsl": "^2.2.0",
"puppeteer-core": "18.0.3",
"puppeteer-core": "19.2.2",
"remove": "^0.1.5",
"serve-index": "^1.9.1",
"tmp": "^0.2.1",
"v8-compile-cache": "^2.3.0",
"ws": "^8.8.1",
"yargs": "^17.5.1"
"ws": "^8.11.0",
"yargs": "^17.6.2"
},
"resolutions": {
"pug": "^3.0.2",
Expand Down
9 changes: 7 additions & 2 deletions rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import path from 'path'
import { createRequire } from 'node:module'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import alias from '@rollup/plugin-alias'
import commonjs from '@rollup/plugin-commonjs'
import json from '@rollup/plugin-json'
Expand All @@ -11,7 +13,10 @@ import license from 'rollup-plugin-license'
import postcss from 'rollup-plugin-postcss'
import pugPlugin from 'rollup-plugin-pug'
import { terser } from 'rollup-plugin-terser'
import { dependencies, name, version } from './package.json'

const __dirname = path.dirname(fileURLToPath(import.meta.url))
const require = createRequire(import.meta.url)
const { dependencies, name, version } = require('./package.json')

const compact = !process.env.ROLLUP_WATCH

Expand Down
8 changes: 4 additions & 4 deletions src/engine/transition/keyframes/melt.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@keyframes marp-incoming-transition-__builtin__melt {
from {
0% {
clip-path: polygon(
100% -50%,
0% -50%,
Expand Down Expand Up @@ -86,7 +86,7 @@
animation-timing-function: ease-out;
}

to {
100% {
clip-path: polygon(
100% -50%,
0% -50%,
Expand Down Expand Up @@ -167,7 +167,7 @@
}

@keyframes marp-incoming-transition-backward-__builtin__melt {
from {
0% {
clip-path: polygon(
100% 150%,
0% 150%,
Expand Down Expand Up @@ -254,7 +254,7 @@
animation-timing-function: ease-out;
}

to {
100% {
clip-path: polygon(
100% 150%,
0% 150%,
Expand Down
8 changes: 4 additions & 4 deletions src/engine/transition/keyframes/wiper.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@keyframes marp-incoming-transition-__builtin__wiper {
from {
0% {
clip-path: polygon(50% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%);
animation-timing-function: ease-in;
}
Expand All @@ -14,12 +14,12 @@
animation-timing-function: ease-out;
}

to {
100% {
clip-path: polygon(50% 100%, 0% 100%, 0% 0%, 100% 0%, 100% 100%);
}
}
@keyframes marp-incoming-transition-backward-__builtin__wiper {
from {
0% {
clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%);
animation-timing-function: ease-in;
}
Expand All @@ -34,7 +34,7 @@
animation-timing-function: ease-out;
}

to {
100% {
clip-path: polygon(50% 100%, 100% 100%, 100% 0%, 0% 0%, 0% 100%);
}
}
2 changes: 1 addition & 1 deletion test/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { load } from 'cheerio'
import { imageSize } from 'image-size'
import { PDFDocument, PDFDict, PDFName, PDFHexString, PDFNumber } from 'pdf-lib'
import { TimeoutError } from 'puppeteer-core'
import { Page } from 'puppeteer-core/lib/cjs/puppeteer/common/Page.js'
import { CDPPage as Page } from 'puppeteer-core/lib/cjs/puppeteer/common/Page'
import yauzl from 'yauzl'
import { Converter, ConvertType, ConverterOption } from '../src/converter'
import { CLIError } from '../src/error'
Expand Down
Loading

0 comments on commit 8dac4da

Please sign in to comment.