Chimeejs / chimee

a video player framework aims to bring wonderful experience on browser
http://chimee.pyzy.net/
MIT License
2.4k stars 201 forks source link

Update eslint to the latest version ๐Ÿš€ #233

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The devDependency eslint was updated from 5.16.0 to 6.1.0.

This version is not covered by your current version range.

If you donโ€™t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: eslint License: MIT

Release Notes for v6.1.0
  • 8f86cca Upgrade: eslint-scope@^5.0.0 (#12011) (Kevin Partington)
  • d08683e Fix: glob processing (fixes #11940) (#11986) (Toru Nagashima)
  • bfcf8b2 Fix: dot-location errors with parenthesized objects (fixes #11868) (#11933) (Milos Djermanovic)
  • 79e8d09 Fix: add parens for sequence expr in arrow-body-style (fixes #11917) (#11918) (Pig Fang)
  • 105c098 Docs: update docs for object-curly-spacing (fixes #11634) (#12009) (Chiawen Chen)
  • c90a12c Chore: update release script for new website repo (#12006) (Kai Cataldo)
  • e2c08a9 Sponsors: Sync README with website (ESLint Jenkins)
  • b974fcb Update: Check computed property keys in no-extra-parens (#11952) (Milos Djermanovic)
  • 222d27c Update: Add for-in and for-of checks for props in no-param-reassign (#11941) (Milos Djermanovic)
  • e4c450f Fix: no-extra-parens autofix with in in a for-loop init (fixes #11706) (#11848) (Milos Djermanovic)
  • 2dafe2d Fix: prefer-const produces invalid autofix (fixes #11699) (#11827) (Milos Djermanovic)
  • cb475fd Fix: Cache file error handling on read-only file system. (fixes #11945) (#11946) (Cuki)
  • 89412c3 Docs: Fixed a typo (fixes #11999) (#12000) (Eddie Olson)
  • 6669f78 Fix: --init with Vue.js failed (fixes #11970) (#11985) (Toru Nagashima)
  • 93633c2 Upgrade: Upgrade lodash dependency (fixes #11992) (#11994) (Cyd La Luz)
  • 776dae7 Docs: fix wrong Node.js version in getting started (#11993) (Toru Nagashima)
  • 4448261 Docs: some typos and optimization points (#11960) (Jason Lee)
  • 2a10856 Chore: Add temporary test files to .gitignore (#11978) (Milos Djermanovic)
  • d83b233 Chore: update path for release bundles (#11977) (Kai Cataldo)
  • 1fb3620 Fix: creating of enabledGlobals object without prototype (fixes #11929) (#11935) (finico)
  • c2f2db9 Docs: Replace global true and false with writable and readonly in rules (#11956) (Milos Djermanovic)
  • 19335b8 Fix: actual messageId and expected messageId are switched in rule tester (#11928) (Milos Djermanovic)
  • 8b216e0 Docs: Fix incorrect example comments for unicode-bom rule (fixes #11937) (#11938) (Brandon Yeager)
  • cc3885b Chore: add v8-compile-cache to speed up instantiation time (#11921) (่–›ๅฎš่ฐ”็š„็Œซ)
  • d8f2688 Upgrade: deps (#11904) (่–›ๅฎš่ฐ”็š„็Œซ)
  • e5f1ccc Docs: add 'stricter rule config validating' in migrating docs (#11905) (่–›ๅฎš่ฐ”็š„็Œซ)
Commits

The new version differs by 171 commits.

  • 02d7542 6.1.0
  • 5997f7a Build: changelog update for 6.1.0
  • 8f86cca Upgrade: eslint-scope@^5.0.0 (#12011)
  • d08683e Fix: glob processing (fixes #11940) (#11986)
  • bfcf8b2 Fix: dot-location errors with parenthesized objects (fixes #11868) (#11933)
  • 79e8d09 Fix: add parens for sequence expr in arrow-body-style (fixes #11917) (#11918)
  • 105c098 Docs: update docs for object-curly-spacing (fixes #11634) (#12009)
  • c90a12c Chore: update release script for new website repo (#12006)
  • e2c08a9 Sponsors: Sync README with website
  • b974fcb Update: Check computed property keys in no-extra-parens (#11952)
  • 222d27c Update: Add for-in and for-of checks for props in no-param-reassign (#11941)
  • e4c450f Fix: no-extra-parens autofix with in in a for-loop init (fixes #11706) (#11848)
  • 2dafe2d Fix: prefer-const produces invalid autofix (fixes #11699) (#11827)
  • cb475fd Fix: Cache file error handling on read-only file system. (fixes #11945) (#11946)
  • 89412c3 Docs: Fixed a typo (fixes #11999) (#12000)

There are 171 commits in total.

See the full diff


FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโ€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

TravisBuddy commented 5 years ago

Travis tests have failed

Hey @greenkeeper[bot], Please read the following log in order to understand the failure reason. It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 12

View build log

npm test ``` > chimee@1.0.1-alpha.0 test /home/travis/build/Chimeejs/chimee > jest --coverage && node env-check.js FAIL __tests__/dispatcher/bus.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-attr.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/install-kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/kernel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:232:14 - error TS7006: Parameter 'evt' implicitly has an 'any' type. 232 fn: (evt) => evt.preventDefault(), ~~~ src/dispatcher/index.ts:562:28 - error TS2322: Type 'string | number | boolean | void' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. 562 if (key !== 'src') { this.videoConfig[key] = originVideoConfig[key]; } ~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:643:14 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IChimeePluginConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '(...args: any[]) => any' provides no match for the signature 'new (...args: any[]): ChimeePlugin'. 643 ? new (pluginConfig as IChimeePluginConstructor)({id}, this, pluginOption) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:756:23 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IVideoKernelConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'isSupport' is missing in type '(...args: any[]) => any' but required in type 'IVideoKernelConstructor'. 756 const fn = (fnOrSKC as IVideoKernelConstructor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/kernels/base.ts:18:3 18 isSupport(): boolean; ~~~~~~~~~~~~~~~~~~~~~ 'isSupport' is declared here. FAIL __tests__/dispatcher/dom.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/dom.ts:13:28 - error TS2307: Cannot find module '../typings/base'. 13 import { UserConfig } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/watch.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/mousemove.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/load.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/life.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/error.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/autoload.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/contextmenu.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ PASS __tests__/kernels/native.js FAIL __tests__/chimee/static.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/method.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/attr-css.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/change-kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/index.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/life.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/vessel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/class-plugin.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/plugin.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/binder-utils.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/binder.ts:5:93 - error TS2307: Cannot find module '../typings/base'. 5 import { AdditionalEventInfo, BinderTarget, EventStage, RawEventInfo, WholeEventInfo } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-methods.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/penetrate.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ -----------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -----------|----------|----------|----------|----------|-------------------| All files | 100 | 85.71 | 91.67 | 100 | | native.ts | 100 | 85.71 | 91.67 | 100 | 63 | -----------|----------|----------|----------|----------|-------------------| Summary of all failing tests FAIL __tests__/dispatcher/bus.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/bus.ts:9:42 - error TS2307: Cannot find module '../typings/base'. 9 import { BinderTarget, EventStage } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/situation/silentload.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-attr.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/install-kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/kernel.ts:6:37 - error TS2307: Cannot find module '../typings/base'. 6 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/attribute.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/index.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/index.ts:20:143 - error TS2307: Cannot find module '../typings/base'. 20 import { PluginConfig, PluginOption, SingleKernelConfig, SupportedKernelType, UserConfig, UserKernelsConfig, UserKernelsConstructorMap } from '../typings/base'; ~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:232:14 - error TS7006: Parameter 'evt' implicitly has an 'any' type. 232 fn: (evt) => evt.preventDefault(), ~~~ src/dispatcher/index.ts:562:28 - error TS2322: Type 'string | number | boolean | void' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. 562 if (key !== 'src') { this.videoConfig[key] = originVideoConfig[key]; } ~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:643:14 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IChimeePluginConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '(...args: any[]) => any' provides no match for the signature 'new (...args: any[]): ChimeePlugin'. 643 ? new (pluginConfig as IChimeePluginConstructor)({id}, this, pluginOption) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/dispatcher/index.ts:756:23 - error TS2352: Conversion of type '(...args: any[]) => any' to type 'IVideoKernelConstructor' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'isSupport' is missing in type '(...args: any[]) => any' but required in type 'IVideoKernelConstructor'. 756 const fn = (fnOrSKC as IVideoKernelConstructor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/kernels/base.ts:18:3 18 isSupport(): boolean; ~~~~~~~~~~~~~~~~~~~~~ 'isSupport' is declared here. FAIL __tests__/dispatcher/dom.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/dom.ts:13:28 - error TS2307: Cannot find module '../typings/base'. 13 import { UserConfig } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/watch.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/mousemove.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/load.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/life.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/video-attr.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/picture-in-picture.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/fullscreen.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/utils.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/utils.ts:2:37 - error TS2307: Cannot find module '../typings/base'. 2 import { SupportedKernelType } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/error.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/bugfix.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/data.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/binder.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/error.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/autoload.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/contextmenu.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/static.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/dispatcher/plugin/method.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/dispatcher/plugin.ts:10:86 - error TS2307: Cannot find module '../typings/base'. 10 import { ComputedMap, PluginConfig, PluginEvents, PluginMethods, PluginOption } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/attr-css.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/change-kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/index.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/life.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/vessel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/kernel.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/class-plugin.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/kernel-event.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/plugin.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/helper/binder-utils.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/helper/binder.ts:5:93 - error TS2307: Cannot find module '../typings/base'. 5 import { AdditionalEventInfo, BinderTarget, EventStage, RawEventInfo, WholeEventInfo } from '../typings/base'; ~~~~~~~~~~~~~~~~~ FAIL __tests__/chimee/video-methods.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ FAIL __tests__/situation/penetrate.js โ— Test suite failed to run TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option): src/index.ts:9:42 - error TS2307: Cannot find module './typings/base'. 9 import { PluginOption, UserConfig } from './typings/base'; ~~~~~~~~~~~~~~~~ Test Suites: 39 failed, 1 passed, 40 total Tests: 3 passed, 3 total Snapshots: 0 total Time: 10.655s Ran all test suites. npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: dba59a10-ab74-11e9-bd4a-b1db5eb8f7db