notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: lang/njs/distinfo

Number of commits found: 19

Monday, 18 Mar 2024
14:46 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.2 -> 0.8.3 (+)

<ChangeLog>

    nginx modules:

    *) Bugfix: fixed Headers.set().

    *) Bugfix: fixed js_set with Buffer values.

    *) Bugfix: fixed clear() method of a shared dictionary when
       a timeout is not specified.

    *) Bugfix: fixed stub_status statistics when js_periodic is
       enabled.

    Core:

    *) Bugfix: fixed building with libxml2 2.12 and later.

    *) Bugfix: fixed Date constructor for overflows and with
       NaN values.

    *) Bugfix: fixed underflow in querystring.parse().

    *) Bugfix: fixed potential buffer overread in
       String.prototype.match().

    *) Bugfix: fixed parsing of for-in loops.

    *) Bugfix: fixed parsing of hexadecimal, octal, and binary
       literals with no digits.

</ChangeLog>
commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057 commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057 commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057 commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057 422dc9e
Tuesday, 24 Oct 2023
12:44 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.1 -> 0.8.2 (+)

<ChangeLog>

nginx modules:

*) Feature: introduced console object. The following methods
   were introduced: error(), info(), log(), time(), timeEnd(),
   warn().

*) Bugfix: fixed HEAD response handling with large Content-Length
   in fetch API.

*) Bugfix: fixed items() method for a shared dictionary.

*) Bugfix: fixed delete() method for a shared dictionary.

Core:

*) Feature: extended "fs" module. Added existsSync().

*) Bugfix: fixed "xml" module. Fixed broken XML exception handling
   in parse() method.

*) Bugfix: fixed RegExp.prototype.exec() with global regexp and
   unicode input.

*) Bugfix: fixed return statement parsing with invalid expression.

</ChangeLog>
commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7 commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7 commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7 commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7 33d962f
Saturday, 16 Sep 2023
17:34 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.0 -> 0.8.1 (+)

<ChangeLog>

nginx modules:

*) Feature: introduced js_periodic directive.
    The directive specifies a JS handler to run at regular intervals.

*) Feature: implemented items() method for a shared dictionary.
   The method returns all the non-expired key-value pairs.

*) Bugfix: fixed size() and keys() methods of a shared dictionary.

*) Bugfix: fixed erroneous exception in r.internalRedirect()
   introduced in 0.8.0.

Core:

*) Bugfix: fixed incorrect order of keys in
   Object.getOwnPropertyNames().

</ChangeLog>
commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9 commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9 commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9 commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9 586a949
Wednesday, 12 Jul 2023
02:20 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.7.12 -> 0.8.0 (+)

<ChangeLog>

nginx modules:

*) Change: removed special treatment of forbidden headers in Fetch API
   introduced in 0.7.10.

*) Change: removed deprecated since 0.5.0 r.requestBody and
   r.responseBody in HTTP module.

*) Change: throwing an exception in r.internalRedirect() while
   filtering in HTTP module.

*) Feature: introduced global nginx properties.
   ngx.build - an optional nginx build name, corresponds to
   --build=name argument of configure script, by default is "".
   ngx.conf_file_path - the file path to current nginx configuration
       file.
   ngx.error_log_path - the file path to current error log file.
   ngx.prefix - the directory that keeps server files.
   ngx.version - the nginx version as a string, for example: "1.25.0".
   ngx.version_number - the nginx version as a number, for example:
       1025000.
   ngx.worker_id - corresponds to an nginx internal worker id.
       The value is between 0 and worker_processes - 1.

*) Feature: introduced js_shared_dict_zone directive.
   The directive allows to declare a dictionary that is shared among the
   working processes.

*) Improvement: added compile-time options to disable njs modules.
   For example to disable libxslt related code:
   NJS_LIBXSLT=NO ./configure  .. --add-module=/path/to/njs/module

*) Bugfix: fixed r.status setter when filtering in HTTP module.

*) Bugfix: fixed setting of Location header in HTTP module.

Core:

*) Change: native methods are provided with retval argument.
   This change breaks compatibility with C extension for njs
   requiring to modify the code.

*) Change: non-compliant deprecated String methods were removed.
   The following methods were removed: String.bytesFrom(),
   String.prototype.fromBytes(), String.prototype.fromUTF8(),
   String.prototype.toBytes(), String.prototype.toUTF8(),
   String.prototype.toString(encoding).

*) Change: removed support for building with GNU readline.

*) Feature: added Array.from(), Array.prototype.toSorted(),
   Array.prototype.toSpliced(), Array.prototype.toReversed().

