Skip to content

chore: upgrade deps to fix npm audit complaints#288

Merged
raymondfeng merged 1 commit into2.xfrom
upgrade-2.x-deps
Mar 26, 2019
Merged

chore: upgrade deps to fix npm audit complaints#288
raymondfeng merged 1 commit into2.xfrom
upgrade-2.x-deps

Conversation

@raymondfeng
Copy link
Copy Markdown
Member

@raymondfeng raymondfeng commented Mar 22, 2019

Description

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

@raymondfeng raymondfeng changed the base branch from 2.x-latest to 2.x March 22, 2019 21:23
sudo: false
language: node_js
node_js:
- "4"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Please note it won't work with Node 4.x any more. I find out loopback@3.x has node >= 6.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please note that loopback-boot supports LoopBack 2.x applications too and LB 2.x advertises node >= 4:

https://github.com/strongloop/loopback/blob/85b076c9b9a0e840036ce4380eb4e535553059fe/package.json#L38-L40

{
  "engines": {
    "node": ">=4.0.0"
  }
}

Having said that, I am ok to drop support for Node.js versions that have reached their EOL, we have done this in the past.

It's just important to be clear about our argumentation.

Copy link
Copy Markdown
Member

@dhmlau dhmlau left a comment

Choose a reason for hiding this comment

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

I think most of our modules have package-lock=false. But if there's particular reason to set it to true, I'm good with it too.

Copy link
Copy Markdown
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

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

I am concerned about updating so many dependencies. Remember, loopback-boot@2 is in maintenance mode now, only fixes for critical security vulnerabilities and critical bugs are allowed. I am afraid there may be subtle changes in the behavior that would be introduced by this big upgrade.

Personally, I'd prefer to upgrade only the dependencies with known security vulnerabilities.

sudo: false
language: node_js
node_js:
- "4"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please note that loopback-boot supports LoopBack 2.x applications too and LB 2.x advertises node >= 4:

https://github.com/strongloop/loopback/blob/85b076c9b9a0e840036ce4380eb4e535553059fe/package.json#L38-L40

{
  "engines": {
    "node": ">=4.0.0"
  }
}

Having said that, I am ok to drop support for Node.js versions that have reached their EOL, we have done this in the past.

It's just important to be clear about our argumentation.

Copy link
Copy Markdown
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

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

Better 👍

Could you please check and upgrade dependencies in the master branch too?

@raymondfeng raymondfeng merged commit 07c0b01 into 2.x Mar 26, 2019
@bajtos bajtos deleted the upgrade-2.x-deps branch March 28, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants