Skip to content

Commit

Permalink
Merge pull request #360 from auth0-extensions/add-node18
Browse files Browse the repository at this point in the history
feat: add node18 option
  • Loading branch information
TwelveNights authored Jul 10, 2023
2 parents 1ada20d + 7f5a0b8 commit 147eb61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion canirequire.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion canirequire.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ <h1 class="header center grey-text lighten-5-text">Can I require: <span class="w
<div class="row">
<div class="col s2 input-field">
<select id="version-dropdown">
<option value="18">Node 18</option>
<option value="16">Node 16</option>
<option value="12">Node 12</option>
</select>
Expand Down
3 changes: 2 additions & 1 deletion src/ModulesList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import Module from './Module.jsx';

import fetch_modules from './fetch_modules';

const defaultNodeVersion = 16;
const defaultNodeVersion = 18;
const versions = {
'12': '12',
'16': '16',
'18': '18'
};

function getNodeVersion() {
Expand Down

0 comments on commit 147eb61

Please sign in to comment.