Chimeejs / chimee-player

A complete set of H5 player. 这是一套包含UI插件、FLV和HLS解码器的快速上手解决方案,可以按您的业务场景适当调整依赖后重新构建打包。
http://chimee.org/#demo
296 stars 45 forks source link

[Snyk] Fix for 1 vulnerabilities #24

Open snyk-bot opened 4 years ago

snyk-bot commented 4 years ago

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

Vulnerabilities that will be fixed

With a Snyk patch:
Severity Issue Exploit Maturity
medium severity Prototype Pollution
SNYK-JS-LODASH-567746
Proof of Concept

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:

🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic

TravisBuddy commented 4 years ago

Travis tests have failed

Hey @snyk-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: 9

View build log

npm test ``` > chimee-player@1.4.9 test /home/travis/build/Chimeejs/chimee-player > jest --coverage FAIL __tests__/src/index.js ● Test suite failed to run Cannot use the decorators and decorators-legacy plugin together at validatePlugins (node_modules/@babel/parser/src/plugin-utils.js:47:13) at getParser (node_modules/@babel/parser/src/index.js:75:5) at parse (node_modules/@babel/parser/src/index.js:58:12) at parser (node_modules/@babel/core/lib/parser/index.js:54:34) at parser.next () at normalizeFile (node_modules/@babel/core/lib/transformation/normalize-file.js:93:38) at normalizeFile.next () at run (node_modules/@babel/core/lib/transformation/index.js:31:50) at run.next () at Function.transform (node_modules/@babel/core/lib/transform.js:27:41) ----------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | ----------|----------|----------|----------|----------|-------------------| All files | Unknown | Unknown | Unknown | Unknown | | ----------|----------|----------|----------|----------|-------------------| Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details Handlebars: Access has been denied to resolve the property "branches" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details Handlebars: Access has been denied to resolve the property "lines" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 1.512s Ran all test suites. npm ERR! Test failed. See above for more details. ```
TravisBuddy Request Identifier: 8212e890-8e95-11ea-80eb-6b769f7cd14d