]> git.kaiwu.me - njs.git/log
njs.git
4 years agoFixed integer-overflow in ToInt32().
Dmitry Volyntsev [Mon, 24 May 2021 14:17:59 +0000 (14:17 +0000)]
Fixed integer-overflow in ToInt32().

error: negation of -2147483648 cannot be represented in type 'int32_t'.

Found by OSS-Fuzz.

4 years agoFixed implicit long to double conversion warning.
Dmitry Volyntsev [Mon, 24 May 2021 12:33:43 +0000 (12:33 +0000)]
Fixed implicit long to double conversion warning.

error: implicit conversion from 'long' to 'double' changes value from
    9223372036854775807 to 9223372036854775808.

4 years agoSuppressed spurious compilation warning with gcc-7 and older.
Dmitry Volyntsev [Mon, 24 May 2021 12:33:36 +0000 (12:33 +0000)]
Suppressed spurious compilation warning with gcc-7 and older.

src/njs_regexp.c:1335:19: error: ‘pos’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
    pos = njs_string_offset(s.start, s.start + s.size, pos) - s.start;

4 years agoSimplified String.prototype.repeat() to match the spec.
Dmitry Volyntsev [Mon, 24 May 2021 10:51:48 +0000 (10:51 +0000)]
Simplified String.prototype.repeat() to match the spec.

4 years agoFixed undefined behaviour in njs_number_to_integer().
Dmitry Volyntsev [Mon, 24 May 2021 10:51:47 +0000 (10:51 +0000)]
Fixed undefined behaviour in njs_number_to_integer().

C11: 6.3.1.4
... If the value of the integral part cannot be represented by the
integer type, the behavior is undefined.

Found by OSS-Fuzz.

4 years agoFixed parsing case/default in an unclosed function block in switch.
Alexander Borisov [Mon, 17 May 2021 17:35:35 +0000 (20:35 +0300)]
Fixed parsing case/default in an unclosed function block in switch.

5 years agoRemoved check variable type for CLI completions.
Alexander Borisov [Thu, 6 May 2021 13:07:09 +0000 (16:07 +0300)]
Removed check variable type for CLI completions.

Found by Coverity (CID 1478003).

5 years agoRemoved unnecessary NULL checks introduced in 0a2a0b5a74f4.
Alexander Borisov [Thu, 6 May 2021 13:07:08 +0000 (16:07 +0300)]
Removed unnecessary NULL checks introduced in 0a2a0b5a74f4.

Found by Coverity (CID 1478004).

5 years agoRemoved unnecessary NULL checks introduced in 0a2a0b5a74f4.
Alexander Borisov [Thu, 6 May 2021 13:07:06 +0000 (16:07 +0300)]
Removed unnecessary NULL checks introduced in 0a2a0b5a74f4.

Found by Coverity (CID 1478008).

5 years agoFixed typo introduced in 27a4a52621d5 and f58a06be33dc.
Alexander Borisov [Thu, 6 May 2021 13:07:05 +0000 (16:07 +0300)]
Fixed typo introduced in 27a4a52621d5 and f58a06be33dc.

5 years agoIntroduced const implementation.
Alexander Borisov [Fri, 30 Apr 2021 13:02:34 +0000 (16:02 +0300)]
Introduced const implementation.

5 years agoIntroduced let implementation.
Alexander Borisov [Fri, 30 Apr 2021 13:02:28 +0000 (16:02 +0300)]
Introduced let implementation.

This closes #105 issue on GitHub.

5 years agoIntroduced reserved words in strict mode.
Alexander Borisov [Fri, 30 Apr 2021 13:02:20 +0000 (16:02 +0300)]
Introduced reserved words in strict mode.

5 years agoScopes refactoring.
Alexander Borisov [Fri, 30 Apr 2021 13:02:08 +0000 (16:02 +0300)]
Scopes refactoring.

5 years agoIntroduced "undefined" as a token in lexer.
Dmitry Volyntsev [Fri, 16 Apr 2021 15:25:22 +0000 (15:25 +0000)]
Introduced "undefined" as a token in lexer.

5 years agoAdded function micro benchmarks.
Dmitry Volyntsev [Fri, 30 Apr 2021 10:10:57 +0000 (10:10 +0000)]
Added function micro benchmarks.

5 years agoFixed expect tests.
Dmitry Volyntsev [Fri, 16 Apr 2021 13:46:46 +0000 (13:46 +0000)]
Fixed expect tests.

