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

deprecated package warnings during install #2699

Closed
MasterJames opened this issue Jun 6, 2018 · 5 comments
Closed

deprecated package warnings during install #2699

MasterJames opened this issue Jun 6, 2018 · 5 comments

Comments

@MasterJames
Copy link

MasterJames commented Jun 6, 2018

I got some warnings during installation.
Installer depreciated packages warnings:

npm WARN deprecated @mapbox/gl-matrix@0.0.1: This
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.

Should I be concerned about them?

Also getting static-eval warnings


┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Sandbox Breakout / Arbitrary Code Execution                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ plotly.js                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ plotly.js > gl-plot2d > gl-select-static > cwise >           │
│               │ static-module > static-eval                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/548                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Sandbox Breakout / Arbitrary Code Execution                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ plotly.js                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ plotly.js > gl-plot3d > gl-select-static > cwise >           │
│               │ static-module > static-eval                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/548                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Sandbox Breakout / Arbitrary Code Execution                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ plotly.js                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ plotly.js > ndarray-fill > cwise > static-module >           │
│               │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/548                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Sandbox Breakout / Arbitrary Code Execution                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ plotly.js                                                    │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ plotly.js > ndarray-homography > ndarray-warp > cwise >      │
│               │ static-module > static-eval                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/548                       │
└───────────────┴──────────────────────────────────────────────────────────────┘

@MasterJames MasterJames changed the title depreciated package warnings during instsall depreciated package warnings during install Jun 6, 2018
@etpinard
Copy link
Contributor

etpinard commented Jun 6, 2018

Also getting static-eval warnings

That one is in scijs/cwise#19 and only potentially affects uses bundling custom versions of plotly.js.

Installer depreciated packages warnings:

I just did a fresh npm i plotly.js and I can't replicate

image

would you mind sharing which npm version you're using?

@alexcjohnson alexcjohnson changed the title depreciated package warnings during install deprecated package warnings during install Jun 6, 2018
@MasterJames
Copy link
Author

Node: V10.2.1
Npm: 6.1.0

@etpinard
Copy link
Contributor

etpinard commented Jun 7, 2018

Thanks @MasterJames but I still can't replicate in node v10 + npm@6.1.0.

@MasterJames
Copy link
Author

MasterJames commented Jun 7, 2018

That's interesting maybe this alternative makes the truth clearer.
https://www.npmjs.com/package/@gerhobbelt/nomnom

I guess it's a dependency within a dependency
mapbox/mapbox-gl-js#6758
It says it doesn't exists 404 ? https://github.com/mapbox/gl-matrix
looks like it needs to be mapbox-gl-js now

[thanks for catching that typo @alexjohnson I didn't even notice the different.]

https://www.npmjs.com/package/@mapbox/gl-matrix
also shows it's done.

As to the import route it's great but I'll wait until it exists in it's function form.
[Current import() polyfill has 45 dependencies]

@etpinard
Copy link
Contributor

etpinard commented Jun 7, 2018

OK. Looks like both these deprecated packages are third party dep of mapbox-gl.

so, I'll close this issue.

@etpinard etpinard closed this as completed Jun 7, 2018
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

No branches or pull requests

2 participants