Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade packages #3405

Merged
merged 5 commits into from
Jan 3, 2019
Merged

Upgrade packages #3405

merged 5 commits into from
Jan 3, 2019

Conversation

deekshithraop
Copy link
Contributor

@deekshithraop deekshithraop commented Dec 21, 2018

Type of change

  • Build related changes

Description of change

Removing packages with vulnerabilities

on running npm audit package "open" had critical vulnerabilities its being used by by us and by gulp-webserver as its dependency.

so moved back to gulp-connect.
and also converted from "open" to" opn" package which works exactly the same but has no security issues.

Changes in Node version support

Since latest versions of those can only be run successfully in latest versions of node, We will be supporting node of version v6 or more.

Note: this pull req includes the changes in pull req (#3392) which is to update mocha, karma, karma-webpack

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting together these additional changes; I had a couple of questions/comments - see in-line below.

Otherwise this LGTM.

gulpfile.js Outdated
@@ -269,6 +268,25 @@ function coveralls() { // 2nd arg is a dependency: 'test' must be finished
.pipe(shell('cat build/coverage/lcov.info | node_modules/coveralls/bin/coveralls.js'));
}

gulp.task('watch', function () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this gulp task is redundant and can be removed; there is already a watch function declared earlier in the file (see here).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removed

@@ -34,7 +34,6 @@ function newPluginsArray(browserstack) {
'karma-es5-shim',
'karma-mocha',
'karma-chai',
'karma-requirejs',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're removing karma-requirejs plug-in from this file, can it also be removed from the package.json? I don't see it referenced anywhere else in the project.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, removed

@jsnellbaker jsnellbaker assigned mkendall07 and unassigned jsnellbaker Jan 2, 2019
@jsnellbaker jsnellbaker added needs 2nd review Core module updates require two approvals from the core team and removed needs update labels Jan 2, 2019
@mkendall07 mkendall07 requested a review from harpere January 2, 2019 17:49
Copy link
Collaborator

@harpere harpere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harpere harpere added LGTM and removed needs 2nd review Core module updates require two approvals from the core team labels Jan 2, 2019
@mkendall07 mkendall07 merged commit 3c9592f into master Jan 3, 2019
olafbuitelaar pushed a commit to olafbuitelaar/Prebid.js that referenced this pull request Jan 3, 2019
* RAD-2356 Upgrade Mocha karma-webpack karma

* RAD-2356 update readme to support node v6 or more

* Remove webpack output logs while testing

* move from gulp-webserver to gulp-connect

* remove karma-require and redundant watch task
amuraco pushed a commit to amuraco/Prebid.js that referenced this pull request Jan 28, 2019
* RAD-2356 Upgrade Mocha karma-webpack karma

* RAD-2356 update readme to support node v6 or more

* Remove webpack output logs while testing

* move from gulp-webserver to gulp-connect

* remove karma-require and redundant watch task
ghost pushed a commit to devunrulymedia/Prebid.js that referenced this pull request Jan 30, 2019
* RAD-2356 Upgrade Mocha karma-webpack karma

* RAD-2356 update readme to support node v6 or more

* Remove webpack output logs while testing

* move from gulp-webserver to gulp-connect

* remove karma-require and redundant watch task
pedrolopezmrf pushed a commit to Marfeel/Prebid.js that referenced this pull request Mar 18, 2019
* RAD-2356 Upgrade Mocha karma-webpack karma

* RAD-2356 update readme to support node v6 or more

* Remove webpack output logs while testing

* move from gulp-webserver to gulp-connect

* remove karma-require and redundant watch task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants