Commit graph

18 commits

Author SHA1 Message Date
fhajny
8428c366dc Update lang/nodejs4 to 4.4.7.
Notable Changes

- debugger:
  * All properties of an array (aside from length) can now be printed
    in the repl
- npm:
  * Upgrade npm to 2.15.8
- stream:
  * Fix for a bug that became more prevalent with the stream changes
    that landed in v4.4.5.
- V8:
  * Fix for a bug in crankshaft that was causing crashes on arm64
  * Add missing classes to postmortem info such as JSMap and JSSet
2016-07-01 15:41:28 +00:00
fhajny
0c745b764d Update lang/nodejs4 to 4.4.6.
This release is specifically related to a Buffer overflow
vulnerability discovered in v8, see CVE-2016-1669
2016-06-24 16:12:01 +00:00
fhajny
aa0772a5ea Remove the nodejs icu option and make nodejs use a system ICU
package by default. Expand existing patch to fix NetBSD 6 build.
Fixes PR pkg/51172.

Bump PKGREVISION for lang/nodejs and lang/nodejs4.
2016-06-02 09:57:32 +00:00
fhajny
1bda3bfe9f Update lang/nodejs4 to 4.4.5.
buffer:
- Buffer no longer errors if you call lastIndexOf with a search
  term longer than the buffer

contextify:
- Context objects are now properly garbage collected, this solves
  a problem some individuals were experiencing with extreme memory
  growth

deps:
- update npm to 2.15.5

http:
- Invalid status codes can no longer be sent. Limited to 3 digit
  numbers between 100 - 999
2016-05-24 19:43:30 +00:00
fhajny
42da215125 Update lang/nodejs4 to 4.4.4.
- update openssl to 1.0.2h. (n/a with dynamic OpenSSL)
2016-05-06 09:33:56 +00:00
fhajny
2b2dd4e953 Update lang/nodejs4 to 4.4.3.
- deps: Fix --gdbjit for embedders. Backported from v8 upstream.
- etw: Correctly display descriptors for ETW events 9 and 23 on
  the windows platform.
- querystring: Restore throw when attempting to stringify bad
  surrogate pair.
2016-04-13 11:55:31 +00:00
ryoon
ac20a93574 Recursive revbump from textproc/icu 57.1 2016-04-11 19:01:33 +00:00
fhajny
7c5134a3a0 Update lang/nodejs4 to 4.4.2
4.4.2

* https: Under certain conditions ssl sockets may have been
  causing a memory leak when keepalive is enabled. This is no
  longer the case.
* lib: The way that we were internally passing arguments was
  causing a potential leak. By copying the arguments into an
  array we can avoid this.
* npm: Upgrade to v2.15.1. Fixes a security flaw in the use of
  authentication tokens in HTTP requests that would allow an
  attacker to set up a server that could collect tokens from
  users of the command-line interface. Authentication tokens
  have previously been sent with every request made by the
  CLI for logged-in users, regardless of the destination of
  the request. This update fixes this by only including those
  tokens for requests made against the registry or registries
  used for the current install.
* repl: Previously if you were using the repl in strict mode
  the column number would be wrong in a stack trace. This is
  no longer an issue.

4.4.1

* build:
  - Updated Logos for the OSX + Windows installers
  - New option to select your VS Version in the Windows installer
  - Support Visual C++ Build Tools 2015
* tools: Gyp now works on OSX without XCode
2016-04-01 08:24:34 +00:00
fhajny
7eab8b4bac Update lang/nodejs to 4.4.0. Clean stale bits from options.mk.
Notable changes

- deps: An update to v8 that introduces a new flag
  --perf_basic_prof_only_functions
- http: A new feature in http(s) agent that catches errors on keep
  alived connections
- src: Better support for Big-Endian systems
- tls: A new feature that allows you to pass common SSL options
  to tls.createSecurePair
- tools: a new flag --prof-process which will execute the tick
  processor on the provided isolate files
- build: Support python path that includes spaces. This should be
  of particular interest to our Windows users who may have python
  living in c:/Program Files
- https: A potential fix for #3692 HTTP/HTTPS client requests
  throwing EPROTO
- installer: More readable profiling information from isolate
  tick logs
- npm: upgrade to npm 2.14.20
- process: Add support for symbols in event emitters. Symbols
  didn't exist when it was written
- querystring: querystring.parse() is now 13-22% faster!
- streams: performance improvements for moving small buffers that
  shows a 5% throughput gain. IoT projects have been seen to be as
  much as 10% faster with this change!
- tools: eslint has been updated to version 2.1.0
2016-03-09 20:18:38 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
fhajny
c9110c672b Update lang/nodejs4 to 4.3.2.
Irrelevant to (dynamically linked) lang/nodejs4:

