Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Feb 1, 2024
1 parent 4d4037f commit e032ba0
Show file tree
Hide file tree
Showing 13 changed files with 312 additions and 354 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

[production]
node >= 20.9.0
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Default

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Packages

Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review `./settings.mjs`.
*
* Last generated using `./settings.mjs` Jan 28, 2024 1:59 AM UTC.
* Last generated using `./settings.mjs` Feb 1, 2024 5:07 AM UTC.
*/
{
"editor.formatOnType": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Jan 28, 2024 1:59 AM UTC.
# Last generated Feb 1, 2024 5:07 AM UTC.

# Locals

Expand Down
16 changes: 7 additions & 9 deletions dev/.files/madrun/includes/node.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,20 @@
* @note Instead of editing here, please review <https://github.com/clevercanyon/skeleton>.
*/

const originalEmitter = process.emit; // Original emitter.

/**
* Filters Node warnings.
*/
process.emit = (event, error) => {
if ('warning' === event && error instanceof Error && 'ExperimentalWarning' === error.name && error.message) {
if (error.message.includes('Web Crypto API algorithm is an experimental feature')) {
process.on('warning', (warning) => {
if ('ExperimentalWarning' === warning.name && warning.message) {
if (warning.message.includes('Web Crypto API algorithm is an experimental feature')) {
return false; // Web Crypto is a thing. Ok to suppress.
}
if (
error.message.includes('Import assertions are not a stable feature') || //
error.message.includes('Importing JSON modules is an experimental feature')
warning.message.includes('Import assertions are not a stable feature') || //
warning.message.includes('Importing JSON modules is an experimental feature')
) {
return false; // JSON imports are a thing. Ok to suppress.
}
}
return originalEmitter.apply(process, [event, error]);
};
console.warn(warning);
});
Loading

0 comments on commit e032ba0

Please sign in to comment.