Skip to content

Commit a3201c5

Browse files
xeioexy82
authored andcommitted
Updated QuickJS engine status page.
1 parent 9e399aa commit a3201c5

File tree

2 files changed

+190
-32
lines changed

2 files changed

+190
-32
lines changed

xml/en/docs/njs/engine.xml

Lines changed: 95 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<article name="JavaScript Engine"
1010
link="/en/docs/njs/engine.html"
1111
lang="en"
12-
rev="1"
12+
rev="2"
1313
toc="no">
1414

1515
<section>
@@ -57,27 +57,19 @@ to ensure compatibility with the njs engine, with the following exceptions:
5757

5858
<list type="bullet">
5959

60-
<listitem>
61-
nginx modules API:
62-
<link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link>,
63-
<link doc="reference.xml" id="dict"><literal>ngx.shared.dict</literal></link>.
64-
</listitem>
65-
66-
<listitem>
67-
Built-in modules:
68-
<link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>,
69-
<link doc="reference.xml" id="crypto"><literal>crypto</literal></link>,
70-
<link doc="reference.xml" id="builtin_crypto"><literal>WebCrypto</literal></link>,
71-
<link doc="reference.xml" id="xml"><literal>xml</literal></link>.
72-
</listitem>
73-
7460
<listitem>
7561
njs-specific API:
7662
<link doc="reference.xml" id="njs_dump"><literal>njs.dump()</literal></link>,
77-
<link doc="reference.xml" id="njs_on"><literal>njs.on</literal></link>,
63+
<link doc="reference.xml" id="njs_on"><literal>njs.on()</literal></link>,
7864
<literal>console.dump()</literal>.
7965
</listitem>
8066

67+
<listitem>
68+
deprecated API:
69+
<literal>require()</literal>,
70+
use the <literal>import</literal> statement instead.
71+
</listitem>
72+
8173
<listitem>
8274
<literal>js_preload_object</literal> directive for
8375
<link doc="../http/ngx_http_js_module.xml" id="js_preload_object">http</link>
@@ -89,6 +81,93 @@ and
8981

9082
</para>
9183

84+
<para>
85+
njs built-in modules status:
86+
87+
<list type="bullet">
88+
89+
<listitem>
90+
<link doc="reference.xml" id="buffer"><literal>buffer</literal></link>:
91+
since <link doc="changes.xml" id="njs0.8.6">0.8.6</link>.
92+
</listitem>
93+
94+
<listitem>
95+
<link doc="reference.xml" id="crypto"><literal>crypto</literal></link>:
96+
TBD.
97+
</listitem>
98+
99+
<listitem>
100+
<link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>:
101+
since <link doc="changes.xml" id="njs0.8.9">0.8.9</link>.
102+
</listitem>
103+
104+
<listitem>
105+
<link doc="reference.xml" id="querystring"><literal>querystring</literal></link>:
106+
TBD.
107+
</listitem>
108+
109+
<listitem>
110+
<link doc="reference.xml" id="builtin_crypto"><literal>WebCrypto</literal></link>:
111+
TBD.
112+
</listitem>
113+
114+
<listitem>
115+
<link doc="reference.xml" id="xml"><literal>xml</literal></link>:
116+
TBD.
117+
</listitem>
118+
119+
<listitem>
120+
<link doc="reference.xml" id="zlib"><literal>zlib</literal></link>:
121+
since <link doc="changes.xml" id="njs0.8.5">0.8.5</link>.
122+
</listitem>
123+
124+
</list>
125+
126+
</para>
127+
128+
<para>
129+
njs built-in objects status:
130+
131+
<list type="bullet">
132+
133+
<listitem>
134+
<link doc="reference.xml" id="process"><literal>process</literal></link>:
135+
since <link doc="changes.xml" id="njs0.8.8">0.8.8</link>.
136+
</listitem>
137+
138+
<listitem>
139+
<link doc="reference.xml" id="textdecoder"><literal>TextDecoder</literal></link>:
140+
TBD.
141+
</listitem>
142+
143+
<listitem>
144+
<link doc="reference.xml" id="textencoder"><literal>TextEncoder</literal></link>:
145+
TBD.
146+
</listitem>
147+
148+
</list>
149+
150+
</para>
151+
152+
<para>
153+
nginx built-in objects status:
154+
155+
<list type="bullet">
156+
157+
<listitem>
158+
<link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch</literal></link>:
159+
TBD.
160+
</listitem>
161+
162+
<listitem>
163+
<link doc="reference.xml" id="ngx_shared"><literal>shared dictionary</literal></link>:
164+
since <link doc="changes.xml" id="njs0.8.8">0.8.8</link>.
165+
</listitem>
166+
167+
</list>
168+
169+
</para>
170+
92171
</section>
93172

94173
</article>

xml/ru/docs/njs/engine.xml

Lines changed: 95 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<article name="Движок JavaScript"
1010
link="/ru/docs/njs/engine.html"
1111
lang="ru"
12-
rev="1"
12+
rev="2"
1313
toc="no">
1414

1515
<section>
@@ -57,27 +57,19 @@ njs &mdash; встроенный движок JavaScript,
5757

5858
<list type="bullet">
5959

60-
<listitem>
61-
API nginx-модулей:
62-
<link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch()</literal></link>,
63-
<link doc="reference.xml" id="dict"><literal>ngx.shared.dict</literal></link>.
64-
</listitem>
65-
66-
<listitem>
67-
встроенные модули:
68-
<link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>,
69-
<link doc="reference.xml" id="crypto"><literal>crypto</literal></link>,
70-
<link doc="reference.xml" id="builtin_crypto"><literal>WebCrypto</literal></link>,
71-
<link doc="reference.xml" id="xml"><literal>xml</literal></link>.
72-
</listitem>
73-
7460
<listitem>
7561
API njs:
7662
<link doc="reference.xml" id="njs_dump"><literal>njs.dump()</literal></link>,
77-
<link doc="reference.xml" id="njs_on"><literal>njs.on</literal></link>,
63+
<link doc="reference.xml" id="njs_on"><literal>njs.on()</literal></link>,
7864
<literal>console.dump()</literal>.
7965
</listitem>
8066

67+
<listitem>
68+
устаревшее API:
69+
<literal>require()</literal>,
70+
вместо необходимо использовать утверждение <literal>import</literal>.
71+
</listitem>
72+
8173
<listitem>
8274
директива <literal>js_preload_object</literal> для
8375
<link doc="../http/ngx_http_js_module.xml" id="js_preload_object">http</link>
@@ -89,6 +81,93 @@ API njs:
8981

9082
</para>
9183

84+
<para>
85+
статус встроенных модулей njs:
86+
87+
<list type="bullet">
88+
89+
<listitem>
90+
<link doc="reference.xml" id="buffer"><literal>buffer</literal></link>:
91+
начиная с <link doc="changes.xml" id="njs0.8.6">0.8.6</link>.
92+
</listitem>
93+
94+
<listitem>
95+
<link doc="reference.xml" id="crypto"><literal>crypto</literal></link>:
96+
TBD.
97+
</listitem>
98+
99+
<listitem>
100+
<link doc="reference.xml" id="njs_api_fs"><literal>fs</literal></link>:
101+
начиная с <link doc="changes.xml" id="njs0.8.9">0.8.9</link>.
102+
</listitem>
103+
104+
<listitem>
105+
<link doc="reference.xml" id="querystring"><literal>querystring</literal></link>:
106+
TBD.
107+
</listitem>
108+
109+
<listitem>
110+
<link doc="reference.xml" id="builtin_crypto"><literal>WebCrypto</literal></link>:
111+
TBD.
112+
</listitem>
113+
114+
<listitem>
115+
<link doc="reference.xml" id="xml"><literal>xml</literal></link>:
116+
TBD.
117+
</listitem>
118+
119+
<listitem>
120+
<link doc="reference.xml" id="zlib"><literal>zlib</literal></link>:
121+
начиная с <link doc="changes.xml" id="njs0.8.5">0.8.5</link>.
122+
</listitem>
123+
124+
</list>
125+
126+
</para>
127+
128+
<para>
129+
статус встроенных объектов njs:
130+
131+
<list type="bullet">
132+
133+
<listitem>
134+
<link doc="reference.xml" id="process"><literal>process</literal></link>:
135+
начиная с <link doc="changes.xml" id="njs0.8.8">0.8.8</link>.
136+
</listitem>
137+
138+
<listitem>
139+
<link doc="reference.xml" id="textdecoder"><literal>TextDecoder</literal></link>:
140+
TBD.
141+
</listitem>
142+
143+
<listitem>
144+
<link doc="reference.xml" id="textencoder"><literal>TextEncoder</literal></link>:
145+
TBD.
146+
</listitem>
147+
148+
</list>
149+
150+
</para>
151+
152+
<para>
153+
статус встроенных объектов nginx:
154+
155+
<list type="bullet">
156+
157+
<listitem>
158+
<link doc="reference.xml" id="ngx_fetch"><literal>ngx.fetch</literal></link>:
159+
TBD.
160+
</listitem>
161+
162+
<listitem>
163+
<link doc="reference.xml" id="ngx_shared"><literal>shared dictionary</literal></link>:
164+
начиная с <link doc="changes.xml" id="njs0.8.8">0.8.8</link>.
165+
</listitem>
166+
167+
</list>
168+
169+
</para>
170+
92171
</section>
93172

94173
</article>

0 commit comments

Comments
 (0)