File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,12 @@ See the shipped `package.json` for version constraints.
130130 * [ ` libxmljs2 ` ] ( https://www.npmjs.com/package/libxmljs2 )
131131 * the system might need to meet the requirements for [ ` node-gyp ` ] ( https://github.com/TooTallNate/node-gyp#installation ) , in certain cases.
132132
133+ ## Requirements
134+
135+ * ` node >=20.18 `
136+
137+ However, there are older versions of this library which support ` node>=14.0.0 `
138+
133139## Usage
134140
135141See extended [ examples] .
Original file line number Diff line number Diff line change 1414 /* Language and Environment */
1515 /* check compat: https://node.green/ */
1616 /* see: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
17- "target" : " ES2020 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
17+ "target" : " ES2023 " , /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
1818 // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1919 // "jsx": "preserve", /* Specify what JSX code is generated. */
2020 // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
2828
2929 /* Modules */
3030 /* check compat: https://node.green/ */
31- "module" : " CommonJS" , /* Specify what module code is generated. */
31+ /* see: https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
32+ "module" : " node16" , /* Specify what module code is generated. */
3233 "rootDir" : " src" , /* Specify the root folder within your source files. */
3334 "moduleResolution" : " Node" , /* Specify how TypeScript looks up a file from a given module specifier. */
3435 // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
You can’t perform that action at this time.
0 commit comments