*) Feature: added %TypedArray%.prototype.toSorted(),
   %TypedArray%.prototype.toSpliced(),
   %TypedArray%.prototype.toReversed().

*) Feature: added CryptoKey properties in WebCrypto.
   The following properties for CryptoKey were added:
   algorithm, extractable, type, usages.

*) Bugfix: fixed retval of crypto.getRandomValues().

*) Bugfix: fixed evaluation of computed property names with function
   expressions.

*) Bugfix: fixed implicit name for a function expression declared in
   arrays.

*) Bugfix: fixed parsing of for-in loops.

*) Bugfix: fixed Date.parse() with ISO-8601 format and UTC time
   offset.

</ChangeLog>
commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659 commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659 commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659 commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659 30ba18e
Monday, 10 Apr 2023
21:10 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.11 -> 0.7.12

<ChangeLog>

nginx modules:
*) Bugfix: fixed Headers() constructor in Fetch API.

Core:
*) Feature: added Hash.copy() method in "crypto" module.
*) Feature: added "zlib" module.
*) Improvement: added support for export {name as default}
   statement.
*) Bugfix: fixed Number constructor according to the spec.

</ChangeLog>
commit hash: 58b083f0d756acccc30a30997585d85dc23f5114 commit hash: 58b083f0d756acccc30a30997585d85dc23f5114 commit hash: 58b083f0d756acccc30a30997585d85dc23f5114 commit hash: 58b083f0d756acccc30a30997585d85dc23f5114 58b083f
Thursday, 9 Mar 2023
23:39 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.10 -> 0.7.11

While I'm here drop pcre flavor support for lang/njs.

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>
nginx modules:

*) Bugfix: added missed linking with libxml2 for the dynamic module.
   The bug was introduced in 0.7.10.

Core:

*) Feature: added XMLNode API to modify XML documents.

*) Change: removed XML_PARSE_DTDVALID during parsing of XML document
   due to security implications. The issue was introduced
   in 0.7.10. When XML_PARSE_DTDVALID is enabled, libxml2 parses and
   executes external entities present inside an XML document.

*) Bugfix: fixed the detection of await in arguments.

*) Bugfix: fixed Error() instance dumping when "name" prop is not
   primitive.

*) Bugfix: fixed array instance with a getter property dumping.

*) Bugfix: fixed njs_object_property() with NJS_WHITEOUT properties.

*) Bugfix: fixed func instance dumping with "name" as getter.

*) Bugfix: fixed attaching of a stack to an error object.

*) Bugfix: fixed String.prototype.replace() with replacement containing
   "$'", "$`".

</ChangeLog>
commit hash: ea54114ca5fac09640c1074c4c69472781b27995 commit hash: ea54114ca5fac09640c1074c4c69472781b27995 commit hash: ea54114ca5fac09640c1074c4c69472781b27995 commit hash: ea54114ca5fac09640c1074c4c69472781b27995 ea54114
Monday, 13 Feb 2023
16:16 Sergey A. Osokin (osa) search for other commits by this committer
lang/njs: update NGINX JavaScript 0.7.9 -> 0.7.10

<ChangeLog>
nginx modules:

*) Feature: added Request, Response and Headers ctors in Fetch API.

*) Bugfix: fixed nginx logger callback for calls in master process.

Core:

*) Feature: added signal support in CLI.

*) Feature: added "xml" module for working with XML documents.

*) Feature: extended support for symmetric and asymmetric keys
   in WebCrypto. Most notably JWK format for importKey() was added.

*) Feature: extended support for symmetric and asymmetric keys
   in WebCrypto. Most notably JWK format for importKey() was added.
   generateKey() and exportKey() were also implemented.

*) Feature: added String.prototype.replaceAll().

*) Bugfix: fixed for(expr1; conditional syntax error handling.

*) Bugfix: fixed Object.values() and Object.entries() with external
   objects.

*) Bugfix: fixed RegExp.prototype[@@replace]().
</ChangeLog>
commit hash: f0bdbe1343f311f43bca04d92e50a84d24d3b2b4 commit hash: f0bdbe1343f311f43bca04d92e50a84d24d3b2b4 commit hash: f0bdbe1343f311f43bca04d92e50a84d24d3b2b4 commit hash: f0bdbe1343f311f43bca04d92e50a84d24d3b2b4 f0bdbe1
Thursday, 17 Nov 2022
15:25 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.8 -> 0.7.9

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>

*) Bugfix: fixed Fetch Response prototype reinitialization.
   When at least one js_import directive was declared in both HTTP
   and Stream, ngx.fetch() returned inapproriate response in Stream.
   The bug was introduced in 0.7.7.

Core:

*) Bugfix: fixed String.prototype.replace(re) if re.exec() returns
   non-flat array.

*) Bugfix: fixed Array.prototype.fill() when start object changes
   "this".

*) Bugfix: fixed description for fs.mkdir() and fs.rmdir() methods.

*) Bugfix: fixed %TypedArray%.prototype.set(s) when s element changes
   "this".

*) Bugfix: fixed Array.prototype.splice(s, d) when d resizes "this"
   during evaluation.

*) Bugfix: fixed for-in loop with left and right hand side
   expressions.

</ChangeLog>
commit hash: 06c49f3a93419af255df245f7d56131f744431e1 commit hash: 06c49f3a93419af255df245f7d56131f744431e1 commit hash: 06c49f3a93419af255df245f7d56131f744431e1 commit hash: 06c49f3a93419af255df245f7d56131f744431e1 06c49f3
Tuesday, 25 Oct 2022
14:13 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.7 -> 0.7.8

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>

nginx modules:

*) Feature: added js_preload_object directive.

*) Feature: added ngx.conf_prefix property.

*) Feature: added s.sendUpstream() and s.sendDownstream()
   in stream module.

*) Feature: added support for HEAD method in Fetch API.

*) Improvement: improved async callback support for s.send()
   in stream module.

Core:

*) Feature: added "name" instance property for a function
   object.

*) Feature: added njs.memoryStats object.

*) Bugfix: fixed String.prototype.trimEnd() with unicode
   string.

*) Bugfix: fixed Object.freeze() with fast arrays.

*) Bugfix: fixed Object.defineProperty() with fast arrays.

*) Bugfix: fixed async token as a property name of an object.

*) Bugfix: fixed property set instruction when key modifies
   base binding.

*) Bugfix: fixed complex assignments.

*) Bugfix: fixed handling of unhandled promise rejection.

*) Bugfix: fixed process.env when duplicate environ variables
   are present.

*) Bugfix: fixed double declaration detection in modules.

*) Bugfix: fixed bound function calls according to the spec.

*) Bugfix: fixed break label for if statement.

*) Bugfix: fixed labeled empty statements.

</ChangeLog>
commit hash: facc6c733c974a191f15d39478299b57f50b4c1b commit hash: facc6c733c974a191f15d39478299b57f50b4c1b commit hash: facc6c733c974a191f15d39478299b57f50b4c1b commit hash: facc6c733c974a191f15d39478299b57f50b4c1b facc6c7
Tuesday, 30 Aug 2022
17:41 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.6 -> 0.7.7

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>

nginx modules:

*) Feature: the number of nginx configuration contexts where
   js directives can be specified is extended.

   HTTP: js_import, js_path, js_set and js_var are allowed
   in server and location contexts. js_content, js_body_filter
   and js_header_filter are allowed in 'if' context.

   Stream: js_import, js_path, js_set and js_var are allowed
   in server context.

*) Feature: added r.internal property.

*) Bugfix: fixed reading response body in fetch API.

*) Bugfix: fixed "js_fetch_timeout" in stream module.

*) Bugfix: fixed socket leak with 0 fetch timeout.

Core:

*) Feature: extended "fs" module.  Added fs.openSync(),
   fs.promises.open(), fs.fstatSync(), fs.readSync(),
   fs.writeSync().

   The following properties of FileHandle are implemented:
   fd, read(), stat(), write(), close().

*) Bugfix: fixed parseInt(), parseFloat(), Symbol.for()
   with no arguments.

</ChangeLog>
commit hash: 672d8656a85f372a555d96ce1acb4dc590f3e863 commit hash: 672d8656a85f372a555d96ce1acb4dc590f3e863 commit hash: 672d8656a85f372a555d96ce1acb4dc590f3e863 commit hash: 672d8656a85f372a555d96ce1acb4dc590f3e863 672d865
Tuesday, 19 Jul 2022
16:26 Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript module 0.7.5 -> 0.7.6

<ChangeLog>

nginx modules:

*) Feature: improved r.args object. Added support for multiple
   arguments with the same key. Added case sensitivity for
   keys. Keys and values are percent-decoded now.

*) Bugfix: fixed r.headersOut setter for special headers.

Core:

*) Feature: added Symbol.for() and Symbol.keyfor().

*) Feature: added btoa() and atob() from WHATWG spec.

*) Bugfix: fixed large non-decimal literals.

*) Bugfix: fixed unicode argument trimming in parseInt().

*) Bugfix: fixed break instruction in a try-catch block.

*) Bugfix: fixed async function declaration in CLI.