* openssl: Upgrade from 1.0.2f to 1.0.2g
2016-03-03 11:58:18 +00:00
fhajny
ab4e04e556 Update lang/nodejs4 to 4.3.1.
buffer
  - make byteLength work with Buffer correctly (Jackson Tian)
debugger
  - guard against call from non-node context (Ben Noordhuis)
  - do not incept debug context (Myles Borins)
deps
  - update to http-parser 2.5.2 (James Snell)
2016-02-17 11:24:47 +00:00
fhajny
68652897f9 Update lang/nodejs4 to 4.3.0.
Note that this release includes a non-backward compatible change
to address a security issue. This change increases the version
of the LTS v4.x line to v4.3.0. There will be no further updates
to v4.2.x.

- http: fix defects in HTTP header parsing for requests and
  responses that can allow request smuggling (CVE-2016-2086)
  or response splitting (CVE-2016-2216). HTTP header parsing
  now aligns more closely with the HTTP spec including
  restricting the acceptable characters.
- http-parser: upgrade from 2.5.0 to 2.5.1
- openssl: upgrade from 1.0.2e to 1.0.2f. To mitigate against
  the Logjam attack, TLS clients now reject Diffie-Hellman
  handshakes with parameters shorter than 1024-bits, up from
  the previous limit of 768-bits.
- introduce new --security-revert={cvenum} command line flag
  for selective reversion of specific CVE fixes
- allow the fix for CVE-2016-2216 to be selectively reverted
  using --security-revert=CVE-2016-2216
2016-02-10 11:14:36 +00:00
fhajny
7734bf7486 Update lang/nodejs4 to 4.2.6.
- Fix regression in debugger and profiler functionality
2016-01-26 14:39:01 +00:00
fhajny
d61f0e946c Update lang/nodejs4 to 4.2.5.
* assert
  - accommodate ES6 classes that extend Error (Rich Trott) #4166
* build
  - add "--partly-static" build options (Super Zheng) #4152
* deps
  - backport 066747e from upstream V8 (Ali Ijaz Sheikh) #4655
  - backport 200315c from V8 upstream (Vladimir Kurchatkin) #4128
  - upgrade libuv to 1.8.0 (Saúl Ibarra Corretgé)
* docs
  - various updates landed in 70 different commits!
* repl
  - attach location info to syntax errors (cjihrig) #4013
  - display error message when loading directory (Prince J Wesley) #4170
* tests
  - various updates landed in over 50 commits
* tools
  - add tap output to cpplint (Johan Bergstrom) #3448
* util
  - allow lookup of hidden values (cjihrig) #3988
2016-01-21 11:43:44 +00:00
fhajny
8eeb45cd75 Update lang/nodejs4 to 4.2.4.
- Roughly 78% of the commits are documentation and test improvements
- domains: ** Fix handling of uncaught exceptions (Julien Gilli) #3884
- deps: ** Upgrade to npm 2.14.12 (Kat Marchan) #4110 ** Backport
  819b40a from V8 upstream (Michael Zasso) #3938 ** Updated node
  LICENSE file with new npm license (Kat Marchan) #4110
2015-12-29 20:33:47 +00:00
fhajny
d99a7e1355 Update nodejs4 to 4.2.3 and nodejs to 5.1.1.
Notable changes

- http: Fix a bug where an HTTP socket may no longer have a socket
  but a pipelined request triggers a pause or resume, a potential
  denial-of-service vector. (Fedor Indutny)
- openssl: Upgrade to 1.0.2e, containing fixes for:
  - CVE-2015-3193 "BN_mod_exp may produce incorrect results on x86_64",
    an attack is considered feasible against a Node.js TLS server
    using DHE key exchange. Details are available at
    http://openssl.org/news/secadv/20151203.txt.
  - CVE-2015-3194 "Certificate verify crash with missing PSS parameter",
    a potential denial-of-service vector for Node.js TLS servers; TLS
    clients are also impacted. Details are available at
    http://openssl.org/news/secadv/20151203.txt. (Shigeki Ohtsu) #4134
- v8: Backport fixes for a bug in JSON.stringify() that can result in
  out-of-bounds reads for arrays. (Ben Noordhuis)
2015-12-04 12:18:36 +00:00
fhajny
6870b0060f Import nodejs 4.2.2 as lang/nodejs4, based on the last 4.x update in
lang/nodejs.

This package holds the current 4.x LTS release.

For more on node.js LTS support, see here:

  https://nodejs.org/en/blog/community/node-v5/
2015-11-09 20:21:51 +00:00