Update npm packages
Add --dump-dimensions option to rsx:debug for layout debugging Mark framework publish 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
7
node_modules/http-errors/index.js
generated
vendored
Executable file → Normal file
7
node_modules/http-errors/index.js
generated
vendored
Executable file → Normal file
@@ -279,11 +279,12 @@ function populateConstructorExports (exports, codes, HttpError) {
|
||||
|
||||
/**
|
||||
* Get a class name from a name identifier.
|
||||
*
|
||||
* @param {string} name
|
||||
* @returns {string}
|
||||
* @private
|
||||
*/
|
||||
|
||||
function toClassName (name) {
|
||||
return name.substr(-5) !== 'Error'
|
||||
? name + 'Error'
|
||||
: name
|
||||
return name.slice(-5) === 'Error' ? name : name + 'Error'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user