5 years agoVersion bump.
Dmitry Volyntsev [Fri, 16 Apr 2021 13:35:20 +0000 (13:35 +0000)]
Version bump.

5 years agoAdded tag 0.5.3 for changeset 282b9412976c
Dmitry Volyntsev [Tue, 30 Mar 2021 13:58:27 +0000 (13:58 +0000)]
Added tag 0.5.3 for changeset 282b9412976c

5 years agoVersion 0.5.3. 0.5.3
Dmitry Volyntsev [Tue, 30 Mar 2021 13:57:17 +0000 (13:57 +0000)]
Version 0.5.3.

5 years agoModules: added js_var directive.
Dmitry Volyntsev [Sat, 27 Mar 2021 16:21:21 +0000 (16:21 +0000)]
Modules: added js_var directive.

5 years agoVersion bump.
Dmitry Volyntsev [Sat, 27 Mar 2021 16:45:52 +0000 (16:45 +0000)]
Version bump.

5 years agoAdded tag 0.5.2 for changeset e5de01378b1a
Dmitry Volyntsev [Tue, 9 Mar 2021 13:28:31 +0000 (13:28 +0000)]
Added tag 0.5.2 for changeset e5de01378b1a

5 years agoVersion 0.5.2. 0.5.2
Dmitry Volyntsev [Tue, 9 Mar 2021 13:24:51 +0000 (13:24 +0000)]
Version 0.5.2.

5 years agoTypes: updated TS definitions.
Dmitry Volyntsev [Tue, 9 Mar 2021 13:24:06 +0000 (13:24 +0000)]
Types: updated TS definitions.

5 years agoIntroduced njs.on('exit') callback support.
Dmitry Volyntsev [Sat, 6 Mar 2021 12:42:30 +0000 (12:42 +0000)]
Introduced njs.on('exit') callback support.

5 years agoAdded missing njs_vm_destroy() calls in CLI.
Dmitry Volyntsev [Wed, 3 Mar 2021 18:28:00 +0000 (18:28 +0000)]
Added missing njs_vm_destroy() calls in CLI.

5 years agoStream: introduced "stream" property.
Dmitry Volyntsev [Fri, 26 Feb 2021 17:45:56 +0000 (17:45 +0000)]
Stream: introduced "stream" property.

Is an alias to $status variable.

5 years agoStream: simplified session cleanup.
Dmitry Volyntsev [Mon, 1 Mar 2021 17:15:44 +0000 (17:15 +0000)]
Stream: simplified session cleanup.

5 years agoFixed for-in iteration of typed array values.
Artem S. Povalyukhin [Thu, 25 Feb 2021 07:06:18 +0000 (10:06 +0300)]
Fixed for-in iteration of typed array values.

5 years agoFixed compilation error with gcc-11.
Dmitry Volyntsev [Wed, 24 Feb 2021 16:57:05 +0000 (16:57 +0000)]
Fixed compilation error with gcc-11.

This closes #376 issue on Github.

5 years agoEliminating vm->main_index introduced in ea2ec4c3ed7d.
Dmitry Volyntsev [Wed, 24 Feb 2021 14:50:14 +0000 (14:50 +0000)]
Eliminating vm->main_index introduced in ea2ec4c3ed7d.

The vm->main_index was only needed for the disassembler in the
accumulative mode.  It was used to prevent from disassembling the code
from the previous iterations in the CLI.

The same result can be achieved without introducing the VM level field.

5 years agoDecoupling parser structure from the main VM structure.
Dmitry Volyntsev [Wed, 24 Feb 2021 14:48:20 +0000 (14:48 +0000)]
Decoupling parser structure from the main VM structure.

vm->parser is only needed during parsing phase, so it can be eliminated.
This improves dependencies tracking and readability.

As a side effect it fixes #372 issue on Github: previously, Function
constructor left VM context in inconsistent state if compilation failed.
The direct root cause was that a function object was created, but
because Function constructor ended prematurely the object was not fully
initialized. This is not a problem by itself because usually this
partially created object cannot be referenced. In the accumulative mode,
which is only enabled in CLI, vm->parser was used to store the references
to the variables from the previous iteration.

5 years agoFixed Object.freeze() and friends according to the specification.
Artem S. Povalyukhin [Fri, 19 Feb 2021 17:27:44 +0000 (17:27 +0000)]
Fixed Object.freeze() and friends according to the specification.

This fixes #340 and also closes #374 issues on Github.

5 years agoFixed property descriptor reuse for not extensible objects.
Artem S. Povalyukhin [Wed, 17 Feb 2021 13:05:28 +0000 (16:05 +0300)]
Fixed property descriptor reuse for not extensible objects.

This closes #375 issue on Github.

5 years agoHTTP: added js body filter.
Dmitry Volyntsev [Thu, 18 Feb 2021 19:51:10 +0000 (19:51 +0000)]
HTTP: added js body filter.

5 years agoVersion bump.
Dmitry Volyntsev [Tue, 16 Feb 2021 13:32:22 +0000 (13:32 +0000)]
Version bump.

5 years agoAdded tag 0.5.1 for changeset d355071f55ef
Dmitry Volyntsev [Tue, 16 Feb 2021 13:25:46 +0000 (13:25 +0000)]
Added tag 0.5.1 for changeset d355071f55ef

5 years agoVersion 0.5.1. 0.5.1
Dmitry Volyntsev [Tue, 16 Feb 2021 13:24:47 +0000 (13:24 +0000)]
Version 0.5.1.

5 years agoFixed Date.prototype.toISOString() with invalid date values.
Dmitry Volyntsev [Mon, 15 Feb 2021 15:25:00 +0000 (15:25 +0000)]
Fixed Date.prototype.toISOString() with invalid date values.

This fixes #373 issue on Github.

5 years agoTypes: added definitions for fetch method.
Dmitry Volyntsev [Thu, 11 Feb 2021 14:39:13 +0000 (14:39 +0000)]
Types: added definitions for fetch method.

5 years agoAllowing to pass arbitrary number of arguments in ngx_js_call().
Dmitry Volyntsev [Thu, 11 Feb 2021 14:30:59 +0000 (14:30 +0000)]
Allowing to pass arbitrary number of arguments in ngx_js_call().

5 years agoStream: fixed processing buffered data in body filter.
Dmitry Volyntsev [Wed, 10 Feb 2021 14:03:11 +0000 (14:03 +0000)]
Stream: fixed processing buffered data in body filter.

Previously, when data was proxied to upstream, it may be partially
written and is left in upstream connection buffer.  Later, when
writing becomes possible again, the body filter is called but it
fails to call the next filter in the chain. This resulted in hanging
connection.

The fix is to take the buffered data in upstream connection into account.

This fixes #368 issue on Github.

5 years agoFixed safe mode bypass in Function constructor.
Dmitry Volyntsev [Mon, 1 Feb 2021 01:16:51 +0000 (02:16 +0100)]
Fixed safe mode bypass in Function constructor.

This closes #367 pull request on Github.

Thanks bux.patryk@gmail.com for prodding it.

5 years agoHTTP: fixed module type introduced in c0c6539ae445.
Dmitry Volyntsev [Mon, 1 Feb 2021 16:13:10 +0000 (16:13 +0000)]
HTTP: fixed module type introduced in c0c6539ae445.

5 years agoHTTP: added js header filter.
Dmitry Volyntsev [Mon, 1 Feb 2021 12:24:17 +0000 (12:24 +0000)]
HTTP: added js header filter.

5 years agoFixed Headers object keys forgotten in 81040de6b085.
Dmitry Volyntsev [Tue, 26 Jan 2021 12:52:17 +0000 (12:52 +0000)]
Fixed Headers object keys forgotten in 81040de6b085.

Found by Coverity (CID 1472501).

5 years agoFixed allocation failure detection in njs_backtrace_to_string().
Dmitry Volyntsev [Tue, 26 Jan 2021 12:52:15 +0000 (12:52 +0000)]
Fixed allocation failure detection in njs_backtrace_to_string().

Found by Coverity (CID 1472503).

5 years agoFixed typo introduced in 81040de6b085.
Dmitry Volyntsev [Tue, 26 Jan 2021 12:52:12 +0000 (12:52 +0000)]
Fixed typo introduced in 81040de6b085.

Found by Coverity (CID 1472504, CID 1472505).

5 years agoModules: added ngx.fetch().
Dmitry Volyntsev [Thu, 21 Jan 2021 18:44:58 +0000 (18:44 +0000)]
Modules: added ngx.fetch().

This is an initial implementation of Fetch API.

The following init options are supported:
body, headers, buffer_size (nginx specific), max_response_body_size
(nginx specific), method.

The following properties and methods of Response object are implemented:
arrayBuffer(), bodyUsed, json(), headers, ok, redirect, status, statusText,
text(), type, url.

The following properties and methods of Header object are implemented:
get(), getAll(), has().

Notable limitations: only http:// scheme is supported, redirects
are not handled.

