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 ๐Ÿš€ #247

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The devDependency eslint was updated from 5.16.0 to 6.2.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.2.0
  • fee6acb Update: support bigint and dynamic import (refs #11803) (#11983) (Toru Nagashima)
  • afd8012 New: noInlineConfig setting (refs eslint/rfcs#22) (#12091) (Toru Nagashima)
  • 3d12378 Update: Fix accessor-pairs to enforce pairs per property in literals (#12062) (Milos Djermanovic)
  • 8cd00b3 New: function-call-argument-newline (#12024) (finico)
  • 30ebf92 Fix: prefer-template autofix produces syntax error with octal escapes (#12085) (Milos Djermanovic)
  • 13c3988 Fix: Check literal type explicitly in dot-notation (#12095) (Milos Djermanovic)
  • 3e5ceca Fix: Handle empty string property names in getFunctionNameWithKind (#12104) (Milos Djermanovic)
  • 9a043ff Fix: no-duplicate-case false positives on Object.prototype keys (#12107) (Milos Djermanovic)
  • fe631af Chore: minor typo fix (#12112) (James George)
  • 4cb7877 Fix: fix no-extra-parens ignores some nodes (#11909) (Pig Fang)
  • 2dc23b8 Update: fix no-dupe-keys false negatives on empty string names (#12069) (Milos Djermanovic)
  • 19ab666 Fix: yoda exceptRange false positives on empty string property names (#12071) (Milos Djermanovic)
  • d642150 Update: Check empty string property names in sort-keys (#12073) (Milos Djermanovic)
  • acce6de Fix: class-methods-use-this reports 'undefined' names (#12103) (Milos Djermanovic)
  • 92ec2cb Fix: Allow bind call with a single spread element in no-extra-bind (#12088) (Milos Djermanovic)
  • bfdb0c9 Fix: no-extra-boolean-cast invalid autofix for Boolean() without args (#12076) (Milos Djermanovic)
  • 34ccc0c Chore: Remove TDZ scope type condition from no-unused-vars (#12055) (Milos Djermanovic)
  • 01d38ce Docs: Remove TDZ scope from the scope manager interface documentation (#12054) (Milos Djermanovic)
  • 1aff8fc Update: warn about mixing ternary and logical operators (fixes #11704) (#12001) (Karthik Priyadarshan)
  • 11be2f8 Docs: do not recommend global-installed usage (#12016) (่–›ๅฎš่ฐ”็š„็Œซ)
  • cf31dab Fix: no-restricted-syntax - correct the schema (#12051) (Brad Zacher)
  • fbec99e Update: fix class-methods-use-this false negatives with exceptMethods (#12077) (Milos Djermanovic)
  • fb08b7c Docs: Remove readonly/writable global logic from no-undef (fixes #11963) (#12053) (Milos Djermanovic)
  • 5b5934b Sponsors: Sync README with website (ESLint Jenkins)
  • 9156760 Sponsors: Sync README with website (ESLint Jenkins)
  • f5e0cc4 Update: Check computed method keys in no-extra-parens (#11973) (Milos Djermanovic)
  • d961438 Docs: Fix Incorrect Documentation (#12045) (Michael Miceli)
  • 887d08c Sponsors: Sync README with website (ESLint Jenkins)
  • d90183f Docs: add a case to func-names (#12038) (Chiawen Chen)
  • 8a5b62d Docs: no use eslint.linter in code example (#12037) (่–›ๅฎš่ฐ”็š„็Œซ)
  • 5831767 Update: report location of func-names (fixes #12022) (#12028) (Pig Fang)
Commits

The new version differs by 204 commits.

  • 320b7bd 6.2.0
  • 9601f5a Build: changelog update for 6.2.0
  • fee6acb Update: support bigint and dynamic import (refs #11803) (#11983)
  • afd8012 New: noInlineConfig setting (refs eslint/rfcs#22) (#12091)
  • 3d12378 Update: Fix accessor-pairs to enforce pairs per property in literals (#12062)
  • 8cd00b3 New: function-call-argument-newline (#12024)
  • 30ebf92 Fix: prefer-template autofix produces syntax error with octal escapes (#12085)
  • 13c3988 Fix: Check literal type explicitly in dot-notation (#12095)
  • 3e5ceca Fix: Handle empty string property names in getFunctionNameWithKind (#12104)
  • 9a043ff Fix: no-duplicate-case false positives on Object.prototype keys (#12107)
  • fe631af Chore: minor typo fix (#12112)
  • 4cb7877 Fix: fix no-extra-parens ignores some nodes (#11909)
  • 2dc23b8 Update: fix no-dupe-keys false negatives on empty string names (#12069)
  • 19ab666 Fix: yoda exceptRange false positives on empty string property names (#12071)
  • d642150 Update: Check empty string property names in sort-keys (#12073)

There are 204 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: 11.011s Ran all test suites. npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: 1dd340c0-c210-11e9-849b-b30322cb9b44