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 toxic-utils to the latest version πŸš€ #180

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The devDependency toxic-utils was updated from 0.3.1 to 0.4.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.


Release Notes for v0.4.0
  • replace lodash with lodash-es
Commits

The new version differs by 4 commits.

  • 8453b66 0.4.0
  • 5599537 build: update to fit lodash change
  • 43d2ad5 feat(lodash): replace lodash with lodash-es
  • d5e19be ci: update nodejs in travis

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: 10

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 intentiona 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__/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__/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'; ~~~~~~~~~~~~~~~~ 2mTest 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'; ~~~~~~~~~~~~~~~~ :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.tsle './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___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: 40 failed, 40 total Tests: 0 total Snapshots: 0 total Time: 10.712s Ran all test suites. npm ERR! Test failed. See above for more details. ```

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'; ~~~~~~~~~~~~~~~~ FAIL __tests__/kernels/native.js ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: β€’ To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config. β€’ If you need a custom transformation specify a "transform" option in your config. β€’ If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option. You'll find more details and examples of these config options in the docs: https://jestjs.io/docs/en/configuration.html Details: /home/travis/build/Chimeejs/chimee/node_modules/lodash-es/lodash.js:10 export { default as add } from './add.js'; ^^^^^^ SyntaxError: Unexpected token export at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17) at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25) at Object. (node_modules/toxic-utils/lib/index.js:13:16) 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__/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__/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__/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__/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 | 0 | 0 | 0 | 0 | | ----------|----------|----------|----------|----------|-------------------| 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'; ~~~~~~~~~~~~~~~~~t-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__/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__/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: Cannotse'; ~~~~~~~~~~~~~~~~ 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: 40 failed, 40 total Tests: 0 total Snapshots: 0 total Time: 9.935s Ran all test suites. npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: b3eb57e0-8486-11e9-ba35-05ed63620594
greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 6 commits.

  • 66d38f4 0.4.2
  • a0a929a build: only include lodash-es in commonjs
  • 4176fef 0.4.1
  • ed2a467 test: node env check
  • 75f8ae8 build(lodash-es): fix node env error cauesd by lodash-es
  • 2570141 ci(travis): fix travis nodejs version error

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€