In collaboration with 洪志道 (Hong Zhi Dao).

5 years agoAdded njs_vm_object_keys().
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:10 +0000 (19:53 +0000)]
Added njs_vm_object_keys().

5 years agoAdded njs_value_null_set().
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:09 +0000 (19:53 +0000)]
Added njs_value_null_set().

5 years agoAllowing to reserve 0 bytes in njs_chb_reserve() for consistency.
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:09 +0000 (19:53 +0000)]
Allowing to reserve 0 bytes in njs_chb_reserve() for consistency.

5 years agoExposing chb API.
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:08 +0000 (19:53 +0000)]
Exposing chb API.

5 years agoAdded njs_vm_value_array_buffer_set().
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:08 +0000 (19:53 +0000)]
Added njs_vm_value_array_buffer_set().

5 years ago2021 year.
Dmitry Volyntsev [Mon, 11 Jan 2021 19:53:05 +0000 (19:53 +0000)]
2021 year.

5 years agoRefactored working with external prototypes.
Dmitry Volyntsev [Thu, 24 Dec 2020 18:35:18 +0000 (18:35 +0000)]
Refactored working with external prototypes.

Previously, njs_vm_external_prototype() returned the pointer to a
created prototype structure. Which were expected to be passed to
njs_vm_external_create() as is.  The returned pointer is needed to be
stored somewhere by user code which complicates user code in cases when
many prototypes are created.

Instead, an index in the VM internal table is returned.
njs_vm_external_create() is changed accordingly.  This simplifies
user code because the index is known at static time for most cases.

5 years agoStream: simplified vm events handling.
Dmitry Volyntsev [Wed, 23 Dec 2020 11:27:50 +0000 (11:27 +0000)]
Stream: simplified vm events handling.

No functional changes.

5 years agoFixed encoding matching for base64url in String.bytesFrom().
Disconnect3d [Tue, 22 Dec 2020 12:27:01 +0000 (13:27 +0100)]
Fixed encoding matching for base64url in String.bytesFrom().

This closes #363 PR on GitHub.

5 years agoAvoiding modification of vm->retval in njs_add_event().
Dmitry Volyntsev [Wed, 16 Dec 2020 20:27:43 +0000 (20:27 +0000)]
Avoiding modification of vm->retval in njs_add_event().

5 years agoAvoiding modification of vm->retval in njs_promise_alloc().
Dmitry Volyntsev [Wed, 16 Dec 2020 20:27:31 +0000 (20:27 +0000)]
Avoiding modification of vm->retval in njs_promise_alloc().

Alloc functions are not expected to modify existing values.

5 years agoVersion bump.
Dmitry Volyntsev [Wed, 16 Dec 2020 20:27:27 +0000 (20:27 +0000)]
Version bump.

5 years agoAdded tag 0.5.0 for changeset 69f07c615162
Dmitry Volyntsev [Tue, 1 Dec 2020 12:59:48 +0000 (12:59 +0000)]
Added tag 0.5.0 for changeset 69f07c615162

5 years agoVersion 0.5.0. 0.5.0
Dmitry Volyntsev [Tue, 1 Dec 2020 12:32:31 +0000 (12:32 +0000)]
Version 0.5.0.

5 years agoTypes: added definitions for timer methods.
Jakub Jirutka [Tue, 24 Nov 2020 23:12:04 +0000 (00:12 +0100)]
Types: added definitions for timer methods.

5 years agoTypes: added description for Buffer properties.
Dmitry Volyntsev [Fri, 27 Nov 2020 13:17:53 +0000 (13:17 +0000)]
Types: added description for Buffer properties.

5 years agoHTTP: renaming reqBody,resBody to requestBuffer and responseBuffer.
Dmitry Volyntsev [Fri, 27 Nov 2020 12:28:44 +0000 (12:28 +0000)]
HTTP: renaming reqBody,resBody to requestBuffer and responseBuffer.

In 434f20c29f4c, r.reqBody and r.resBody were introduced.  Since quite
often request body and response body are valid strings, it is preferable
to leave both variants to avoid potential conversions.

To make distinction clearer, requestText and responseText aliases to
requestBody and responseBody were also added.

5 years agoModules: fixed promise events handling.
Alexander Borisov [Thu, 26 Nov 2020 18:43:17 +0000 (21:43 +0300)]
Modules: fixed promise events handling.

Previously, promise chain might not be invoked at all in some cases.
Specifically, this happened in HTTP module if promise chain did not start
with a r.subrequest() invocation.

The fix is to always process all pending promise events after the main module
function.

This closes #359 issue on GitHub.

5 years agoModules: renaming vars to rawVariables to better reflect purpose.
Dmitry Volyntsev [Thu, 26 Nov 2020 11:36:03 +0000 (11:36 +0000)]
Modules: renaming vars to rawVariables to better reflect purpose.

In 434f20c29f4c, obj.vars was introduced.  obj.vars is almost identical
to obj.variables except a value of the Buffer type is returned.

Since most nginx variables are valid strings, it is preferable to
leave both variants.

To avoid confusion rawVariables name is used for Buffer variables.

5 years agoTypes: added description for "ngx" object.
Dmitry Volyntsev [Thu, 26 Nov 2020 11:11:01 +0000 (11:11 +0000)]
Types: added description for "ngx" object.

5 years agoTypes: extending data types for methods with NjsStringLike args.
Dmitry Volyntsev [Thu, 26 Nov 2020 11:10:59 +0000 (11:10 +0000)]
Types: extending data types for methods with NjsStringLike args.

5 years agoModules: introduced Buffer alternatives for object properties.
Dmitry Volyntsev [Wed, 25 Nov 2020 10:47:47 +0000 (10:47 +0000)]
Modules: introduced Buffer alternatives for object properties.

Buffer variant returns the property bytes as is, whereas the string
version may convert bytes invalid in UTF-8 encoding into replacement
character.

HTTP
new request object properties:
r.reqBody (r.requestBody),
r.resBody (r.responseBody),
r.vars (r.variables).

Stream
new stream object properties:
s.vars (s.variables).

new events:
The events' callbacks are identical to the string counterparts, except the data
argument:
upstream (upload),
downstream (download).

5 years agoStream: improved vm events handling.
Dmitry Volyntsev [Wed, 25 Nov 2020 10:47:25 +0000 (10:47 +0000)]
Stream: improved vm events handling.

5 years agoIgnoring pcre_study() error.
Valentin Bartenev [Fri, 20 Nov 2020 09:29:30 +0000 (12:29 +0300)]
Ignoring pcre_study() error.

It provides optional optimization that shouldn't be fatal for regex compilation.

5 years agoHTTP: fixed promise subrequest() with error_page redirect.
Dmitry Volyntsev [Wed, 18 Nov 2020 18:09:11 +0000 (18:09 +0000)]
HTTP: fixed promise subrequest() with error_page redirect.

Previously, promise callbacks for a subrequest were stored in a
subrequest context.  This is incorrect because a subrequest content may
be destroyed (for example when error_page with redirect is enabled for a
subrequest location).

The fix is to store callbacks in the parent context.

The issue was introduced in 6fccbc9f1288 (0.3.8).

5 years agoModules: added support for Buffer object where string is expected.
Dmitry Volyntsev [Tue, 17 Nov 2020 13:22:34 +0000 (13:22 +0000)]
Modules: added support for Buffer object where string is expected.

5 years agoStream: linking ngx object to the module missed in d7f6e719af98.
Dmitry Volyntsev [Tue, 17 Nov 2020 13:16:47 +0000 (13:16 +0000)]
Stream: linking ngx object to the module missed in d7f6e719af98.

5 years agoModules: introduced global "ngx" object.
Dmitry Volyntsev [Fri, 2 Oct 2020 18:38:12 +0000 (18:38 +0000)]
Modules: introduced global "ngx" object.

5 years agoConfigure: improved dependencies tracking.
Dmitry Volyntsev [Fri, 13 Nov 2020 15:08:05 +0000 (15:08 +0000)]
Configure: improved dependencies tracking.

Using nginx Makefile as a dependency for libnjs.a to ensure
libnjs.a is rebuilt after auto/configure invocation.

5 years agoIntroduced a library of common functionality for the modules.
Dmitry Volyntsev [Tue, 10 Nov 2020 17:46:01 +0000 (17:46 +0000)]
Introduced a library of common functionality for the modules.

5 years agoRemoved unused key field from njs_hmac_t.
Dmitry Volyntsev [Mon, 9 Nov 2020 11:54:55 +0000 (11:54 +0000)]
Removed unused key field from njs_hmac_t.

5 years agoIntroduced initial iterator support.
Artem S. Povalyukhin [Sun, 25 Oct 2020 15:29:15 +0000 (18:29 +0300)]
Introduced initial iterator support.

5 years agoFixed querystring.parse().
Dmitry Volyntsev [Fri, 6 Nov 2020 11:41:32 +0000 (11:41 +0000)]
Fixed querystring.parse().

The issue happened when the first eq symbol is located after the
separator, whereas it should be looked for only in the string segment
before the separator.

This fixes #349 issue on Github.

5 years agoPromise: tracking unhandled promise rejection.
Alexander Borisov [Tue, 3 Nov 2020 12:31:41 +0000 (15:31 +0300)]
Promise: tracking unhandled promise rejection.

By default, promises should finish processing normally for .then(),
.catch(), .finally() and so on.  The patch adds the ability to report
unhandled exception from promises to the user.

This closes #346 issue on GitHub.

5 years agoPromise: fixed the catch handler for Promise.prototype.finally().
Alexander Borisov [Tue, 3 Nov 2020 17:14:33 +0000 (20:14 +0300)]
Promise: fixed the catch handler for Promise.prototype.finally().

By spec, the catch handler for the .finally() should always return an
exception.

The issue was introduced in 61bf7a31e685.

5 years agoFixed querystring.stringify().
Artem S. Povalyukhin [Sat, 31 Oct 2020 20:00:03 +0000 (23:00 +0300)]
Fixed querystring.stringify().

5 years agoTypes: fixed signature of subrequest() with detached: true.
Jakub Jirutka [Sat, 31 Oct 2020 21:38:22 +0000 (22:38 +0100)]
Types: fixed signature of subrequest() with detached: true.

Order of method overloading declaration matters.

5 years agoTypes: refactored ts_test.
Jakub Jirutka [Thu, 29 Oct 2020 12:51:21 +0000 (12:51 +0000)]
Types: refactored ts_test.

5 years agoTypes: refactored working with TypeScript API description.
Jakub Jirutka [Thu, 29 Oct 2020 12:50:05 +0000 (12:50 +0000)]
Types: refactored working with TypeScript API description.

5 years agoTypes: fixed index types in modules.
Jakub Jirutka [Mon, 19 Oct 2020 21:18:22 +0000 (23:18 +0200)]
Types: fixed index types in modules.

Fixes the following type errors:
    Property ''xxx'' of type 'NjsByteString | undefined' is not
    assignable to string index type 'NjsStringLike'.ts(2411)

While string index signatures are a powerful way to describe the
"dictionary" pattern, they also enforce that all properties match
their return type.

5 years agoTypes: added missing var "console" into njs_shell.
Jakub Jirutka [Sat, 24 Oct 2020 21:59:18 +0000 (23:59 +0200)]
Types: added missing var "console" into njs_shell.

5 years agoTypes: added tsconfig.json and package.json for type descriptions.
Jakub Jirutka [Tue, 20 Oct 2020 19:16:20 +0000 (21:16 +0200)]
Types: added tsconfig.json and package.json for type descriptions.

5 years agoTypes: moved all TS type descriptions to ts/ in the repo root.
Jakub Jirutka [Mon, 19 Oct 2020 21:51:54 +0000 (23:51 +0200)]
Types: moved all TS type descriptions to ts/ in the repo root.

5 years agoIntroduced .hgignore.
Jakub Jirutka [Thu, 22 Oct 2020 20:45:00 +0000 (22:45 +0200)]
Introduced .hgignore.

5 years agoConfigure: refactored NJS_VER.
Jakub Jirutka [Wed, 21 Oct 2020 23:51:31 +0000 (01:51 +0200)]
Configure: refactored NJS_VER.

5 years agoConfigure: generating $NJS_LIB_OBJS using sed.
Dmitry Volyntsev [Thu, 29 Oct 2020 12:46:19 +0000 (12:46 +0000)]
Configure: generating $NJS_LIB_OBJS using sed.

5 years agoTypes: mark String.bytesFrom() in as deprecated.
Jakub Jirutka [Mon, 19 Oct 2020 19:42:01 +0000 (21:42 +0200)]
Types: mark String.bytesFrom() in as deprecated.

5 years agoAdded TypeScript description for crypto module.
Jakub Jirutka [Fri, 9 Oct 2020 15:28:58 +0000 (17:28 +0200)]
Added TypeScript description for crypto module.

5 years agoAdded TypeScript description for querystring module.
Jakub Jirutka [Fri, 9 Oct 2020 15:05:47 +0000 (17:05 +0200)]
Added TypeScript description for querystring module.

5 years agoAdded TypeScript description for fs module.
Jakub Jirutka [Fri, 9 Oct 2020 00:33:31 +0000 (02:33 +0200)]
Added TypeScript description for fs module.