</ChangeLog>
commit hash: 3a5b40a3ca30b9bbf21b165fb30413f18502408d commit hash: 3a5b40a3ca30b9bbf21b165fb30413f18502408d commit hash: 3a5b40a3ca30b9bbf21b165fb30413f18502408d commit hash: 3a5b40a3ca30b9bbf21b165fb30413f18502408d 3a5b40a
Tuesday, 21 Jun 2022
15:21 Sergey A. Osokin (osa) search for other commits by this committer
lang/njs: update 0.7.4 -> 0.7.5

<ChangeLog>

nginx modules:

*) Change: adapting to changes in nginx header structures.

*) Bugfix: fixed r.headersOut special getters when value
   is absent.

*) Change: returning undefined value instead of an empty string
   for Content-Type when the header is absent.

Core:

*) Bugfix: fixed catching of the exception thrown from an
   awaited function.

*) Bugfix: fixed function value initialization.

*) Bugfix: fixed interpreter when await fails.

*) Bugfix: fixed typed-array constructor when source array
   is changed while iterating.

*) Bugfix: fixed String.prototype.replace() with byte strings.

*) Bugfix: fixed template literal from producing byte-strings.

*) Bugfix: fixed array iterator with sparse arrays.

*) Bugfix: fixed memory free while converting a flat array to
   a slow array.

*) Bugfix: properly handling NJS_DECLINE in promise native
   functions.

*) Bugfix: fixed working with an array-like object in Promise.all()
   and friends.

</ChangeLog>
commit hash: 87f8047742b8ab5078466f647a01304da995ee22 commit hash: 87f8047742b8ab5078466f647a01304da995ee22 commit hash: 87f8047742b8ab5078466f647a01304da995ee22 commit hash: 87f8047742b8ab5078466f647a01304da995ee22 87f8047
Wednesday, 25 May 2022
19:22 Sergey A. Osokin (osa) search for other commits by this committer
lang/njs: update 0.7.3 -> 0.7.4
commit hash: 7697411b63b53c3ecdbebe7d434b6525faa2f626 commit hash: 7697411b63b53c3ecdbebe7d434b6525faa2f626 commit hash: 7697411b63b53c3ecdbebe7d434b6525faa2f626 commit hash: 7697411b63b53c3ecdbebe7d434b6525faa2f626 7697411
Tuesday, 12 Apr 2022
14:02 Sergey A. Osokin (osa) search for other commits by this committer
lang/njs: update to the recent version 0.7.3
commit hash: e8b55f03faa0cc399fc423ba7196aa9f48f08df8 commit hash: e8b55f03faa0cc399fc423ba7196aa9f48f08df8 commit hash: e8b55f03faa0cc399fc423ba7196aa9f48f08df8 commit hash: e8b55f03faa0cc399fc423ba7196aa9f48f08df8 e8b55f0
Friday, 11 Mar 2022
21:24 Sergey A. Osokin (osa) search for other commits by this committer
*/*: add new port NGINX JavaScript (njs) command line utility

NGINX JavaScript, also knows as njs, is a subset of the JavaScript
language that allows extending nginx functionality.  njs is created
in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6
and later extensions.  It's easy to use njs command line utility to
develop and debug additional functionality.  Also, it's light-weight
and very useful as a shebang in some cases as the nodejs substitutor.

Remove build of njs command-line utlity from the www/nginx-devel (*)
process.

Bump PORTREVISION. (*)
commit hash: a9108d8c085c83e3158abb661908d343b0eb5d9c commit hash: a9108d8c085c83e3158abb661908d343b0eb5d9c commit hash: a9108d8c085c83e3158abb661908d343b0eb5d9c commit hash: a9108d8c085c83e3158abb661908d343b0eb5d9c a9108d8
Thursday, 9 Jun 2011
15:45 bapt search for other commits by this committer
Remove lang/njs and ports that depends on it, njs has no more public distfile
and no more upstream
the other aren't under development anymore

lang/ruby-js
textproc/ruby-xml-script
www/ruby-asp
2011-05-01 lang/njs: Upstream disapear and distfile is no more available
Original commit
Friday, 25 Nov 2005
00:33 pav search for other commits by this committer
- Add SHA256
Original commit
Friday, 19 Mar 2004
00:19 thierry search for other commits by this committer
SIZE-ify my ports.

Submitted by:   Trevor Johnson <trevor@FreeBSD.org>
Approved by:    mat (mentor).
Original commit
Tuesday, 22 Jan 2002
11:52 okazaki search for other commits by this committer
Add njs 0.2.5,   NJS (NGS) is a standalone JavaScript/ECMAScript   interpreter. 
  
Original commit

Number of commits found: 19