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

Support node 6.x versions #3404

Closed
witchcraze opened this issue Nov 1, 2024 · 0 comments · Fixed by #3419
Closed

Support node 6.x versions #3404

witchcraze opened this issue Nov 1, 2024 · 0 comments · Fixed by #3419
Labels
enhancement New feature or request

Comments

@witchcraze
Copy link
Contributor

What would you like to be added:

Support some old versions of node in binary detection
I missed 6.x in #3236

  • 6.2.x
  • 6.3.x
  • 6.4.x
  • 6.5.x
  • 6.6.x
  • 6.6.x
  • 6.7.x
  • 6.8.x
  • 6.9.0
  • 6.9.1

// from 6.9.2 to 6.17, syft can detect node

Additional context:

6.2.2

$ docker run -it --rm node:6.2.2 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1 500 500 27481801 Jun 17  2016 /usr/local/bin/node

$ docker run -it --rm node:6.2.2 strings /usr/local/bin/node | grep -C 1 -e '6\.2\.2'
maybe.FromJust()
v6.2.2
moduleLoadList
--
  Starting debugger on port %d failed
https://nodejs.org/download/release/v6.2.2/node-v6.2.2.tar.gz
https://nodejs.org/download/release/v6.2.2/node-v6.2.2-headers.tar.gz
(0) == (uv_mutex_init(&node_isolate_mutex))

6.3.0

$ docker run -it --rm node:6.3.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1 500 500 28807880 Jul  6  2016 /usr/local/bin/node

$ docker run -it --rm node:6.3.0 strings /usr/local/bin/node | grep -C 1 -e '6\.3\.0'
Starting debugger agent.
v6.3.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.3.0/node-v6.3.0.tar.gz
https://nodejs.org/download/release/v6.3.0/node-v6.3.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.4.0

$ docker run -it --rm node:6.4.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1 500 500 28884691 Aug 15  2016 /usr/local/bin/node

$ docker run -it --rm node:6.4.0 strings /usr/local/bin/node | grep -C 1 -e '6\.4\.0'
Starting debugger agent.
v6.4.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.4.0/node-v6.4.0.tar.gz
https://nodejs.org/download/release/v6.4.0/node-v6.4.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.5.0

$ docker run -it --rm node:6.5.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30187358 Aug 26  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Aug 30  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.5.0 strings /usr/local/bin/node | grep -C 1 -e '6\.5\.0'
Starting debugger agent.
v6.5.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.5.0/node-v6.5.0.tar.gz
https://nodejs.org/download/release/v6.5.0/node-v6.5.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.6.0

$ docker run -it --rm node:6.6.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30243003 Sep 14  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Sep 24  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.6.0 strings /usr/local/bin/node | grep -C 1 -e '6\.6\.0'
Starting debugger agent.
v6.6.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.6.0/node-v6.6.0.tar.gz
https://nodejs.org/download/release/v6.6.0/node-v6.6.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.7.0

$ docker run -it --rm node:6.7.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30171214 Sep 27  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Sep 28  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.7.0 strings /usr/local/bin/node | grep -C 1 -e '6\.7\.0'
Starting debugger agent.
v6.7.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.7.0/node-v6.7.0.tar.gz
https://nodejs.org/download/release/v6.7.0/node-v6.7.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.8.0

$ docker run -it --rm node:6.8.0 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30190636 Oct 12  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Oct 12  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.8.0 strings /usr/local/bin/node | grep -C 1 -e '6\.8\.0'
Starting debugger agent.
v6.8.0
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.8.0/node-v6.8.0.tar.gz
https://nodejs.org/download/release/v6.8.0/node-v6.8.0-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.9.1

$ docker run -it --rm node:6.9.1 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30194989 Oct 19  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Nov 23  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.9.1 strings /usr/local/bin/node | grep -C 1 -e '6\.9\.1'
Starting debugger agent.
v6.9.1
moduleLoadList
--
  Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.9.1/node-v6.9.1.tar.gz
https://nodejs.org/download/release/v6.9.1/node-v6.9.1-headers.tar.gz
Debug port must be in range 1024 to 65535.

6.9.2

$ docker run -it --rm node:6.9.2 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1  500  500 30182315 Dec  6  2016 /usr/local/bin/node
lrwxrwxrwx 1 root root       19 Dec 16  2016 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.9.2 strings /usr/local/bin/node | grep -C 1 -e '6\.9\.2'
Starting debugger on %s:%d failed
https://nodejs.org/download/release/v6.9.2/node-v6.9.2.tar.gz
https://nodejs.org/download/release/v6.9.2/node-v6.9.2-headers.tar.gz
Debug port must be in range 1024 to 65535.
--
  Browser
node.js/v6.9.2
Protocol-Version

6.17

$ docker run -it --rm node:6.17 sh -c 'ls -la /usr/local/bin/node*'
-rwxrwxr-x 1 root staff 30735415 Apr  3  2019 /usr/local/bin/node
lrwxrwxrwx 1 root root        19 May  8  2019 /usr/local/bin/nodejs -> /usr/local/bin/node

$ docker run -it --rm node:6.17 strings /usr/local/bin/node | grep -C 1 -e '6\.17'
title
v6.17.1
moduleLoadList
--
  Linked module has no declared entry point.
https://nodejs.org/download/release/v6.17.1/node-v6.17.1.tar.gz
https://nodejs.org/download/release/v6.17.1/node-v6.17.1-headers.tar.gz
%s: %s is not allowed in NODE_OPTIONS
--
  void node::inspector::AgentImpl::WorkerRunIO()
  "Browser": "node.js/v6.17.1",
  "Protocol-Version": "1.1"
@witchcraze witchcraze added the enhancement New feature or request label Nov 1, 2024
@kzantow kzantow moved this to Ready in OSS Nov 1, 2024
@github-project-automation github-project-automation bot moved this from Ready to Done in OSS Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant