<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[16.0 (2026-02-19)——模具行业从业者必备知识手册]]></title><description><![CDATA[<p dir="auto">&lt;h3&gt;8.16.0 (2026-02-19)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;New features&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;The &lt;code&gt;sourceType&lt;/code&gt; option can now be set to &lt;code&gt;"commonjs"&lt;/code&gt; to have the parser treat the top level scope as a function scope.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Add support for Unicode 17.&lt;/p&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Don't recognize &lt;code&gt;await using&lt;/code&gt; as contextual keywords when followed directly by a backslash.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix an issue where the parser would allow &lt;code&gt;return&lt;/code&gt; statements in &lt;code&gt;static&lt;/code&gt; blocks when &lt;code&gt;allowReturnOutsideFunction&lt;/code&gt; was enabled.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly reject &lt;code&gt;using&lt;/code&gt; declarations that appear directly in &lt;code&gt;switch&lt;/code&gt; or &lt;code&gt;for&lt;/code&gt; head scopes.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix some corner case issues in the recognition of &lt;code&gt;using&lt;/code&gt; syntax.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.15.0 (2025-06-08)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;New features&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Support &lt;code&gt;using&lt;/code&gt; and &lt;code&gt;await using&lt;/code&gt; syntax.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;The &lt;code&gt;AnyNode&lt;/code&gt; type is now defined in such a way that plugins can extend it.&lt;/p&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix an issue where the &lt;code&gt;bigint&lt;/code&gt; property of literal nodes for non-decimal bigints had the wrong format.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;The &lt;code&gt;acorn&lt;/code&gt; CLI tool no longer crashes when emitting a tree that contains a bigint.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.14.1 (2025-03-05)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix an issue where &lt;code&gt;await&lt;/code&gt; expressions in class field initializers were inappropriately allowed.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly allow await inside an async arrow function inside a class field initializer.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Mention the source file name in syntax error messages when given.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly add an empty &lt;code&gt;attributes&lt;/code&gt; property to every form of &lt;code&gt;ExportNamedDeclaration&lt;/code&gt;.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.14.0 (2024-10-27)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;New features&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Support ES2025 import attributes.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Support ES2025 RegExp modifiers.&lt;/p&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Support some missing Unicode properties.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.13.0 (2024-10-16)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;New features&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Upgrade to Unicode 16.0.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.12.1 (2024-07-03)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix a regression that caused Acorn to no longer run on Node versions &lt;8.10.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.12.0 (2024-06-14)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;New features&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Support ES2025 duplicate capture group names in regular expressions.&lt;/p&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Include &lt;code&gt;VariableDeclarator&lt;/code&gt; in the &lt;code&gt;AnyNode&lt;/code&gt; type so that walker objects can refer to it without getting a type error.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly raise a parse error for invalid &lt;code&gt;for&lt;/code&gt;/&lt;code&gt;of&lt;/code&gt; statements using &lt;code&gt;async&lt;/code&gt; as binding name.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly recognize "use strict" when preceded by a string with an escaped newline.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Mark the &lt;code&gt;Parser&lt;/code&gt; constructor as protected, not private, so plugins can extend it without type errors.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix a bug where some invalid &lt;code&gt;delete&lt;/code&gt; expressions were let through when the operand was parenthesized and &lt;code&gt;preserveParens&lt;/code&gt; was enabled.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly normalize line endings in raw strings of invalid template tokens.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Properly track line numbers for escaped newlines in strings.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix a bug that broke line number accounting after a template literal with invalid escape sequences.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.11.3 (2023-12-29)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Add &lt;code&gt;Function&lt;/code&gt; and &lt;code&gt;Class&lt;/code&gt; to the &lt;code&gt;AggregateType&lt;/code&gt; type, so that they can be used in walkers without raising a type error.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Make sure &lt;code&gt;onToken&lt;/code&gt; get an &lt;code&gt;import&lt;/code&gt; keyword token when parsing &lt;code&gt;import.meta&lt;/code&gt;.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix a bug where &lt;code&gt;.loc.start&lt;/code&gt; could be undefined for &lt;code&gt;new.target&lt;/code&gt; &lt;code&gt;meta&lt;/code&gt; nodes.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.11.2 (2023-10-27)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix a bug that caused regular expressions after colon tokens to not be properly tokenized in some circumstances.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.11.1 (2023-10-26)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix a regression where &lt;code&gt;onToken&lt;/code&gt; would receive 'name' tokens for 'new' keyword tokens.&lt;/p&gt;</p>
<p dir="auto">&lt;h3&gt;8.11.0 (2023-10-26)&lt;/h3&gt;</p>
<p dir="auto">&lt;h4&gt;Bug fixes&lt;/h4&gt;</p>
<p dir="auto">&lt;p&gt;Fix an issue where tokenizing (without parsing) an object literal with a property named &lt;code&gt;class&lt;/code&gt; or &lt;code&gt;function&lt;/code&gt; could, in some circumstance, put the tokenizer into an invalid state.&lt;/p&gt;</p>
<p dir="auto">&lt;p&gt;Fix an issue where a slash after a call to a propery named the same as some keywor&lt;/p&gt;</p>
<p dir="auto">&lt;hr&gt;<br />
&lt;p&gt;有没有同行遇到过同样的问题？分享一下经验。&lt;/p&gt;</p>
]]></description><link>https://forum.mj7.cn/topic/7172/16-0-2026-02-19-模具行业从业者必备知识手册</link><generator>RSS for Node</generator><lastBuildDate>Fri, 02 Oct 2026 11:46:02 GMT</lastBuildDate><atom:link href="https://forum.mj7.cn/topic/7172.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 19 Apr 2026 21:46:02 GMT</pubDate><ttl>60</ttl></channel></rss>