@agenticmail/enterprise 0.5.197 → 0.5.199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dashboard/pages/domain-status.js +47 -0
- package/package.json +1 -1
- package/src/dashboard/pages/domain-status.js +47 -0
- package/dashboards/README.md +0 -131
- package/dashboards/django/app.py +0 -129
- package/dashboards/django/static/styles.css +0 -487
- package/dashboards/django/templates/activity.html +0 -130
- package/dashboards/django/templates/agent_detail.html +0 -501
- package/dashboards/django/templates/agents.html +0 -217
- package/dashboards/django/templates/api_keys.html +0 -41
- package/dashboards/django/templates/approvals.html +0 -115
- package/dashboards/django/templates/audit.html +0 -26
- package/dashboards/django/templates/community-skills.html +0 -89
- package/dashboards/django/templates/compliance.html +0 -33
- package/dashboards/django/templates/components/modal.html +0 -6
- package/dashboards/django/templates/components/pagination.html +0 -9
- package/dashboards/django/templates/components/stats.html +0 -8
- package/dashboards/django/templates/dashboard.html +0 -24
- package/dashboards/django/templates/dlp.html +0 -70
- package/dashboards/django/templates/domain-status.html +0 -59
- package/dashboards/django/templates/guardrails.html +0 -78
- package/dashboards/django/templates/journal.html +0 -39
- package/dashboards/django/templates/knowledge-contributions.html +0 -58
- package/dashboards/django/templates/knowledge.html +0 -104
- package/dashboards/django/templates/layout.html +0 -177
- package/dashboards/django/templates/login.html +0 -30
- package/dashboards/django/templates/messages.html +0 -38
- package/dashboards/django/templates/settings.html +0 -472
- package/dashboards/django/templates/skill-connections.html +0 -73
- package/dashboards/django/templates/skills.html +0 -66
- package/dashboards/django/templates/users.html +0 -34
- package/dashboards/django/templates/vault.html +0 -46
- package/dashboards/django/templates/workforce.html +0 -116
- package/dashboards/django/utils/__init__.py +0 -0
- package/dashboards/django/utils/api.py +0 -20
- package/dashboards/django/utils/helpers.py +0 -39
- package/dashboards/django/views/__init__.py +0 -52
- package/dashboards/django/views/agents.py +0 -343
- package/dashboards/django/views/api_keys.py +0 -47
- package/dashboards/django/views/audit.py +0 -35
- package/dashboards/django/views/auth.py +0 -34
- package/dashboards/django/views/compliance.py +0 -37
- package/dashboards/django/views/dashboard.py +0 -27
- package/dashboards/django/views/dlp.py +0 -53
- package/dashboards/django/views/guardrails.py +0 -61
- package/dashboards/django/views/journal.py +0 -41
- package/dashboards/django/views/messages.py +0 -65
- package/dashboards/django/views/new_pages.py +0 -38
- package/dashboards/django/views/settings_view.py +0 -335
- package/dashboards/django/views/skills.py +0 -50
- package/dashboards/django/views/users.py +0 -42
- package/dashboards/django/views/vault.py +0 -50
- package/dashboards/dotnet/AgenticMailDashboard.csproj +0 -10
- package/dashboards/dotnet/Program.cs +0 -89
- package/dashboards/dotnet/Routes/ActivityRoutes.cs +0 -35
- package/dashboards/dotnet/Routes/AgentRoutes.cs +0 -771
- package/dashboards/dotnet/Routes/ApiKeyRoutes.cs +0 -185
- package/dashboards/dotnet/Routes/ApprovalRoutes.cs +0 -36
- package/dashboards/dotnet/Routes/AuditRoutes.cs +0 -86
- package/dashboards/dotnet/Routes/AuthRoutes.cs +0 -50
- package/dashboards/dotnet/Routes/CommunitySkillRoutes.cs +0 -36
- package/dashboards/dotnet/Routes/ComplianceRoutes.cs +0 -143
- package/dashboards/dotnet/Routes/DashboardRoutes.cs +0 -81
- package/dashboards/dotnet/Routes/DlpRoutes.cs +0 -230
- package/dashboards/dotnet/Routes/DomainStatusRoutes.cs +0 -49
- package/dashboards/dotnet/Routes/GuardrailRoutes.cs +0 -285
- package/dashboards/dotnet/Routes/JournalRoutes.cs +0 -118
- package/dashboards/dotnet/Routes/KnowledgeContributionRoutes.cs +0 -42
- package/dashboards/dotnet/Routes/KnowledgeRoutes.cs +0 -40
- package/dashboards/dotnet/Routes/MessageRoutes.cs +0 -167
- package/dashboards/dotnet/Routes/SettingRoutes.cs +0 -907
- package/dashboards/dotnet/Routes/SkillConnectionRoutes.cs +0 -52
- package/dashboards/dotnet/Routes/SkillRoutes.cs +0 -198
- package/dashboards/dotnet/Routes/UserRoutes.cs +0 -111
- package/dashboards/dotnet/Routes/VaultRoutes.cs +0 -162
- package/dashboards/dotnet/Routes/WorkforceRoutes.cs +0 -55
- package/dashboards/dotnet/Services/ApiClient.cs +0 -103
- package/dashboards/dotnet/Services/HtmlBuilder.cs +0 -258
- package/dashboards/dotnet/wwwroot/styles.css +0 -546
- package/dashboards/express/app.js +0 -65
- package/dashboards/express/middleware/auth.js +0 -10
- package/dashboards/express/node_modules/.package-lock.json +0 -913
- package/dashboards/express/node_modules/accepts/HISTORY.md +0 -250
- package/dashboards/express/node_modules/accepts/LICENSE +0 -23
- package/dashboards/express/node_modules/accepts/README.md +0 -140
- package/dashboards/express/node_modules/accepts/index.js +0 -238
- package/dashboards/express/node_modules/accepts/package.json +0 -47
- package/dashboards/express/node_modules/body-parser/LICENSE +0 -23
- package/dashboards/express/node_modules/body-parser/README.md +0 -494
- package/dashboards/express/node_modules/body-parser/index.js +0 -71
- package/dashboards/express/node_modules/body-parser/lib/read.js +0 -247
- package/dashboards/express/node_modules/body-parser/lib/types/json.js +0 -158
- package/dashboards/express/node_modules/body-parser/lib/types/raw.js +0 -42
- package/dashboards/express/node_modules/body-parser/lib/types/text.js +0 -36
- package/dashboards/express/node_modules/body-parser/lib/types/urlencoded.js +0 -142
- package/dashboards/express/node_modules/body-parser/lib/utils.js +0 -98
- package/dashboards/express/node_modules/body-parser/package.json +0 -52
- package/dashboards/express/node_modules/bytes/History.md +0 -97
- package/dashboards/express/node_modules/bytes/LICENSE +0 -23
- package/dashboards/express/node_modules/bytes/Readme.md +0 -152
- package/dashboards/express/node_modules/bytes/index.js +0 -170
- package/dashboards/express/node_modules/bytes/package.json +0 -42
- package/dashboards/express/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/dashboards/express/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/dashboards/express/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/dashboards/express/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/dashboards/express/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/dashboards/express/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/dashboards/express/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/dashboards/express/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/dashboards/express/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/dashboards/express/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/dashboards/express/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/dashboards/express/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/dashboards/express/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/dashboards/express/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/dashboards/express/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/dashboards/express/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/dashboards/express/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/dashboards/express/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/dashboards/express/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/dashboards/express/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/dashboards/express/node_modules/call-bound/.eslintrc +0 -13
- package/dashboards/express/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/call-bound/.nycrc +0 -9
- package/dashboards/express/node_modules/call-bound/CHANGELOG.md +0 -42
- package/dashboards/express/node_modules/call-bound/LICENSE +0 -21
- package/dashboards/express/node_modules/call-bound/README.md +0 -53
- package/dashboards/express/node_modules/call-bound/index.d.ts +0 -94
- package/dashboards/express/node_modules/call-bound/index.js +0 -19
- package/dashboards/express/node_modules/call-bound/package.json +0 -99
- package/dashboards/express/node_modules/call-bound/test/index.js +0 -61
- package/dashboards/express/node_modules/call-bound/tsconfig.json +0 -10
- package/dashboards/express/node_modules/content-disposition/HISTORY.md +0 -72
- package/dashboards/express/node_modules/content-disposition/LICENSE +0 -22
- package/dashboards/express/node_modules/content-disposition/README.md +0 -142
- package/dashboards/express/node_modules/content-disposition/index.js +0 -458
- package/dashboards/express/node_modules/content-disposition/package.json +0 -43
- package/dashboards/express/node_modules/content-type/HISTORY.md +0 -29
- package/dashboards/express/node_modules/content-type/LICENSE +0 -22
- package/dashboards/express/node_modules/content-type/README.md +0 -94
- package/dashboards/express/node_modules/content-type/index.js +0 -225
- package/dashboards/express/node_modules/content-type/package.json +0 -42
- package/dashboards/express/node_modules/cookie/LICENSE +0 -24
- package/dashboards/express/node_modules/cookie/README.md +0 -317
- package/dashboards/express/node_modules/cookie/SECURITY.md +0 -25
- package/dashboards/express/node_modules/cookie/index.js +0 -335
- package/dashboards/express/node_modules/cookie/package.json +0 -44
- package/dashboards/express/node_modules/cookie-signature/History.md +0 -70
- package/dashboards/express/node_modules/cookie-signature/LICENSE +0 -22
- package/dashboards/express/node_modules/cookie-signature/Readme.md +0 -23
- package/dashboards/express/node_modules/cookie-signature/index.js +0 -47
- package/dashboards/express/node_modules/cookie-signature/package.json +0 -24
- package/dashboards/express/node_modules/debug/LICENSE +0 -20
- package/dashboards/express/node_modules/debug/README.md +0 -481
- package/dashboards/express/node_modules/debug/package.json +0 -64
- package/dashboards/express/node_modules/debug/src/browser.js +0 -272
- package/dashboards/express/node_modules/debug/src/common.js +0 -292
- package/dashboards/express/node_modules/debug/src/index.js +0 -10
- package/dashboards/express/node_modules/debug/src/node.js +0 -263
- package/dashboards/express/node_modules/depd/History.md +0 -103
- package/dashboards/express/node_modules/depd/LICENSE +0 -22
- package/dashboards/express/node_modules/depd/Readme.md +0 -280
- package/dashboards/express/node_modules/depd/index.js +0 -538
- package/dashboards/express/node_modules/depd/lib/browser/index.js +0 -77
- package/dashboards/express/node_modules/depd/package.json +0 -45
- package/dashboards/express/node_modules/dunder-proto/.eslintrc +0 -5
- package/dashboards/express/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/dunder-proto/.nycrc +0 -13
- package/dashboards/express/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/dashboards/express/node_modules/dunder-proto/LICENSE +0 -21
- package/dashboards/express/node_modules/dunder-proto/README.md +0 -54
- package/dashboards/express/node_modules/dunder-proto/get.d.ts +0 -5
- package/dashboards/express/node_modules/dunder-proto/get.js +0 -30
- package/dashboards/express/node_modules/dunder-proto/package.json +0 -76
- package/dashboards/express/node_modules/dunder-proto/set.d.ts +0 -5
- package/dashboards/express/node_modules/dunder-proto/set.js +0 -35
- package/dashboards/express/node_modules/dunder-proto/test/get.js +0 -34
- package/dashboards/express/node_modules/dunder-proto/test/index.js +0 -4
- package/dashboards/express/node_modules/dunder-proto/test/set.js +0 -50
- package/dashboards/express/node_modules/dunder-proto/tsconfig.json +0 -9
- package/dashboards/express/node_modules/ee-first/LICENSE +0 -22
- package/dashboards/express/node_modules/ee-first/README.md +0 -80
- package/dashboards/express/node_modules/ee-first/index.js +0 -95
- package/dashboards/express/node_modules/ee-first/package.json +0 -29
- package/dashboards/express/node_modules/encodeurl/LICENSE +0 -22
- package/dashboards/express/node_modules/encodeurl/README.md +0 -109
- package/dashboards/express/node_modules/encodeurl/index.js +0 -60
- package/dashboards/express/node_modules/encodeurl/package.json +0 -40
- package/dashboards/express/node_modules/es-define-property/.eslintrc +0 -13
- package/dashboards/express/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/es-define-property/.nycrc +0 -9
- package/dashboards/express/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/dashboards/express/node_modules/es-define-property/LICENSE +0 -21
- package/dashboards/express/node_modules/es-define-property/README.md +0 -49
- package/dashboards/express/node_modules/es-define-property/index.d.ts +0 -3
- package/dashboards/express/node_modules/es-define-property/index.js +0 -14
- package/dashboards/express/node_modules/es-define-property/package.json +0 -81
- package/dashboards/express/node_modules/es-define-property/test/index.js +0 -56
- package/dashboards/express/node_modules/es-define-property/tsconfig.json +0 -10
- package/dashboards/express/node_modules/es-errors/.eslintrc +0 -5
- package/dashboards/express/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/es-errors/CHANGELOG.md +0 -40
- package/dashboards/express/node_modules/es-errors/LICENSE +0 -21
- package/dashboards/express/node_modules/es-errors/README.md +0 -55
- package/dashboards/express/node_modules/es-errors/eval.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/eval.js +0 -4
- package/dashboards/express/node_modules/es-errors/index.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/index.js +0 -4
- package/dashboards/express/node_modules/es-errors/package.json +0 -80
- package/dashboards/express/node_modules/es-errors/range.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/range.js +0 -4
- package/dashboards/express/node_modules/es-errors/ref.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/ref.js +0 -4
- package/dashboards/express/node_modules/es-errors/syntax.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/syntax.js +0 -4
- package/dashboards/express/node_modules/es-errors/test/index.js +0 -19
- package/dashboards/express/node_modules/es-errors/tsconfig.json +0 -49
- package/dashboards/express/node_modules/es-errors/type.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/type.js +0 -4
- package/dashboards/express/node_modules/es-errors/uri.d.ts +0 -3
- package/dashboards/express/node_modules/es-errors/uri.js +0 -4
- package/dashboards/express/node_modules/es-object-atoms/.eslintrc +0 -16
- package/dashboards/express/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/dashboards/express/node_modules/es-object-atoms/LICENSE +0 -21
- package/dashboards/express/node_modules/es-object-atoms/README.md +0 -63
- package/dashboards/express/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/dashboards/express/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/dashboards/express/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/dashboards/express/node_modules/es-object-atoms/ToObject.js +0 -10
- package/dashboards/express/node_modules/es-object-atoms/index.d.ts +0 -3
- package/dashboards/express/node_modules/es-object-atoms/index.js +0 -4
- package/dashboards/express/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/dashboards/express/node_modules/es-object-atoms/isObject.js +0 -6
- package/dashboards/express/node_modules/es-object-atoms/package.json +0 -80
- package/dashboards/express/node_modules/es-object-atoms/test/index.js +0 -38
- package/dashboards/express/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/dashboards/express/node_modules/escape-html/LICENSE +0 -24
- package/dashboards/express/node_modules/escape-html/Readme.md +0 -43
- package/dashboards/express/node_modules/escape-html/index.js +0 -78
- package/dashboards/express/node_modules/escape-html/package.json +0 -24
- package/dashboards/express/node_modules/etag/HISTORY.md +0 -83
- package/dashboards/express/node_modules/etag/LICENSE +0 -22
- package/dashboards/express/node_modules/etag/README.md +0 -159
- package/dashboards/express/node_modules/etag/index.js +0 -131
- package/dashboards/express/node_modules/etag/package.json +0 -47
- package/dashboards/express/node_modules/express/LICENSE +0 -24
- package/dashboards/express/node_modules/express/Readme.md +0 -276
- package/dashboards/express/node_modules/express/index.js +0 -11
- package/dashboards/express/node_modules/express/lib/application.js +0 -631
- package/dashboards/express/node_modules/express/lib/express.js +0 -81
- package/dashboards/express/node_modules/express/lib/request.js +0 -514
- package/dashboards/express/node_modules/express/lib/response.js +0 -1053
- package/dashboards/express/node_modules/express/lib/utils.js +0 -271
- package/dashboards/express/node_modules/express/lib/view.js +0 -205
- package/dashboards/express/node_modules/express/package.json +0 -99
- package/dashboards/express/node_modules/express-session/LICENSE +0 -24
- package/dashboards/express/node_modules/express-session/README.md +0 -1061
- package/dashboards/express/node_modules/express-session/index.js +0 -700
- package/dashboards/express/node_modules/express-session/node_modules/cookie-signature/History.md +0 -42
- package/dashboards/express/node_modules/express-session/node_modules/cookie-signature/Readme.md +0 -42
- package/dashboards/express/node_modules/express-session/node_modules/cookie-signature/index.js +0 -51
- package/dashboards/express/node_modules/express-session/node_modules/cookie-signature/package.json +0 -18
- package/dashboards/express/node_modules/express-session/node_modules/debug/.coveralls.yml +0 -1
- package/dashboards/express/node_modules/express-session/node_modules/debug/.eslintrc +0 -11
- package/dashboards/express/node_modules/express-session/node_modules/debug/.travis.yml +0 -14
- package/dashboards/express/node_modules/express-session/node_modules/debug/CHANGELOG.md +0 -362
- package/dashboards/express/node_modules/express-session/node_modules/debug/LICENSE +0 -19
- package/dashboards/express/node_modules/express-session/node_modules/debug/Makefile +0 -50
- package/dashboards/express/node_modules/express-session/node_modules/debug/README.md +0 -312
- package/dashboards/express/node_modules/express-session/node_modules/debug/component.json +0 -19
- package/dashboards/express/node_modules/express-session/node_modules/debug/karma.conf.js +0 -70
- package/dashboards/express/node_modules/express-session/node_modules/debug/node.js +0 -1
- package/dashboards/express/node_modules/express-session/node_modules/debug/package.json +0 -49
- package/dashboards/express/node_modules/express-session/node_modules/debug/src/browser.js +0 -185
- package/dashboards/express/node_modules/express-session/node_modules/debug/src/debug.js +0 -202
- package/dashboards/express/node_modules/express-session/node_modules/debug/src/index.js +0 -10
- package/dashboards/express/node_modules/express-session/node_modules/debug/src/inspector-log.js +0 -15
- package/dashboards/express/node_modules/express-session/node_modules/debug/src/node.js +0 -248
- package/dashboards/express/node_modules/express-session/node_modules/ms/index.js +0 -152
- package/dashboards/express/node_modules/express-session/node_modules/ms/license.md +0 -21
- package/dashboards/express/node_modules/express-session/node_modules/ms/package.json +0 -37
- package/dashboards/express/node_modules/express-session/node_modules/ms/readme.md +0 -51
- package/dashboards/express/node_modules/express-session/package.json +0 -50
- package/dashboards/express/node_modules/express-session/session/cookie.js +0 -152
- package/dashboards/express/node_modules/express-session/session/memory.js +0 -187
- package/dashboards/express/node_modules/express-session/session/session.js +0 -143
- package/dashboards/express/node_modules/express-session/session/store.js +0 -102
- package/dashboards/express/node_modules/finalhandler/HISTORY.md +0 -239
- package/dashboards/express/node_modules/finalhandler/LICENSE +0 -22
- package/dashboards/express/node_modules/finalhandler/README.md +0 -150
- package/dashboards/express/node_modules/finalhandler/index.js +0 -293
- package/dashboards/express/node_modules/finalhandler/package.json +0 -47
- package/dashboards/express/node_modules/forwarded/HISTORY.md +0 -21
- package/dashboards/express/node_modules/forwarded/LICENSE +0 -22
- package/dashboards/express/node_modules/forwarded/README.md +0 -57
- package/dashboards/express/node_modules/forwarded/index.js +0 -90
- package/dashboards/express/node_modules/forwarded/package.json +0 -45
- package/dashboards/express/node_modules/fresh/HISTORY.md +0 -80
- package/dashboards/express/node_modules/fresh/LICENSE +0 -23
- package/dashboards/express/node_modules/fresh/README.md +0 -117
- package/dashboards/express/node_modules/fresh/index.js +0 -136
- package/dashboards/express/node_modules/fresh/package.json +0 -46
- package/dashboards/express/node_modules/function-bind/.eslintrc +0 -21
- package/dashboards/express/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/dashboards/express/node_modules/function-bind/.nycrc +0 -13
- package/dashboards/express/node_modules/function-bind/CHANGELOG.md +0 -136
- package/dashboards/express/node_modules/function-bind/LICENSE +0 -20
- package/dashboards/express/node_modules/function-bind/README.md +0 -46
- package/dashboards/express/node_modules/function-bind/implementation.js +0 -84
- package/dashboards/express/node_modules/function-bind/index.js +0 -5
- package/dashboards/express/node_modules/function-bind/package.json +0 -87
- package/dashboards/express/node_modules/function-bind/test/.eslintrc +0 -9
- package/dashboards/express/node_modules/function-bind/test/index.js +0 -252
- package/dashboards/express/node_modules/get-intrinsic/.eslintrc +0 -42
- package/dashboards/express/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/get-intrinsic/.nycrc +0 -9
- package/dashboards/express/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/dashboards/express/node_modules/get-intrinsic/LICENSE +0 -21
- package/dashboards/express/node_modules/get-intrinsic/README.md +0 -71
- package/dashboards/express/node_modules/get-intrinsic/index.js +0 -378
- package/dashboards/express/node_modules/get-intrinsic/package.json +0 -97
- package/dashboards/express/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/dashboards/express/node_modules/get-proto/.eslintrc +0 -10
- package/dashboards/express/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/get-proto/.nycrc +0 -9
- package/dashboards/express/node_modules/get-proto/CHANGELOG.md +0 -21
- package/dashboards/express/node_modules/get-proto/LICENSE +0 -21
- package/dashboards/express/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/dashboards/express/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/dashboards/express/node_modules/get-proto/README.md +0 -50
- package/dashboards/express/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/dashboards/express/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/dashboards/express/node_modules/get-proto/index.d.ts +0 -5
- package/dashboards/express/node_modules/get-proto/index.js +0 -27
- package/dashboards/express/node_modules/get-proto/package.json +0 -81
- package/dashboards/express/node_modules/get-proto/test/index.js +0 -68
- package/dashboards/express/node_modules/get-proto/tsconfig.json +0 -9
- package/dashboards/express/node_modules/gopd/.eslintrc +0 -16
- package/dashboards/express/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/gopd/CHANGELOG.md +0 -45
- package/dashboards/express/node_modules/gopd/LICENSE +0 -21
- package/dashboards/express/node_modules/gopd/README.md +0 -40
- package/dashboards/express/node_modules/gopd/gOPD.d.ts +0 -1
- package/dashboards/express/node_modules/gopd/gOPD.js +0 -4
- package/dashboards/express/node_modules/gopd/index.d.ts +0 -5
- package/dashboards/express/node_modules/gopd/index.js +0 -15
- package/dashboards/express/node_modules/gopd/package.json +0 -77
- package/dashboards/express/node_modules/gopd/test/index.js +0 -36
- package/dashboards/express/node_modules/gopd/tsconfig.json +0 -9
- package/dashboards/express/node_modules/has-symbols/.eslintrc +0 -11
- package/dashboards/express/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/has-symbols/.nycrc +0 -9
- package/dashboards/express/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/dashboards/express/node_modules/has-symbols/LICENSE +0 -21
- package/dashboards/express/node_modules/has-symbols/README.md +0 -46
- package/dashboards/express/node_modules/has-symbols/index.d.ts +0 -3
- package/dashboards/express/node_modules/has-symbols/index.js +0 -14
- package/dashboards/express/node_modules/has-symbols/package.json +0 -111
- package/dashboards/express/node_modules/has-symbols/shams.d.ts +0 -3
- package/dashboards/express/node_modules/has-symbols/shams.js +0 -45
- package/dashboards/express/node_modules/has-symbols/test/index.js +0 -22
- package/dashboards/express/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/dashboards/express/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/dashboards/express/node_modules/has-symbols/test/tests.js +0 -58
- package/dashboards/express/node_modules/has-symbols/tsconfig.json +0 -10
- package/dashboards/express/node_modules/hasown/.eslintrc +0 -5
- package/dashboards/express/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/hasown/.nycrc +0 -13
- package/dashboards/express/node_modules/hasown/CHANGELOG.md +0 -40
- package/dashboards/express/node_modules/hasown/LICENSE +0 -21
- package/dashboards/express/node_modules/hasown/README.md +0 -40
- package/dashboards/express/node_modules/hasown/index.d.ts +0 -3
- package/dashboards/express/node_modules/hasown/index.js +0 -8
- package/dashboards/express/node_modules/hasown/package.json +0 -92
- package/dashboards/express/node_modules/hasown/tsconfig.json +0 -6
- package/dashboards/express/node_modules/http-errors/HISTORY.md +0 -186
- package/dashboards/express/node_modules/http-errors/LICENSE +0 -23
- package/dashboards/express/node_modules/http-errors/README.md +0 -169
- package/dashboards/express/node_modules/http-errors/index.js +0 -290
- package/dashboards/express/node_modules/http-errors/package.json +0 -54
- package/dashboards/express/node_modules/iconv-lite/LICENSE +0 -21
- package/dashboards/express/node_modules/iconv-lite/README.md +0 -138
- package/dashboards/express/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
- package/dashboards/express/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
- package/dashboards/express/node_modules/iconv-lite/encodings/index.js +0 -23
- package/dashboards/express/node_modules/iconv-lite/encodings/internal.js +0 -218
- package/dashboards/express/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
- package/dashboards/express/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/dashboards/express/node_modules/iconv-lite/encodings/sbcs-data.js +0 -178
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/dashboards/express/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/dashboards/express/node_modules/iconv-lite/encodings/utf16.js +0 -187
- package/dashboards/express/node_modules/iconv-lite/encodings/utf32.js +0 -307
- package/dashboards/express/node_modules/iconv-lite/encodings/utf7.js +0 -283
- package/dashboards/express/node_modules/iconv-lite/lib/bom-handling.js +0 -48
- package/dashboards/express/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
- package/dashboards/express/node_modules/iconv-lite/lib/index.d.ts +0 -129
- package/dashboards/express/node_modules/iconv-lite/lib/index.js +0 -182
- package/dashboards/express/node_modules/iconv-lite/lib/streams.js +0 -105
- package/dashboards/express/node_modules/iconv-lite/package.json +0 -70
- package/dashboards/express/node_modules/iconv-lite/types/encodings.d.ts +0 -423
- package/dashboards/express/node_modules/inherits/LICENSE +0 -16
- package/dashboards/express/node_modules/inherits/README.md +0 -42
- package/dashboards/express/node_modules/inherits/inherits.js +0 -9
- package/dashboards/express/node_modules/inherits/inherits_browser.js +0 -27
- package/dashboards/express/node_modules/inherits/package.json +0 -29
- package/dashboards/express/node_modules/ipaddr.js/LICENSE +0 -19
- package/dashboards/express/node_modules/ipaddr.js/README.md +0 -233
- package/dashboards/express/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/dashboards/express/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/dashboards/express/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/dashboards/express/node_modules/ipaddr.js/package.json +0 -35
- package/dashboards/express/node_modules/is-promise/LICENSE +0 -19
- package/dashboards/express/node_modules/is-promise/index.d.ts +0 -2
- package/dashboards/express/node_modules/is-promise/index.js +0 -6
- package/dashboards/express/node_modules/is-promise/index.mjs +0 -3
- package/dashboards/express/node_modules/is-promise/package.json +0 -30
- package/dashboards/express/node_modules/is-promise/readme.md +0 -33
- package/dashboards/express/node_modules/math-intrinsics/.eslintrc +0 -16
- package/dashboards/express/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/dashboards/express/node_modules/math-intrinsics/LICENSE +0 -21
- package/dashboards/express/node_modules/math-intrinsics/README.md +0 -50
- package/dashboards/express/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/abs.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/dashboards/express/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/dashboards/express/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/floor.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/isFinite.js +0 -12
- package/dashboards/express/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/isInteger.js +0 -16
- package/dashboards/express/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/isNaN.js +0 -6
- package/dashboards/express/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/dashboards/express/node_modules/math-intrinsics/max.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/max.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/min.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/min.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/mod.js +0 -9
- package/dashboards/express/node_modules/math-intrinsics/package.json +0 -86
- package/dashboards/express/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/pow.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/round.d.ts +0 -1
- package/dashboards/express/node_modules/math-intrinsics/round.js +0 -4
- package/dashboards/express/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/dashboards/express/node_modules/math-intrinsics/sign.js +0 -11
- package/dashboards/express/node_modules/math-intrinsics/test/index.js +0 -192
- package/dashboards/express/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/dashboards/express/node_modules/media-typer/HISTORY.md +0 -50
- package/dashboards/express/node_modules/media-typer/LICENSE +0 -22
- package/dashboards/express/node_modules/media-typer/README.md +0 -93
- package/dashboards/express/node_modules/media-typer/index.js +0 -143
- package/dashboards/express/node_modules/media-typer/package.json +0 -33
- package/dashboards/express/node_modules/merge-descriptors/index.d.ts +0 -11
- package/dashboards/express/node_modules/merge-descriptors/index.js +0 -26
- package/dashboards/express/node_modules/merge-descriptors/license +0 -11
- package/dashboards/express/node_modules/merge-descriptors/package.json +0 -50
- package/dashboards/express/node_modules/merge-descriptors/readme.md +0 -55
- package/dashboards/express/node_modules/mime-db/HISTORY.md +0 -541
- package/dashboards/express/node_modules/mime-db/LICENSE +0 -23
- package/dashboards/express/node_modules/mime-db/README.md +0 -109
- package/dashboards/express/node_modules/mime-db/db.json +0 -9342
- package/dashboards/express/node_modules/mime-db/index.js +0 -12
- package/dashboards/express/node_modules/mime-db/package.json +0 -56
- package/dashboards/express/node_modules/mime-types/HISTORY.md +0 -428
- package/dashboards/express/node_modules/mime-types/LICENSE +0 -23
- package/dashboards/express/node_modules/mime-types/README.md +0 -126
- package/dashboards/express/node_modules/mime-types/index.js +0 -211
- package/dashboards/express/node_modules/mime-types/mimeScore.js +0 -57
- package/dashboards/express/node_modules/mime-types/package.json +0 -49
- package/dashboards/express/node_modules/ms/index.js +0 -162
- package/dashboards/express/node_modules/ms/license.md +0 -21
- package/dashboards/express/node_modules/ms/package.json +0 -38
- package/dashboards/express/node_modules/ms/readme.md +0 -59
- package/dashboards/express/node_modules/negotiator/HISTORY.md +0 -114
- package/dashboards/express/node_modules/negotiator/LICENSE +0 -24
- package/dashboards/express/node_modules/negotiator/README.md +0 -212
- package/dashboards/express/node_modules/negotiator/index.js +0 -83
- package/dashboards/express/node_modules/negotiator/lib/charset.js +0 -169
- package/dashboards/express/node_modules/negotiator/lib/encoding.js +0 -205
- package/dashboards/express/node_modules/negotiator/lib/language.js +0 -179
- package/dashboards/express/node_modules/negotiator/lib/mediaType.js +0 -294
- package/dashboards/express/node_modules/negotiator/package.json +0 -43
- package/dashboards/express/node_modules/object-inspect/.eslintrc +0 -53
- package/dashboards/express/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/object-inspect/.nycrc +0 -13
- package/dashboards/express/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/dashboards/express/node_modules/object-inspect/LICENSE +0 -21
- package/dashboards/express/node_modules/object-inspect/example/all.js +0 -23
- package/dashboards/express/node_modules/object-inspect/example/circular.js +0 -6
- package/dashboards/express/node_modules/object-inspect/example/fn.js +0 -5
- package/dashboards/express/node_modules/object-inspect/example/inspect.js +0 -10
- package/dashboards/express/node_modules/object-inspect/index.js +0 -544
- package/dashboards/express/node_modules/object-inspect/package-support.json +0 -20
- package/dashboards/express/node_modules/object-inspect/package.json +0 -105
- package/dashboards/express/node_modules/object-inspect/readme.markdown +0 -84
- package/dashboards/express/node_modules/object-inspect/test/bigint.js +0 -58
- package/dashboards/express/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/dashboards/express/node_modules/object-inspect/test/circular.js +0 -16
- package/dashboards/express/node_modules/object-inspect/test/deep.js +0 -12
- package/dashboards/express/node_modules/object-inspect/test/element.js +0 -53
- package/dashboards/express/node_modules/object-inspect/test/err.js +0 -48
- package/dashboards/express/node_modules/object-inspect/test/fakes.js +0 -29
- package/dashboards/express/node_modules/object-inspect/test/fn.js +0 -76
- package/dashboards/express/node_modules/object-inspect/test/global.js +0 -17
- package/dashboards/express/node_modules/object-inspect/test/has.js +0 -15
- package/dashboards/express/node_modules/object-inspect/test/holes.js +0 -15
- package/dashboards/express/node_modules/object-inspect/test/indent-option.js +0 -271
- package/dashboards/express/node_modules/object-inspect/test/inspect.js +0 -139
- package/dashboards/express/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/dashboards/express/node_modules/object-inspect/test/number.js +0 -58
- package/dashboards/express/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/dashboards/express/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/dashboards/express/node_modules/object-inspect/test/undef.js +0 -12
- package/dashboards/express/node_modules/object-inspect/test/values.js +0 -261
- package/dashboards/express/node_modules/object-inspect/test-core-js.js +0 -26
- package/dashboards/express/node_modules/object-inspect/util.inspect.js +0 -1
- package/dashboards/express/node_modules/on-finished/HISTORY.md +0 -98
- package/dashboards/express/node_modules/on-finished/LICENSE +0 -23
- package/dashboards/express/node_modules/on-finished/README.md +0 -162
- package/dashboards/express/node_modules/on-finished/index.js +0 -234
- package/dashboards/express/node_modules/on-finished/package.json +0 -39
- package/dashboards/express/node_modules/on-headers/HISTORY.md +0 -26
- package/dashboards/express/node_modules/on-headers/LICENSE +0 -22
- package/dashboards/express/node_modules/on-headers/README.md +0 -81
- package/dashboards/express/node_modules/on-headers/index.js +0 -180
- package/dashboards/express/node_modules/on-headers/package.json +0 -44
- package/dashboards/express/node_modules/once/LICENSE +0 -15
- package/dashboards/express/node_modules/once/README.md +0 -79
- package/dashboards/express/node_modules/once/once.js +0 -42
- package/dashboards/express/node_modules/once/package.json +0 -33
- package/dashboards/express/node_modules/parseurl/HISTORY.md +0 -58
- package/dashboards/express/node_modules/parseurl/LICENSE +0 -24
- package/dashboards/express/node_modules/parseurl/README.md +0 -133
- package/dashboards/express/node_modules/parseurl/index.js +0 -158
- package/dashboards/express/node_modules/parseurl/package.json +0 -40
- package/dashboards/express/node_modules/path-to-regexp/LICENSE +0 -21
- package/dashboards/express/node_modules/path-to-regexp/Readme.md +0 -224
- package/dashboards/express/node_modules/path-to-regexp/dist/index.d.ts +0 -144
- package/dashboards/express/node_modules/path-to-regexp/dist/index.js +0 -409
- package/dashboards/express/node_modules/path-to-regexp/dist/index.js.map +0 -1
- package/dashboards/express/node_modules/path-to-regexp/package.json +0 -64
- package/dashboards/express/node_modules/proxy-addr/HISTORY.md +0 -161
- package/dashboards/express/node_modules/proxy-addr/LICENSE +0 -22
- package/dashboards/express/node_modules/proxy-addr/README.md +0 -139
- package/dashboards/express/node_modules/proxy-addr/index.js +0 -327
- package/dashboards/express/node_modules/proxy-addr/package.json +0 -47
- package/dashboards/express/node_modules/qs/.editorconfig +0 -46
- package/dashboards/express/node_modules/qs/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/qs/.github/SECURITY.md +0 -11
- package/dashboards/express/node_modules/qs/.github/THREAT_MODEL.md +0 -78
- package/dashboards/express/node_modules/qs/.nycrc +0 -13
- package/dashboards/express/node_modules/qs/CHANGELOG.md +0 -806
- package/dashboards/express/node_modules/qs/LICENSE.md +0 -29
- package/dashboards/express/node_modules/qs/README.md +0 -758
- package/dashboards/express/node_modules/qs/dist/qs.js +0 -141
- package/dashboards/express/node_modules/qs/eslint.config.mjs +0 -56
- package/dashboards/express/node_modules/qs/lib/formats.js +0 -23
- package/dashboards/express/node_modules/qs/lib/index.js +0 -11
- package/dashboards/express/node_modules/qs/lib/parse.js +0 -373
- package/dashboards/express/node_modules/qs/lib/stringify.js +0 -356
- package/dashboards/express/node_modules/qs/lib/utils.js +0 -342
- package/dashboards/express/node_modules/qs/package.json +0 -94
- package/dashboards/express/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/dashboards/express/node_modules/qs/test/parse.js +0 -1568
- package/dashboards/express/node_modules/qs/test/stringify.js +0 -1310
- package/dashboards/express/node_modules/qs/test/utils.js +0 -404
- package/dashboards/express/node_modules/random-bytes/HISTORY.md +0 -4
- package/dashboards/express/node_modules/random-bytes/LICENSE +0 -21
- package/dashboards/express/node_modules/random-bytes/README.md +0 -77
- package/dashboards/express/node_modules/random-bytes/index.js +0 -101
- package/dashboards/express/node_modules/random-bytes/package.json +0 -36
- package/dashboards/express/node_modules/range-parser/HISTORY.md +0 -56
- package/dashboards/express/node_modules/range-parser/LICENSE +0 -23
- package/dashboards/express/node_modules/range-parser/README.md +0 -84
- package/dashboards/express/node_modules/range-parser/index.js +0 -162
- package/dashboards/express/node_modules/range-parser/package.json +0 -44
- package/dashboards/express/node_modules/raw-body/LICENSE +0 -22
- package/dashboards/express/node_modules/raw-body/README.md +0 -223
- package/dashboards/express/node_modules/raw-body/index.d.ts +0 -85
- package/dashboards/express/node_modules/raw-body/index.js +0 -336
- package/dashboards/express/node_modules/raw-body/package.json +0 -46
- package/dashboards/express/node_modules/router/HISTORY.md +0 -228
- package/dashboards/express/node_modules/router/LICENSE +0 -23
- package/dashboards/express/node_modules/router/README.md +0 -416
- package/dashboards/express/node_modules/router/index.js +0 -748
- package/dashboards/express/node_modules/router/lib/layer.js +0 -247
- package/dashboards/express/node_modules/router/lib/route.js +0 -242
- package/dashboards/express/node_modules/router/package.json +0 -44
- package/dashboards/express/node_modules/safe-buffer/LICENSE +0 -21
- package/dashboards/express/node_modules/safe-buffer/README.md +0 -584
- package/dashboards/express/node_modules/safe-buffer/index.d.ts +0 -187
- package/dashboards/express/node_modules/safe-buffer/index.js +0 -65
- package/dashboards/express/node_modules/safe-buffer/package.json +0 -51
- package/dashboards/express/node_modules/safer-buffer/LICENSE +0 -21
- package/dashboards/express/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/dashboards/express/node_modules/safer-buffer/Readme.md +0 -156
- package/dashboards/express/node_modules/safer-buffer/dangerous.js +0 -58
- package/dashboards/express/node_modules/safer-buffer/package.json +0 -34
- package/dashboards/express/node_modules/safer-buffer/safer.js +0 -77
- package/dashboards/express/node_modules/safer-buffer/tests.js +0 -406
- package/dashboards/express/node_modules/send/LICENSE +0 -23
- package/dashboards/express/node_modules/send/README.md +0 -317
- package/dashboards/express/node_modules/send/index.js +0 -997
- package/dashboards/express/node_modules/send/package.json +0 -63
- package/dashboards/express/node_modules/serve-static/LICENSE +0 -25
- package/dashboards/express/node_modules/serve-static/README.md +0 -253
- package/dashboards/express/node_modules/serve-static/index.js +0 -208
- package/dashboards/express/node_modules/serve-static/package.json +0 -44
- package/dashboards/express/node_modules/setprototypeof/LICENSE +0 -13
- package/dashboards/express/node_modules/setprototypeof/README.md +0 -31
- package/dashboards/express/node_modules/setprototypeof/index.d.ts +0 -2
- package/dashboards/express/node_modules/setprototypeof/index.js +0 -17
- package/dashboards/express/node_modules/setprototypeof/package.json +0 -38
- package/dashboards/express/node_modules/setprototypeof/test/index.js +0 -24
- package/dashboards/express/node_modules/side-channel/.editorconfig +0 -9
- package/dashboards/express/node_modules/side-channel/.eslintrc +0 -12
- package/dashboards/express/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/side-channel/.nycrc +0 -13
- package/dashboards/express/node_modules/side-channel/CHANGELOG.md +0 -110
- package/dashboards/express/node_modules/side-channel/LICENSE +0 -21
- package/dashboards/express/node_modules/side-channel/README.md +0 -61
- package/dashboards/express/node_modules/side-channel/index.d.ts +0 -14
- package/dashboards/express/node_modules/side-channel/index.js +0 -43
- package/dashboards/express/node_modules/side-channel/package.json +0 -85
- package/dashboards/express/node_modules/side-channel/test/index.js +0 -104
- package/dashboards/express/node_modules/side-channel/tsconfig.json +0 -9
- package/dashboards/express/node_modules/side-channel-list/.editorconfig +0 -9
- package/dashboards/express/node_modules/side-channel-list/.eslintrc +0 -11
- package/dashboards/express/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/side-channel-list/.nycrc +0 -13
- package/dashboards/express/node_modules/side-channel-list/CHANGELOG.md +0 -15
- package/dashboards/express/node_modules/side-channel-list/LICENSE +0 -21
- package/dashboards/express/node_modules/side-channel-list/README.md +0 -62
- package/dashboards/express/node_modules/side-channel-list/index.d.ts +0 -13
- package/dashboards/express/node_modules/side-channel-list/index.js +0 -113
- package/dashboards/express/node_modules/side-channel-list/list.d.ts +0 -14
- package/dashboards/express/node_modules/side-channel-list/package.json +0 -77
- package/dashboards/express/node_modules/side-channel-list/test/index.js +0 -104
- package/dashboards/express/node_modules/side-channel-list/tsconfig.json +0 -9
- package/dashboards/express/node_modules/side-channel-map/.editorconfig +0 -9
- package/dashboards/express/node_modules/side-channel-map/.eslintrc +0 -11
- package/dashboards/express/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/side-channel-map/.nycrc +0 -13
- package/dashboards/express/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/dashboards/express/node_modules/side-channel-map/LICENSE +0 -21
- package/dashboards/express/node_modules/side-channel-map/README.md +0 -62
- package/dashboards/express/node_modules/side-channel-map/index.d.ts +0 -15
- package/dashboards/express/node_modules/side-channel-map/index.js +0 -68
- package/dashboards/express/node_modules/side-channel-map/package.json +0 -80
- package/dashboards/express/node_modules/side-channel-map/test/index.js +0 -114
- package/dashboards/express/node_modules/side-channel-map/tsconfig.json +0 -9
- package/dashboards/express/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/dashboards/express/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/dashboards/express/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/dashboards/express/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/dashboards/express/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/dashboards/express/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/dashboards/express/node_modules/side-channel-weakmap/README.md +0 -62
- package/dashboards/express/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/dashboards/express/node_modules/side-channel-weakmap/index.js +0 -84
- package/dashboards/express/node_modules/side-channel-weakmap/package.json +0 -87
- package/dashboards/express/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/dashboards/express/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/dashboards/express/node_modules/statuses/HISTORY.md +0 -87
- package/dashboards/express/node_modules/statuses/LICENSE +0 -23
- package/dashboards/express/node_modules/statuses/README.md +0 -139
- package/dashboards/express/node_modules/statuses/codes.json +0 -65
- package/dashboards/express/node_modules/statuses/index.js +0 -146
- package/dashboards/express/node_modules/statuses/package.json +0 -49
- package/dashboards/express/node_modules/toidentifier/HISTORY.md +0 -9
- package/dashboards/express/node_modules/toidentifier/LICENSE +0 -21
- package/dashboards/express/node_modules/toidentifier/README.md +0 -61
- package/dashboards/express/node_modules/toidentifier/index.js +0 -32
- package/dashboards/express/node_modules/toidentifier/package.json +0 -38
- package/dashboards/express/node_modules/type-is/HISTORY.md +0 -292
- package/dashboards/express/node_modules/type-is/LICENSE +0 -23
- package/dashboards/express/node_modules/type-is/README.md +0 -198
- package/dashboards/express/node_modules/type-is/index.js +0 -250
- package/dashboards/express/node_modules/type-is/package.json +0 -47
- package/dashboards/express/node_modules/uid-safe/HISTORY.md +0 -61
- package/dashboards/express/node_modules/uid-safe/LICENSE +0 -22
- package/dashboards/express/node_modules/uid-safe/README.md +0 -77
- package/dashboards/express/node_modules/uid-safe/index.js +0 -107
- package/dashboards/express/node_modules/uid-safe/package.json +0 -46
- package/dashboards/express/node_modules/unpipe/HISTORY.md +0 -4
- package/dashboards/express/node_modules/unpipe/LICENSE +0 -22
- package/dashboards/express/node_modules/unpipe/README.md +0 -43
- package/dashboards/express/node_modules/unpipe/index.js +0 -69
- package/dashboards/express/node_modules/unpipe/package.json +0 -27
- package/dashboards/express/node_modules/vary/HISTORY.md +0 -39
- package/dashboards/express/node_modules/vary/LICENSE +0 -22
- package/dashboards/express/node_modules/vary/README.md +0 -101
- package/dashboards/express/node_modules/vary/index.js +0 -149
- package/dashboards/express/node_modules/vary/package.json +0 -43
- package/dashboards/express/node_modules/wrappy/LICENSE +0 -15
- package/dashboards/express/node_modules/wrappy/README.md +0 -36
- package/dashboards/express/node_modules/wrappy/package.json +0 -29
- package/dashboards/express/node_modules/wrappy/wrappy.js +0 -33
- package/dashboards/express/package-lock.json +0 -922
- package/dashboards/express/package.json +0 -17
- package/dashboards/express/public/styles.css +0 -175
- package/dashboards/express/routes/activity.js +0 -101
- package/dashboards/express/routes/agents.js +0 -771
- package/dashboards/express/routes/apiKeys.js +0 -107
- package/dashboards/express/routes/approvals.js +0 -100
- package/dashboards/express/routes/audit.js +0 -75
- package/dashboards/express/routes/auth.js +0 -38
- package/dashboards/express/routes/community-skills.js +0 -83
- package/dashboards/express/routes/compliance.js +0 -93
- package/dashboards/express/routes/dashboard.js +0 -65
- package/dashboards/express/routes/dlp.js +0 -165
- package/dashboards/express/routes/domain-status.js +0 -78
- package/dashboards/express/routes/guardrails.js +0 -195
- package/dashboards/express/routes/journal.js +0 -95
- package/dashboards/express/routes/knowledge-contributions.js +0 -85
- package/dashboards/express/routes/knowledge.js +0 -83
- package/dashboards/express/routes/messages.js +0 -97
- package/dashboards/express/routes/settings.js +0 -830
- package/dashboards/express/routes/skill-connections.js +0 -86
- package/dashboards/express/routes/skills.js +0 -141
- package/dashboards/express/routes/users.js +0 -69
- package/dashboards/express/routes/vault.js +0 -141
- package/dashboards/express/routes/workforce.js +0 -126
- package/dashboards/express/utils/api.js +0 -44
- package/dashboards/express/utils/helpers.js +0 -46
- package/dashboards/express/views/components/modal.js +0 -255
- package/dashboards/express/views/components/stats.js +0 -22
- package/dashboards/express/views/components/table.js +0 -31
- package/dashboards/express/views/layout.js +0 -94
- package/dashboards/express/views/login.js +0 -45
- package/dashboards/go/go.mod +0 -3
- package/dashboards/go/handlers/activity.go +0 -30
- package/dashboards/go/handlers/agents.go +0 -790
- package/dashboards/go/handlers/apikeys.go +0 -38
- package/dashboards/go/handlers/approvals.go +0 -31
- package/dashboards/go/handlers/audit.go +0 -52
- package/dashboards/go/handlers/auth.go +0 -39
- package/dashboards/go/handlers/community_skills.go +0 -32
- package/dashboards/go/handlers/compliance.go +0 -58
- package/dashboards/go/handlers/dashboard.go +0 -43
- package/dashboards/go/handlers/dlp.go +0 -78
- package/dashboards/go/handlers/domain_status.go +0 -62
- package/dashboards/go/handlers/guardrails.go +0 -89
- package/dashboards/go/handlers/journal.go +0 -60
- package/dashboards/go/handlers/knowledge.go +0 -35
- package/dashboards/go/handlers/knowledge_contributions.go +0 -37
- package/dashboards/go/handlers/messages.go +0 -59
- package/dashboards/go/handlers/settings.go +0 -951
- package/dashboards/go/handlers/skill_connections.go +0 -59
- package/dashboards/go/handlers/skills.go +0 -129
- package/dashboards/go/handlers/users.go +0 -54
- package/dashboards/go/handlers/vault.go +0 -85
- package/dashboards/go/handlers/workforce.go +0 -60
- package/dashboards/go/main.go +0 -71
- package/dashboards/go/middleware/auth.go +0 -17
- package/dashboards/go/services/api.go +0 -38
- package/dashboards/go/services/session.go +0 -52
- package/dashboards/go/static/styles.css +0 -546
- package/dashboards/go/templates/components.go +0 -45
- package/dashboards/go/templates/helpers.go +0 -35
- package/dashboards/go/templates/layout.go +0 -64
- package/dashboards/html/index.html +0 -432
- package/dashboards/html/package.json +0 -11
- package/dashboards/html/public/styles.css +0 -546
- package/dashboards/html/src/api.js +0 -36
- package/dashboards/html/src/components/badge.js +0 -13
- package/dashboards/html/src/components/layout.js +0 -11
- package/dashboards/html/src/components/modal.js +0 -9
- package/dashboards/html/src/components/pagination.js +0 -12
- package/dashboards/html/src/components/stat-card.js +0 -14
- package/dashboards/html/src/components/table.js +0 -6
- package/dashboards/html/src/main.js +0 -83
- package/dashboards/html/src/pages/activity.js +0 -137
- package/dashboards/html/src/pages/agents.js +0 -831
- package/dashboards/html/src/pages/api-keys.js +0 -80
- package/dashboards/html/src/pages/approvals.js +0 -155
- package/dashboards/html/src/pages/audit.js +0 -50
- package/dashboards/html/src/pages/community-skills.js +0 -236
- package/dashboards/html/src/pages/compliance.js +0 -69
- package/dashboards/html/src/pages/dashboard.js +0 -25
- package/dashboards/html/src/pages/dlp.js +0 -112
- package/dashboards/html/src/pages/domain-status.js +0 -182
- package/dashboards/html/src/pages/guardrails.js +0 -127
- package/dashboards/html/src/pages/journal.js +0 -54
- package/dashboards/html/src/pages/knowledge-contributions.js +0 -319
- package/dashboards/html/src/pages/knowledge.js +0 -251
- package/dashboards/html/src/pages/login.js +0 -84
- package/dashboards/html/src/pages/messages.js +0 -90
- package/dashboards/html/src/pages/settings.js +0 -656
- package/dashboards/html/src/pages/skill-connections.js +0 -293
- package/dashboards/html/src/pages/skills.js +0 -114
- package/dashboards/html/src/pages/users.js +0 -62
- package/dashboards/html/src/pages/vault.js +0 -105
- package/dashboards/html/src/pages/workforce.js +0 -418
- package/dashboards/html/src/router.js +0 -91
- package/dashboards/html/src/utils/escape.js +0 -7
- package/dashboards/html/src/utils/time.js +0 -16
- package/dashboards/html/src/utils/toast.js +0 -10
- package/dashboards/java/AgenticMailDashboard.java +0 -161
- package/dashboards/java/handlers/ActivityHandler.java +0 -42
- package/dashboards/java/handlers/AgentsHandler.java +0 -807
- package/dashboards/java/handlers/ApiKeysHandler.java +0 -201
- package/dashboards/java/handlers/ApprovalsHandler.java +0 -43
- package/dashboards/java/handlers/AuditHandler.java +0 -95
- package/dashboards/java/handlers/AuthHandler.java +0 -71
- package/dashboards/java/handlers/CommunitySkillsHandler.java +0 -45
- package/dashboards/java/handlers/ComplianceHandler.java +0 -192
- package/dashboards/java/handlers/DashboardHandler.java +0 -98
- package/dashboards/java/handlers/DlpHandler.java +0 -230
- package/dashboards/java/handlers/DomainStatusHandler.java +0 -58
- package/dashboards/java/handlers/GuardrailsHandler.java +0 -272
- package/dashboards/java/handlers/JournalHandler.java +0 -130
- package/dashboards/java/handlers/KnowledgeContributionsHandler.java +0 -51
- package/dashboards/java/handlers/KnowledgeHandler.java +0 -49
- package/dashboards/java/handlers/MessagesHandler.java +0 -168
- package/dashboards/java/handlers/SettingsHandler.java +0 -1017
- package/dashboards/java/handlers/SkillConnectionsHandler.java +0 -61
- package/dashboards/java/handlers/SkillsHandler.java +0 -198
- package/dashboards/java/handlers/UsersHandler.java +0 -118
- package/dashboards/java/handlers/VaultHandler.java +0 -168
- package/dashboards/java/handlers/WorkforceHandler.java +0 -64
- package/dashboards/java/services/ApiClient.java +0 -233
- package/dashboards/java/services/SessionManager.java +0 -138
- package/dashboards/java/static/styles.css +0 -546
- package/dashboards/java/templates/Components.java +0 -142
- package/dashboards/java/templates/Helpers.java +0 -106
- package/dashboards/java/templates/Layout.java +0 -106
- package/dashboards/laravel/controllers/ActivityController.php +0 -18
- package/dashboards/laravel/controllers/AgentController.php +0 -250
- package/dashboards/laravel/controllers/ApiKeyController.php +0 -73
- package/dashboards/laravel/controllers/ApprovalsController.php +0 -18
- package/dashboards/laravel/controllers/AuditController.php +0 -31
- package/dashboards/laravel/controllers/AuthController.php +0 -44
- package/dashboards/laravel/controllers/CommunitySkillsController.php +0 -18
- package/dashboards/laravel/controllers/ComplianceController.php +0 -55
- package/dashboards/laravel/controllers/DashboardController.php +0 -28
- package/dashboards/laravel/controllers/DlpController.php +0 -88
- package/dashboards/laravel/controllers/DomainStatusController.php +0 -18
- package/dashboards/laravel/controllers/GuardrailController.php +0 -110
- package/dashboards/laravel/controllers/JournalController.php +0 -44
- package/dashboards/laravel/controllers/KnowledgeContributionsController.php +0 -18
- package/dashboards/laravel/controllers/KnowledgeController.php +0 -18
- package/dashboards/laravel/controllers/MessageController.php +0 -47
- package/dashboards/laravel/controllers/SettingController.php +0 -258
- package/dashboards/laravel/controllers/SkillConnectionsController.php +0 -18
- package/dashboards/laravel/controllers/SkillController.php +0 -74
- package/dashboards/laravel/controllers/UserController.php +0 -47
- package/dashboards/laravel/controllers/VaultController.php +0 -94
- package/dashboards/laravel/controllers/WorkforceController.php +0 -18
- package/dashboards/laravel/index.php +0 -375
- package/dashboards/laravel/lib/Api.php +0 -73
- package/dashboards/laravel/lib/Helpers.php +0 -123
- package/dashboards/laravel/public/styles.css +0 -175
- package/dashboards/laravel/views/activity.php +0 -127
- package/dashboards/laravel/views/agent-detail.php +0 -534
- package/dashboards/laravel/views/agents.php +0 -204
- package/dashboards/laravel/views/api-keys.php +0 -55
- package/dashboards/laravel/views/approvals.php +0 -152
- package/dashboards/laravel/views/audit.php +0 -30
- package/dashboards/laravel/views/community-skills.php +0 -131
- package/dashboards/laravel/views/compliance.php +0 -48
- package/dashboards/laravel/views/components/modal.php +0 -59
- package/dashboards/laravel/views/components/stats.php +0 -21
- package/dashboards/laravel/views/components/table.php +0 -35
- package/dashboards/laravel/views/dashboard.php +0 -31
- package/dashboards/laravel/views/dlp.php +0 -87
- package/dashboards/laravel/views/domain-status.php +0 -167
- package/dashboards/laravel/views/guardrails.php +0 -95
- package/dashboards/laravel/views/journal.php +0 -50
- package/dashboards/laravel/views/knowledge-contributions.php +0 -185
- package/dashboards/laravel/views/knowledge.php +0 -167
- package/dashboards/laravel/views/layout.php +0 -95
- package/dashboards/laravel/views/login.php +0 -45
- package/dashboards/laravel/views/messages.php +0 -60
- package/dashboards/laravel/views/settings.php +0 -622
- package/dashboards/laravel/views/skill-connections.php +0 -192
- package/dashboards/laravel/views/skills.php +0 -74
- package/dashboards/laravel/views/users.php +0 -42
- package/dashboards/laravel/views/vault.php +0 -80
- package/dashboards/laravel/views/workforce.php +0 -265
- package/dashboards/php/components/layout.php +0 -85
- package/dashboards/php/components/modal.php +0 -22
- package/dashboards/php/components/stats.php +0 -20
- package/dashboards/php/components/table.php +0 -33
- package/dashboards/php/index.php +0 -696
- package/dashboards/php/lib/api.php +0 -37
- package/dashboards/php/lib/auth.php +0 -47
- package/dashboards/php/lib/helpers.php +0 -69
- package/dashboards/php/pages/activity.php +0 -35
- package/dashboards/php/pages/agent-detail.php +0 -552
- package/dashboards/php/pages/agents.php +0 -185
- package/dashboards/php/pages/api-keys.php +0 -34
- package/dashboards/php/pages/approvals.php +0 -36
- package/dashboards/php/pages/audit.php +0 -31
- package/dashboards/php/pages/community-skills.php +0 -39
- package/dashboards/php/pages/compliance.php +0 -38
- package/dashboards/php/pages/dashboard.php +0 -29
- package/dashboards/php/pages/dlp.php +0 -65
- package/dashboards/php/pages/domain-status.php +0 -87
- package/dashboards/php/pages/guardrails.php +0 -70
- package/dashboards/php/pages/journal.php +0 -53
- package/dashboards/php/pages/knowledge-contributions.php +0 -47
- package/dashboards/php/pages/knowledge.php +0 -43
- package/dashboards/php/pages/login.php +0 -34
- package/dashboards/php/pages/messages.php +0 -53
- package/dashboards/php/pages/settings.php +0 -687
- package/dashboards/php/pages/skill-connections.php +0 -94
- package/dashboards/php/pages/skills.php +0 -70
- package/dashboards/php/pages/users.php +0 -37
- package/dashboards/php/pages/vault.php +0 -70
- package/dashboards/php/pages/workforce.php +0 -89
- package/dashboards/php/public/styles.css +0 -175
- package/dashboards/python/app.py +0 -91
- package/dashboards/python/routes/__init__.py +0 -0
- package/dashboards/python/routes/activity.py +0 -11
- package/dashboards/python/routes/agents.py +0 -296
- package/dashboards/python/routes/api_keys.py +0 -49
- package/dashboards/python/routes/approvals.py +0 -11
- package/dashboards/python/routes/audit.py +0 -33
- package/dashboards/python/routes/auth.py +0 -30
- package/dashboards/python/routes/community_skills.py +0 -11
- package/dashboards/python/routes/compliance.py +0 -50
- package/dashboards/python/routes/dashboard.py +0 -32
- package/dashboards/python/routes/dlp.py +0 -64
- package/dashboards/python/routes/domain_status.py +0 -11
- package/dashboards/python/routes/guardrails.py +0 -79
- package/dashboards/python/routes/journal.py +0 -40
- package/dashboards/python/routes/knowledge.py +0 -11
- package/dashboards/python/routes/knowledge_contributions.py +0 -11
- package/dashboards/python/routes/messages.py +0 -46
- package/dashboards/python/routes/settings.py +0 -260
- package/dashboards/python/routes/skill_connections.py +0 -11
- package/dashboards/python/routes/skills.py +0 -59
- package/dashboards/python/routes/users.py +0 -43
- package/dashboards/python/routes/vault.py +0 -59
- package/dashboards/python/routes/workforce.py +0 -11
- package/dashboards/python/static/styles.css +0 -175
- package/dashboards/python/templates/activity.html +0 -87
- package/dashboards/python/templates/agent_detail.html +0 -552
- package/dashboards/python/templates/agents.html +0 -246
- package/dashboards/python/templates/api_keys.html +0 -64
- package/dashboards/python/templates/approvals.html +0 -86
- package/dashboards/python/templates/audit.html +0 -50
- package/dashboards/python/templates/community-skills.html +0 -69
- package/dashboards/python/templates/compliance.html +0 -74
- package/dashboards/python/templates/components/modal.html +0 -43
- package/dashboards/python/templates/components/stats.html +0 -26
- package/dashboards/python/templates/components/table.html +0 -43
- package/dashboards/python/templates/dashboard.html +0 -34
- package/dashboards/python/templates/dlp.html +0 -159
- package/dashboards/python/templates/domain-status.html +0 -64
- package/dashboards/python/templates/guardrails.html +0 -131
- package/dashboards/python/templates/journal.html +0 -66
- package/dashboards/python/templates/knowledge-contributions.html +0 -71
- package/dashboards/python/templates/knowledge.html +0 -69
- package/dashboards/python/templates/layout.html +0 -121
- package/dashboards/python/templates/login.html +0 -36
- package/dashboards/python/templates/messages.html +0 -90
- package/dashboards/python/templates/settings.html +0 -624
- package/dashboards/python/templates/skill-connections.html +0 -72
- package/dashboards/python/templates/skills.html +0 -89
- package/dashboards/python/templates/users.html +0 -70
- package/dashboards/python/templates/vault.html +0 -73
- package/dashboards/python/templates/workforce.html +0 -112
- package/dashboards/python/utils/__init__.py +0 -0
- package/dashboards/python/utils/api.py +0 -35
- package/dashboards/python/utils/helpers.py +0 -90
- package/dashboards/rails/app.rb +0 -64
- package/dashboards/rails/helpers/api.rb +0 -39
- package/dashboards/rails/helpers/auth.rb +0 -11
- package/dashboards/rails/helpers/view.rb +0 -95
- package/dashboards/rails/public/styles.css +0 -546
- package/dashboards/rails/routes/activity.rb +0 -10
- package/dashboards/rails/routes/agents.rb +0 -173
- package/dashboards/rails/routes/api_keys.rb +0 -30
- package/dashboards/rails/routes/approvals.rb +0 -10
- package/dashboards/rails/routes/audit.rb +0 -15
- package/dashboards/rails/routes/auth.rb +0 -29
- package/dashboards/rails/routes/community_skills.rb +0 -11
- package/dashboards/rails/routes/compliance.rb +0 -25
- package/dashboards/rails/routes/dashboard.rb +0 -13
- package/dashboards/rails/routes/dlp.rb +0 -40
- package/dashboards/rails/routes/domain_status.rb +0 -16
- package/dashboards/rails/routes/guardrails.rb +0 -51
- package/dashboards/rails/routes/journal.rb +0 -24
- package/dashboards/rails/routes/knowledge.rb +0 -11
- package/dashboards/rails/routes/knowledge_contributions.rb +0 -12
- package/dashboards/rails/routes/messages.rb +0 -22
- package/dashboards/rails/routes/settings.rb +0 -196
- package/dashboards/rails/routes/skill_connections.rb +0 -15
- package/dashboards/rails/routes/skills.rb +0 -38
- package/dashboards/rails/routes/users.rb +0 -18
- package/dashboards/rails/routes/vault.rb +0 -37
- package/dashboards/rails/routes/workforce.rb +0 -16
- package/dashboards/rails/views/activity.erb +0 -56
- package/dashboards/rails/views/agent_detail.erb +0 -550
- package/dashboards/rails/views/agents.erb +0 -214
- package/dashboards/rails/views/api_keys.erb +0 -52
- package/dashboards/rails/views/approvals.erb +0 -60
- package/dashboards/rails/views/audit.erb +0 -38
- package/dashboards/rails/views/community_skills.erb +0 -69
- package/dashboards/rails/views/compliance.erb +0 -69
- package/dashboards/rails/views/dashboard.erb +0 -46
- package/dashboards/rails/views/dlp.erb +0 -104
- package/dashboards/rails/views/domain_status.erb +0 -75
- package/dashboards/rails/views/guardrails.erb +0 -107
- package/dashboards/rails/views/journal.erb +0 -65
- package/dashboards/rails/views/knowledge.erb +0 -67
- package/dashboards/rails/views/knowledge_contributions.erb +0 -70
- package/dashboards/rails/views/layout.erb +0 -61
- package/dashboards/rails/views/login.erb +0 -47
- package/dashboards/rails/views/messages.erb +0 -62
- package/dashboards/rails/views/settings.erb +0 -578
- package/dashboards/rails/views/skill_connections.erb +0 -109
- package/dashboards/rails/views/skills.erb +0 -66
- package/dashboards/rails/views/users.erb +0 -53
- package/dashboards/rails/views/vault.erb +0 -66
- package/dashboards/rails/views/workforce.erb +0 -124
- package/dashboards/ruby/app.rb +0 -74
- package/dashboards/ruby/helpers/api.rb +0 -63
- package/dashboards/ruby/helpers/auth.rb +0 -20
- package/dashboards/ruby/helpers/view.rb +0 -91
- package/dashboards/ruby/public/styles.css +0 -546
- package/dashboards/ruby/routes/activity.rb +0 -10
- package/dashboards/ruby/routes/agents.rb +0 -197
- package/dashboards/ruby/routes/api_keys.rb +0 -43
- package/dashboards/ruby/routes/approvals.rb +0 -10
- package/dashboards/ruby/routes/audit.rb +0 -15
- package/dashboards/ruby/routes/auth.rb +0 -29
- package/dashboards/ruby/routes/community_skills.rb +0 -11
- package/dashboards/ruby/routes/compliance.rb +0 -28
- package/dashboards/ruby/routes/dashboard.rb +0 -13
- package/dashboards/ruby/routes/dlp.rb +0 -55
- package/dashboards/ruby/routes/domain_status.rb +0 -16
- package/dashboards/ruby/routes/guardrails.rb +0 -77
- package/dashboards/ruby/routes/journal.rb +0 -24
- package/dashboards/ruby/routes/knowledge.rb +0 -11
- package/dashboards/ruby/routes/knowledge_contributions.rb +0 -12
- package/dashboards/ruby/routes/messages.rb +0 -27
- package/dashboards/ruby/routes/settings.rb +0 -214
- package/dashboards/ruby/routes/skill_connections.rb +0 -15
- package/dashboards/ruby/routes/skills.rb +0 -50
- package/dashboards/ruby/routes/users.rb +0 -26
- package/dashboards/ruby/routes/vault.rb +0 -49
- package/dashboards/ruby/routes/workforce.rb +0 -16
- package/dashboards/ruby/views/activity.erb +0 -56
- package/dashboards/ruby/views/agent_detail.erb +0 -550
- package/dashboards/ruby/views/agents.erb +0 -214
- package/dashboards/ruby/views/api_keys.erb +0 -59
- package/dashboards/ruby/views/approvals.erb +0 -60
- package/dashboards/ruby/views/audit.erb +0 -38
- package/dashboards/ruby/views/community_skills.erb +0 -69
- package/dashboards/ruby/views/compliance.erb +0 -45
- package/dashboards/ruby/views/dashboard.erb +0 -46
- package/dashboards/ruby/views/dlp.erb +0 -88
- package/dashboards/ruby/views/domain_status.erb +0 -75
- package/dashboards/ruby/views/guardrails.erb +0 -103
- package/dashboards/ruby/views/journal.erb +0 -53
- package/dashboards/ruby/views/knowledge.erb +0 -67
- package/dashboards/ruby/views/knowledge_contributions.erb +0 -70
- package/dashboards/ruby/views/layout.erb +0 -61
- package/dashboards/ruby/views/login.erb +0 -31
- package/dashboards/ruby/views/messages.erb +0 -51
- package/dashboards/ruby/views/settings.erb +0 -579
- package/dashboards/ruby/views/skill_connections.erb +0 -109
- package/dashboards/ruby/views/skills.erb +0 -66
- package/dashboards/ruby/views/users.erb +0 -53
- package/dashboards/ruby/views/vault.erb +0 -66
- package/dashboards/ruby/views/workforce.erb +0 -124
- package/dashboards/shared/styles.css +0 -546
- package/dashboards/shared-styles.css +0 -546
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# http-errors
|
|
2
|
-
|
|
3
|
-
[![NPM Version][npm-version-image]][npm-url]
|
|
4
|
-
[![NPM Downloads][npm-downloads-image]][node-url]
|
|
5
|
-
[![Node.js Version][node-image]][node-url]
|
|
6
|
-
[![Build Status][ci-image]][ci-url]
|
|
7
|
-
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
8
|
-
|
|
9
|
-
Create HTTP errors for Express, Koa, Connect, etc. with ease.
|
|
10
|
-
|
|
11
|
-
## Install
|
|
12
|
-
|
|
13
|
-
This is a [Node.js](https://nodejs.org/en/) module available through the
|
|
14
|
-
[npm registry](https://www.npmjs.com/). Installation is done using the
|
|
15
|
-
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
|
|
16
|
-
|
|
17
|
-
```console
|
|
18
|
-
$ npm install http-errors
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Example
|
|
22
|
-
|
|
23
|
-
```js
|
|
24
|
-
var createError = require('http-errors')
|
|
25
|
-
var express = require('express')
|
|
26
|
-
var app = express()
|
|
27
|
-
|
|
28
|
-
app.use(function (req, res, next) {
|
|
29
|
-
if (!req.user) return next(createError(401, 'Please login to view this page.'))
|
|
30
|
-
next()
|
|
31
|
-
})
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## API
|
|
35
|
-
|
|
36
|
-
This is the current API, currently extracted from Koa and subject to change.
|
|
37
|
-
|
|
38
|
-
### Error Properties
|
|
39
|
-
|
|
40
|
-
- `expose` - can be used to signal if `message` should be sent to the client,
|
|
41
|
-
defaulting to `false` when `status` >= 500
|
|
42
|
-
- `headers` - can be an object of header names to values to be sent to the
|
|
43
|
-
client, defaulting to `undefined`. When defined, the key names should all
|
|
44
|
-
be lower-cased
|
|
45
|
-
- `message` - the traditional error message, which should be kept short and all
|
|
46
|
-
single line
|
|
47
|
-
- `status` - the status code of the error, mirroring `statusCode` for general
|
|
48
|
-
compatibility
|
|
49
|
-
- `statusCode` - the status code of the error, defaulting to `500`
|
|
50
|
-
|
|
51
|
-
### createError([status], [message], [properties])
|
|
52
|
-
|
|
53
|
-
Create a new error object with the given message `msg`.
|
|
54
|
-
The error object inherits from `createError.HttpError`.
|
|
55
|
-
|
|
56
|
-
```js
|
|
57
|
-
var err = createError(404, 'This video does not exist!')
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
- `status: 500` - the status code as a number
|
|
61
|
-
- `message` - the message of the error, defaulting to node's text for that status code.
|
|
62
|
-
- `properties` - custom properties to attach to the object
|
|
63
|
-
|
|
64
|
-
### createError([status], [error], [properties])
|
|
65
|
-
|
|
66
|
-
Extend the given `error` object with `createError.HttpError`
|
|
67
|
-
properties. This will not alter the inheritance of the given
|
|
68
|
-
`error` object, and the modified `error` object is the
|
|
69
|
-
return value.
|
|
70
|
-
|
|
71
|
-
<!-- eslint-disable no-redeclare -->
|
|
72
|
-
|
|
73
|
-
```js
|
|
74
|
-
fs.readFile('foo.txt', function (err, buf) {
|
|
75
|
-
if (err) {
|
|
76
|
-
if (err.code === 'ENOENT') {
|
|
77
|
-
var httpError = createError(404, err, { expose: false })
|
|
78
|
-
} else {
|
|
79
|
-
var httpError = createError(500, err)
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
})
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
- `status` - the status code as a number
|
|
86
|
-
- `error` - the error object to extend
|
|
87
|
-
- `properties` - custom properties to attach to the object
|
|
88
|
-
|
|
89
|
-
### createError.isHttpError(val)
|
|
90
|
-
|
|
91
|
-
Determine if the provided `val` is an `HttpError`. This will return `true`
|
|
92
|
-
if the error inherits from the `HttpError` constructor of this module or
|
|
93
|
-
matches the "duck type" for an error this module creates. All outputs from
|
|
94
|
-
the `createError` factory will return `true` for this function, including
|
|
95
|
-
if an non-`HttpError` was passed into the factory.
|
|
96
|
-
|
|
97
|
-
### new createError\[code || name\](\[msg]\))
|
|
98
|
-
|
|
99
|
-
Create a new error object with the given message `msg`.
|
|
100
|
-
The error object inherits from `createError.HttpError`.
|
|
101
|
-
|
|
102
|
-
```js
|
|
103
|
-
var err = new createError.NotFound()
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
- `code` - the status code as a number
|
|
107
|
-
- `name` - the name of the error as a "bumpy case", i.e. `NotFound` or `InternalServerError`.
|
|
108
|
-
|
|
109
|
-
#### List of all constructors
|
|
110
|
-
|
|
111
|
-
|Status Code|Constructor Name |
|
|
112
|
-
|-----------|-----------------------------|
|
|
113
|
-
|400 |BadRequest |
|
|
114
|
-
|401 |Unauthorized |
|
|
115
|
-
|402 |PaymentRequired |
|
|
116
|
-
|403 |Forbidden |
|
|
117
|
-
|404 |NotFound |
|
|
118
|
-
|405 |MethodNotAllowed |
|
|
119
|
-
|406 |NotAcceptable |
|
|
120
|
-
|407 |ProxyAuthenticationRequired |
|
|
121
|
-
|408 |RequestTimeout |
|
|
122
|
-
|409 |Conflict |
|
|
123
|
-
|410 |Gone |
|
|
124
|
-
|411 |LengthRequired |
|
|
125
|
-
|412 |PreconditionFailed |
|
|
126
|
-
|413 |PayloadTooLarge |
|
|
127
|
-
|414 |URITooLong |
|
|
128
|
-
|415 |UnsupportedMediaType |
|
|
129
|
-
|416 |RangeNotSatisfiable |
|
|
130
|
-
|417 |ExpectationFailed |
|
|
131
|
-
|418 |ImATeapot |
|
|
132
|
-
|421 |MisdirectedRequest |
|
|
133
|
-
|422 |UnprocessableEntity |
|
|
134
|
-
|423 |Locked |
|
|
135
|
-
|424 |FailedDependency |
|
|
136
|
-
|425 |TooEarly |
|
|
137
|
-
|426 |UpgradeRequired |
|
|
138
|
-
|428 |PreconditionRequired |
|
|
139
|
-
|429 |TooManyRequests |
|
|
140
|
-
|431 |RequestHeaderFieldsTooLarge |
|
|
141
|
-
|451 |UnavailableForLegalReasons |
|
|
142
|
-
|500 |InternalServerError |
|
|
143
|
-
|501 |NotImplemented |
|
|
144
|
-
|502 |BadGateway |
|
|
145
|
-
|503 |ServiceUnavailable |
|
|
146
|
-
|504 |GatewayTimeout |
|
|
147
|
-
|505 |HTTPVersionNotSupported |
|
|
148
|
-
|506 |VariantAlsoNegotiates |
|
|
149
|
-
|507 |InsufficientStorage |
|
|
150
|
-
|508 |LoopDetected |
|
|
151
|
-
|509 |BandwidthLimitExceeded |
|
|
152
|
-
|510 |NotExtended |
|
|
153
|
-
|511 |NetworkAuthenticationRequired|
|
|
154
|
-
|
|
155
|
-
## License
|
|
156
|
-
|
|
157
|
-
[MIT](LICENSE)
|
|
158
|
-
|
|
159
|
-
[ci-image]: https://badgen.net/github/checks/jshttp/http-errors/master?label=ci
|
|
160
|
-
[ci-url]: https://github.com/jshttp/http-errors/actions?query=workflow%3Aci
|
|
161
|
-
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/http-errors/master
|
|
162
|
-
[coveralls-url]: https://coveralls.io/r/jshttp/http-errors?branch=master
|
|
163
|
-
[node-image]: https://badgen.net/npm/node/http-errors
|
|
164
|
-
[node-url]: https://nodejs.org/en/download
|
|
165
|
-
[npm-downloads-image]: https://badgen.net/npm/dm/http-errors
|
|
166
|
-
[npm-url]: https://npmjs.org/package/http-errors
|
|
167
|
-
[npm-version-image]: https://badgen.net/npm/v/http-errors
|
|
168
|
-
[travis-image]: https://badgen.net/travis/jshttp/http-errors/master
|
|
169
|
-
[travis-url]: https://travis-ci.org/jshttp/http-errors
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* http-errors
|
|
3
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
4
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
5
|
-
* MIT Licensed
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
'use strict'
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Module dependencies.
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
var deprecate = require('depd')('http-errors')
|
|
16
|
-
var setPrototypeOf = require('setprototypeof')
|
|
17
|
-
var statuses = require('statuses')
|
|
18
|
-
var inherits = require('inherits')
|
|
19
|
-
var toIdentifier = require('toidentifier')
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Module exports.
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
module.exports = createError
|
|
27
|
-
module.exports.HttpError = createHttpErrorConstructor()
|
|
28
|
-
module.exports.isHttpError = createIsHttpErrorFunction(module.exports.HttpError)
|
|
29
|
-
|
|
30
|
-
// Populate exports for all constructors
|
|
31
|
-
populateConstructorExports(module.exports, statuses.codes, module.exports.HttpError)
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Get the code class of a status code.
|
|
35
|
-
* @private
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
function codeClass (status) {
|
|
39
|
-
return Number(String(status).charAt(0) + '00')
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Create a new HTTP Error.
|
|
44
|
-
*
|
|
45
|
-
* @returns {Error}
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
function createError () {
|
|
50
|
-
// so much arity going on ~_~
|
|
51
|
-
var err
|
|
52
|
-
var msg
|
|
53
|
-
var status = 500
|
|
54
|
-
var props = {}
|
|
55
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
56
|
-
var arg = arguments[i]
|
|
57
|
-
var type = typeof arg
|
|
58
|
-
if (type === 'object' && arg instanceof Error) {
|
|
59
|
-
err = arg
|
|
60
|
-
status = err.status || err.statusCode || status
|
|
61
|
-
} else if (type === 'number' && i === 0) {
|
|
62
|
-
status = arg
|
|
63
|
-
} else if (type === 'string') {
|
|
64
|
-
msg = arg
|
|
65
|
-
} else if (type === 'object') {
|
|
66
|
-
props = arg
|
|
67
|
-
} else {
|
|
68
|
-
throw new TypeError('argument #' + (i + 1) + ' unsupported type ' + type)
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (typeof status === 'number' && (status < 400 || status >= 600)) {
|
|
73
|
-
deprecate('non-error status code; use only 4xx or 5xx status codes')
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
if (typeof status !== 'number' ||
|
|
77
|
-
(!statuses.message[status] && (status < 400 || status >= 600))) {
|
|
78
|
-
status = 500
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// constructor
|
|
82
|
-
var HttpError = createError[status] || createError[codeClass(status)]
|
|
83
|
-
|
|
84
|
-
if (!err) {
|
|
85
|
-
// create error
|
|
86
|
-
err = HttpError
|
|
87
|
-
? new HttpError(msg)
|
|
88
|
-
: new Error(msg || statuses.message[status])
|
|
89
|
-
Error.captureStackTrace(err, createError)
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
if (!HttpError || !(err instanceof HttpError) || err.status !== status) {
|
|
93
|
-
// add properties to generic error
|
|
94
|
-
err.expose = status < 500
|
|
95
|
-
err.status = err.statusCode = status
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
for (var key in props) {
|
|
99
|
-
if (key !== 'status' && key !== 'statusCode') {
|
|
100
|
-
err[key] = props[key]
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
return err
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Create HTTP error abstract base class.
|
|
109
|
-
* @private
|
|
110
|
-
*/
|
|
111
|
-
|
|
112
|
-
function createHttpErrorConstructor () {
|
|
113
|
-
function HttpError () {
|
|
114
|
-
throw new TypeError('cannot construct abstract class')
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
inherits(HttpError, Error)
|
|
118
|
-
|
|
119
|
-
return HttpError
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Create a constructor for a client error.
|
|
124
|
-
* @private
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
function createClientErrorConstructor (HttpError, name, code) {
|
|
128
|
-
var className = toClassName(name)
|
|
129
|
-
|
|
130
|
-
function ClientError (message) {
|
|
131
|
-
// create the error object
|
|
132
|
-
var msg = message != null ? message : statuses.message[code]
|
|
133
|
-
var err = new Error(msg)
|
|
134
|
-
|
|
135
|
-
// capture a stack trace to the construction point
|
|
136
|
-
Error.captureStackTrace(err, ClientError)
|
|
137
|
-
|
|
138
|
-
// adjust the [[Prototype]]
|
|
139
|
-
setPrototypeOf(err, ClientError.prototype)
|
|
140
|
-
|
|
141
|
-
// redefine the error message
|
|
142
|
-
Object.defineProperty(err, 'message', {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
configurable: true,
|
|
145
|
-
value: msg,
|
|
146
|
-
writable: true
|
|
147
|
-
})
|
|
148
|
-
|
|
149
|
-
// redefine the error name
|
|
150
|
-
Object.defineProperty(err, 'name', {
|
|
151
|
-
enumerable: false,
|
|
152
|
-
configurable: true,
|
|
153
|
-
value: className,
|
|
154
|
-
writable: true
|
|
155
|
-
})
|
|
156
|
-
|
|
157
|
-
return err
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
inherits(ClientError, HttpError)
|
|
161
|
-
nameFunc(ClientError, className)
|
|
162
|
-
|
|
163
|
-
ClientError.prototype.status = code
|
|
164
|
-
ClientError.prototype.statusCode = code
|
|
165
|
-
ClientError.prototype.expose = true
|
|
166
|
-
|
|
167
|
-
return ClientError
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Create function to test is a value is a HttpError.
|
|
172
|
-
* @private
|
|
173
|
-
*/
|
|
174
|
-
|
|
175
|
-
function createIsHttpErrorFunction (HttpError) {
|
|
176
|
-
return function isHttpError (val) {
|
|
177
|
-
if (!val || typeof val !== 'object') {
|
|
178
|
-
return false
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
if (val instanceof HttpError) {
|
|
182
|
-
return true
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
return val instanceof Error &&
|
|
186
|
-
typeof val.expose === 'boolean' &&
|
|
187
|
-
typeof val.statusCode === 'number' && val.status === val.statusCode
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Create a constructor for a server error.
|
|
193
|
-
* @private
|
|
194
|
-
*/
|
|
195
|
-
|
|
196
|
-
function createServerErrorConstructor (HttpError, name, code) {
|
|
197
|
-
var className = toClassName(name)
|
|
198
|
-
|
|
199
|
-
function ServerError (message) {
|
|
200
|
-
// create the error object
|
|
201
|
-
var msg = message != null ? message : statuses.message[code]
|
|
202
|
-
var err = new Error(msg)
|
|
203
|
-
|
|
204
|
-
// capture a stack trace to the construction point
|
|
205
|
-
Error.captureStackTrace(err, ServerError)
|
|
206
|
-
|
|
207
|
-
// adjust the [[Prototype]]
|
|
208
|
-
setPrototypeOf(err, ServerError.prototype)
|
|
209
|
-
|
|
210
|
-
// redefine the error message
|
|
211
|
-
Object.defineProperty(err, 'message', {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
configurable: true,
|
|
214
|
-
value: msg,
|
|
215
|
-
writable: true
|
|
216
|
-
})
|
|
217
|
-
|
|
218
|
-
// redefine the error name
|
|
219
|
-
Object.defineProperty(err, 'name', {
|
|
220
|
-
enumerable: false,
|
|
221
|
-
configurable: true,
|
|
222
|
-
value: className,
|
|
223
|
-
writable: true
|
|
224
|
-
})
|
|
225
|
-
|
|
226
|
-
return err
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
inherits(ServerError, HttpError)
|
|
230
|
-
nameFunc(ServerError, className)
|
|
231
|
-
|
|
232
|
-
ServerError.prototype.status = code
|
|
233
|
-
ServerError.prototype.statusCode = code
|
|
234
|
-
ServerError.prototype.expose = false
|
|
235
|
-
|
|
236
|
-
return ServerError
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Set the name of a function, if possible.
|
|
241
|
-
* @private
|
|
242
|
-
*/
|
|
243
|
-
|
|
244
|
-
function nameFunc (func, name) {
|
|
245
|
-
var desc = Object.getOwnPropertyDescriptor(func, 'name')
|
|
246
|
-
|
|
247
|
-
if (desc && desc.configurable) {
|
|
248
|
-
desc.value = name
|
|
249
|
-
Object.defineProperty(func, 'name', desc)
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Populate the exports object with constructors for every error class.
|
|
255
|
-
* @private
|
|
256
|
-
*/
|
|
257
|
-
|
|
258
|
-
function populateConstructorExports (exports, codes, HttpError) {
|
|
259
|
-
codes.forEach(function forEachCode (code) {
|
|
260
|
-
var CodeError
|
|
261
|
-
var name = toIdentifier(statuses.message[code])
|
|
262
|
-
|
|
263
|
-
switch (codeClass(code)) {
|
|
264
|
-
case 400:
|
|
265
|
-
CodeError = createClientErrorConstructor(HttpError, name, code)
|
|
266
|
-
break
|
|
267
|
-
case 500:
|
|
268
|
-
CodeError = createServerErrorConstructor(HttpError, name, code)
|
|
269
|
-
break
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
if (CodeError) {
|
|
273
|
-
// export the constructor
|
|
274
|
-
exports[code] = CodeError
|
|
275
|
-
exports[name] = CodeError
|
|
276
|
-
}
|
|
277
|
-
})
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Get a class name from a name identifier.
|
|
282
|
-
*
|
|
283
|
-
* @param {string} name
|
|
284
|
-
* @returns {string}
|
|
285
|
-
* @private
|
|
286
|
-
*/
|
|
287
|
-
|
|
288
|
-
function toClassName (name) {
|
|
289
|
-
return name.slice(-5) === 'Error' ? name : name + 'Error'
|
|
290
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "http-errors",
|
|
3
|
-
"description": "Create HTTP error objects",
|
|
4
|
-
"version": "2.0.1",
|
|
5
|
-
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
|
|
6
|
-
"contributors": [
|
|
7
|
-
"Alan Plum <me@pluma.io>",
|
|
8
|
-
"Douglas Christopher Wilson <doug@somethingdoug.com>"
|
|
9
|
-
],
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"repository": "jshttp/http-errors",
|
|
12
|
-
"funding": {
|
|
13
|
-
"type": "opencollective",
|
|
14
|
-
"url": "https://opencollective.com/express"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"depd": "~2.0.0",
|
|
18
|
-
"inherits": "~2.0.4",
|
|
19
|
-
"setprototypeof": "~1.2.0",
|
|
20
|
-
"statuses": "~2.0.2",
|
|
21
|
-
"toidentifier": "~1.0.1"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"eslint": "7.32.0",
|
|
25
|
-
"eslint-config-standard": "14.1.1",
|
|
26
|
-
"eslint-plugin-import": "2.32.0",
|
|
27
|
-
"eslint-plugin-markdown": "2.2.1",
|
|
28
|
-
"eslint-plugin-node": "11.1.0",
|
|
29
|
-
"eslint-plugin-promise": "5.2.0",
|
|
30
|
-
"eslint-plugin-standard": "4.1.0",
|
|
31
|
-
"mocha": "9.1.3",
|
|
32
|
-
"nyc": "15.1.0"
|
|
33
|
-
},
|
|
34
|
-
"engines": {
|
|
35
|
-
"node": ">= 0.8"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"lint": "eslint . && node ./scripts/lint-readme-list.js",
|
|
39
|
-
"test": "mocha --reporter spec",
|
|
40
|
-
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
41
|
-
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
|
42
|
-
"version": "node scripts/version-history.js && git add HISTORY.md"
|
|
43
|
-
},
|
|
44
|
-
"keywords": [
|
|
45
|
-
"http",
|
|
46
|
-
"error"
|
|
47
|
-
],
|
|
48
|
-
"files": [
|
|
49
|
-
"index.js",
|
|
50
|
-
"HISTORY.md",
|
|
51
|
-
"LICENSE",
|
|
52
|
-
"README.md"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2011 Alexander Shtuchkin
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
-
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
## iconv-lite: Pure JS character encoding conversion
|
|
2
|
-
|
|
3
|
-
[![NPM Version][npm-version-image]][npm-url]
|
|
4
|
-
[![NPM Downloads][npm-downloads-image]][npm-downloads-url]
|
|
5
|
-
[![License][license-image]][license-url]
|
|
6
|
-
[![NPM Install Size][npm-install-size-image]][npm-install-size-url]
|
|
7
|
-
|
|
8
|
-
* No need for native code compilation. Quick to install, works on Windows, Web, and in sandboxed environments.
|
|
9
|
-
* Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parser),
|
|
10
|
-
[Grunt](http://gruntjs.com/), [Nodemailer](http://www.nodemailer.com/), [Yeoman](http://yeoman.io/) and others.
|
|
11
|
-
* Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance comparison).
|
|
12
|
-
* Intuitive encode/decode API, including Streaming support.
|
|
13
|
-
* In-browser usage via [browserify](https://github.com/substack/node-browserify) or [webpack](https://webpack.js.org/) (~180kb gzip compressed with Buffer shim included).
|
|
14
|
-
* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included.
|
|
15
|
-
* React Native is supported (need to install `stream` module to enable Streaming API).
|
|
16
|
-
|
|
17
|
-
## Usage
|
|
18
|
-
|
|
19
|
-
### Basic API
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
var iconv = require('iconv-lite');
|
|
23
|
-
|
|
24
|
-
// Convert from an encoded buffer to a js string.
|
|
25
|
-
str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251');
|
|
26
|
-
|
|
27
|
-
// Convert from a js string to an encoded buffer.
|
|
28
|
-
buf = iconv.encode("Sample input string", 'win1251');
|
|
29
|
-
|
|
30
|
-
// Check if encoding is supported
|
|
31
|
-
iconv.encodingExists("us-ascii")
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Streaming API
|
|
35
|
-
|
|
36
|
-
```javascript
|
|
37
|
-
// Decode stream (from binary data stream to js strings)
|
|
38
|
-
http.createServer(function(req, res) {
|
|
39
|
-
var converterStream = iconv.decodeStream('win1251');
|
|
40
|
-
req.pipe(converterStream);
|
|
41
|
-
|
|
42
|
-
converterStream.on('data', function(str) {
|
|
43
|
-
console.log(str); // Do something with decoded strings, chunk-by-chunk.
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// Convert encoding streaming example
|
|
48
|
-
fs.createReadStream('file-in-win1251.txt')
|
|
49
|
-
.pipe(iconv.decodeStream('win1251'))
|
|
50
|
-
.pipe(iconv.encodeStream('ucs2'))
|
|
51
|
-
.pipe(fs.createWriteStream('file-in-ucs2.txt'));
|
|
52
|
-
|
|
53
|
-
// Sugar: all encode/decode streams have .collect(cb) method to accumulate data.
|
|
54
|
-
http.createServer(function(req, res) {
|
|
55
|
-
req.pipe(iconv.decodeStream('win1251')).collect(function(err, body) {
|
|
56
|
-
assert(typeof body == 'string');
|
|
57
|
-
console.log(body); // full request body string
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
## Supported encodings
|
|
63
|
-
|
|
64
|
-
* All node.js native encodings: utf8, ucs2 / utf16-le, ascii, binary, base64, hex.
|
|
65
|
-
* Additional unicode encodings: utf16, utf16-be, utf-7, utf-7-imap, utf32, utf32-le, and utf32-be.
|
|
66
|
-
* All widespread singlebyte encodings: Windows 125x family, ISO-8859 family,
|
|
67
|
-
IBM/DOS codepages, Macintosh family, KOI8 family, all others supported by iconv library.
|
|
68
|
-
Aliases like 'latin1', 'us-ascii' also supported.
|
|
69
|
-
* All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP.
|
|
70
|
-
|
|
71
|
-
See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings).
|
|
72
|
-
|
|
73
|
-
Most singlebyte encodings are generated automatically from [node-iconv](https://github.com/bnoordhuis/node-iconv). Thank you Ben Noordhuis and libiconv authors!
|
|
74
|
-
|
|
75
|
-
Multibyte encodings are generated from [Unicode.org mappings](http://www.unicode.org/Public/MAPPINGS/) and [WHATWG Encoding Standard mappings](http://encoding.spec.whatwg.org/). Thank you, respective authors!
|
|
76
|
-
|
|
77
|
-
## Encoding/decoding speed
|
|
78
|
-
|
|
79
|
-
Comparison with node-iconv module (1000x256kb, on MacBook Pro, Core i5/2.6 GHz, Node v0.12.0).
|
|
80
|
-
Note: your results may vary, so please always check on your hardware.
|
|
81
|
-
|
|
82
|
-
operation iconv@2.1.4 iconv-lite@0.4.7
|
|
83
|
-
----------------------------------------------------------
|
|
84
|
-
encode('win1251') ~96 Mb/s ~320 Mb/s
|
|
85
|
-
decode('win1251') ~95 Mb/s ~246 Mb/s
|
|
86
|
-
|
|
87
|
-
## BOM handling
|
|
88
|
-
|
|
89
|
-
* Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options
|
|
90
|
-
(f.ex. `iconv.decode(buf, enc, {stripBOM: false})`).
|
|
91
|
-
A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was actually found.
|
|
92
|
-
* If you want to detect UTF-8 BOM when decoding other encodings, use [node-autodetect-decoder-stream](https://github.com/danielgindi/node-autodetect-decoder-stream) module.
|
|
93
|
-
* Encoding: No BOM added, unless overridden by `addBOM: true` option.
|
|
94
|
-
|
|
95
|
-
## UTF-16 Encodings
|
|
96
|
-
|
|
97
|
-
This library supports UTF-16LE, UTF-16BE and UTF-16 encodings. First two are straightforward, but UTF-16 is trying to be
|
|
98
|
-
smart about endianness in the following ways:
|
|
99
|
-
* Decoding: uses BOM and 'spaces heuristic' to determine input endianness. Default is UTF-16LE, but can be
|
|
100
|
-
overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`.
|
|
101
|
-
* Encoding: uses UTF-16LE and writes BOM by default. Use `addBOM: false` to override.
|
|
102
|
-
|
|
103
|
-
## UTF-32 Encodings
|
|
104
|
-
|
|
105
|
-
This library supports UTF-32LE, UTF-32BE and UTF-32 encodings. Like the UTF-16 encoding above, UTF-32 defaults to UTF-32LE, but uses BOM and 'spaces heuristics' to determine input endianness.
|
|
106
|
-
* The default of UTF-32LE can be overridden with the `defaultEncoding: 'utf-32be'` option. Strips BOM unless `stripBOM: false`.
|
|
107
|
-
* Encoding: uses UTF-32LE and writes BOM by default. Use `addBOM: false` to override. (`defaultEncoding: 'utf-32be'` can also be used here to change encoding.)
|
|
108
|
-
|
|
109
|
-
## Other notes
|
|
110
|
-
|
|
111
|
-
When decoding, be sure to supply a Buffer to decode() method, otherwise [bad things usually happen](https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding).
|
|
112
|
-
Untranslatable characters are set to � or ?. No transliteration is currently supported.
|
|
113
|
-
Node versions 0.10.31 and 0.11.13 are buggy, don't use them (see [#65](https://github.com/ashtuchkin/iconv-lite/issues/65), [#77](https://github.com/ashtuchkin/iconv-lite/issues/77)).
|
|
114
|
-
|
|
115
|
-
## Testing
|
|
116
|
-
|
|
117
|
-
```sh
|
|
118
|
-
git clone git@github.com:ashtuchkin/iconv-lite.git
|
|
119
|
-
cd iconv-lite
|
|
120
|
-
npm install
|
|
121
|
-
npm test
|
|
122
|
-
|
|
123
|
-
# To view performance:
|
|
124
|
-
npm run test:performance
|
|
125
|
-
|
|
126
|
-
# To view test coverage:
|
|
127
|
-
npm run test:cov
|
|
128
|
-
open coverage/index.html
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
[npm-downloads-image]: https://badgen.net/npm/dm/iconv-lite
|
|
132
|
-
[npm-downloads-url]: https://npmcharts.com/compare/iconv-lite?minimal=true
|
|
133
|
-
[npm-url]: https://npmjs.org/package/iconv-lite
|
|
134
|
-
[npm-version-image]: https://badgen.net/npm/v/iconv-lite
|
|
135
|
-
[npm-install-size-image]: https://badgen.net/packagephobia/install/iconv-lite
|
|
136
|
-
[npm-install-size-url]: https://packagephobia.com/result?p=iconv-lite
|
|
137
|
-
[license-image]: https://img.shields.io/npm/l/iconv-lite.svg
|
|
138
|
-
[license-url]: https://github.com/ashtuchkin/iconv-lite/blob/HEAD/LICENSE
|