From 5f8984004eee7026ba53c191dcc99713d48d186e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Sep 2022 17:31:16 +0000 Subject: [PATCH 1/2] arclight version 2.0.1 update --- README.md | 35 +- changelog.php | 88 +- ecosystem.config.js | 12 + node_modules/@types/node/LICENSE | 0 node_modules/@types/node/README.md | 32 +- node_modules/@types/node/assert.d.ts | 0 node_modules/@types/node/assert/strict.d.ts | 0 node_modules/@types/node/async_hooks.d.ts | 0 node_modules/@types/node/buffer.d.ts | 0 node_modules/@types/node/child_process.d.ts | 0 node_modules/@types/node/cluster.d.ts | 0 node_modules/@types/node/console.d.ts | 0 node_modules/@types/node/constants.d.ts | 0 node_modules/@types/node/crypto.d.ts | 0 node_modules/@types/node/dgram.d.ts | 0 .../@types/node/diagnostics_channel.d.ts | 0 node_modules/@types/node/dns.d.ts | 0 node_modules/@types/node/dns/promises.d.ts | 0 node_modules/@types/node/domain.d.ts | 0 node_modules/@types/node/events.d.ts | 0 node_modules/@types/node/fs.d.ts | 0 node_modules/@types/node/fs/promises.d.ts | 0 node_modules/@types/node/globals.d.ts | 0 node_modules/@types/node/globals.global.d.ts | 0 node_modules/@types/node/http.d.ts | 0 node_modules/@types/node/http2.d.ts | 0 node_modules/@types/node/https.d.ts | 0 node_modules/@types/node/index.d.ts | 0 node_modules/@types/node/inspector.d.ts | 0 node_modules/@types/node/module.d.ts | 0 node_modules/@types/node/net.d.ts | 0 node_modules/@types/node/os.d.ts | 0 node_modules/@types/node/package.json | 437 +-- node_modules/@types/node/path.d.ts | 0 node_modules/@types/node/perf_hooks.d.ts | 0 node_modules/@types/node/process.d.ts | 0 node_modules/@types/node/punycode.d.ts | 0 node_modules/@types/node/querystring.d.ts | 0 node_modules/@types/node/readline.d.ts | 0 node_modules/@types/node/repl.d.ts | 0 node_modules/@types/node/stream.d.ts | 0 .../@types/node/stream/consumers.d.ts | 0 node_modules/@types/node/stream/promises.d.ts | 0 node_modules/@types/node/stream/web.d.ts | 0 node_modules/@types/node/string_decoder.d.ts | 0 node_modules/@types/node/test.d.ts | 0 node_modules/@types/node/timers.d.ts | 0 node_modules/@types/node/timers/promises.d.ts | 0 node_modules/@types/node/tls.d.ts | 0 node_modules/@types/node/trace_events.d.ts | 0 node_modules/@types/node/tty.d.ts | 0 node_modules/@types/node/url.d.ts | 0 node_modules/@types/node/util.d.ts | 0 node_modules/@types/node/v8.d.ts | 0 node_modules/@types/node/vm.d.ts | 0 node_modules/@types/node/wasi.d.ts | 0 node_modules/@types/node/worker_threads.d.ts | 0 node_modules/@types/node/zlib.d.ts | 0 .../@types/webidl-conversions/LICENSE | 0 .../@types/webidl-conversions/README.md | 32 +- .../@types/webidl-conversions/index.d.ts | 0 .../@types/webidl-conversions/package.json | 77 +- node_modules/@types/whatwg-url/LICENSE | 0 node_modules/@types/whatwg-url/README.md | 32 +- .../@types/whatwg-url/dist/URL-impl.d.ts | 0 node_modules/@types/whatwg-url/dist/URL.d.ts | 0 .../whatwg-url/dist/URLSearchParams-impl.d.ts | 0 .../whatwg-url/dist/URLSearchParams.d.ts | 0 node_modules/@types/whatwg-url/index.d.ts | 0 node_modules/@types/whatwg-url/package.json | 90 +- .../@types/whatwg-url/webidl2js-wrapper.d.ts | 0 node_modules/abbrev/package.json | 65 +- node_modules/accepts/package.json | 72 +- node_modules/ansi-styles/package.json | 143 +- node_modules/array-flatten/package.json | 70 +- node_modules/asn1.js/package.json | 78 +- node_modules/async/package.json | 76 +- node_modules/balanced-match/package.json | 66 +- node_modules/base64-js/package.json | 69 +- .../node_modules/safe-buffer/package.json | 38 +- node_modules/basic-auth/package.json | 61 +- node_modules/bcrypt/appveyor.yml | 100 +- .../lib/binding/napi-v3/bcrypt_lib.node | Bin node_modules/bcrypt/test_alpine.sh | 0 node_modules/bn.js/package.json | 75 +- node_modules/body-parser/package.json | 64 +- node_modules/brace-expansion/package.json | 67 +- node_modules/bson/bson-ts34.d.ts | 2266 +++++++------- node_modules/bson/dist/bson.browser.esm.js | 26 +- node_modules/bson/dist/bson.browser.umd.js | 26 +- node_modules/bson/dist/bson.bundle.js | 26 +- node_modules/bson/dist/bson.esm.js | 26 +- node_modules/bson/etc/prepare.js | 0 node_modules/bson/package.json | 147 +- .../buffer-equal-constant-time/package.json | 57 +- node_modules/buffer/package.json | 74 +- node_modules/bytes/package.json | 86 +- node_modules/call-bind/package.json | 187 +- node_modules/chalk/package.json | 167 +- node_modules/color-convert/package.json | 78 +- node_modules/color-name/LICENSE | 14 +- node_modules/color-name/README.md | 22 +- node_modules/color-name/index.js | 304 +- node_modules/color-name/package.json | 87 +- node_modules/concat-map/package.json | 128 +- .../connect-ensure-login/package.json | 75 +- node_modules/connect-flash/package.json | 71 +- .../node_modules/debug/package.json | 109 +- .../node_modules/ms/package.json | 73 +- node_modules/connect-mongo/package.json | 204 +- node_modules/content-disposition/package.json | 66 +- node_modules/content-type/package.json | 69 +- node_modules/cookie-signature/package.json | 59 +- node_modules/cookie/package.json | 69 +- node_modules/debug/package.json | 89 +- node_modules/denque/package.json | 98 +- node_modules/depd/package.json | 69 +- node_modules/destroy/package.json | 68 +- node_modules/dotenv/package.json | 95 +- node_modules/ecdsa-sig-formatter/package.json | 82 +- node_modules/ee-first/package.json | 56 +- node_modules/encodeurl/package.json | 69 +- node_modules/escape-html/package.json | 62 +- node_modules/etag/package.json | 72 +- .../node_modules/cookie/package.json | 69 +- node_modules/express-session/package.json | 67 +- node_modules/express-validator/package.json | 119 +- node_modules/express/package.json | 112 +- .../node_modules/brace-expansion/package.json | 67 +- .../node_modules/minimatch/package.json | 72 +- node_modules/filelist/package.json | 68 +- node_modules/finalhandler/package.json | 56 +- node_modules/forwarded/package.json | 66 +- node_modules/fresh/package.json | 81 +- node_modules/function-bind/package.json | 82 +- node_modules/get-intrinsic/package.json | 204 +- node_modules/has-flag/package.json | 123 +- node_modules/has-symbols/package.json | 226 +- node_modules/has/package.json | 70 +- node_modules/http-errors/package.json | 85 +- node_modules/iconv-lite/package.json | 120 +- node_modules/ieee754/package.json | 73 +- node_modules/inherits/package.json | 62 +- node_modules/ip/package.json | 61 +- node_modules/ipaddr.js/package.json | 64 +- .../jsonwebtoken/node_modules/ms/package.json | 75 +- node_modules/jsonwebtoken/package.json | 98 +- node_modules/jwa/package.json | 63 +- node_modules/jws/package.json | 73 +- node_modules/kareem/package.json | 61 +- node_modules/kruptein/package.json | 71 +- node_modules/lodash.includes/package.json | 77 +- node_modules/lodash.isboolean/package.json | 77 +- node_modules/lodash.isinteger/package.json | 77 +- node_modules/lodash.isnumber/package.json | 77 +- .../lodash.isplainobject/package.json | 77 +- node_modules/lodash.isstring/package.json | 77 +- node_modules/lodash.once/package.json | 77 +- node_modules/lodash/package.json | 69 +- node_modules/media-typer/package.json | 54 +- node_modules/memory-pager/package.json | 58 +- node_modules/merge-descriptors/package.json | 60 +- node_modules/methods/package.json | 80 +- node_modules/mime-db/package.json | 86 +- node_modules/mime-types/package.json | 77 +- node_modules/minimalistic-assert/package.json | 50 +- node_modules/minimatch/package.json | 78 +- .../package.json | 96 +- node_modules/mongodb/etc/prepare.js | 0 node_modules/mongodb/package.json | 107 +- node_modules/mongoose/dist/browser.umd.js | 26 +- .../mongoose/node_modules/ms/package.json | 75 +- node_modules/mongoose/package.json | 153 +- .../node_modules/on-finished/package.json | 58 +- node_modules/morgan/package.json | 76 +- node_modules/mpath/package.json | 80 +- .../mquery/node_modules/debug/package.json | 109 +- .../mquery/node_modules/ms/package.json | 73 +- node_modules/mquery/package.json | 67 +- node_modules/ms/package.json | 73 +- node_modules/negotiator/package.json | 83 +- .../node-addon-api/tools/conversion.js | 0 .../whatwg-url/lib/url-state-machine.js | 2594 ++++++++--------- node_modules/object-inspect/package.json | 127 +- node_modules/on-finished/package.json | 61 +- node_modules/on-headers/package.json | 67 +- node_modules/parseurl/package.json | 65 +- node_modules/passport-jwt/package.json | 78 +- node_modules/passport-local/package.json | 81 +- node_modules/passport-strategy/package.json | 76 +- node_modules/passport/package.json | 88 +- node_modules/path-to-regexp/package.json | 62 +- node_modules/pause/package.json | 45 +- node_modules/proxy-addr/package.json | 66 +- node_modules/punycode/package.json | 94 +- node_modules/qs/package.json | 170 +- node_modules/random-bytes/package.json | 66 +- node_modules/range-parser/package.json | 86 +- node_modules/raw-body/package.json | 63 +- node_modules/safe-buffer/package.json | 70 +- node_modules/safer-buffer/package.json | 56 +- node_modules/saslprep/package.json | 86 +- .../send/node_modules/ms/package.json | 75 +- node_modules/send/package.json | 82 +- node_modules/serve-static/package.json | 56 +- node_modules/setprototypeof/package.json | 85 +- node_modules/side-channel/package.json | 161 +- node_modules/sift/README.md | 0 node_modules/sift/es5m/index.js | 58 +- node_modules/sift/lib/index.js | 58 +- node_modules/sift/package.json | 85 +- node_modules/sift/sift.csp.min.js | 58 +- .../simple-update-notifier/build/index.js | 102 +- node_modules/smart-buffer/package.json | 101 +- node_modules/socks/package.json | 111 +- node_modules/sparse-bitfield/package.json | 58 +- node_modules/statuses/package.json | 81 +- node_modules/supports-color/package.json | 137 +- node_modules/toidentifier/package.json | 63 +- node_modules/tr46/package.json | 91 +- node_modules/type-is/package.json | 67 +- node_modules/uid-safe/package.json | 72 +- node_modules/unpipe/package.json | 56 +- node_modules/utils-merge/package.json | 68 +- node_modules/validator/es/lib/isCurrency.js | 0 node_modules/validator/lib/isCurrency.js | 0 node_modules/validator/package.json | 116 +- node_modules/vary/package.json | 64 +- node_modules/webidl-conversions/package.json | 81 +- node_modules/whatwg-url/package.json | 78 +- node_modules/wide-align/LICENSE | 0 node_modules/wide-align/README.md | 0 node_modules/wide-align/align.js | 0 node_modules/wide-align/package.json | 0 pages/config/version.php | 4 +- pages/domain/instance-list-user.php | 2575 ++++++++-------- pages/logging/logs.php | 2 +- pages/terminal/xterm.php | 208 +- routes/terminal.js | 11 +- startup.sh | 41 +- tokens.php | 1 + 241 files changed, 7790 insertions(+), 12987 deletions(-) create mode 100644 ecosystem.config.js mode change 100644 => 100755 node_modules/@types/node/LICENSE mode change 100644 => 100755 node_modules/@types/node/README.md mode change 100644 => 100755 node_modules/@types/node/assert.d.ts mode change 100644 => 100755 node_modules/@types/node/assert/strict.d.ts mode change 100644 => 100755 node_modules/@types/node/async_hooks.d.ts mode change 100644 => 100755 node_modules/@types/node/buffer.d.ts mode change 100644 => 100755 node_modules/@types/node/child_process.d.ts mode change 100644 => 100755 node_modules/@types/node/cluster.d.ts mode change 100644 => 100755 node_modules/@types/node/console.d.ts mode change 100644 => 100755 node_modules/@types/node/constants.d.ts mode change 100644 => 100755 node_modules/@types/node/crypto.d.ts mode change 100644 => 100755 node_modules/@types/node/dgram.d.ts mode change 100644 => 100755 node_modules/@types/node/diagnostics_channel.d.ts mode change 100644 => 100755 node_modules/@types/node/dns.d.ts mode change 100644 => 100755 node_modules/@types/node/dns/promises.d.ts mode change 100644 => 100755 node_modules/@types/node/domain.d.ts mode change 100644 => 100755 node_modules/@types/node/events.d.ts mode change 100644 => 100755 node_modules/@types/node/fs.d.ts mode change 100644 => 100755 node_modules/@types/node/fs/promises.d.ts mode change 100644 => 100755 node_modules/@types/node/globals.d.ts mode change 100644 => 100755 node_modules/@types/node/globals.global.d.ts mode change 100644 => 100755 node_modules/@types/node/http.d.ts mode change 100644 => 100755 node_modules/@types/node/http2.d.ts mode change 100644 => 100755 node_modules/@types/node/https.d.ts mode change 100644 => 100755 node_modules/@types/node/index.d.ts mode change 100644 => 100755 node_modules/@types/node/inspector.d.ts mode change 100644 => 100755 node_modules/@types/node/module.d.ts mode change 100644 => 100755 node_modules/@types/node/net.d.ts mode change 100644 => 100755 node_modules/@types/node/os.d.ts mode change 100644 => 100755 node_modules/@types/node/package.json mode change 100644 => 100755 node_modules/@types/node/path.d.ts mode change 100644 => 100755 node_modules/@types/node/perf_hooks.d.ts mode change 100644 => 100755 node_modules/@types/node/process.d.ts mode change 100644 => 100755 node_modules/@types/node/punycode.d.ts mode change 100644 => 100755 node_modules/@types/node/querystring.d.ts mode change 100644 => 100755 node_modules/@types/node/readline.d.ts mode change 100644 => 100755 node_modules/@types/node/repl.d.ts mode change 100644 => 100755 node_modules/@types/node/stream.d.ts mode change 100644 => 100755 node_modules/@types/node/stream/consumers.d.ts mode change 100644 => 100755 node_modules/@types/node/stream/promises.d.ts mode change 100644 => 100755 node_modules/@types/node/stream/web.d.ts mode change 100644 => 100755 node_modules/@types/node/string_decoder.d.ts mode change 100644 => 100755 node_modules/@types/node/test.d.ts mode change 100644 => 100755 node_modules/@types/node/timers.d.ts mode change 100644 => 100755 node_modules/@types/node/timers/promises.d.ts mode change 100644 => 100755 node_modules/@types/node/tls.d.ts mode change 100644 => 100755 node_modules/@types/node/trace_events.d.ts mode change 100644 => 100755 node_modules/@types/node/tty.d.ts mode change 100644 => 100755 node_modules/@types/node/url.d.ts mode change 100644 => 100755 node_modules/@types/node/util.d.ts mode change 100644 => 100755 node_modules/@types/node/v8.d.ts mode change 100644 => 100755 node_modules/@types/node/vm.d.ts mode change 100644 => 100755 node_modules/@types/node/wasi.d.ts mode change 100644 => 100755 node_modules/@types/node/worker_threads.d.ts mode change 100644 => 100755 node_modules/@types/node/zlib.d.ts mode change 100644 => 100755 node_modules/@types/webidl-conversions/LICENSE mode change 100644 => 100755 node_modules/@types/webidl-conversions/README.md mode change 100644 => 100755 node_modules/@types/webidl-conversions/index.d.ts mode change 100644 => 100755 node_modules/@types/webidl-conversions/package.json mode change 100644 => 100755 node_modules/@types/whatwg-url/LICENSE mode change 100644 => 100755 node_modules/@types/whatwg-url/README.md mode change 100644 => 100755 node_modules/@types/whatwg-url/dist/URL-impl.d.ts mode change 100644 => 100755 node_modules/@types/whatwg-url/dist/URL.d.ts mode change 100644 => 100755 node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts mode change 100644 => 100755 node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts mode change 100644 => 100755 node_modules/@types/whatwg-url/index.d.ts mode change 100644 => 100755 node_modules/@types/whatwg-url/package.json mode change 100644 => 100755 node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts mode change 100644 => 100755 node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node mode change 100644 => 100755 node_modules/bcrypt/test_alpine.sh mode change 100644 => 100755 node_modules/bson/etc/prepare.js mode change 100644 => 100755 node_modules/kruptein/package.json mode change 100644 => 100755 node_modules/mongodb/etc/prepare.js mode change 100644 => 100755 node_modules/node-addon-api/tools/conversion.js mode change 100644 => 100755 node_modules/sift/README.md mode change 100644 => 100755 node_modules/validator/es/lib/isCurrency.js mode change 100644 => 100755 node_modules/validator/lib/isCurrency.js mode change 100644 => 100755 node_modules/wide-align/LICENSE mode change 100644 => 100755 node_modules/wide-align/README.md mode change 100644 => 100755 node_modules/wide-align/align.js mode change 100644 => 100755 node_modules/wide-align/package.json diff --git a/README.md b/README.md index 4f82c62a..8191146d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,9 @@ - -

Chatnaut_Cloud_Solutions

-

-Arclight - An open source server virtualization management solution | Product Hunt - -

+

@@ -16,7 +11,7 @@ - GitHub open issues + GitHub open issues Follow @chatnaut @@ -50,7 +45,7 @@ Arclight is a server virtualization management solution based on KVM. It is desi

- 🎉 🚀 🐱 + ?? ?? ??

@@ -63,7 +58,7 @@ Arclight is a server virtualization management solution based on KVM. It is desi

-## ✨ Arclight Features +## ? Arclight Features - Simple and Minimalist UI - Create virtual machines on bare-metal servers or in your home lab. - Nested virtualization including Bare-Metal provisioning (Vms inside Vms). @@ -79,28 +74,26 @@ Arclight is a server virtualization management solution based on KVM. It is desi



-## 🏁 Getting Started +## ?? Getting Started - [Installation](#Installation) - - [Installation on Ubuntu Server](https://docs.chatnaut.com/getting_started/ubuntu) - - [Installation on CentOS 8 Server](https://docs.chatnaut.com/getting_started/centos) -- [Add Reverse Proxy & Encrypt Arclight](https://docs.chatnaut.com/encrypt_arclight/) - - [Add Reverse Proxy & Encrypt Arclight with Let’s Encrypt](https://docs.chatnaut.com/encrypt_arclight/cert) - - [Add Reverse Proxy & Encrypt Encrypt Arclight with self-signed cert](https://docs.chatnaut.com/encrypt_arclight/self-cert) -- [Add Custom Storage Pools](https://docs.chatnaut.com/add-storage-pool) -- [ISO images for KVM machines](https://docs.chatnaut.com/iso-images-for-kvm) -

Arclight documentation
lives here.
+ - [Installation on Ubuntu Server](#Installation-on-Ubuntu-Server) + - [Installation on CentOS 7 Server](#Installation-on-CentOS-7-Server) +- [Add Custom Storage Pools](#Add-Custom-Storage-Pools) +- [ISO images for KVM machines](#ISO-images-for-KVM-machines) +- [Encrypt Arclight Console](#Encrypt-Arclight-Console) +- [Encrypt Arclight console with self-signed cert](#Encrypt-Arclight-console-with-self-signed-cert) +

Arclight documentation lives here.
For More Information about its features visit arclight page at chatnaut.com



-## 👨‍💻 License +## ????? License Arclight is open-source, licensed as GPL v3. The client and component libraries are licensed as MPL.



-## 👋 Contributing to Arclight +## ?? Contributing to Arclight From opening a bug report to creating a pull request: every contribution is appreciated and welcomed. If you're planning to implement a new feature or change the API please create an issue first. This way we can ensure your work is not in vain. Let's build this damn Cloud ! - diff --git a/changelog.php b/changelog.php index 03637bc5..c66edba2 100755 --- a/changelog.php +++ b/changelog.php @@ -1,42 +1,46 @@ - -


-

Changelog

-[2.0.0] - 10.Aug.2022 -*Official Stable release of the Arclight: -Tested with Ubuntu 18.04 LTS on IBM Cloud bare metal https://cloud.ibm.com/gen1/infrastructure/provision/bm) -Tested with Ubuntu 20.04 LTS on AWS C5 & C5n Bare Metal Instance - -*Now support Ubuntu major versions like 18.04 and 20.04 -*Added Bare Metal provisioning support -*Users can now ssh host and other remote servers securely with arclight's in-built SSH client -*Added Modules to the dashboard -*Implementation of Arclight's own api which is used to communicate with the Arclight server and the database -*Added new signup and signin page for user validation and authentication. -*Added all-in-one certificate management for the Arclight server -*Fixed issue where noVNC is unable to get certificate paths other than in /etc/ssl/self.pem -*Added custom tailwind module for future use -*Arclight is now using MongoDB as its database which is more scalable and faster than MySQL -*Added startup bash script to automatically install all the dependencies and linux distro packages required for Arclight to work -*Redesigned the initial setup page of Arclight to a single configuration page with less options -*Minimized the number of pages by using single page for all the settings -*Modified sidebar menu, structured for future use of multiple host machines (clustering) -*Added scrollable events log that will list all the events that occurred for a virtual machine. -*Improved performance of windows instances. -*fixed Windows 10 CPU bug where it ignores extra CPU cores. -*Added Arc API health checker. -*Improved how virtual machines are created by adding better error notifications, breaking the process into several steps of creation to handle errors better. -*Improved updating process. Now instead of git pull, fetching the origin and reseting it. This will override any changes to local files. -*Modified user sidebar navigation to include just Host, Virtual Machines, Storage, and Networking, simplifying the menu -*Creating a new vm, storage pool, storage volume, and network fall on their respective pages -*Improved layout of the noVNC connection on domain-single.php -*Hid the XML on the domain-single.php page until user wants to edit it. Preventing accidental changes to guest -*Improved layout of the Host page with additional Information such as uptime and libvirt version -*Improved layout of the instance provisioning modal with extra Advanced CPU options -*Automactically notify users of any updates to Arclight with a notification bar at the top of the page. -*Increased the number of error notifications that exist -*Changes to the HTML/CSS theme have improved scrollbar apperance and better use of web page realestate -*The noVNC connection is loaded from an authenticated web page. -*The tokens for the noVNC connection are now 100 character random strings, which change everytime a VM page is loaded (domain-single.php) -*The console preview on the domain-single.php is now a live noVNC connection to the machine rather than a static image - - + +
+

Changelog

+[2.0.1] - 7.Sept.2022 +*Fixed XML provisioning of Bare Metal instances pointing to default VM configuration +*Using the PM2 ecosystem file for Arc Api which provides the possibility to configure behavior, options, environment variables, and the log files of Lisk Service with PM2 +*Fixed terminal timeout error caused due to wrong port configuration. +*Replaced in-line arc api args with PM2 file. +*Fixed webssh api endpoint throwing buffered response. + +[2.0.0] - 10.Aug.2022 +*Official Stable release of the Arclight: +Tested with Ubuntu 18.04 LTS on IBM Cloud bare metal https://cloud.ibm.com/gen1/infrastructure/provision/bm) +Tested with Ubuntu 20.04 LTS on AWS C5 & C5n Bare Metal Instance +*Now support Ubuntu major versions like 18.04 and 20.04 +*Added Bare Metal provisioning support +*Users can now ssh host and other remote servers securely with arclight's in-built SSH client +*Added Modules to the dashboard +*Implementation of Arclight's own api which is used to communicate with the Arclight server and the database +*Added new signup and signin page for user validation and authentication. +*Added all-in-one certificate management for the Arclight server +*Fixed issue where noVNC is unable to get certificate paths other than in /etc/ssl/self.pem +*Added custom tailwind module for future use +*Arclight is now using MongoDB as its database which is more scalable and faster than MySQL +*Added startup bash script to automatically install all the dependencies and linux distro packages required for Arclight to work +*Redesigned the initial setup page of Arclight to a single configuration page with less options +*Minimized the number of pages by using single page for all the settings +*Modified sidebar menu, structured for future use of multiple host machines (clustering) +*Added scrollable events log that will list all the events that occurred for a virtual machine. +*Improved performance of windows instances. +*fixed Windows 10 CPU bug where it ignores extra CPU cores. +*Added Arc API health checker. +*Improved how virtual machines are created by adding better error notifications, breaking the process into several steps of creation to handle errors better. +*Improved updating process. Now instead of git pull, fetching the origin and reseting it. This will override any changes to local files. +*Modified user sidebar navigation to include just Host, Virtual Machines, Storage, and Networking, simplifying the menu +*Creating a new vm, storage pool, storage volume, and network fall on their respective pages +*Improved layout of the noVNC connection on domain-single.php +*Hid the XML on the domain-single.php page until user wants to edit it. Preventing accidental changes to guest +*Improved layout of the Host page with additional Information such as uptime and libvirt version +*Improved layout of the instance provisioning modal with extra Advanced CPU options +*Automactically notify users of any updates to Arclight with a notification bar at the top of the page. +*Increased the number of error notifications that exist +*Changes to the HTML/CSS theme have improved scrollbar apperance and better use of web page realestate +*The noVNC connection is loaded from an authenticated web page. +*The tokens for the noVNC connection are now 100 character random strings, which change everytime a VM page is loaded (domain-single.php) +*The console preview on the domain-single.php is now a live noVNC connection to the machine rather than a static image \ No newline at end of file diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 00000000..70e82c96 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,12 @@ +module.exports = { + apps: [{ + name: "arc", + script: "./app.js", + watch: false, + log_date_format: 'YYYY-MM-DD HH:mm:ss SSS', + autorestart: true, + env: { + PORT: '3000', + } + }] +} diff --git a/node_modules/@types/node/LICENSE b/node_modules/@types/node/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md old mode 100644 new mode 100755 index a5bae5a1..7297105d --- a/node_modules/@types/node/README.md +++ b/node_modules/@types/node/README.md @@ -1,16 +1,16 @@ -# Installation -> `npm install --save @types/node` - -# Summary -This package contains type definitions for Node.js (https://nodejs.org/). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. - -### Additional Details - * Last updated: Wed, 15 Jun 2022 23:01:34 GMT - * Dependencies: none - * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone` - -# Credits -These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina). +# Installation +> `npm install --save @types/node` + +# Summary +This package contains type definitions for Node.js (https://nodejs.org/). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. + +### Additional Details + * Last updated: Wed, 15 Jun 2022 23:01:34 GMT + * Dependencies: none + * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone` + +# Credits +These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), and [Matteo Collina](https://github.com/mcollina). diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/assert/strict.d.ts b/node_modules/@types/node/assert/strict.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/async_hooks.d.ts b/node_modules/@types/node/async_hooks.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/buffer.d.ts b/node_modules/@types/node/buffer.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/cluster.d.ts b/node_modules/@types/node/cluster.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/console.d.ts b/node_modules/@types/node/console.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/constants.d.ts b/node_modules/@types/node/constants.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/dgram.d.ts b/node_modules/@types/node/dgram.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/diagnostics_channel.d.ts b/node_modules/@types/node/diagnostics_channel.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/dns.d.ts b/node_modules/@types/node/dns.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/dns/promises.d.ts b/node_modules/@types/node/dns/promises.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/domain.d.ts b/node_modules/@types/node/domain.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/fs/promises.d.ts b/node_modules/@types/node/fs/promises.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/globals.global.d.ts b/node_modules/@types/node/globals.global.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/https.d.ts b/node_modules/@types/node/https.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/index.d.ts b/node_modules/@types/node/index.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/module.d.ts b/node_modules/@types/node/module.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/os.d.ts b/node_modules/@types/node/os.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json old mode 100644 new mode 100755 index ec1fbea2..576b74b4 --- a/node_modules/@types/node/package.json +++ b/node_modules/@types/node/package.json @@ -1,216 +1,225 @@ { - "_args": [ - [ - "@types/node@18.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "@types/node@18.0.0", - "_id": "@types/node@18.0.0", - "_inBundle": false, - "_integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==", - "_location": "/@types/node", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@types/node@18.0.0", "name": "@types/node", - "escapedName": "@types%2fnode", - "scope": "@types", - "rawSpec": "18.0.0", - "saveSpec": null, - "fetchSpec": "18.0.0" - }, - "_requiredBy": [ - "/@types/whatwg-url" - ], - "_resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz", - "_spec": "18.0.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" - }, - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax" - }, - { - "name": "Victor Perin", - "url": "https://github.com/victorperin" - }, - { - "name": "Yongsheng Zhang", - "url": "https://github.com/ZYSzys" - }, - { - "name": "NodeJS Contributors", - "url": "https://github.com/NodeJS" - }, - { - "name": "Linus Unnebäck", - "url": "https://github.com/LinusU" - }, - { - "name": "wafuwafu13", - "url": "https://github.com/wafuwafu13" - }, - { - "name": "Matteo Collina", - "url": "https://github.com/mcollina" - } - ], - "dependencies": {}, - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", - "license": "MIT", - "main": "", - "name": "@types/node", - "repository": { - "type": "git", - "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "typeScriptVersion": "4.0", - "types": "index.d.ts", - "typesPublisherContentHash": "7b0d8dcde4896c79ad74f0d57a24996d6812633e45ed2abd06201f1b078dd9db", - "version": "18.0.0" -} + "version": "18.0.0", + "description": "TypeScript definitions for Node.js", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node", + "license": "MIT", + "contributors": [ + { + "name": "Microsoft TypeScript", + "url": "https://github.com/Microsoft", + "githubUsername": "Microsoft" + }, + { + "name": "DefinitelyTyped", + "url": "https://github.com/DefinitelyTyped", + "githubUsername": "DefinitelyTyped" + }, + { + "name": "Alberto Schiabel", + "url": "https://github.com/jkomyno", + "githubUsername": "jkomyno" + }, + { + "name": "Alvis HT Tang", + "url": "https://github.com/alvis", + "githubUsername": "alvis" + }, + { + "name": "Andrew Makarov", + "url": "https://github.com/r3nya", + "githubUsername": "r3nya" + }, + { + "name": "Benjamin Toueg", + "url": "https://github.com/btoueg", + "githubUsername": "btoueg" + }, + { + "name": "Chigozirim C.", + "url": "https://github.com/smac89", + "githubUsername": "smac89" + }, + { + "name": "David Junger", + "url": "https://github.com/touffy", + "githubUsername": "touffy" + }, + { + "name": "Deividas Bakanas", + "url": "https://github.com/DeividasBakanas", + "githubUsername": "DeividasBakanas" + }, + { + "name": "Eugene Y. Q. Shen", + "url": "https://github.com/eyqs", + "githubUsername": "eyqs" + }, + { + "name": "Hannes Magnusson", + "url": "https://github.com/Hannes-Magnusson-CK", + "githubUsername": "Hannes-Magnusson-CK" + }, + { + "name": "Huw", + "url": "https://github.com/hoo29", + "githubUsername": "hoo29" + }, + { + "name": "Kelvin Jin", + "url": "https://github.com/kjin", + "githubUsername": "kjin" + }, + { + "name": "Klaus Meinhardt", + "url": "https://github.com/ajafff", + "githubUsername": "ajafff" + }, + { + "name": "Lishude", + "url": "https://github.com/islishude", + "githubUsername": "islishude" + }, + { + "name": "Mariusz Wiktorczyk", + "url": "https://github.com/mwiktorczyk", + "githubUsername": "mwiktorczyk" + }, + { + "name": "Mohsen Azimi", + "url": "https://github.com/mohsen1", + "githubUsername": "mohsen1" + }, + { + "name": "Nicolas Even", + "url": "https://github.com/n-e", + "githubUsername": "n-e" + }, + { + "name": "Nikita Galkin", + "url": "https://github.com/galkin", + "githubUsername": "galkin" + }, + { + "name": "Parambir Singh", + "url": "https://github.com/parambirs", + "githubUsername": "parambirs" + }, + { + "name": "Sebastian Silbermann", + "url": "https://github.com/eps1lon", + "githubUsername": "eps1lon" + }, + { + "name": "Simon Schick", + "url": "https://github.com/SimonSchick", + "githubUsername": "SimonSchick" + }, + { + "name": "Thomas den Hollander", + "url": "https://github.com/ThomasdenH", + "githubUsername": "ThomasdenH" + }, + { + "name": "Wilco Bakker", + "url": "https://github.com/WilcoBakker", + "githubUsername": "WilcoBakker" + }, + { + "name": "wwwy3y3", + "url": "https://github.com/wwwy3y3", + "githubUsername": "wwwy3y3" + }, + { + "name": "Samuel Ainsworth", + "url": "https://github.com/samuela", + "githubUsername": "samuela" + }, + { + "name": "Kyle Uehlein", + "url": "https://github.com/kuehlein", + "githubUsername": "kuehlein" + }, + { + "name": "Thanik Bhongbhibhat", + "url": "https://github.com/bhongy", + "githubUsername": "bhongy" + }, + { + "name": "Marcin Kopacz", + "url": "https://github.com/chyzwar", + "githubUsername": "chyzwar" + }, + { + "name": "Trivikram Kamat", + "url": "https://github.com/trivikr", + "githubUsername": "trivikr" + }, + { + "name": "Junxiao Shi", + "url": "https://github.com/yoursunny", + "githubUsername": "yoursunny" + }, + { + "name": "Ilia Baryshnikov", + "url": "https://github.com/qwelias", + "githubUsername": "qwelias" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss", + "githubUsername": "ExE-Boss" + }, + { + "name": "Piotr Błażejewicz", + "url": "https://github.com/peterblazejewicz", + "githubUsername": "peterblazejewicz" + }, + { + "name": "Anna Henningsen", + "url": "https://github.com/addaleax", + "githubUsername": "addaleax" + }, + { + "name": "Victor Perin", + "url": "https://github.com/victorperin", + "githubUsername": "victorperin" + }, + { + "name": "Yongsheng Zhang", + "url": "https://github.com/ZYSzys", + "githubUsername": "ZYSzys" + }, + { + "name": "NodeJS Contributors", + "url": "https://github.com/NodeJS", + "githubUsername": "NodeJS" + }, + { + "name": "Linus Unnebäck", + "url": "https://github.com/LinusU", + "githubUsername": "LinusU" + }, + { + "name": "wafuwafu13", + "url": "https://github.com/wafuwafu13", + "githubUsername": "wafuwafu13" + }, + { + "name": "Matteo Collina", + "url": "https://github.com/mcollina", + "githubUsername": "mcollina" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/node" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "7b0d8dcde4896c79ad74f0d57a24996d6812633e45ed2abd06201f1b078dd9db", + "typeScriptVersion": "4.0" +} \ No newline at end of file diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/punycode.d.ts b/node_modules/@types/node/punycode.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/querystring.d.ts b/node_modules/@types/node/querystring.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/readline.d.ts b/node_modules/@types/node/readline.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/repl.d.ts b/node_modules/@types/node/repl.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/stream/consumers.d.ts b/node_modules/@types/node/stream/consumers.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/stream/promises.d.ts b/node_modules/@types/node/stream/promises.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/stream/web.d.ts b/node_modules/@types/node/stream/web.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/string_decoder.d.ts b/node_modules/@types/node/string_decoder.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/test.d.ts b/node_modules/@types/node/test.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/timers.d.ts b/node_modules/@types/node/timers.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/timers/promises.d.ts b/node_modules/@types/node/timers/promises.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/trace_events.d.ts b/node_modules/@types/node/trace_events.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/tty.d.ts b/node_modules/@types/node/tty.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/url.d.ts b/node_modules/@types/node/url.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/util.d.ts b/node_modules/@types/node/util.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/v8.d.ts b/node_modules/@types/node/v8.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/vm.d.ts b/node_modules/@types/node/vm.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/wasi.d.ts b/node_modules/@types/node/wasi.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/worker_threads.d.ts b/node_modules/@types/node/worker_threads.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/node/zlib.d.ts b/node_modules/@types/node/zlib.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/webidl-conversions/LICENSE b/node_modules/@types/webidl-conversions/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/@types/webidl-conversions/README.md b/node_modules/@types/webidl-conversions/README.md old mode 100644 new mode 100755 index c68166e2..cb233f74 --- a/node_modules/@types/webidl-conversions/README.md +++ b/node_modules/@types/webidl-conversions/README.md @@ -1,16 +1,16 @@ -# Installation -> `npm install --save @types/webidl-conversions` - -# Summary -This package contains type definitions for webidl-conversions (https://github.com/jsdom/webidl-conversions#readme). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions. - -### Additional Details - * Last updated: Fri, 02 Jul 2021 18:05:21 GMT - * Dependencies: none - * Global values: none - -# Credits -These definitions were written by [ExE Boss](https://github.com/ExE-Boss). +# Installation +> `npm install --save @types/webidl-conversions` + +# Summary +This package contains type definitions for webidl-conversions (https://github.com/jsdom/webidl-conversions#readme). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions. + +### Additional Details + * Last updated: Fri, 02 Jul 2021 18:05:21 GMT + * Dependencies: none + * Global values: none + +# Credits +These definitions were written by [ExE Boss](https://github.com/ExE-Boss). diff --git a/node_modules/@types/webidl-conversions/index.d.ts b/node_modules/@types/webidl-conversions/index.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/webidl-conversions/package.json b/node_modules/@types/webidl-conversions/package.json old mode 100644 new mode 100755 index d6dbde04..4391aff6 --- a/node_modules/@types/webidl-conversions/package.json +++ b/node_modules/@types/webidl-conversions/package.json @@ -1,56 +1,25 @@ { - "_args": [ - [ - "@types/webidl-conversions@6.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "@types/webidl-conversions@6.1.1", - "_id": "@types/webidl-conversions@6.1.1", - "_inBundle": false, - "_integrity": "sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q==", - "_location": "/@types/webidl-conversions", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@types/webidl-conversions@6.1.1", "name": "@types/webidl-conversions", - "escapedName": "@types%2fwebidl-conversions", - "scope": "@types", - "rawSpec": "6.1.1", - "saveSpec": null, - "fetchSpec": "6.1.1" - }, - "_requiredBy": [ - "/@types/whatwg-url" - ], - "_resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz", - "_spec": "6.1.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" - }, - "contributors": [ - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss" - } - ], - "dependencies": {}, - "description": "TypeScript definitions for webidl-conversions", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions", - "license": "MIT", - "main": "", - "name": "@types/webidl-conversions", - "repository": { - "type": "git", - "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/webidl-conversions" - }, - "scripts": {}, - "typeScriptVersion": "3.6", - "types": "index.d.ts", - "typesPublisherContentHash": "bc47f919faf031afa91cea9b170f96f05eeac452057ba17794386552a99d0ad7", - "version": "6.1.1" -} + "version": "6.1.1", + "description": "TypeScript definitions for webidl-conversions", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webidl-conversions", + "license": "MIT", + "contributors": [ + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss", + "githubUsername": "ExE-Boss" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/webidl-conversions" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "bc47f919faf031afa91cea9b170f96f05eeac452057ba17794386552a99d0ad7", + "typeScriptVersion": "3.6" +} \ No newline at end of file diff --git a/node_modules/@types/whatwg-url/LICENSE b/node_modules/@types/whatwg-url/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/README.md b/node_modules/@types/whatwg-url/README.md old mode 100644 new mode 100755 index 41143c4e..3ba1b145 --- a/node_modules/@types/whatwg-url/README.md +++ b/node_modules/@types/whatwg-url/README.md @@ -1,16 +1,16 @@ -# Installation -> `npm install --save @types/whatwg-url` - -# Summary -This package contains type definitions for whatwg-url (https://github.com/jsdom/whatwg-url#readme). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-url. - -### Additional Details - * Last updated: Tue, 21 Jun 2022 16:31:40 GMT - * Dependencies: [@types/webidl-conversions](https://npmjs.com/package/@types/webidl-conversions), [@types/node](https://npmjs.com/package/@types/node) - * Global values: none - -# Credits -These definitions were written by [Alexander Marks](https://github.com/aomarks), and [ExE Boss](https://github.com/ExE-Boss). +# Installation +> `npm install --save @types/whatwg-url` + +# Summary +This package contains type definitions for whatwg-url (https://github.com/jsdom/whatwg-url#readme). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-url. + +### Additional Details + * Last updated: Tue, 21 Jun 2022 16:31:40 GMT + * Dependencies: [@types/webidl-conversions](https://npmjs.com/package/@types/webidl-conversions), [@types/node](https://npmjs.com/package/@types/node) + * Global values: none + +# Credits +These definitions were written by [Alexander Marks](https://github.com/aomarks), and [ExE Boss](https://github.com/ExE-Boss). diff --git a/node_modules/@types/whatwg-url/dist/URL-impl.d.ts b/node_modules/@types/whatwg-url/dist/URL-impl.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/dist/URL.d.ts b/node_modules/@types/whatwg-url/dist/URL.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts b/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts b/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/index.d.ts b/node_modules/@types/whatwg-url/index.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/@types/whatwg-url/package.json b/node_modules/@types/whatwg-url/package.json old mode 100644 new mode 100755 index 6e5d9b91..120d4906 --- a/node_modules/@types/whatwg-url/package.json +++ b/node_modules/@types/whatwg-url/package.json @@ -1,63 +1,33 @@ { - "_args": [ - [ - "@types/whatwg-url@8.2.2", - "/var/www/html/arclight" - ] - ], - "_from": "@types/whatwg-url@8.2.2", - "_id": "@types/whatwg-url@8.2.2", - "_inBundle": false, - "_integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", - "_location": "/@types/whatwg-url", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "@types/whatwg-url@8.2.2", "name": "@types/whatwg-url", - "escapedName": "@types%2fwhatwg-url", - "scope": "@types", - "rawSpec": "8.2.2", - "saveSpec": null, - "fetchSpec": "8.2.2" - }, - "_requiredBy": [ - "/mongodb-connection-string-url" - ], - "_resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", - "_spec": "8.2.2", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" - }, - "contributors": [ - { - "name": "Alexander Marks", - "url": "https://github.com/aomarks" + "version": "8.2.2", + "description": "TypeScript definitions for whatwg-url", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-url", + "license": "MIT", + "contributors": [ + { + "name": "Alexander Marks", + "url": "https://github.com/aomarks", + "githubUsername": "aomarks" + }, + { + "name": "ExE Boss", + "url": "https://github.com/ExE-Boss", + "githubUsername": "ExE-Boss" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/whatwg-url" }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss" - } - ], - "dependencies": { - "@types/node": "*", - "@types/webidl-conversions": "*" - }, - "description": "TypeScript definitions for whatwg-url", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-url", - "license": "MIT", - "main": "", - "name": "@types/whatwg-url", - "repository": { - "type": "git", - "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/whatwg-url" - }, - "scripts": {}, - "typeScriptVersion": "4.0", - "types": "index.d.ts", - "typesPublisherContentHash": "ea85d67c501583ff421cfbf206fafac0410c464edef169a6d88e06ecfe226dfc", - "version": "8.2.2" -} + "scripts": {}, + "dependencies": { + "@types/node": "*", + "@types/webidl-conversions": "*" + }, + "typesPublisherContentHash": "ea85d67c501583ff421cfbf206fafac0410c464edef169a6d88e06ecfe226dfc", + "typeScriptVersion": "4.0" +} \ No newline at end of file diff --git a/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts b/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts old mode 100644 new mode 100755 diff --git a/node_modules/abbrev/package.json b/node_modules/abbrev/package.json index 2d8ffcbc..bf4e8015 100644 --- a/node_modules/abbrev/package.json +++ b/node_modules/abbrev/package.json @@ -1,60 +1,21 @@ { - "_args": [ - [ - "abbrev@1.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "abbrev@1.1.1", - "_id": "abbrev@1.1.1", - "_inBundle": false, - "_integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "_location": "/abbrev", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "abbrev@1.1.1", - "name": "abbrev", - "escapedName": "abbrev", - "rawSpec": "1.1.1", - "saveSpec": null, - "fetchSpec": "1.1.1" - }, - "_requiredBy": [ - "/nopt", - "/touch/nopt" - ], - "_resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "_spec": "1.1.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me" - }, - "bugs": { - "url": "https://github.com/isaacs/abbrev-js/issues" - }, + "name": "abbrev", + "version": "1.1.1", "description": "Like ruby's abbrev module, but in js", + "author": "Isaac Z. Schlueter ", + "main": "abbrev.js", + "scripts": { + "test": "tap test.js --100", + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --all; git push origin --tags" + }, + "repository": "http://github.com/isaacs/abbrev-js", + "license": "ISC", "devDependencies": { "tap": "^10.1" }, "files": [ "abbrev.js" - ], - "homepage": "https://github.com/isaacs/abbrev-js#readme", - "license": "ISC", - "main": "abbrev.js", - "name": "abbrev", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/isaacs/abbrev-js.git" - }, - "scripts": { - "postpublish": "git push origin --all; git push origin --tags", - "postversion": "npm publish", - "preversion": "npm test", - "test": "tap test.js --100" - }, - "version": "1.1.1" + ] } diff --git a/node_modules/accepts/package.json b/node_modules/accepts/package.json index 42a477b9..0f2d15da 100644 --- a/node_modules/accepts/package.json +++ b/node_modules/accepts/package.json @@ -1,51 +1,17 @@ { - "_args": [ - [ - "accepts@1.3.8", - "/var/www/html/arclight" - ] - ], - "_from": "accepts@1.3.8", - "_id": "accepts@1.3.8", - "_inBundle": false, - "_integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "_location": "/accepts", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "accepts@1.3.8", - "name": "accepts", - "escapedName": "accepts", - "rawSpec": "1.3.8", - "saveSpec": null, - "fetchSpec": "1.3.8" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "_spec": "1.3.8", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/accepts/issues" - }, + "name": "accepts", + "description": "Higher-level content negotiation", + "version": "1.3.8", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "jshttp/accepts", "dependencies": { "mime-types": "~2.1.34", "negotiator": "0.6.3" }, - "description": "Higher-level content negotiation", "devDependencies": { "deep-equal": "1.0.1", "eslint": "7.32.0", @@ -58,26 +24,13 @@ "mocha": "9.2.0", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "homepage": "https://github.com/jshttp/accepts#readme", - "keywords": [ - "content", - "negotiation", - "accept", - "accepts" - ], - "license": "MIT", - "name": "accepts", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/accepts.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint .", @@ -85,5 +38,10 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" }, - "version": "1.3.8" + "keywords": [ + "content", + "negotiation", + "accept", + "accepts" + ] } diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json index 03e87b96..75393284 100644 --- a/node_modules/ansi-styles/package.json +++ b/node_modules/ansi-styles/package.json @@ -1,91 +1,56 @@ { - "_args": [ - [ - "ansi-styles@4.3.0", - "/var/www/html/arclight" - ] - ], - "_from": "ansi-styles@4.3.0", - "_id": "ansi-styles@4.3.0", - "_inBundle": false, - "_integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "_location": "/ansi-styles", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ansi-styles@4.3.0", - "name": "ansi-styles", - "escapedName": "ansi-styles", - "rawSpec": "4.3.0", - "saveSpec": null, - "fetchSpec": "4.3.0" - }, - "_requiredBy": [ - "/chalk" - ], - "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "_spec": "4.3.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/chalk/ansi-styles/issues" - }, - "dependencies": { - "color-convert": "^2.0.1" - }, - "description": "ANSI escape codes for styling strings in the terminal", - "devDependencies": { - "@types/color-convert": "^1.9.0", - "ava": "^2.3.0", - "svg-term-cli": "^2.1.1", - "tsd": "^0.11.0", - "xo": "^0.25.3" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "funding": "https://github.com/chalk/ansi-styles?sponsor=1", - "homepage": "https://github.com/chalk/ansi-styles#readme", - "keywords": [ - "ansi", - "styles", - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "tty", - "escape", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "name": "ansi-styles", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/ansi-styles.git" - }, - "scripts": { - "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor", - "test": "xo && ava && tsd" - }, - "version": "4.3.0" + "name": "ansi-styles", + "version": "4.3.0", + "description": "ANSI escape codes for styling strings in the terminal", + "license": "MIT", + "repository": "chalk/ansi-styles", + "funding": "https://github.com/chalk/ansi-styles?sponsor=1", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "engines": { + "node": ">=8" + }, + "scripts": { + "test": "xo && ava && tsd", + "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "ansi", + "styles", + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "tty", + "escape", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "dependencies": { + "color-convert": "^2.0.1" + }, + "devDependencies": { + "@types/color-convert": "^1.9.0", + "ava": "^2.3.0", + "svg-term-cli": "^2.1.1", + "tsd": "^0.11.0", + "xo": "^0.25.3" + } } diff --git a/node_modules/array-flatten/package.json b/node_modules/array-flatten/package.json index ae48348f..1a24e2a1 100644 --- a/node_modules/array-flatten/package.json +++ b/node_modules/array-flatten/package.json @@ -1,67 +1,39 @@ { - "_args": [ - [ - "array-flatten@1.1.1", - "/var/www/html/arclight" - ] + "name": "array-flatten", + "version": "1.1.1", + "description": "Flatten an array of nested arrays into a single flat array", + "main": "array-flatten.js", + "files": [ + "array-flatten.js", + "LICENSE" ], - "_from": "array-flatten@1.1.1", - "_id": "array-flatten@1.1.1", - "_inBundle": false, - "_integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "_location": "/array-flatten", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "array-flatten@1.1.1", - "name": "array-flatten", - "escapedName": "array-flatten", - "rawSpec": "1.1.1", - "saveSpec": null, - "fetchSpec": "1.1.1" + "scripts": { + "test": "istanbul cover _mocha -- -R spec" }, - "_requiredBy": [ - "/express" + "repository": { + "type": "git", + "url": "git://github.com/blakeembrey/array-flatten.git" + }, + "keywords": [ + "array", + "flatten", + "arguments", + "depth" ], - "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "_spec": "1.1.1", - "_where": "/var/www/html/arclight", "author": { "name": "Blake Embrey", "email": "hello@blakeembrey.com", "url": "http://blakeembrey.me" }, + "license": "MIT", "bugs": { "url": "https://github.com/blakeembrey/array-flatten/issues" }, - "description": "Flatten an array of nested arrays into a single flat array", + "homepage": "https://github.com/blakeembrey/array-flatten", "devDependencies": { "istanbul": "^0.3.13", "mocha": "^2.2.4", "pre-commit": "^1.0.7", "standard": "^3.7.3" - }, - "files": [ - "array-flatten.js", - "LICENSE" - ], - "homepage": "https://github.com/blakeembrey/array-flatten", - "keywords": [ - "array", - "flatten", - "arguments", - "depth" - ], - "license": "MIT", - "main": "array-flatten.js", - "name": "array-flatten", - "repository": { - "type": "git", - "url": "git://github.com/blakeembrey/array-flatten.git" - }, - "scripts": { - "test": "istanbul cover _mocha -- -R spec" - }, - "version": "1.1.1" + } } diff --git a/node_modules/asn1.js/package.json b/node_modules/asn1.js/package.json index ed6f13fe..7b7d0530 100644 --- a/node_modules/asn1.js/package.json +++ b/node_modules/asn1.js/package.json @@ -1,66 +1,36 @@ { - "_args": [ - [ - "asn1.js@5.4.1", - "/var/www/html/arclight" - ] - ], - "_from": "asn1.js@5.4.1", - "_id": "asn1.js@5.4.1", - "_inBundle": false, - "_integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", - "_location": "/asn1.js", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "asn1.js@5.4.1", - "name": "asn1.js", - "escapedName": "asn1.js", - "rawSpec": "5.4.1", - "saveSpec": null, - "fetchSpec": "5.4.1" + "name": "asn1.js", + "version": "5.4.1", + "description": "ASN.1 encoder and decoder", + "main": "lib/asn1.js", + "scripts": { + "lint-2560": "eslint --fix rfc/2560/*.js rfc/2560/test/*.js", + "lint-5280": "eslint --fix rfc/5280/*.js rfc/5280/test/*.js", + "lint": "eslint --fix lib/*.js lib/**/*.js lib/**/**/*.js && npm run lint-2560 && npm run lint-5280", + "test": "mocha --reporter spec test/*-test.js && cd rfc/2560 && npm i && npm test && cd ../../rfc/5280 && npm i && npm test && cd ../../ && npm run lint" }, - "_requiredBy": [ - "/kruptein" - ], - "_resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "_spec": "5.4.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Fedor Indutny" + "repository": { + "type": "git", + "url": "git@github.com:indutny/asn1.js" }, + "keywords": [ + "asn.1", + "der" + ], + "author": "Fedor Indutny", + "license": "MIT", "bugs": { "url": "https://github.com/indutny/asn1.js/issues" }, + "homepage": "https://github.com/indutny/asn1.js", + "devDependencies": { + "eslint": "^4.10.0", + "mocha": "^7.0.0" + }, "dependencies": { "bn.js": "^4.0.0", "inherits": "^2.0.1", "minimalistic-assert": "^1.0.0", "safer-buffer": "^2.1.0" - }, - "description": "ASN.1 encoder and decoder", - "devDependencies": { - "eslint": "^4.10.0", - "mocha": "^7.0.0" - }, - "homepage": "https://github.com/indutny/asn1.js", - "keywords": [ - "asn.1", - "der" - ], - "license": "MIT", - "main": "lib/asn1.js", - "name": "asn1.js", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/indutny/asn1.js.git" - }, - "scripts": { - "lint": "eslint --fix lib/*.js lib/**/*.js lib/**/**/*.js && npm run lint-2560 && npm run lint-5280", - "lint-2560": "eslint --fix rfc/2560/*.js rfc/2560/test/*.js", - "lint-5280": "eslint --fix rfc/5280/*.js rfc/5280/test/*.js", - "test": "mocha --reporter spec test/*-test.js && cd rfc/2560 && npm i && npm test && cd ../../rfc/5280 && npm i && npm test && cd ../../ && npm run lint" - }, - "version": "5.4.1" + } } diff --git a/node_modules/async/package.json b/node_modules/async/package.json index d106deed..9c464bc7 100644 --- a/node_modules/async/package.json +++ b/node_modules/async/package.json @@ -1,39 +1,23 @@ { - "_args": [ - [ - "async@3.2.4", - "/var/www/html/arclight" - ] - ], - "_from": "async@3.2.4", - "_id": "async@3.2.4", - "_inBundle": false, - "_integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "_location": "/async", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "async@3.2.4", - "name": "async", - "escapedName": "async", - "rawSpec": "3.2.4", - "saveSpec": null, - "fetchSpec": "3.2.4" - }, - "_requiredBy": [ - "/jake" - ], - "_resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "_spec": "3.2.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Caolan McMahon" + "name": "async", + "description": "Higher-order functions and common patterns for asynchronous code", + "version": "3.2.4", + "main": "dist/async.js", + "author": "Caolan McMahon", + "homepage": "https://caolan.github.io/async/", + "repository": { + "type": "git", + "url": "https://github.com/caolan/async.git" }, "bugs": { "url": "https://github.com/caolan/async/issues" }, - "description": "Higher-order functions and common patterns for asynchronous code", + "keywords": [ + "async", + "callback", + "module", + "utility" + ], "devDependencies": { "@babel/eslint-parser": "^7.16.5", "babel-core": "^6.26.3", @@ -72,26 +56,6 @@ "semver": "^7.3.5", "yargs": "^17.3.1" }, - "homepage": "https://caolan.github.io/async/", - "keywords": [ - "async", - "callback", - "module", - "utility" - ], - "license": "MIT", - "main": "dist/async.js", - "module": "dist/async.mjs", - "name": "async", - "nyc": { - "exclude": [ - "test" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/caolan/async.git" - }, "scripts": { "coverage": "nyc npm run mocha-node-test -- --grep @nycinvalid --invert", "jsdoc": "jsdoc -c ./support/jsdoc/jsdoc.json && node support/jsdoc/jsdoc-fix-html.js", @@ -101,5 +65,11 @@ "mocha-test": "npm run mocha-node-test && npm run mocha-browser-test", "test": "npm run lint && npm run mocha-node-test" }, - "version": "3.2.4" -} + "license": "MIT", + "nyc": { + "exclude": [ + "test" + ] + }, + "module": "dist/async.mjs" +} \ No newline at end of file diff --git a/node_modules/balanced-match/package.json b/node_modules/balanced-match/package.json index 01c4c831..ce6073e0 100644 --- a/node_modules/balanced-match/package.json +++ b/node_modules/balanced-match/package.json @@ -1,47 +1,21 @@ { - "_args": [ - [ - "balanced-match@1.0.2", - "/var/www/html/arclight" - ] - ], - "_from": "balanced-match@1.0.2", - "_id": "balanced-match@1.0.2", - "_inBundle": false, - "_integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "_location": "/balanced-match", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "balanced-match@1.0.2", - "name": "balanced-match", - "escapedName": "balanced-match", - "rawSpec": "1.0.2", - "saveSpec": null, - "fetchSpec": "1.0.2" - }, - "_requiredBy": [ - "/brace-expansion", - "/filelist/brace-expansion" - ], - "_resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "_spec": "1.0.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" + "name": "balanced-match", + "description": "Match balanced character pairs, like \"{\" and \"}\"", + "version": "1.0.2", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/balanced-match.git" }, - "bugs": { - "url": "https://github.com/juliangruber/balanced-match/issues" + "homepage": "https://github.com/juliangruber/balanced-match", + "main": "index.js", + "scripts": { + "test": "tape test/test.js", + "bench": "matcha test/bench.js" }, - "description": "Match balanced character pairs, like \"{\" and \"}\"", "devDependencies": { "matcha": "^0.7.0", "tape": "^4.6.0" }, - "homepage": "https://github.com/juliangruber/balanced-match", "keywords": [ "match", "regexp", @@ -49,17 +23,12 @@ "balanced", "parse" ], - "license": "MIT", - "main": "index.js", - "name": "balanced-match", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/balanced-match.git" - }, - "scripts": { - "bench": "matcha test/bench.js", - "test": "tape test/test.js" + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" }, + "license": "MIT", "testling": { "files": "test/*.js", "browsers": [ @@ -75,6 +44,5 @@ "iphone/6.0..latest", "android-browser/4.2..latest" ] - }, - "version": "1.0.2" + } } diff --git a/node_modules/base64-js/package.json b/node_modules/base64-js/package.json index e0272c99..c3972e39 100644 --- a/node_modules/base64-js/package.json +++ b/node_modules/base64-js/package.json @@ -1,40 +1,12 @@ { - "_args": [ - [ - "base64-js@1.5.1", - "/var/www/html/arclight" - ] - ], - "_from": "base64-js@1.5.1", - "_id": "base64-js@1.5.1", - "_inBundle": false, - "_integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "_location": "/base64-js", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "base64-js@1.5.1", - "name": "base64-js", - "escapedName": "base64-js", - "rawSpec": "1.5.1", - "saveSpec": null, - "fetchSpec": "1.5.1" - }, - "_requiredBy": [ - "/buffer" - ], - "_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "_spec": "1.5.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "T. Jameson Little", - "email": "t.jameson.little@gmail.com" - }, + "name": "base64-js", + "description": "Base64 encoding/decoding in pure JS", + "version": "1.5.1", + "author": "T. Jameson Little ", + "typings": "index.d.ts", "bugs": { "url": "https://github.com/beatgammit/base64-js/issues" }, - "description": "Base64 encoding/decoding in pure JS", "devDependencies": { "babel-minify": "^0.5.1", "benchmark": "^2.1.4", @@ -42,27 +14,12 @@ "standard": "*", "tape": "4.x" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], "homepage": "https://github.com/beatgammit/base64-js", "keywords": [ "base64" ], "license": "MIT", "main": "index.js", - "name": "base64-js", "repository": { "type": "git", "url": "git://github.com/beatgammit/base64-js.git" @@ -73,6 +30,18 @@ "test": "npm run lint && npm run unit", "unit": "tape test/*.js" }, - "typings": "index.d.ts", - "version": "1.5.1" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] } diff --git a/node_modules/basic-auth/node_modules/safe-buffer/package.json b/node_modules/basic-auth/node_modules/safe-buffer/package.json index 32f3aefc..623fbc3f 100644 --- a/node_modules/basic-auth/node_modules/safe-buffer/package.json +++ b/node_modules/basic-auth/node_modules/safe-buffer/package.json @@ -1,32 +1,7 @@ { - "_args": [ - [ - "safe-buffer@5.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "safe-buffer@5.1.2", - "_id": "safe-buffer@5.1.2", - "_inBundle": false, - "_integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "_location": "/basic-auth/safe-buffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "safe-buffer@5.1.2", - "name": "safe-buffer", - "escapedName": "safe-buffer", - "rawSpec": "5.1.2", - "saveSpec": null, - "fetchSpec": "5.1.2" - }, - "_requiredBy": [ - "/basic-auth" - ], - "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "_spec": "5.1.2", - "_where": "/var/www/html/arclight", + "name": "safe-buffer", + "description": "Safer Node.js Buffer API", + "version": "5.1.2", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -35,7 +10,6 @@ "bugs": { "url": "https://github.com/feross/safe-buffer/issues" }, - "description": "Safer Node.js Buffer API", "devDependencies": { "standard": "*", "tape": "^4.0.0" @@ -52,14 +26,12 @@ ], "license": "MIT", "main": "index.js", - "name": "safe-buffer", + "types": "index.d.ts", "repository": { "type": "git", "url": "git://github.com/feross/safe-buffer.git" }, "scripts": { "test": "standard && tape test/*.js" - }, - "types": "index.d.ts", - "version": "5.1.2" + } } diff --git a/node_modules/basic-auth/package.json b/node_modules/basic-auth/package.json index a1eb0f71..01bd8dc3 100644 --- a/node_modules/basic-auth/package.json +++ b/node_modules/basic-auth/package.json @@ -1,39 +1,18 @@ { - "_args": [ - [ - "basic-auth@2.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "basic-auth@2.0.1", - "_id": "basic-auth@2.0.1", - "_inBundle": false, - "_integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==", - "_location": "/basic-auth", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "basic-auth@2.0.1", - "name": "basic-auth", - "escapedName": "basic-auth", - "rawSpec": "2.0.1", - "saveSpec": null, - "fetchSpec": "2.0.1" - }, - "_requiredBy": [ - "/morgan" + "name": "basic-auth", + "description": "node.js basic auth parser", + "version": "2.0.1", + "license": "MIT", + "keywords": [ + "basic", + "auth", + "authorization", + "basicauth" ], - "_resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", - "_spec": "2.0.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/basic-auth/issues" - }, + "repository": "jshttp/basic-auth", "dependencies": { "safe-buffer": "5.1.2" }, - "description": "node.js basic auth parser", "devDependencies": { "eslint": "5.6.0", "eslint-config-standard": "12.0.0", @@ -45,32 +24,18 @@ "istanbul": "0.4.5", "mocha": "5.2.0" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/basic-auth#readme", - "keywords": [ - "basic", - "auth", - "authorization", - "basicauth" - ], - "license": "MIT", - "name": "basic-auth", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/basic-auth.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --check-leaks --reporter spec --bail", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "2.0.1" + } } diff --git a/node_modules/bcrypt/appveyor.yml b/node_modules/bcrypt/appveyor.yml index c39a92d2..5895b1a4 100644 --- a/node_modules/bcrypt/appveyor.yml +++ b/node_modules/bcrypt/appveyor.yml @@ -1,50 +1,50 @@ -environment: - matrix: - - nodejs_version: "10" - platform: x64 - - nodejs_version: "10" - platform: x86 - - nodejs_version: "11" - platform: x64 - - nodejs_version: "11" - platform: x86 - - nodejs_version: "12" - platform: x64 - - nodejs_version: "12" - platform: x86 - - nodejs_version: "13" - platform: x64 - - nodejs_version: "13" - platform: x86 - - nodejs_version: "14" - platform: x64 - - nodejs_version: "14" - platform: x86 - -install: - - where npm - - where node - - ps: Install-Product node $env:nodejs_version $env:platform - - 'npm install -g npm@latest' - -build: off - -artifacts: - - path: 'build/stage/**/bcrypt*.tar.gz' - -test_script: - - node --version - - npm --version - - npm test - -after_test: - - .\node_modules\.bin\node-pre-gyp package - -on_success: - - ps: > - if ($env:NODE_PRE_GYP_GITHUB_TOKEN -ne $null -and $env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)(-\w)?$') { - echo "Publishing $env:APPVEYOR_REPO_TAG_NAME" - npm install node-pre-gyp-github@1.4.3 - ./node_modules/.bin/node-pre-gyp-github publish --release - } - +environment: + matrix: + - nodejs_version: "10" + platform: x64 + - nodejs_version: "10" + platform: x86 + - nodejs_version: "11" + platform: x64 + - nodejs_version: "11" + platform: x86 + - nodejs_version: "12" + platform: x64 + - nodejs_version: "12" + platform: x86 + - nodejs_version: "13" + platform: x64 + - nodejs_version: "13" + platform: x86 + - nodejs_version: "14" + platform: x64 + - nodejs_version: "14" + platform: x86 + +install: + - where npm + - where node + - ps: Install-Product node $env:nodejs_version $env:platform + - 'npm install -g npm@latest' + +build: off + +artifacts: + - path: 'build/stage/**/bcrypt*.tar.gz' + +test_script: + - node --version + - npm --version + - npm test + +after_test: + - .\node_modules\.bin\node-pre-gyp package + +on_success: + - ps: > + if ($env:NODE_PRE_GYP_GITHUB_TOKEN -ne $null -and $env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)(-\w)?$') { + echo "Publishing $env:APPVEYOR_REPO_TAG_NAME" + npm install node-pre-gyp-github@1.4.3 + ./node_modules/.bin/node-pre-gyp-github publish --release + } + diff --git a/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node b/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node old mode 100644 new mode 100755 diff --git a/node_modules/bcrypt/test_alpine.sh b/node_modules/bcrypt/test_alpine.sh old mode 100644 new mode 100755 diff --git a/node_modules/bn.js/package.json b/node_modules/bn.js/package.json index 3f331934..098b805f 100644 --- a/node_modules/bn.js/package.json +++ b/node_modules/bn.js/package.json @@ -1,49 +1,17 @@ { - "_args": [ - [ - "bn.js@4.12.0", - "/var/www/html/arclight" - ] - ], - "_from": "bn.js@4.12.0", - "_id": "bn.js@4.12.0", - "_inBundle": false, - "_integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", - "_location": "/bn.js", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "bn.js@4.12.0", - "name": "bn.js", - "escapedName": "bn.js", - "rawSpec": "4.12.0", - "saveSpec": null, - "fetchSpec": "4.12.0" - }, - "_requiredBy": [ - "/asn1.js" - ], - "_resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "_spec": "4.12.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Fedor Indutny", - "email": "fedor@indutny.com" - }, - "browser": { - "buffer": false - }, - "bugs": { - "url": "https://github.com/indutny/bn.js/issues" - }, + "name": "bn.js", + "version": "4.12.0", "description": "Big number implementation in pure javascript", - "devDependencies": { - "istanbul": "^0.3.5", - "mocha": "^2.1.0", - "semistandard": "^7.0.4" + "main": "lib/bn.js", + "scripts": { + "lint": "semistandard", + "unit": "mocha --reporter=spec test/*-test.js", + "test": "npm run lint && npm run unit" + }, + "repository": { + "type": "git", + "url": "git@github.com:indutny/bn.js" }, - "homepage": "https://github.com/indutny/bn.js", "keywords": [ "BN", "BigNum", @@ -51,17 +19,18 @@ "Modulo", "Montgomery" ], + "author": "Fedor Indutny ", "license": "MIT", - "main": "lib/bn.js", - "name": "bn.js", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/indutny/bn.js.git" + "bugs": { + "url": "https://github.com/indutny/bn.js/issues" }, - "scripts": { - "lint": "semistandard", - "test": "npm run lint && npm run unit", - "unit": "mocha --reporter=spec test/*-test.js" + "homepage": "https://github.com/indutny/bn.js", + "browser": { + "buffer": false }, - "version": "4.12.0" + "devDependencies": { + "istanbul": "^0.3.5", + "mocha": "^2.1.0", + "semistandard": "^7.0.4" + } } diff --git a/node_modules/body-parser/package.json b/node_modules/body-parser/package.json index 62a55546..9a03357f 100644 --- a/node_modules/body-parser/package.json +++ b/node_modules/body-parser/package.json @@ -1,46 +1,13 @@ { - "_args": [ - [ - "body-parser@1.20.0", - "/var/www/html/arclight" - ] - ], - "_from": "body-parser@1.20.0", - "_id": "body-parser@1.20.0", - "_inBundle": false, - "_integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", - "_location": "/body-parser", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "body-parser@1.20.0", - "name": "body-parser", - "escapedName": "body-parser", - "rawSpec": "1.20.0", - "saveSpec": null, - "fetchSpec": "1.20.0" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", - "_spec": "1.20.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/expressjs/body-parser/issues" - }, + "name": "body-parser", + "description": "Node.js body parsing middleware", + "version": "1.20.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "expressjs/body-parser", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.4", @@ -55,7 +22,6 @@ "type-is": "~1.6.18", "unpipe": "1.0.0" }, - "description": "Node.js body parsing middleware", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -70,10 +36,6 @@ "safe-buffer": "5.2.1", "supertest": "6.2.2" }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - }, "files": [ "lib/", "LICENSE", @@ -81,18 +43,14 @@ "SECURITY.md", "index.js" ], - "homepage": "https://github.com/expressjs/body-parser#readme", - "license": "MIT", - "name": "body-parser", - "repository": { - "type": "git", - "url": "git+https://github.com/expressjs/body-parser.git" + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" }, "scripts": { "lint": "eslint .", "test": "mocha --require test/support/env --reporter spec --check-leaks --bail test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "1.20.0" + } } diff --git a/node_modules/brace-expansion/package.json b/node_modules/brace-expansion/package.json index 0610c657..a18faa8f 100644 --- a/node_modules/brace-expansion/package.json +++ b/node_modules/brace-expansion/package.json @@ -1,63 +1,33 @@ { - "_args": [ - [ - "brace-expansion@1.1.11", - "/var/www/html/arclight" - ] - ], - "_from": "brace-expansion@1.1.11", - "_id": "brace-expansion@1.1.11", - "_inBundle": false, - "_integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "_location": "/brace-expansion", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "brace-expansion@1.1.11", - "name": "brace-expansion", - "escapedName": "brace-expansion", - "rawSpec": "1.1.11", - "saveSpec": null, - "fetchSpec": "1.1.11" - }, - "_requiredBy": [ - "/minimatch" - ], - "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "_spec": "1.1.11", - "_where": "/var/www/html/arclight", - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" + "name": "brace-expansion", + "description": "Brace expansion as known from sh/bash", + "version": "1.1.11", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/brace-expansion.git" }, - "bugs": { - "url": "https://github.com/juliangruber/brace-expansion/issues" + "homepage": "https://github.com/juliangruber/brace-expansion", + "main": "index.js", + "scripts": { + "test": "tape test/*.js", + "gentest": "bash test/generate.sh", + "bench": "matcha test/perf/bench.js" }, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" }, - "description": "Brace expansion as known from sh/bash", "devDependencies": { "matcha": "^0.7.0", "tape": "^4.6.0" }, - "homepage": "https://github.com/juliangruber/brace-expansion", "keywords": [], - "license": "MIT", - "main": "index.js", - "name": "brace-expansion", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/brace-expansion.git" - }, - "scripts": { - "bench": "matcha test/perf/bench.js", - "gentest": "bash test/generate.sh", - "test": "tape test/*.js" + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" }, + "license": "MIT", "testling": { "files": "test/*.js", "browsers": [ @@ -73,6 +43,5 @@ "iphone/6.0..latest", "android-browser/4.2..latest" ] - }, - "version": "1.1.11" + } } diff --git a/node_modules/bson/bson-ts34.d.ts b/node_modules/bson/bson-ts34.d.ts index f975c4fa..addca4b1 100644 --- a/node_modules/bson/bson-ts34.d.ts +++ b/node_modules/bson/bson-ts34.d.ts @@ -1,1133 +1,1133 @@ -import { Buffer } from 'buffer'; -/** - * A class representation of the BSON Binary type. - * @public - * @category BSONType - */ -export declare class Binary { - _bsontype: 'Binary'; - /* Excluded from this release type: BSON_BINARY_SUBTYPE_DEFAULT */ - /** Initial buffer default size */ - static readonly BUFFER_SIZE = 256; - /** Default BSON type */ - static readonly SUBTYPE_DEFAULT = 0; - /** Function BSON type */ - static readonly SUBTYPE_FUNCTION = 1; - /** Byte Array BSON type */ - static readonly SUBTYPE_BYTE_ARRAY = 2; - /** Deprecated UUID BSON type @deprecated Please use SUBTYPE_UUID */ - static readonly SUBTYPE_UUID_OLD = 3; - /** UUID BSON type */ - static readonly SUBTYPE_UUID = 4; - /** MD5 BSON type */ - static readonly SUBTYPE_MD5 = 5; - /** Encrypted BSON type */ - static readonly SUBTYPE_ENCRYPTED = 6; - /** Column BSON type */ - static readonly SUBTYPE_COLUMN = 7; - /** User BSON type */ - static readonly SUBTYPE_USER_DEFINED = 128; - buffer: Buffer; - sub_type: number; - position: number; - /** - * @param buffer - a buffer object containing the binary data. - * @param subType - the option binary type. - */ - constructor(buffer?: string | BinarySequence, subType?: number); - /** - * Updates this binary with byte_value. - * - * @param byteValue - a single byte we wish to write. - */ - put(byteValue: string | number | Uint8Array | Buffer | number[]): void; - /** - * Writes a buffer or string to the binary. - * - * @param sequence - a string or buffer to be written to the Binary BSON object. - * @param offset - specify the binary of where to write the content. - */ - write(sequence: string | BinarySequence, offset: number): void; - /** - * Reads **length** bytes starting at **position**. - * - * @param position - read from the given position in the Binary. - * @param length - the number of bytes to read. - */ - read(position: number, length: number): BinarySequence; - /** - * Returns the value of this binary as a string. - * @param asRaw - Will skip converting to a string - * @remarks - * This is handy when calling this function conditionally for some key value pairs and not others - */ - value(asRaw?: boolean): string | BinarySequence; - /** the length of the binary sequence */ - length(): number; - toJSON(): string; - toString(format?: string): string; - /* Excluded from this release type: toExtendedJSON */ - toUUID(): UUID; - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface BinaryExtended { - $binary: { - subType: string; - base64: string; - }; -} -/** @public */ -export declare interface BinaryExtendedLegacy { - $type: string; - $binary: string; -} -/** @public */ -export declare type BinarySequence = Uint8Array | Buffer | number[]; -/** - * BSON default export - * @deprecated Please use named exports - * @privateRemarks - * We want to someday deprecate the default export, - * so none of the new TS types are being exported on the default - * @public - */ -declare const BSON: { - Binary: typeof Binary; - Code: typeof Code; - DBRef: typeof DBRef; - Decimal128: typeof Decimal128; - Double: typeof Double; - Int32: typeof Int32; - Long: typeof Long; - UUID: typeof UUID; - Map: MapConstructor; - MaxKey: typeof MaxKey; - MinKey: typeof MinKey; - ObjectId: typeof ObjectId; - ObjectID: typeof ObjectId; - BSONRegExp: typeof BSONRegExp; - BSONSymbol: typeof BSONSymbol; - Timestamp: typeof Timestamp; - EJSON: typeof EJSON; - setInternalBufferSize: typeof setInternalBufferSize; - serialize: typeof serialize; - serializeWithBufferAndIndex: typeof serializeWithBufferAndIndex; - deserialize: typeof deserialize; - calculateObjectSize: typeof calculateObjectSize; - deserializeStream: typeof deserializeStream; - BSONError: typeof BSONError; - BSONTypeError: typeof BSONTypeError; -}; -export default BSON; -/* Excluded from this release type: BSON_BINARY_SUBTYPE_BYTE_ARRAY */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_COLUMN */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_DEFAULT */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_ENCRYPTED */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_FUNCTION */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_MD5 */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_USER_DEFINED */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_UUID */ -/* Excluded from this release type: BSON_BINARY_SUBTYPE_UUID_NEW */ -/* Excluded from this release type: BSON_DATA_ARRAY */ -/* Excluded from this release type: BSON_DATA_BINARY */ -/* Excluded from this release type: BSON_DATA_BOOLEAN */ -/* Excluded from this release type: BSON_DATA_CODE */ -/* Excluded from this release type: BSON_DATA_CODE_W_SCOPE */ -/* Excluded from this release type: BSON_DATA_DATE */ -/* Excluded from this release type: BSON_DATA_DBPOINTER */ -/* Excluded from this release type: BSON_DATA_DECIMAL128 */ -/* Excluded from this release type: BSON_DATA_INT */ -/* Excluded from this release type: BSON_DATA_LONG */ -/* Excluded from this release type: BSON_DATA_MAX_KEY */ -/* Excluded from this release type: BSON_DATA_MIN_KEY */ -/* Excluded from this release type: BSON_DATA_NULL */ -/* Excluded from this release type: BSON_DATA_NUMBER */ -/* Excluded from this release type: BSON_DATA_OBJECT */ -/* Excluded from this release type: BSON_DATA_OID */ -/* Excluded from this release type: BSON_DATA_REGEXP */ -/* Excluded from this release type: BSON_DATA_STRING */ -/* Excluded from this release type: BSON_DATA_SYMBOL */ -/* Excluded from this release type: BSON_DATA_TIMESTAMP */ -/* Excluded from this release type: BSON_DATA_UNDEFINED */ -/* Excluded from this release type: BSON_INT32_MAX */ -/* Excluded from this release type: BSON_INT32_MIN */ -/* Excluded from this release type: BSON_INT64_MAX */ -/* Excluded from this release type: BSON_INT64_MIN */ -/** @public */ -export declare class BSONError extends Error { - constructor(message: string); - readonly name: string; -} -/** - * A class representation of the BSON RegExp type. - * @public - * @category BSONType - */ -export declare class BSONRegExp { - _bsontype: 'BSONRegExp'; - pattern: string; - options: string; - /** - * @param pattern - The regular expression pattern to match - * @param options - The regular expression options - */ - constructor(pattern: string, options?: string); - static parseOptions(options?: string): string; -} -/** @public */ -export declare interface BSONRegExpExtended { - $regularExpression: { - pattern: string; - options: string; - }; -} -/** @public */ -export declare interface BSONRegExpExtendedLegacy { - $regex: string | BSONRegExp; - $options: string; -} -/** - * A class representation of the BSON Symbol type. - * @public - * @category BSONType - */ -export declare class BSONSymbol { - _bsontype: 'Symbol'; - value: string; - /** - * @param value - the string representing the symbol. - */ - constructor(value: string); - /** Access the wrapped string value. */ - valueOf(): string; - toString(): string; - /* Excluded from this release type: inspect */ - toJSON(): string; -} -/** @public */ -export declare interface BSONSymbolExtended { - $symbol: string; -} -/** @public */ -export declare class BSONTypeError extends TypeError { - constructor(message: string); - readonly name: string; -} -/** - * Calculate the bson size for a passed in Javascript object. - * - * @param object - the Javascript object to calculate the BSON byte size for - * @returns size of BSON object in bytes - * @public - */ -export declare function calculateObjectSize(object: Document, options?: CalculateObjectSizeOptions): number; -/** @public */ -export declare type CalculateObjectSizeOptions = Pick; -/** - * A class representation of the BSON Code type. - * @public - * @category BSONType - */ -export declare class Code { - _bsontype: 'Code'; - code: string | Function; - scope?: Document; - /** - * @param code - a string or function. - * @param scope - an optional scope for the function. - */ - constructor(code: string | Function, scope?: Document); - toJSON(): { - code: string | Function; - scope?: Document; - }; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface CodeExtended { - $code: string | Function; - $scope?: Document; -} -/** - * A class representation of the BSON DBRef type. - * @public - * @category BSONType - */ -export declare class DBRef { - _bsontype: 'DBRef'; - collection: string; - oid: ObjectId; - db?: string; - fields: Document; - /** - * @param collection - the collection name. - * @param oid - the reference ObjectId. - * @param db - optional db name, if omitted the reference is local to the current db. - */ - constructor(collection: string, oid: ObjectId, db?: string, fields?: Document); - /* Excluded from this release type: namespace */ - /* Excluded from this release type: namespace */ - toJSON(): DBRefLike & Document; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface DBRefLike { - $ref: string; - $id: ObjectId; - $db?: string; -} -/** - * A class representation of the BSON Decimal128 type. - * @public - * @category BSONType - */ -export declare class Decimal128 { - _bsontype: 'Decimal128'; - readonly bytes: Buffer; - /** - * @param bytes - a buffer containing the raw Decimal128 bytes in little endian order, - * or a string representation as returned by .toString() - */ - constructor(bytes: Buffer | string); - /** - * Create a Decimal128 instance from a string representation - * - * @param representation - a numeric string representation. - */ - static fromString(representation: string): Decimal128; - /** Create a string representation of the raw Decimal128 value */ - toString(): string; - toJSON(): Decimal128Extended; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface Decimal128Extended { - $numberDecimal: string; -} -/** - * Deserialize data as BSON. - * - * @param buffer - the buffer containing the serialized set of BSON documents. - * @returns returns the deserialized Javascript Object. - * @public - */ -export declare function deserialize(buffer: Buffer | ArrayBufferView | ArrayBuffer, options?: DeserializeOptions): Document; -/** @public */ -export declare interface DeserializeOptions { - /** evaluate functions in the BSON document scoped to the object deserialized. */ - evalFunctions?: boolean; - /** cache evaluated functions for reuse. */ - cacheFunctions?: boolean; - /** - * use a crc32 code for caching, otherwise use the string of the function. - * @deprecated this option to use the crc32 function never worked as intended - * due to the fact that the crc32 function itself was never implemented. - * */ - cacheFunctionsCrc32?: boolean; - /** when deserializing a Long will fit it into a Number if it's smaller than 53 bits */ - promoteLongs?: boolean; - /** when deserializing a Binary will return it as a node.js Buffer instance. */ - promoteBuffers?: boolean; - /** when deserializing will promote BSON values to their Node.js closest equivalent types. */ - promoteValues?: boolean; - /** allow to specify if there what fields we wish to return as unserialized raw buffer. */ - fieldsAsRaw?: Document; - /** return BSON regular expressions as BSONRegExp instances. */ - bsonRegExp?: boolean; - /** allows the buffer to be larger than the parsed BSON object */ - allowObjectSmallerThanBufferSize?: boolean; - /** Offset into buffer to begin reading document from */ - index?: number; - raw?: boolean; - /** Allows for opt-out utf-8 validation for all keys or - * specified keys. Must be all true or all false. - * - * @example - * ```js - * // disables validation on all keys - * validation: { utf8: false } - * - * // enables validation only on specified keys a, b, and c - * validation: { utf8: { a: true, b: true, c: true } } - * - * // disables validation only on specified keys a, b - * validation: { utf8: { a: false, b: false } } - * ``` - */ - validation?: { - utf8: boolean | Record | Record; - }; -} -/** - * Deserialize stream data as BSON documents. - * - * @param data - the buffer containing the serialized set of BSON documents. - * @param startIndex - the start index in the data Buffer where the deserialization is to start. - * @param numberOfDocuments - number of documents to deserialize. - * @param documents - an array where to store the deserialized documents. - * @param docStartIndex - the index in the documents array from where to start inserting documents. - * @param options - additional options used for the deserialization. - * @returns next index in the buffer after deserialization **x** numbers of documents. - * @public - */ -export declare function deserializeStream(data: Buffer | ArrayBufferView | ArrayBuffer, startIndex: number, numberOfDocuments: number, documents: Document[], docStartIndex: number, options: DeserializeOptions): number; -/** @public */ -export declare interface Document { - [key: string]: any; -} -/** - * A class representation of the BSON Double type. - * @public - * @category BSONType - */ -export declare class Double { - _bsontype: 'Double'; - value: number; - /** - * Create a Double type - * - * @param value - the number we want to represent as a double. - */ - constructor(value: number); - /** - * Access the number value. - * - * @returns returns the wrapped double number. - */ - valueOf(): number; - toJSON(): number; - toString(radix?: number): string; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface DoubleExtended { - $numberDouble: string; -} -/** - * EJSON parse / stringify API - * @public - */ -export declare namespace EJSON { - export interface Options { - /** Output using the Extended JSON v1 spec */ - legacy?: boolean; - /** Enable Extended JSON's `relaxed` mode, which attempts to return native JS types where possible, rather than BSON types */ - relaxed?: boolean; - /** - * Disable Extended JSON's `relaxed` mode, which attempts to return BSON types where possible, rather than native JS types - * @deprecated Please use the relaxed property instead - */ - strict?: boolean; - } - /** - * Parse an Extended JSON string, constructing the JavaScript value or object described by that - * string. - * - * @example - * ```js - * const { EJSON } = require('bson'); - * const text = '{ "int32": { "$numberInt": "10" } }'; - * - * // prints { int32: { [String: '10'] _bsontype: 'Int32', value: '10' } } - * console.log(EJSON.parse(text, { relaxed: false })); - * - * // prints { int32: 10 } - * console.log(EJSON.parse(text)); - * ``` - */ - export function parse(text: string, options?: EJSON.Options): SerializableTypes; - export type JSONPrimitive = string | number | boolean | null; - export type SerializableTypes = Document | Array | JSONPrimitive; - /** - * Converts a BSON document to an Extended JSON string, optionally replacing values if a replacer - * function is specified or optionally including only the specified properties if a replacer array - * is specified. - * - * @param value - The value to convert to extended JSON - * @param replacer - A function that alters the behavior of the stringification process, or an array of String and Number objects that serve as a whitelist for selecting/filtering the properties of the value object to be included in the JSON string. If this value is null or not provided, all properties of the object are included in the resulting JSON string - * @param space - A String or Number object that's used to insert white space into the output JSON string for readability purposes. - * @param options - Optional settings - * - * @example - * ```js - * const { EJSON } = require('bson'); - * const Int32 = require('mongodb').Int32; - * const doc = { int32: new Int32(10) }; - * - * // prints '{"int32":{"$numberInt":"10"}}' - * console.log(EJSON.stringify(doc, { relaxed: false })); - * - * // prints '{"int32":10}' - * console.log(EJSON.stringify(doc)); - * ``` - */ - export function stringify(value: SerializableTypes, replacer?: (number | string)[] | ((this: any, key: string, value: any) => any) | EJSON.Options, space?: string | number, options?: EJSON.Options): string; - /** - * Serializes an object to an Extended JSON string, and reparse it as a JavaScript object. - * - * @param value - The object to serialize - * @param options - Optional settings passed to the `stringify` function - */ - export function serialize(value: SerializableTypes, options?: EJSON.Options): Document; - /** - * Deserializes an Extended JSON object into a plain JavaScript object with native/BSON types - * - * @param ejson - The Extended JSON object to deserialize - * @param options - Optional settings passed to the parse method - */ - export function deserialize(ejson: Document, options?: EJSON.Options): SerializableTypes; -} -/** @public */ -export declare type EJSONOptions = EJSON.Options; -/** - * A class representation of a BSON Int32 type. - * @public - * @category BSONType - */ -export declare class Int32 { - _bsontype: 'Int32'; - value: number; - /** - * Create an Int32 type - * - * @param value - the number we want to represent as an int32. - */ - constructor(value: number | string); - /** - * Access the number value. - * - * @returns returns the wrapped int32 number. - */ - valueOf(): number; - toString(radix?: number): string; - toJSON(): number; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface Int32Extended { - $numberInt: string; -} -declare const kId: unique symbol; -declare const kId_2: unique symbol; -/** - * A class representing a 64-bit integer - * @public - * @category BSONType - * @remarks - * The internal representation of a long is the two given signed, 32-bit values. - * We use 32-bit pieces because these are the size of integers on which - * Javascript performs bit-operations. For operations like addition and - * multiplication, we split each number into 16 bit pieces, which can easily be - * multiplied within Javascript's floating-point representation without overflow - * or change in sign. - * In the algorithms below, we frequently reduce the negative case to the - * positive case by negating the input(s) and then post-processing the result. - * Note that we must ALWAYS check specially whether those values are MIN_VALUE - * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as - * a positive number, it overflows back into a negative). Not handling this - * case would often result in infinite recursion. - * Common constant values ZERO, ONE, NEG_ONE, etc. are found as static properties on this class. - */ -export declare class Long { - _bsontype: 'Long'; - /** An indicator used to reliably determine if an object is a Long or not. */ - __isLong__: true; - /** - * The high 32 bits as a signed value. - */ - high: number; - /** - * The low 32 bits as a signed value. - */ - low: number; - /** - * Whether unsigned or not. - */ - unsigned: boolean; - /** - * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers. - * See the from* functions below for more convenient ways of constructing Longs. - * - * Acceptable signatures are: - * - Long(low, high, unsigned?) - * - Long(bigint, unsigned?) - * - Long(string, unsigned?) - * - * @param low - The low (signed) 32 bits of the long - * @param high - The high (signed) 32 bits of the long - * @param unsigned - Whether unsigned or not, defaults to signed - */ - constructor(low?: number | bigint | string, high?: number | boolean, unsigned?: boolean); - static TWO_PWR_24: Long; - /** Maximum unsigned value. */ - static MAX_UNSIGNED_VALUE: Long; - /** Signed zero */ - static ZERO: Long; - /** Unsigned zero. */ - static UZERO: Long; - /** Signed one. */ - static ONE: Long; - /** Unsigned one. */ - static UONE: Long; - /** Signed negative one. */ - static NEG_ONE: Long; - /** Maximum signed value. */ - static MAX_VALUE: Long; - /** Minimum signed value. */ - static MIN_VALUE: Long; - /** - * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. - * Each is assumed to use 32 bits. - * @param lowBits - The low 32 bits - * @param highBits - The high 32 bits - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromBits(lowBits: number, highBits: number, unsigned?: boolean): Long; - /** - * Returns a Long representing the given 32 bit integer value. - * @param value - The 32 bit integer in question - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromInt(value: number, unsigned?: boolean): Long; - /** - * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. - * @param value - The number in question - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromNumber(value: number, unsigned?: boolean): Long; - /** - * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. - * @param value - The number in question - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromBigInt(value: bigint, unsigned?: boolean): Long; - /** - * Returns a Long representation of the given string, written using the specified radix. - * @param str - The textual representation of the Long - * @param unsigned - Whether unsigned or not, defaults to signed - * @param radix - The radix in which the text is written (2-36), defaults to 10 - * @returns The corresponding Long value - */ - static fromString(str: string, unsigned?: boolean, radix?: number): Long; - /** - * Creates a Long from its byte representation. - * @param bytes - Byte representation - * @param unsigned - Whether unsigned or not, defaults to signed - * @param le - Whether little or big endian, defaults to big endian - * @returns The corresponding Long value - */ - static fromBytes(bytes: number[], unsigned?: boolean, le?: boolean): Long; - /** - * Creates a Long from its little endian byte representation. - * @param bytes - Little endian byte representation - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromBytesLE(bytes: number[], unsigned?: boolean): Long; - /** - * Creates a Long from its big endian byte representation. - * @param bytes - Big endian byte representation - * @param unsigned - Whether unsigned or not, defaults to signed - * @returns The corresponding Long value - */ - static fromBytesBE(bytes: number[], unsigned?: boolean): Long; - /** - * Tests if the specified object is a Long. - */ - static isLong(value: any): value is Long; - /** - * Converts the specified value to a Long. - * @param unsigned - Whether unsigned or not, defaults to signed - */ - static fromValue(val: number | string | { - low: number; - high: number; - unsigned?: boolean; - }, unsigned?: boolean): Long; - /** Returns the sum of this and the specified Long. */ - add(addend: string | number | Long | Timestamp): Long; - /** - * Returns the sum of this and the specified Long. - * @returns Sum - */ - and(other: string | number | Long | Timestamp): Long; - /** - * Compares this Long's value with the specified's. - * @returns 0 if they are the same, 1 if the this is greater and -1 if the given one is greater - */ - compare(other: string | number | Long | Timestamp): 0 | 1 | -1; - /** This is an alias of {@link Long.compare} */ - comp(other: string | number | Long | Timestamp): 0 | 1 | -1; - /** - * Returns this Long divided by the specified. The result is signed if this Long is signed or unsigned if this Long is unsigned. - * @returns Quotient - */ - divide(divisor: string | number | Long | Timestamp): Long; - /**This is an alias of {@link Long.divide} */ - div(divisor: string | number | Long | Timestamp): Long; - /** - * Tests if this Long's value equals the specified's. - * @param other - Other value - */ - equals(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.equals} */ - eq(other: string | number | Long | Timestamp): boolean; - /** Gets the high 32 bits as a signed integer. */ - getHighBits(): number; - /** Gets the high 32 bits as an unsigned integer. */ - getHighBitsUnsigned(): number; - /** Gets the low 32 bits as a signed integer. */ - getLowBits(): number; - /** Gets the low 32 bits as an unsigned integer. */ - getLowBitsUnsigned(): number; - /** Gets the number of bits needed to represent the absolute value of this Long. */ - getNumBitsAbs(): number; - /** Tests if this Long's value is greater than the specified's. */ - greaterThan(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.greaterThan} */ - gt(other: string | number | Long | Timestamp): boolean; - /** Tests if this Long's value is greater than or equal the specified's. */ - greaterThanOrEqual(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.greaterThanOrEqual} */ - gte(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.greaterThanOrEqual} */ - ge(other: string | number | Long | Timestamp): boolean; - /** Tests if this Long's value is even. */ - isEven(): boolean; - /** Tests if this Long's value is negative. */ - isNegative(): boolean; - /** Tests if this Long's value is odd. */ - isOdd(): boolean; - /** Tests if this Long's value is positive. */ - isPositive(): boolean; - /** Tests if this Long's value equals zero. */ - isZero(): boolean; - /** Tests if this Long's value is less than the specified's. */ - lessThan(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long#lessThan}. */ - lt(other: string | number | Long | Timestamp): boolean; - /** Tests if this Long's value is less than or equal the specified's. */ - lessThanOrEqual(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.lessThanOrEqual} */ - lte(other: string | number | Long | Timestamp): boolean; - /** Returns this Long modulo the specified. */ - modulo(divisor: string | number | Long | Timestamp): Long; - /** This is an alias of {@link Long.modulo} */ - mod(divisor: string | number | Long | Timestamp): Long; - /** This is an alias of {@link Long.modulo} */ - rem(divisor: string | number | Long | Timestamp): Long; - /** - * Returns the product of this and the specified Long. - * @param multiplier - Multiplier - * @returns Product - */ - multiply(multiplier: string | number | Long | Timestamp): Long; - /** This is an alias of {@link Long.multiply} */ - mul(multiplier: string | number | Long | Timestamp): Long; - /** Returns the Negation of this Long's value. */ - negate(): Long; - /** This is an alias of {@link Long.negate} */ - neg(): Long; - /** Returns the bitwise NOT of this Long. */ - not(): Long; - /** Tests if this Long's value differs from the specified's. */ - notEquals(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.notEquals} */ - neq(other: string | number | Long | Timestamp): boolean; - /** This is an alias of {@link Long.notEquals} */ - ne(other: string | number | Long | Timestamp): boolean; - /** - * Returns the bitwise OR of this Long and the specified. - */ - or(other: number | string | Long): Long; - /** - * Returns this Long with bits shifted to the left by the given amount. - * @param numBits - Number of bits - * @returns Shifted Long - */ - shiftLeft(numBits: number | Long): Long; - /** This is an alias of {@link Long.shiftLeft} */ - shl(numBits: number | Long): Long; - /** - * Returns this Long with bits arithmetically shifted to the right by the given amount. - * @param numBits - Number of bits - * @returns Shifted Long - */ - shiftRight(numBits: number | Long): Long; - /** This is an alias of {@link Long.shiftRight} */ - shr(numBits: number | Long): Long; - /** - * Returns this Long with bits logically shifted to the right by the given amount. - * @param numBits - Number of bits - * @returns Shifted Long - */ - shiftRightUnsigned(numBits: Long | number): Long; - /** This is an alias of {@link Long.shiftRightUnsigned} */ - shr_u(numBits: number | Long): Long; - /** This is an alias of {@link Long.shiftRightUnsigned} */ - shru(numBits: number | Long): Long; - /** - * Returns the difference of this and the specified Long. - * @param subtrahend - Subtrahend - * @returns Difference - */ - subtract(subtrahend: string | number | Long | Timestamp): Long; - /** This is an alias of {@link Long.subtract} */ - sub(subtrahend: string | number | Long | Timestamp): Long; - /** Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. */ - toInt(): number; - /** Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). */ - toNumber(): number; - /** Converts the Long to a BigInt (arbitrary precision). */ - toBigInt(): bigint; - /** - * Converts this Long to its byte representation. - * @param le - Whether little or big endian, defaults to big endian - * @returns Byte representation - */ - toBytes(le?: boolean): number[]; - /** - * Converts this Long to its little endian byte representation. - * @returns Little endian byte representation - */ - toBytesLE(): number[]; - /** - * Converts this Long to its big endian byte representation. - * @returns Big endian byte representation - */ - toBytesBE(): number[]; - /** - * Converts this Long to signed. - */ - toSigned(): Long; - /** - * Converts the Long to a string written in the specified radix. - * @param radix - Radix (2-36), defaults to 10 - * @throws RangeError If `radix` is out of range - */ - toString(radix?: number): string; - /** Converts this Long to unsigned. */ - toUnsigned(): Long; - /** Returns the bitwise XOR of this Long and the given one. */ - xor(other: Long | number | string): Long; - /** This is an alias of {@link Long.isZero} */ - eqz(): boolean; - /** This is an alias of {@link Long.lessThanOrEqual} */ - le(other: string | number | Long | Timestamp): boolean; - toExtendedJSON(options?: EJSONOptions): number | LongExtended; - static fromExtendedJSON(doc: { - $numberLong: string; - }, options?: EJSONOptions): number | Long; - inspect(): string; -} -/** @public */ -export declare interface LongExtended { - $numberLong: string; -} -/** @public */ -export declare type LongWithoutOverrides = new (low: unknown, high?: number, unsigned?: boolean) => { - [P in Exclude]: Long[P]; -}; -/** @public */ -export declare const LongWithoutOverridesClass: LongWithoutOverrides; -/** @public */ -declare let Map_2: MapConstructor; -export { Map_2 as Map }; -/** - * A class representation of the BSON MaxKey type. - * @public - * @category BSONType - */ -export declare class MaxKey { - _bsontype: 'MaxKey'; - constructor(); - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface MaxKeyExtended { - $maxKey: 1; -} -/** - * A class representation of the BSON MinKey type. - * @public - * @category BSONType - */ -export declare class MinKey { - _bsontype: 'MinKey'; - constructor(); - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface MinKeyExtended { - $minKey: 1; -} -/** - * A class representation of the BSON ObjectId type. - * @public - * @category BSONType - */ -declare class ObjectId { - _bsontype: 'ObjectID'; - /* Excluded from this release type: index */ - static cacheHexString: boolean; - /* Excluded from this release type: [kId] */ - /* Excluded from this release type: __id */ - /** - * Create an ObjectId type - * - * @param inputId - Can be a 24 character hex string, 12 byte binary Buffer, or a number. - */ - constructor(inputId?: string | number | ObjectId | ObjectIdLike | Buffer | Uint8Array); - /* - * The ObjectId bytes - * @readonly - */ - id: Buffer; - /* - * The generation time of this ObjectId instance - * @deprecated Please use getTimestamp / createFromTime which returns an int32 epoch - */ - generationTime: number; - /** Returns the ObjectId id as a 24 character hex string representation */ - toHexString(): string; - /* Excluded from this release type: getInc */ - /** - * Generate a 12 byte id buffer used in ObjectId's - * - * @param time - pass in a second based timestamp. - */ - static generate(time?: number): Buffer; - /** - * Converts the id into a 24 character hex string for printing - * - * @param format - The Buffer toString format parameter. - */ - toString(format?: string): string; - /** Converts to its JSON the 24 character hex string representation. */ - toJSON(): string; - /** - * Compares the equality of this ObjectId with `otherID`. - * - * @param otherId - ObjectId instance to compare against. - */ - equals(otherId: string | ObjectId | ObjectIdLike): boolean; - /** Returns the generation date (accurate up to the second) that this ID was generated. */ - getTimestamp(): Date; - /* Excluded from this release type: createPk */ - /** - * Creates an ObjectId from a second based number, with the rest of the ObjectId zeroed out. Used for comparisons or sorting the ObjectId. - * - * @param time - an integer number representing a number of seconds. - */ - static createFromTime(time: number): ObjectId; - /** - * Creates an ObjectId from a hex string representation of an ObjectId. - * - * @param hexString - create a ObjectId from a passed in 24 character hexstring. - */ - static createFromHexString(hexString: string): ObjectId; - /** - * Checks if a value is a valid bson ObjectId - * - * @param id - ObjectId instance to validate. - */ - static isValid(id: string | number | ObjectId | ObjectIdLike | Buffer | Uint8Array): boolean; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -export { ObjectId as ObjectID }; -export { ObjectId }; -/** @public */ -export declare interface ObjectIdExtended { - $oid: string; -} -/** @public */ -export declare interface ObjectIdLike { - id: string | Buffer; - __id?: string; - toHexString(): string; -} -/** - * Serialize a Javascript object. - * - * @param object - the Javascript object to serialize. - * @returns Buffer object containing the serialized object. - * @public - */ -export declare function serialize(object: Document, options?: SerializeOptions): Buffer; -/** @public */ -export declare interface SerializeOptions { - /** the serializer will check if keys are valid. */ - checkKeys?: boolean; - /** serialize the javascript functions **(default:false)**. */ - serializeFunctions?: boolean; - /** serialize will not emit undefined fields **(default:true)** */ - ignoreUndefined?: boolean; - /* Excluded from this release type: minInternalBufferSize */ - /** the index in the buffer where we wish to start serializing into */ - index?: number; -} -/** - * Serialize a Javascript object using a predefined Buffer and index into the buffer, - * useful when pre-allocating the space for serialization. - * - * @param object - the Javascript object to serialize. - * @param finalBuffer - the Buffer you pre-allocated to store the serialized BSON object. - * @returns the index pointing to the last written byte in the buffer. - * @public - */ -export declare function serializeWithBufferAndIndex(object: Document, finalBuffer: Buffer, options?: SerializeOptions): number; -/** - * Sets the size of the internal serialization buffer. - * - * @param size - The desired size for the internal serialization buffer - * @public - */ -export declare function setInternalBufferSize(size: number): void; -/** - * @public - * @category BSONType - * */ -export declare class Timestamp extends LongWithoutOverridesClass { - _bsontype: 'Timestamp'; - static readonly MAX_VALUE: Long; - /** - * @param low - A 64-bit Long representing the Timestamp. - */ - constructor(long: Long); - /** - * @param value - A pair of two values indicating timestamp and increment. - */ - constructor(value: { - t: number; - i: number; - }); - /** - * @param low - the low (signed) 32 bits of the Timestamp. - * @param high - the high (signed) 32 bits of the Timestamp. - * @deprecated Please use `Timestamp({ t: high, i: low })` or `Timestamp(Long(low, high))` instead. - */ - constructor(low: number, high: number); - toJSON(): { - $timestamp: string; - }; - /** Returns a Timestamp represented by the given (32-bit) integer value. */ - static fromInt(value: number): Timestamp; - /** Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned. */ - static fromNumber(value: number): Timestamp; - /** - * Returns a Timestamp for the given high and low bits. Each is assumed to use 32 bits. - * - * @param lowBits - the low 32-bits. - * @param highBits - the high 32-bits. - */ - static fromBits(lowBits: number, highBits: number): Timestamp; - /** - * Returns a Timestamp from the given string, optionally using the given radix. - * - * @param str - the textual representation of the Timestamp. - * @param optRadix - the radix in which the text is written. - */ - static fromString(str: string, optRadix: number): Timestamp; - /* Excluded from this release type: toExtendedJSON */ - /* Excluded from this release type: fromExtendedJSON */ - inspect(): string; -} -/** @public */ -export declare interface TimestampExtended { - $timestamp: { - t: number; - i: number; - }; -} -/** @public */ -export declare type TimestampOverrides = '_bsontype' | 'toExtendedJSON' | 'fromExtendedJSON' | 'inspect'; -/** - * A class representation of the BSON UUID type. - * @public - */ -export declare class UUID { - _bsontype: 'UUID'; - static cacheHexString: boolean; - /* Excluded from this release type: [kId] */ - /* Excluded from this release type: __id */ - /** - * Create an UUID type - * - * @param input - Can be a 32 or 36 character hex string (dashes excluded/included) or a 16 byte binary Buffer. - */ - constructor(input?: string | Buffer | UUID); - /* - * The UUID bytes - * @readonly - */ - id: Buffer; - /** - * Generate a 16 byte uuid v4 buffer used in UUIDs - */ - /** - * Returns the UUID id as a 32 or 36 character hex string representation, excluding/including dashes (defaults to 36 character dash separated) - * @param includeDashes - should the string exclude dash-separators. - * */ - toHexString(includeDashes?: boolean): string; - /** - * Converts the id into a 36 character (dashes included) hex string, unless a encoding is specified. - */ - toString(encoding?: string): string; - /** - * Converts the id into its JSON string representation. - * A 36 character (dashes included) hex string in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - */ - toJSON(): string; - /** - * Compares the equality of this UUID with `otherID`. - * - * @param otherId - UUID instance to compare against. - */ - equals(otherId: string | Buffer | UUID): boolean; - /** - * Creates a Binary instance from the current UUID. - */ - toBinary(): Binary; - /** - * Generates a populated buffer containing a v4 uuid - */ - static generate(): Buffer; - /** - * Checks if a value is a valid bson UUID - * @param input - UUID, string or Buffer to validate. - */ - static isValid(input: string | Buffer | UUID): boolean; - /** - * Creates an UUID from a hex string representation of an UUID. - * @param hexString - 32 or 36 character hex string (dashes excluded/included). - */ - static createFromHexString(hexString: string): UUID; - inspect(): string; -} -/** @public */ -export declare type UUIDExtended = { - $uuid: string; -}; -export {}; +import { Buffer } from 'buffer'; +/** + * A class representation of the BSON Binary type. + * @public + * @category BSONType + */ +export declare class Binary { + _bsontype: 'Binary'; + /* Excluded from this release type: BSON_BINARY_SUBTYPE_DEFAULT */ + /** Initial buffer default size */ + static readonly BUFFER_SIZE = 256; + /** Default BSON type */ + static readonly SUBTYPE_DEFAULT = 0; + /** Function BSON type */ + static readonly SUBTYPE_FUNCTION = 1; + /** Byte Array BSON type */ + static readonly SUBTYPE_BYTE_ARRAY = 2; + /** Deprecated UUID BSON type @deprecated Please use SUBTYPE_UUID */ + static readonly SUBTYPE_UUID_OLD = 3; + /** UUID BSON type */ + static readonly SUBTYPE_UUID = 4; + /** MD5 BSON type */ + static readonly SUBTYPE_MD5 = 5; + /** Encrypted BSON type */ + static readonly SUBTYPE_ENCRYPTED = 6; + /** Column BSON type */ + static readonly SUBTYPE_COLUMN = 7; + /** User BSON type */ + static readonly SUBTYPE_USER_DEFINED = 128; + buffer: Buffer; + sub_type: number; + position: number; + /** + * @param buffer - a buffer object containing the binary data. + * @param subType - the option binary type. + */ + constructor(buffer?: string | BinarySequence, subType?: number); + /** + * Updates this binary with byte_value. + * + * @param byteValue - a single byte we wish to write. + */ + put(byteValue: string | number | Uint8Array | Buffer | number[]): void; + /** + * Writes a buffer or string to the binary. + * + * @param sequence - a string or buffer to be written to the Binary BSON object. + * @param offset - specify the binary of where to write the content. + */ + write(sequence: string | BinarySequence, offset: number): void; + /** + * Reads **length** bytes starting at **position**. + * + * @param position - read from the given position in the Binary. + * @param length - the number of bytes to read. + */ + read(position: number, length: number): BinarySequence; + /** + * Returns the value of this binary as a string. + * @param asRaw - Will skip converting to a string + * @remarks + * This is handy when calling this function conditionally for some key value pairs and not others + */ + value(asRaw?: boolean): string | BinarySequence; + /** the length of the binary sequence */ + length(): number; + toJSON(): string; + toString(format?: string): string; + /* Excluded from this release type: toExtendedJSON */ + toUUID(): UUID; + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface BinaryExtended { + $binary: { + subType: string; + base64: string; + }; +} +/** @public */ +export declare interface BinaryExtendedLegacy { + $type: string; + $binary: string; +} +/** @public */ +export declare type BinarySequence = Uint8Array | Buffer | number[]; +/** + * BSON default export + * @deprecated Please use named exports + * @privateRemarks + * We want to someday deprecate the default export, + * so none of the new TS types are being exported on the default + * @public + */ +declare const BSON: { + Binary: typeof Binary; + Code: typeof Code; + DBRef: typeof DBRef; + Decimal128: typeof Decimal128; + Double: typeof Double; + Int32: typeof Int32; + Long: typeof Long; + UUID: typeof UUID; + Map: MapConstructor; + MaxKey: typeof MaxKey; + MinKey: typeof MinKey; + ObjectId: typeof ObjectId; + ObjectID: typeof ObjectId; + BSONRegExp: typeof BSONRegExp; + BSONSymbol: typeof BSONSymbol; + Timestamp: typeof Timestamp; + EJSON: typeof EJSON; + setInternalBufferSize: typeof setInternalBufferSize; + serialize: typeof serialize; + serializeWithBufferAndIndex: typeof serializeWithBufferAndIndex; + deserialize: typeof deserialize; + calculateObjectSize: typeof calculateObjectSize; + deserializeStream: typeof deserializeStream; + BSONError: typeof BSONError; + BSONTypeError: typeof BSONTypeError; +}; +export default BSON; +/* Excluded from this release type: BSON_BINARY_SUBTYPE_BYTE_ARRAY */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_COLUMN */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_DEFAULT */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_ENCRYPTED */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_FUNCTION */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_MD5 */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_USER_DEFINED */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_UUID */ +/* Excluded from this release type: BSON_BINARY_SUBTYPE_UUID_NEW */ +/* Excluded from this release type: BSON_DATA_ARRAY */ +/* Excluded from this release type: BSON_DATA_BINARY */ +/* Excluded from this release type: BSON_DATA_BOOLEAN */ +/* Excluded from this release type: BSON_DATA_CODE */ +/* Excluded from this release type: BSON_DATA_CODE_W_SCOPE */ +/* Excluded from this release type: BSON_DATA_DATE */ +/* Excluded from this release type: BSON_DATA_DBPOINTER */ +/* Excluded from this release type: BSON_DATA_DECIMAL128 */ +/* Excluded from this release type: BSON_DATA_INT */ +/* Excluded from this release type: BSON_DATA_LONG */ +/* Excluded from this release type: BSON_DATA_MAX_KEY */ +/* Excluded from this release type: BSON_DATA_MIN_KEY */ +/* Excluded from this release type: BSON_DATA_NULL */ +/* Excluded from this release type: BSON_DATA_NUMBER */ +/* Excluded from this release type: BSON_DATA_OBJECT */ +/* Excluded from this release type: BSON_DATA_OID */ +/* Excluded from this release type: BSON_DATA_REGEXP */ +/* Excluded from this release type: BSON_DATA_STRING */ +/* Excluded from this release type: BSON_DATA_SYMBOL */ +/* Excluded from this release type: BSON_DATA_TIMESTAMP */ +/* Excluded from this release type: BSON_DATA_UNDEFINED */ +/* Excluded from this release type: BSON_INT32_MAX */ +/* Excluded from this release type: BSON_INT32_MIN */ +/* Excluded from this release type: BSON_INT64_MAX */ +/* Excluded from this release type: BSON_INT64_MIN */ +/** @public */ +export declare class BSONError extends Error { + constructor(message: string); + readonly name: string; +} +/** + * A class representation of the BSON RegExp type. + * @public + * @category BSONType + */ +export declare class BSONRegExp { + _bsontype: 'BSONRegExp'; + pattern: string; + options: string; + /** + * @param pattern - The regular expression pattern to match + * @param options - The regular expression options + */ + constructor(pattern: string, options?: string); + static parseOptions(options?: string): string; +} +/** @public */ +export declare interface BSONRegExpExtended { + $regularExpression: { + pattern: string; + options: string; + }; +} +/** @public */ +export declare interface BSONRegExpExtendedLegacy { + $regex: string | BSONRegExp; + $options: string; +} +/** + * A class representation of the BSON Symbol type. + * @public + * @category BSONType + */ +export declare class BSONSymbol { + _bsontype: 'Symbol'; + value: string; + /** + * @param value - the string representing the symbol. + */ + constructor(value: string); + /** Access the wrapped string value. */ + valueOf(): string; + toString(): string; + /* Excluded from this release type: inspect */ + toJSON(): string; +} +/** @public */ +export declare interface BSONSymbolExtended { + $symbol: string; +} +/** @public */ +export declare class BSONTypeError extends TypeError { + constructor(message: string); + readonly name: string; +} +/** + * Calculate the bson size for a passed in Javascript object. + * + * @param object - the Javascript object to calculate the BSON byte size for + * @returns size of BSON object in bytes + * @public + */ +export declare function calculateObjectSize(object: Document, options?: CalculateObjectSizeOptions): number; +/** @public */ +export declare type CalculateObjectSizeOptions = Pick; +/** + * A class representation of the BSON Code type. + * @public + * @category BSONType + */ +export declare class Code { + _bsontype: 'Code'; + code: string | Function; + scope?: Document; + /** + * @param code - a string or function. + * @param scope - an optional scope for the function. + */ + constructor(code: string | Function, scope?: Document); + toJSON(): { + code: string | Function; + scope?: Document; + }; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface CodeExtended { + $code: string | Function; + $scope?: Document; +} +/** + * A class representation of the BSON DBRef type. + * @public + * @category BSONType + */ +export declare class DBRef { + _bsontype: 'DBRef'; + collection: string; + oid: ObjectId; + db?: string; + fields: Document; + /** + * @param collection - the collection name. + * @param oid - the reference ObjectId. + * @param db - optional db name, if omitted the reference is local to the current db. + */ + constructor(collection: string, oid: ObjectId, db?: string, fields?: Document); + /* Excluded from this release type: namespace */ + /* Excluded from this release type: namespace */ + toJSON(): DBRefLike & Document; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface DBRefLike { + $ref: string; + $id: ObjectId; + $db?: string; +} +/** + * A class representation of the BSON Decimal128 type. + * @public + * @category BSONType + */ +export declare class Decimal128 { + _bsontype: 'Decimal128'; + readonly bytes: Buffer; + /** + * @param bytes - a buffer containing the raw Decimal128 bytes in little endian order, + * or a string representation as returned by .toString() + */ + constructor(bytes: Buffer | string); + /** + * Create a Decimal128 instance from a string representation + * + * @param representation - a numeric string representation. + */ + static fromString(representation: string): Decimal128; + /** Create a string representation of the raw Decimal128 value */ + toString(): string; + toJSON(): Decimal128Extended; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface Decimal128Extended { + $numberDecimal: string; +} +/** + * Deserialize data as BSON. + * + * @param buffer - the buffer containing the serialized set of BSON documents. + * @returns returns the deserialized Javascript Object. + * @public + */ +export declare function deserialize(buffer: Buffer | ArrayBufferView | ArrayBuffer, options?: DeserializeOptions): Document; +/** @public */ +export declare interface DeserializeOptions { + /** evaluate functions in the BSON document scoped to the object deserialized. */ + evalFunctions?: boolean; + /** cache evaluated functions for reuse. */ + cacheFunctions?: boolean; + /** + * use a crc32 code for caching, otherwise use the string of the function. + * @deprecated this option to use the crc32 function never worked as intended + * due to the fact that the crc32 function itself was never implemented. + * */ + cacheFunctionsCrc32?: boolean; + /** when deserializing a Long will fit it into a Number if it's smaller than 53 bits */ + promoteLongs?: boolean; + /** when deserializing a Binary will return it as a node.js Buffer instance. */ + promoteBuffers?: boolean; + /** when deserializing will promote BSON values to their Node.js closest equivalent types. */ + promoteValues?: boolean; + /** allow to specify if there what fields we wish to return as unserialized raw buffer. */ + fieldsAsRaw?: Document; + /** return BSON regular expressions as BSONRegExp instances. */ + bsonRegExp?: boolean; + /** allows the buffer to be larger than the parsed BSON object */ + allowObjectSmallerThanBufferSize?: boolean; + /** Offset into buffer to begin reading document from */ + index?: number; + raw?: boolean; + /** Allows for opt-out utf-8 validation for all keys or + * specified keys. Must be all true or all false. + * + * @example + * ```js + * // disables validation on all keys + * validation: { utf8: false } + * + * // enables validation only on specified keys a, b, and c + * validation: { utf8: { a: true, b: true, c: true } } + * + * // disables validation only on specified keys a, b + * validation: { utf8: { a: false, b: false } } + * ``` + */ + validation?: { + utf8: boolean | Record | Record; + }; +} +/** + * Deserialize stream data as BSON documents. + * + * @param data - the buffer containing the serialized set of BSON documents. + * @param startIndex - the start index in the data Buffer where the deserialization is to start. + * @param numberOfDocuments - number of documents to deserialize. + * @param documents - an array where to store the deserialized documents. + * @param docStartIndex - the index in the documents array from where to start inserting documents. + * @param options - additional options used for the deserialization. + * @returns next index in the buffer after deserialization **x** numbers of documents. + * @public + */ +export declare function deserializeStream(data: Buffer | ArrayBufferView | ArrayBuffer, startIndex: number, numberOfDocuments: number, documents: Document[], docStartIndex: number, options: DeserializeOptions): number; +/** @public */ +export declare interface Document { + [key: string]: any; +} +/** + * A class representation of the BSON Double type. + * @public + * @category BSONType + */ +export declare class Double { + _bsontype: 'Double'; + value: number; + /** + * Create a Double type + * + * @param value - the number we want to represent as a double. + */ + constructor(value: number); + /** + * Access the number value. + * + * @returns returns the wrapped double number. + */ + valueOf(): number; + toJSON(): number; + toString(radix?: number): string; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface DoubleExtended { + $numberDouble: string; +} +/** + * EJSON parse / stringify API + * @public + */ +export declare namespace EJSON { + export interface Options { + /** Output using the Extended JSON v1 spec */ + legacy?: boolean; + /** Enable Extended JSON's `relaxed` mode, which attempts to return native JS types where possible, rather than BSON types */ + relaxed?: boolean; + /** + * Disable Extended JSON's `relaxed` mode, which attempts to return BSON types where possible, rather than native JS types + * @deprecated Please use the relaxed property instead + */ + strict?: boolean; + } + /** + * Parse an Extended JSON string, constructing the JavaScript value or object described by that + * string. + * + * @example + * ```js + * const { EJSON } = require('bson'); + * const text = '{ "int32": { "$numberInt": "10" } }'; + * + * // prints { int32: { [String: '10'] _bsontype: 'Int32', value: '10' } } + * console.log(EJSON.parse(text, { relaxed: false })); + * + * // prints { int32: 10 } + * console.log(EJSON.parse(text)); + * ``` + */ + export function parse(text: string, options?: EJSON.Options): SerializableTypes; + export type JSONPrimitive = string | number | boolean | null; + export type SerializableTypes = Document | Array | JSONPrimitive; + /** + * Converts a BSON document to an Extended JSON string, optionally replacing values if a replacer + * function is specified or optionally including only the specified properties if a replacer array + * is specified. + * + * @param value - The value to convert to extended JSON + * @param replacer - A function that alters the behavior of the stringification process, or an array of String and Number objects that serve as a whitelist for selecting/filtering the properties of the value object to be included in the JSON string. If this value is null or not provided, all properties of the object are included in the resulting JSON string + * @param space - A String or Number object that's used to insert white space into the output JSON string for readability purposes. + * @param options - Optional settings + * + * @example + * ```js + * const { EJSON } = require('bson'); + * const Int32 = require('mongodb').Int32; + * const doc = { int32: new Int32(10) }; + * + * // prints '{"int32":{"$numberInt":"10"}}' + * console.log(EJSON.stringify(doc, { relaxed: false })); + * + * // prints '{"int32":10}' + * console.log(EJSON.stringify(doc)); + * ``` + */ + export function stringify(value: SerializableTypes, replacer?: (number | string)[] | ((this: any, key: string, value: any) => any) | EJSON.Options, space?: string | number, options?: EJSON.Options): string; + /** + * Serializes an object to an Extended JSON string, and reparse it as a JavaScript object. + * + * @param value - The object to serialize + * @param options - Optional settings passed to the `stringify` function + */ + export function serialize(value: SerializableTypes, options?: EJSON.Options): Document; + /** + * Deserializes an Extended JSON object into a plain JavaScript object with native/BSON types + * + * @param ejson - The Extended JSON object to deserialize + * @param options - Optional settings passed to the parse method + */ + export function deserialize(ejson: Document, options?: EJSON.Options): SerializableTypes; +} +/** @public */ +export declare type EJSONOptions = EJSON.Options; +/** + * A class representation of a BSON Int32 type. + * @public + * @category BSONType + */ +export declare class Int32 { + _bsontype: 'Int32'; + value: number; + /** + * Create an Int32 type + * + * @param value - the number we want to represent as an int32. + */ + constructor(value: number | string); + /** + * Access the number value. + * + * @returns returns the wrapped int32 number. + */ + valueOf(): number; + toString(radix?: number): string; + toJSON(): number; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface Int32Extended { + $numberInt: string; +} +declare const kId: unique symbol; +declare const kId_2: unique symbol; +/** + * A class representing a 64-bit integer + * @public + * @category BSONType + * @remarks + * The internal representation of a long is the two given signed, 32-bit values. + * We use 32-bit pieces because these are the size of integers on which + * Javascript performs bit-operations. For operations like addition and + * multiplication, we split each number into 16 bit pieces, which can easily be + * multiplied within Javascript's floating-point representation without overflow + * or change in sign. + * In the algorithms below, we frequently reduce the negative case to the + * positive case by negating the input(s) and then post-processing the result. + * Note that we must ALWAYS check specially whether those values are MIN_VALUE + * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as + * a positive number, it overflows back into a negative). Not handling this + * case would often result in infinite recursion. + * Common constant values ZERO, ONE, NEG_ONE, etc. are found as static properties on this class. + */ +export declare class Long { + _bsontype: 'Long'; + /** An indicator used to reliably determine if an object is a Long or not. */ + __isLong__: true; + /** + * The high 32 bits as a signed value. + */ + high: number; + /** + * The low 32 bits as a signed value. + */ + low: number; + /** + * Whether unsigned or not. + */ + unsigned: boolean; + /** + * Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as *signed* integers. + * See the from* functions below for more convenient ways of constructing Longs. + * + * Acceptable signatures are: + * - Long(low, high, unsigned?) + * - Long(bigint, unsigned?) + * - Long(string, unsigned?) + * + * @param low - The low (signed) 32 bits of the long + * @param high - The high (signed) 32 bits of the long + * @param unsigned - Whether unsigned or not, defaults to signed + */ + constructor(low?: number | bigint | string, high?: number | boolean, unsigned?: boolean); + static TWO_PWR_24: Long; + /** Maximum unsigned value. */ + static MAX_UNSIGNED_VALUE: Long; + /** Signed zero */ + static ZERO: Long; + /** Unsigned zero. */ + static UZERO: Long; + /** Signed one. */ + static ONE: Long; + /** Unsigned one. */ + static UONE: Long; + /** Signed negative one. */ + static NEG_ONE: Long; + /** Maximum signed value. */ + static MAX_VALUE: Long; + /** Minimum signed value. */ + static MIN_VALUE: Long; + /** + * Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. + * Each is assumed to use 32 bits. + * @param lowBits - The low 32 bits + * @param highBits - The high 32 bits + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromBits(lowBits: number, highBits: number, unsigned?: boolean): Long; + /** + * Returns a Long representing the given 32 bit integer value. + * @param value - The 32 bit integer in question + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromInt(value: number, unsigned?: boolean): Long; + /** + * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. + * @param value - The number in question + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromNumber(value: number, unsigned?: boolean): Long; + /** + * Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned. + * @param value - The number in question + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromBigInt(value: bigint, unsigned?: boolean): Long; + /** + * Returns a Long representation of the given string, written using the specified radix. + * @param str - The textual representation of the Long + * @param unsigned - Whether unsigned or not, defaults to signed + * @param radix - The radix in which the text is written (2-36), defaults to 10 + * @returns The corresponding Long value + */ + static fromString(str: string, unsigned?: boolean, radix?: number): Long; + /** + * Creates a Long from its byte representation. + * @param bytes - Byte representation + * @param unsigned - Whether unsigned or not, defaults to signed + * @param le - Whether little or big endian, defaults to big endian + * @returns The corresponding Long value + */ + static fromBytes(bytes: number[], unsigned?: boolean, le?: boolean): Long; + /** + * Creates a Long from its little endian byte representation. + * @param bytes - Little endian byte representation + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromBytesLE(bytes: number[], unsigned?: boolean): Long; + /** + * Creates a Long from its big endian byte representation. + * @param bytes - Big endian byte representation + * @param unsigned - Whether unsigned or not, defaults to signed + * @returns The corresponding Long value + */ + static fromBytesBE(bytes: number[], unsigned?: boolean): Long; + /** + * Tests if the specified object is a Long. + */ + static isLong(value: any): value is Long; + /** + * Converts the specified value to a Long. + * @param unsigned - Whether unsigned or not, defaults to signed + */ + static fromValue(val: number | string | { + low: number; + high: number; + unsigned?: boolean; + }, unsigned?: boolean): Long; + /** Returns the sum of this and the specified Long. */ + add(addend: string | number | Long | Timestamp): Long; + /** + * Returns the sum of this and the specified Long. + * @returns Sum + */ + and(other: string | number | Long | Timestamp): Long; + /** + * Compares this Long's value with the specified's. + * @returns 0 if they are the same, 1 if the this is greater and -1 if the given one is greater + */ + compare(other: string | number | Long | Timestamp): 0 | 1 | -1; + /** This is an alias of {@link Long.compare} */ + comp(other: string | number | Long | Timestamp): 0 | 1 | -1; + /** + * Returns this Long divided by the specified. The result is signed if this Long is signed or unsigned if this Long is unsigned. + * @returns Quotient + */ + divide(divisor: string | number | Long | Timestamp): Long; + /**This is an alias of {@link Long.divide} */ + div(divisor: string | number | Long | Timestamp): Long; + /** + * Tests if this Long's value equals the specified's. + * @param other - Other value + */ + equals(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.equals} */ + eq(other: string | number | Long | Timestamp): boolean; + /** Gets the high 32 bits as a signed integer. */ + getHighBits(): number; + /** Gets the high 32 bits as an unsigned integer. */ + getHighBitsUnsigned(): number; + /** Gets the low 32 bits as a signed integer. */ + getLowBits(): number; + /** Gets the low 32 bits as an unsigned integer. */ + getLowBitsUnsigned(): number; + /** Gets the number of bits needed to represent the absolute value of this Long. */ + getNumBitsAbs(): number; + /** Tests if this Long's value is greater than the specified's. */ + greaterThan(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.greaterThan} */ + gt(other: string | number | Long | Timestamp): boolean; + /** Tests if this Long's value is greater than or equal the specified's. */ + greaterThanOrEqual(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.greaterThanOrEqual} */ + gte(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.greaterThanOrEqual} */ + ge(other: string | number | Long | Timestamp): boolean; + /** Tests if this Long's value is even. */ + isEven(): boolean; + /** Tests if this Long's value is negative. */ + isNegative(): boolean; + /** Tests if this Long's value is odd. */ + isOdd(): boolean; + /** Tests if this Long's value is positive. */ + isPositive(): boolean; + /** Tests if this Long's value equals zero. */ + isZero(): boolean; + /** Tests if this Long's value is less than the specified's. */ + lessThan(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long#lessThan}. */ + lt(other: string | number | Long | Timestamp): boolean; + /** Tests if this Long's value is less than or equal the specified's. */ + lessThanOrEqual(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.lessThanOrEqual} */ + lte(other: string | number | Long | Timestamp): boolean; + /** Returns this Long modulo the specified. */ + modulo(divisor: string | number | Long | Timestamp): Long; + /** This is an alias of {@link Long.modulo} */ + mod(divisor: string | number | Long | Timestamp): Long; + /** This is an alias of {@link Long.modulo} */ + rem(divisor: string | number | Long | Timestamp): Long; + /** + * Returns the product of this and the specified Long. + * @param multiplier - Multiplier + * @returns Product + */ + multiply(multiplier: string | number | Long | Timestamp): Long; + /** This is an alias of {@link Long.multiply} */ + mul(multiplier: string | number | Long | Timestamp): Long; + /** Returns the Negation of this Long's value. */ + negate(): Long; + /** This is an alias of {@link Long.negate} */ + neg(): Long; + /** Returns the bitwise NOT of this Long. */ + not(): Long; + /** Tests if this Long's value differs from the specified's. */ + notEquals(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.notEquals} */ + neq(other: string | number | Long | Timestamp): boolean; + /** This is an alias of {@link Long.notEquals} */ + ne(other: string | number | Long | Timestamp): boolean; + /** + * Returns the bitwise OR of this Long and the specified. + */ + or(other: number | string | Long): Long; + /** + * Returns this Long with bits shifted to the left by the given amount. + * @param numBits - Number of bits + * @returns Shifted Long + */ + shiftLeft(numBits: number | Long): Long; + /** This is an alias of {@link Long.shiftLeft} */ + shl(numBits: number | Long): Long; + /** + * Returns this Long with bits arithmetically shifted to the right by the given amount. + * @param numBits - Number of bits + * @returns Shifted Long + */ + shiftRight(numBits: number | Long): Long; + /** This is an alias of {@link Long.shiftRight} */ + shr(numBits: number | Long): Long; + /** + * Returns this Long with bits logically shifted to the right by the given amount. + * @param numBits - Number of bits + * @returns Shifted Long + */ + shiftRightUnsigned(numBits: Long | number): Long; + /** This is an alias of {@link Long.shiftRightUnsigned} */ + shr_u(numBits: number | Long): Long; + /** This is an alias of {@link Long.shiftRightUnsigned} */ + shru(numBits: number | Long): Long; + /** + * Returns the difference of this and the specified Long. + * @param subtrahend - Subtrahend + * @returns Difference + */ + subtract(subtrahend: string | number | Long | Timestamp): Long; + /** This is an alias of {@link Long.subtract} */ + sub(subtrahend: string | number | Long | Timestamp): Long; + /** Converts the Long to a 32 bit integer, assuming it is a 32 bit integer. */ + toInt(): number; + /** Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa). */ + toNumber(): number; + /** Converts the Long to a BigInt (arbitrary precision). */ + toBigInt(): bigint; + /** + * Converts this Long to its byte representation. + * @param le - Whether little or big endian, defaults to big endian + * @returns Byte representation + */ + toBytes(le?: boolean): number[]; + /** + * Converts this Long to its little endian byte representation. + * @returns Little endian byte representation + */ + toBytesLE(): number[]; + /** + * Converts this Long to its big endian byte representation. + * @returns Big endian byte representation + */ + toBytesBE(): number[]; + /** + * Converts this Long to signed. + */ + toSigned(): Long; + /** + * Converts the Long to a string written in the specified radix. + * @param radix - Radix (2-36), defaults to 10 + * @throws RangeError If `radix` is out of range + */ + toString(radix?: number): string; + /** Converts this Long to unsigned. */ + toUnsigned(): Long; + /** Returns the bitwise XOR of this Long and the given one. */ + xor(other: Long | number | string): Long; + /** This is an alias of {@link Long.isZero} */ + eqz(): boolean; + /** This is an alias of {@link Long.lessThanOrEqual} */ + le(other: string | number | Long | Timestamp): boolean; + toExtendedJSON(options?: EJSONOptions): number | LongExtended; + static fromExtendedJSON(doc: { + $numberLong: string; + }, options?: EJSONOptions): number | Long; + inspect(): string; +} +/** @public */ +export declare interface LongExtended { + $numberLong: string; +} +/** @public */ +export declare type LongWithoutOverrides = new (low: unknown, high?: number, unsigned?: boolean) => { + [P in Exclude]: Long[P]; +}; +/** @public */ +export declare const LongWithoutOverridesClass: LongWithoutOverrides; +/** @public */ +declare let Map_2: MapConstructor; +export { Map_2 as Map }; +/** + * A class representation of the BSON MaxKey type. + * @public + * @category BSONType + */ +export declare class MaxKey { + _bsontype: 'MaxKey'; + constructor(); + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface MaxKeyExtended { + $maxKey: 1; +} +/** + * A class representation of the BSON MinKey type. + * @public + * @category BSONType + */ +export declare class MinKey { + _bsontype: 'MinKey'; + constructor(); + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface MinKeyExtended { + $minKey: 1; +} +/** + * A class representation of the BSON ObjectId type. + * @public + * @category BSONType + */ +declare class ObjectId { + _bsontype: 'ObjectID'; + /* Excluded from this release type: index */ + static cacheHexString: boolean; + /* Excluded from this release type: [kId] */ + /* Excluded from this release type: __id */ + /** + * Create an ObjectId type + * + * @param inputId - Can be a 24 character hex string, 12 byte binary Buffer, or a number. + */ + constructor(inputId?: string | number | ObjectId | ObjectIdLike | Buffer | Uint8Array); + /* + * The ObjectId bytes + * @readonly + */ + id: Buffer; + /* + * The generation time of this ObjectId instance + * @deprecated Please use getTimestamp / createFromTime which returns an int32 epoch + */ + generationTime: number; + /** Returns the ObjectId id as a 24 character hex string representation */ + toHexString(): string; + /* Excluded from this release type: getInc */ + /** + * Generate a 12 byte id buffer used in ObjectId's + * + * @param time - pass in a second based timestamp. + */ + static generate(time?: number): Buffer; + /** + * Converts the id into a 24 character hex string for printing + * + * @param format - The Buffer toString format parameter. + */ + toString(format?: string): string; + /** Converts to its JSON the 24 character hex string representation. */ + toJSON(): string; + /** + * Compares the equality of this ObjectId with `otherID`. + * + * @param otherId - ObjectId instance to compare against. + */ + equals(otherId: string | ObjectId | ObjectIdLike): boolean; + /** Returns the generation date (accurate up to the second) that this ID was generated. */ + getTimestamp(): Date; + /* Excluded from this release type: createPk */ + /** + * Creates an ObjectId from a second based number, with the rest of the ObjectId zeroed out. Used for comparisons or sorting the ObjectId. + * + * @param time - an integer number representing a number of seconds. + */ + static createFromTime(time: number): ObjectId; + /** + * Creates an ObjectId from a hex string representation of an ObjectId. + * + * @param hexString - create a ObjectId from a passed in 24 character hexstring. + */ + static createFromHexString(hexString: string): ObjectId; + /** + * Checks if a value is a valid bson ObjectId + * + * @param id - ObjectId instance to validate. + */ + static isValid(id: string | number | ObjectId | ObjectIdLike | Buffer | Uint8Array): boolean; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +export { ObjectId as ObjectID }; +export { ObjectId }; +/** @public */ +export declare interface ObjectIdExtended { + $oid: string; +} +/** @public */ +export declare interface ObjectIdLike { + id: string | Buffer; + __id?: string; + toHexString(): string; +} +/** + * Serialize a Javascript object. + * + * @param object - the Javascript object to serialize. + * @returns Buffer object containing the serialized object. + * @public + */ +export declare function serialize(object: Document, options?: SerializeOptions): Buffer; +/** @public */ +export declare interface SerializeOptions { + /** the serializer will check if keys are valid. */ + checkKeys?: boolean; + /** serialize the javascript functions **(default:false)**. */ + serializeFunctions?: boolean; + /** serialize will not emit undefined fields **(default:true)** */ + ignoreUndefined?: boolean; + /* Excluded from this release type: minInternalBufferSize */ + /** the index in the buffer where we wish to start serializing into */ + index?: number; +} +/** + * Serialize a Javascript object using a predefined Buffer and index into the buffer, + * useful when pre-allocating the space for serialization. + * + * @param object - the Javascript object to serialize. + * @param finalBuffer - the Buffer you pre-allocated to store the serialized BSON object. + * @returns the index pointing to the last written byte in the buffer. + * @public + */ +export declare function serializeWithBufferAndIndex(object: Document, finalBuffer: Buffer, options?: SerializeOptions): number; +/** + * Sets the size of the internal serialization buffer. + * + * @param size - The desired size for the internal serialization buffer + * @public + */ +export declare function setInternalBufferSize(size: number): void; +/** + * @public + * @category BSONType + * */ +export declare class Timestamp extends LongWithoutOverridesClass { + _bsontype: 'Timestamp'; + static readonly MAX_VALUE: Long; + /** + * @param low - A 64-bit Long representing the Timestamp. + */ + constructor(long: Long); + /** + * @param value - A pair of two values indicating timestamp and increment. + */ + constructor(value: { + t: number; + i: number; + }); + /** + * @param low - the low (signed) 32 bits of the Timestamp. + * @param high - the high (signed) 32 bits of the Timestamp. + * @deprecated Please use `Timestamp({ t: high, i: low })` or `Timestamp(Long(low, high))` instead. + */ + constructor(low: number, high: number); + toJSON(): { + $timestamp: string; + }; + /** Returns a Timestamp represented by the given (32-bit) integer value. */ + static fromInt(value: number): Timestamp; + /** Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned. */ + static fromNumber(value: number): Timestamp; + /** + * Returns a Timestamp for the given high and low bits. Each is assumed to use 32 bits. + * + * @param lowBits - the low 32-bits. + * @param highBits - the high 32-bits. + */ + static fromBits(lowBits: number, highBits: number): Timestamp; + /** + * Returns a Timestamp from the given string, optionally using the given radix. + * + * @param str - the textual representation of the Timestamp. + * @param optRadix - the radix in which the text is written. + */ + static fromString(str: string, optRadix: number): Timestamp; + /* Excluded from this release type: toExtendedJSON */ + /* Excluded from this release type: fromExtendedJSON */ + inspect(): string; +} +/** @public */ +export declare interface TimestampExtended { + $timestamp: { + t: number; + i: number; + }; +} +/** @public */ +export declare type TimestampOverrides = '_bsontype' | 'toExtendedJSON' | 'fromExtendedJSON' | 'inspect'; +/** + * A class representation of the BSON UUID type. + * @public + */ +export declare class UUID { + _bsontype: 'UUID'; + static cacheHexString: boolean; + /* Excluded from this release type: [kId] */ + /* Excluded from this release type: __id */ + /** + * Create an UUID type + * + * @param input - Can be a 32 or 36 character hex string (dashes excluded/included) or a 16 byte binary Buffer. + */ + constructor(input?: string | Buffer | UUID); + /* + * The UUID bytes + * @readonly + */ + id: Buffer; + /** + * Generate a 16 byte uuid v4 buffer used in UUIDs + */ + /** + * Returns the UUID id as a 32 or 36 character hex string representation, excluding/including dashes (defaults to 36 character dash separated) + * @param includeDashes - should the string exclude dash-separators. + * */ + toHexString(includeDashes?: boolean): string; + /** + * Converts the id into a 36 character (dashes included) hex string, unless a encoding is specified. + */ + toString(encoding?: string): string; + /** + * Converts the id into its JSON string representation. + * A 36 character (dashes included) hex string in the format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + */ + toJSON(): string; + /** + * Compares the equality of this UUID with `otherID`. + * + * @param otherId - UUID instance to compare against. + */ + equals(otherId: string | Buffer | UUID): boolean; + /** + * Creates a Binary instance from the current UUID. + */ + toBinary(): Binary; + /** + * Generates a populated buffer containing a v4 uuid + */ + static generate(): Buffer; + /** + * Checks if a value is a valid bson UUID + * @param input - UUID, string or Buffer to validate. + */ + static isValid(input: string | Buffer | UUID): boolean; + /** + * Creates an UUID from a hex string representation of an UUID. + * @param hexString - 32 or 36 character hex string (dashes excluded/included). + */ + static createFromHexString(hexString: string): UUID; + inspect(): string; +} +/** @public */ +export declare type UUIDExtended = { + $uuid: string; +}; +export {}; diff --git a/node_modules/bson/dist/bson.browser.esm.js b/node_modules/bson/dist/bson.browser.esm.js index df25ae15..b38348b5 100644 --- a/node_modules/bson/dist/bson.browser.esm.js +++ b/node_modules/bson/dist/bson.browser.esm.js @@ -2031,19 +2031,19 @@ buffer$1.SlowBuffer; buffer$1.INSPECT_MAX_BYTES; buffer$1.kMaxLength; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ diff --git a/node_modules/bson/dist/bson.browser.umd.js b/node_modules/bson/dist/bson.browser.umd.js index ad48bc92..fd8754e0 100644 --- a/node_modules/bson/dist/bson.browser.umd.js +++ b/node_modules/bson/dist/bson.browser.umd.js @@ -2037,19 +2037,19 @@ buffer$1.INSPECT_MAX_BYTES; buffer$1.kMaxLength; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ diff --git a/node_modules/bson/dist/bson.bundle.js b/node_modules/bson/dist/bson.bundle.js index 7aa163c5..5dd85f77 100644 --- a/node_modules/bson/dist/bson.bundle.js +++ b/node_modules/bson/dist/bson.bundle.js @@ -2034,19 +2034,19 @@ var BSON = (function (exports) { buffer$1.INSPECT_MAX_BYTES; buffer$1.kMaxLength; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ diff --git a/node_modules/bson/dist/bson.esm.js b/node_modules/bson/dist/bson.esm.js index 5d82f83a..36f5a7ab 100644 --- a/node_modules/bson/dist/bson.esm.js +++ b/node_modules/bson/dist/bson.esm.js @@ -1,18 +1,18 @@ import { Buffer } from 'buffer'; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ diff --git a/node_modules/bson/etc/prepare.js b/node_modules/bson/etc/prepare.js old mode 100644 new mode 100755 diff --git a/node_modules/bson/package.json b/node_modules/bson/package.json index 96e4f125..b3ce5a40 100644 --- a/node_modules/bson/package.json +++ b/node_modules/bson/package.json @@ -1,52 +1,39 @@ { - "_args": [ - [ - "bson@4.6.4", - "/var/www/html/arclight" - ] + "name": "bson", + "description": "A bson parser for node.js and the browser", + "keywords": [ + "mongodb", + "bson", + "parser" ], - "_from": "bson@4.6.4", - "_id": "bson@4.6.4", - "_inBundle": false, - "_integrity": "sha512-TdQ3FzguAu5HKPPlr0kYQCyrYUYh8tFM+CMTpxjNzVzxeiJY00Rtuj3LXLHSgiGvmaWlZ8PE+4KyM2thqE38pQ==", - "_location": "/bson", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "bson@4.6.4", - "name": "bson", - "escapedName": "bson", - "rawSpec": "4.6.4", - "saveSpec": null, - "fetchSpec": "4.6.4" - }, - "_requiredBy": [ - "/mongodb", - "/mongoose" + "files": [ + "lib", + "src", + "dist", + "bson.d.ts", + "bson-ts34.d.ts", + "etc/prepare.js", + "bower.json" ], - "_resolved": "https://registry.npmjs.org/bson/-/bson-4.6.4.tgz", - "_spec": "4.6.4", - "_where": "/var/www/html/arclight", + "types": "bson.d.ts", + "typesVersions": { + "<=4.0.2": { + "bson.d.ts": [ + "bson.ts34.d.ts" + ] + } + }, + "version": "4.6.4", "author": { "name": "The MongoDB NodeJS Team", "email": "dbx-node@mongodb.com" }, - "browser": { - "./lib/bson.js": "./dist/bson.browser.umd.js", - "./dist/bson.esm.js": "./dist/bson.browser.esm.js" - }, + "license": "Apache-2.0", + "contributors": [], + "repository": "mongodb/js-bson", "bugs": { "url": "https://jira.mongodb.org/projects/NODE/issues/" }, - "config": { - "native": false - }, - "contributors": [], - "dependencies": { - "buffer": "^5.6.0" - }, - "description": "A bson parser for node.js and the browser", "devDependencies": { "@babel/plugin-external-helpers": "^7.10.4", "@babel/preset-env": "^7.11.0", @@ -92,49 +79,6 @@ "typescript-cached-transpile": "0.0.6", "uuid": "^8.3.2" }, - "engines": { - "node": ">=6.9.0" - }, - "files": [ - "lib", - "src", - "dist", - "bson.d.ts", - "bson-ts34.d.ts", - "etc/prepare.js", - "bower.json" - ], - "homepage": "https://github.com/mongodb/js-bson#readme", - "keywords": [ - "mongodb", - "bson", - "parser" - ], - "license": "Apache-2.0", - "main": "lib/bson.js", - "module": "dist/bson.esm.js", - "name": "bson", - "repository": { - "type": "git", - "url": "git+https://github.com/mongodb/js-bson.git" - }, - "scripts": { - "build": "npm run build:dts && npm run build:bundle", - "build:bundle": "rollup -c rollup.config.js", - "build:dts": "npm run build:ts && api-extractor run --typescript-compiler-folder node_modules/typescript --local && rimraf 'lib/**/*.d.ts*' && downlevel-dts bson.d.ts bson-ts34.d.ts", - "build:ts": "tsc", - "coverage": "nyc npm run test-node", - "coverage:html": "npm run coverage && open ./coverage/index.html", - "docs": "typedoc", - "format": "eslint --ext '.js,.ts' src test --fix", - "lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && tsc -v && tsc --noEmit && npm run test-tsd", - "prepare": "node etc/prepare.js", - "release": "standard-version -i HISTORY.md", - "test": "npm run build && npm run test-node && npm run test-browser", - "test-browser": "node --max-old-space-size=4096 ./node_modules/.bin/karma start karma.conf.js", - "test-node": "mocha test/node test/*_tests.js", - "test-tsd": "npm run build:dts && tsd" - }, "tsd": { "directory": "test/types", "compilerOptions": { @@ -144,13 +88,36 @@ "moduleResolution": "node" } }, - "types": "bson.d.ts", - "typesVersions": { - "<=4.0.2": { - "bson.d.ts": [ - "bson.ts34.d.ts" - ] - } + "config": { + "native": false + }, + "main": "lib/bson.js", + "module": "dist/bson.esm.js", + "browser": { + "./lib/bson.js": "./dist/bson.browser.umd.js", + "./dist/bson.esm.js": "./dist/bson.browser.esm.js" }, - "version": "4.6.4" + "engines": { + "node": ">=6.9.0" + }, + "scripts": { + "docs": "typedoc", + "test": "npm run build && npm run test-node && npm run test-browser", + "test-node": "mocha test/node test/*_tests.js", + "test-tsd": "npm run build:dts && tsd", + "test-browser": "node --max-old-space-size=4096 ./node_modules/.bin/karma start karma.conf.js", + "build:ts": "tsc", + "build:dts": "npm run build:ts && api-extractor run --typescript-compiler-folder node_modules/typescript --local && rimraf 'lib/**/*.d.ts*' && downlevel-dts bson.d.ts bson-ts34.d.ts", + "build:bundle": "rollup -c rollup.config.js", + "build": "npm run build:dts && npm run build:bundle", + "lint": "eslint -v && eslint --ext '.js,.ts' --max-warnings=0 src test && tsc -v && tsc --noEmit && npm run test-tsd", + "format": "eslint --ext '.js,.ts' src test --fix", + "coverage": "nyc npm run test-node", + "coverage:html": "npm run coverage && open ./coverage/index.html", + "prepare": "node etc/prepare.js", + "release": "standard-version -i HISTORY.md" + }, + "dependencies": { + "buffer": "^5.6.0" + } } diff --git a/node_modules/buffer-equal-constant-time/package.json b/node_modules/buffer-equal-constant-time/package.json index 6a68cf34..17c7de22 100644 --- a/node_modules/buffer-equal-constant-time/package.json +++ b/node_modules/buffer-equal-constant-time/package.json @@ -1,58 +1,21 @@ { - "_args": [ - [ - "buffer-equal-constant-time@1.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "buffer-equal-constant-time@1.0.1", - "_id": "buffer-equal-constant-time@1.0.1", - "_inBundle": false, - "_integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", - "_location": "/buffer-equal-constant-time", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "buffer-equal-constant-time@1.0.1", - "name": "buffer-equal-constant-time", - "escapedName": "buffer-equal-constant-time", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" - }, - "_requiredBy": [ - "/jwa" - ], - "_resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "GoInstant Inc., a salesforce.com company" - }, - "bugs": { - "url": "https://github.com/goinstant/buffer-equal-constant-time/issues" - }, + "name": "buffer-equal-constant-time", + "version": "1.0.1", "description": "Constant-time comparison of Buffers", - "devDependencies": { - "mocha": "~1.15.1" + "main": "index.js", + "scripts": { + "test": "mocha test.js" }, - "homepage": "https://github.com/goinstant/buffer-equal-constant-time#readme", + "repository": "git@github.com:goinstant/buffer-equal-constant-time.git", "keywords": [ "buffer", "equal", "constant-time", "crypto" ], + "author": "GoInstant Inc., a salesforce.com company", "license": "BSD-3-Clause", - "main": "index.js", - "name": "buffer-equal-constant-time", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/goinstant/buffer-equal-constant-time.git" - }, - "scripts": { - "test": "mocha test.js" - }, - "version": "1.0.1" + "devDependencies": { + "mocha": "~1.15.1" + } } diff --git a/node_modules/buffer/package.json b/node_modules/buffer/package.json index 94d8b03f..3b1b4986 100644 --- a/node_modules/buffer/package.json +++ b/node_modules/buffer/package.json @@ -1,32 +1,7 @@ { - "_args": [ - [ - "buffer@5.7.1", - "/var/www/html/arclight" - ] - ], - "_from": "buffer@5.7.1", - "_id": "buffer@5.7.1", - "_inBundle": false, - "_integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "_location": "/buffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "buffer@5.7.1", - "name": "buffer", - "escapedName": "buffer", - "rawSpec": "5.7.1", - "saveSpec": null, - "fetchSpec": "5.7.1" - }, - "_requiredBy": [ - "/bson" - ], - "_resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "_spec": "5.7.1", - "_where": "/var/www/html/arclight", + "name": "buffer", + "description": "Node.js Buffer API, for the browser", + "version": "5.7.1", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -36,20 +11,13 @@ "url": "https://github.com/feross/buffer/issues" }, "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org" - }, - { - "name": "James Halliday", - "email": "mail@substack.net" - } + "Romain Beauxis ", + "James Halliday " ], "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" }, - "description": "Node.js Buffer API, for the browser", "devDependencies": { "airtap": "^3.0.0", "benchmark": "^2.1.4", @@ -64,20 +32,6 @@ "through2": "^4.0.2", "uglify-js": "^3.11.3" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], "homepage": "https://github.com/feross/buffer", "jspm": { "map": { @@ -97,7 +51,7 @@ ], "license": "MIT", "main": "index.js", - "name": "buffer", + "types": "index.d.ts", "repository": { "type": "git", "url": "git://github.com/feross/buffer.git" @@ -125,6 +79,18 @@ "SharedArrayBuffer" ] }, - "types": "index.d.ts", - "version": "5.7.1" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] } diff --git a/node_modules/bytes/package.json b/node_modules/bytes/package.json index e90b918b..f2b6a8b0 100644 --- a/node_modules/bytes/package.json +++ b/node_modules/bytes/package.json @@ -1,88 +1,42 @@ { - "_args": [ - [ - "bytes@3.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "bytes@3.1.2", - "_id": "bytes@3.1.2", - "_inBundle": false, - "_integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "_location": "/bytes", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "bytes@3.1.2", - "name": "bytes", - "escapedName": "bytes", - "rawSpec": "3.1.2", - "saveSpec": null, - "fetchSpec": "3.1.2" - }, - "_requiredBy": [ - "/body-parser", - "/raw-body" - ], - "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "_spec": "3.1.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca", - "url": "http://tjholowaychuk.com" - }, - "bugs": { - "url": "https://github.com/visionmedia/bytes.js/issues" - }, + "name": "bytes", + "description": "Utility to parse a string bytes to bytes and vice-versa", + "version": "3.1.2", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", "contributors": [ - { - "name": "Jed Watson", - "email": "jed.watson@me.com" - }, - { - "name": "Théo FIDRY", - "email": "theo.fidry@gmail.com" - } + "Jed Watson ", + "Théo FIDRY " ], - "description": "Utility to parse a string bytes to bytes and vice-versa", + "license": "MIT", + "keywords": [ + "byte", + "bytes", + "utility", + "parse", + "parser", + "convert", + "converter" + ], + "repository": "visionmedia/bytes.js", "devDependencies": { "eslint": "7.32.0", "eslint-plugin-markdown": "2.2.1", "mocha": "9.2.0", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "History.md", "LICENSE", "Readme.md", "index.js" ], - "homepage": "https://github.com/visionmedia/bytes.js#readme", - "keywords": [ - "byte", - "bytes", - "utility", - "parse", - "parser", - "convert", - "converter" - ], - "license": "MIT", - "name": "bytes", - "repository": { - "type": "git", - "url": "git+https://github.com/visionmedia/bytes.js.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint .", "test": "mocha --check-leaks --reporter spec", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "3.1.2" + } } diff --git a/node_modules/call-bind/package.json b/node_modules/call-bind/package.json index b5678203..4360556a 100644 --- a/node_modules/call-bind/package.json +++ b/node_modules/call-bind/package.json @@ -1,111 +1,80 @@ { - "_args": [ - [ - "call-bind@1.0.2", - "/var/www/html/arclight" - ] - ], - "_from": "call-bind@1.0.2", - "_id": "call-bind@1.0.2", - "_inBundle": false, - "_integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "_location": "/call-bind", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "call-bind@1.0.2", - "name": "call-bind", - "escapedName": "call-bind", - "rawSpec": "1.0.2", - "saveSpec": null, - "fetchSpec": "1.0.2" - }, - "_requiredBy": [ - "/side-channel" - ], - "_resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "_spec": "1.0.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "bugs": { - "url": "https://github.com/ljharb/call-bind/issues" - }, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "description": "Robustly `.call.bind()` a function", - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.17.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.1.1" - }, - "exports": { - ".": [ - { - "default": "./index.js" - }, - "./index.js" - ], - "./callBound": [ - { - "default": "./callBound.js" - }, - "./callBound.js" - ], - "./package.json": "./package.json" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "homepage": "https://github.com/ljharb/call-bind#readme", - "keywords": [ - "javascript", - "ecmascript", - "es", - "js", - "callbind", - "callbound", - "call", - "bind", - "bound", - "call-bind", - "call-bound", - "function", - "es-abstract" - ], - "license": "MIT", - "main": "index.js", - "name": "call-bind", - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/call-bind.git" - }, - "scripts": { - "lint": "eslint --ext=.js,.mjs .", - "posttest": "aud --production", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", - "prepublish": "safe-publish-latest", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/*'", - "version": "auto-changelog && git add CHANGELOG.md" - }, - "version": "1.0.2" + "name": "call-bind", + "version": "1.0.2", + "description": "Robustly `.call.bind()` a function", + "main": "index.js", + "exports": { + ".": [ + { + "default": "./index.js" + }, + "./index.js" + ], + "./callBound": [ + { + "default": "./callBound.js" + }, + "./callBound.js" + ], + "./package.json": "./package.json" + }, + "scripts": { + "prepublish": "safe-publish-latest", + "lint": "eslint --ext=.js,.mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/*'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/call-bind.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "callbind", + "callbound", + "call", + "bind", + "bound", + "call-bind", + "call-bound", + "function", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/call-bind/issues" + }, + "homepage": "https://github.com/ljharb/call-bind#readme", + "devDependencies": { + "@ljharb/eslint-config": "^17.3.0", + "aud": "^1.1.3", + "auto-changelog": "^2.2.1", + "eslint": "^7.17.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^1.1.4", + "tape": "^5.1.1" + }, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + } } diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json index 5fbdf59b..47c23f29 100644 --- a/node_modules/chalk/package.json +++ b/node_modules/chalk/package.json @@ -1,103 +1,68 @@ { - "_args": [ - [ - "chalk@4.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "chalk@4.1.2", - "_id": "chalk@4.1.2", - "_inBundle": false, - "_integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "_location": "/chalk", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "chalk@4.1.2", - "name": "chalk", - "escapedName": "chalk", - "rawSpec": "4.1.2", - "saveSpec": null, - "fetchSpec": "4.1.2" - }, - "_requiredBy": [ - "/jake" - ], - "_resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "_spec": "4.1.2", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/chalk/chalk/issues" - }, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "description": "Terminal string styling done right", - "devDependencies": { - "ava": "^2.4.0", - "coveralls": "^3.0.7", - "execa": "^4.0.0", - "import-fresh": "^3.1.0", - "matcha": "^0.7.0", - "nyc": "^15.0.0", - "resolve-from": "^5.0.0", - "tsd": "^0.7.4", - "xo": "^0.28.2" - }, - "engines": { - "node": ">=10" - }, - "files": [ - "source", - "index.d.ts" - ], - "funding": "https://github.com/chalk/chalk?sponsor=1", - "homepage": "https://github.com/chalk/chalk#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "string", - "str", - "ansi", - "style", - "styles", - "tty", - "formatting", - "rgb", - "256", - "shell", - "xterm", - "log", - "logging", - "command-line", - "text" - ], - "license": "MIT", - "main": "source", - "name": "chalk", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/chalk.git" - }, - "scripts": { - "bench": "matcha benchmark.js", - "test": "xo && nyc ava && tsd" - }, - "version": "4.1.2", - "xo": { - "rules": { - "unicorn/prefer-string-slice": "off", - "unicorn/prefer-includes": "off", - "@typescript-eslint/member-ordering": "off", - "no-redeclare": "off", - "unicorn/string-content": "off", - "unicorn/better-regex": "off" - } - } + "name": "chalk", + "version": "4.1.2", + "description": "Terminal string styling done right", + "license": "MIT", + "repository": "chalk/chalk", + "funding": "https://github.com/chalk/chalk?sponsor=1", + "main": "source", + "engines": { + "node": ">=10" + }, + "scripts": { + "test": "xo && nyc ava && tsd", + "bench": "matcha benchmark.js" + }, + "files": [ + "source", + "index.d.ts" + ], + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "string", + "str", + "ansi", + "style", + "styles", + "tty", + "formatting", + "rgb", + "256", + "shell", + "xterm", + "log", + "logging", + "command-line", + "text" + ], + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "devDependencies": { + "ava": "^2.4.0", + "coveralls": "^3.0.7", + "execa": "^4.0.0", + "import-fresh": "^3.1.0", + "matcha": "^0.7.0", + "nyc": "^15.0.0", + "resolve-from": "^5.0.0", + "tsd": "^0.7.4", + "xo": "^0.28.2" + }, + "xo": { + "rules": { + "unicorn/prefer-string-slice": "off", + "unicorn/prefer-includes": "off", + "@typescript-eslint/member-ordering": "off", + "no-redeclare": "off", + "unicorn/string-content": "off", + "unicorn/better-regex": "off" + } + } } diff --git a/node_modules/color-convert/package.json b/node_modules/color-convert/package.json index 8d59270f..6e48000c 100644 --- a/node_modules/color-convert/package.json +++ b/node_modules/color-convert/package.json @@ -1,56 +1,17 @@ { - "_args": [ - [ - "color-convert@2.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "color-convert@2.0.1", - "_id": "color-convert@2.0.1", - "_inBundle": false, - "_integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "_location": "/color-convert", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "color-convert@2.0.1", - "name": "color-convert", - "escapedName": "color-convert", - "rawSpec": "2.0.1", - "saveSpec": null, - "fetchSpec": "2.0.1" - }, - "_requiredBy": [ - "/ansi-styles" - ], - "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "_spec": "2.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Heather Arthur", - "email": "fayearthur@gmail.com" - }, - "bugs": { - "url": "https://github.com/Qix-/color-convert/issues" - }, - "dependencies": { - "color-name": "~1.1.4" - }, + "name": "color-convert", "description": "Plain color conversion functions", - "devDependencies": { - "chalk": "^2.4.2", - "xo": "^0.24.0" + "version": "2.0.1", + "author": "Heather Arthur ", + "license": "MIT", + "repository": "Qix-/color-convert", + "scripts": { + "pretest": "xo", + "test": "node test/basic.js" }, "engines": { "node": ">=7.0.0" }, - "files": [ - "index.js", - "conversions.js", - "route.js" - ], - "homepage": "https://github.com/Qix-/color-convert#readme", "keywords": [ "color", "colour", @@ -65,22 +26,23 @@ "ansi", "ansi16" ], - "license": "MIT", - "name": "color-convert", - "repository": { - "type": "git", - "url": "git+https://github.com/Qix-/color-convert.git" - }, - "scripts": { - "pretest": "xo", - "test": "node test/basic.js" - }, - "version": "2.0.1", + "files": [ + "index.js", + "conversions.js", + "route.js" + ], "xo": { "rules": { "default-case": 0, "no-inline-comments": 0, "operator-linebreak": 0 } + }, + "devDependencies": { + "chalk": "^2.4.2", + "xo": "^0.24.0" + }, + "dependencies": { + "color-name": "~1.1.4" } } diff --git a/node_modules/color-name/LICENSE b/node_modules/color-name/LICENSE index 4d9802a8..c6b10012 100644 --- a/node_modules/color-name/LICENSE +++ b/node_modules/color-name/LICENSE @@ -1,8 +1,8 @@ -The MIT License (MIT) -Copyright (c) 2015 Dmitry Ivanov - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - +The MIT License (MIT) +Copyright (c) 2015 Dmitry Ivanov + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/color-name/README.md b/node_modules/color-name/README.md index 3611a6b5..932b9791 100644 --- a/node_modules/color-name/README.md +++ b/node_modules/color-name/README.md @@ -1,11 +1,11 @@ -A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. - -[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) - - -```js -var colors = require('color-name'); -colors.red //[255,0,0] -``` - - +A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors. + +[![NPM](https://nodei.co/npm/color-name.png?mini=true)](https://nodei.co/npm/color-name/) + + +```js +var colors = require('color-name'); +colors.red //[255,0,0] +``` + + diff --git a/node_modules/color-name/index.js b/node_modules/color-name/index.js index e42aa68a..b7c198a6 100644 --- a/node_modules/color-name/index.js +++ b/node_modules/color-name/index.js @@ -1,152 +1,152 @@ -'use strict' - -module.exports = { - "aliceblue": [240, 248, 255], - "antiquewhite": [250, 235, 215], - "aqua": [0, 255, 255], - "aquamarine": [127, 255, 212], - "azure": [240, 255, 255], - "beige": [245, 245, 220], - "bisque": [255, 228, 196], - "black": [0, 0, 0], - "blanchedalmond": [255, 235, 205], - "blue": [0, 0, 255], - "blueviolet": [138, 43, 226], - "brown": [165, 42, 42], - "burlywood": [222, 184, 135], - "cadetblue": [95, 158, 160], - "chartreuse": [127, 255, 0], - "chocolate": [210, 105, 30], - "coral": [255, 127, 80], - "cornflowerblue": [100, 149, 237], - "cornsilk": [255, 248, 220], - "crimson": [220, 20, 60], - "cyan": [0, 255, 255], - "darkblue": [0, 0, 139], - "darkcyan": [0, 139, 139], - "darkgoldenrod": [184, 134, 11], - "darkgray": [169, 169, 169], - "darkgreen": [0, 100, 0], - "darkgrey": [169, 169, 169], - "darkkhaki": [189, 183, 107], - "darkmagenta": [139, 0, 139], - "darkolivegreen": [85, 107, 47], - "darkorange": [255, 140, 0], - "darkorchid": [153, 50, 204], - "darkred": [139, 0, 0], - "darksalmon": [233, 150, 122], - "darkseagreen": [143, 188, 143], - "darkslateblue": [72, 61, 139], - "darkslategray": [47, 79, 79], - "darkslategrey": [47, 79, 79], - "darkturquoise": [0, 206, 209], - "darkviolet": [148, 0, 211], - "deeppink": [255, 20, 147], - "deepskyblue": [0, 191, 255], - "dimgray": [105, 105, 105], - "dimgrey": [105, 105, 105], - "dodgerblue": [30, 144, 255], - "firebrick": [178, 34, 34], - "floralwhite": [255, 250, 240], - "forestgreen": [34, 139, 34], - "fuchsia": [255, 0, 255], - "gainsboro": [220, 220, 220], - "ghostwhite": [248, 248, 255], - "gold": [255, 215, 0], - "goldenrod": [218, 165, 32], - "gray": [128, 128, 128], - "green": [0, 128, 0], - "greenyellow": [173, 255, 47], - "grey": [128, 128, 128], - "honeydew": [240, 255, 240], - "hotpink": [255, 105, 180], - "indianred": [205, 92, 92], - "indigo": [75, 0, 130], - "ivory": [255, 255, 240], - "khaki": [240, 230, 140], - "lavender": [230, 230, 250], - "lavenderblush": [255, 240, 245], - "lawngreen": [124, 252, 0], - "lemonchiffon": [255, 250, 205], - "lightblue": [173, 216, 230], - "lightcoral": [240, 128, 128], - "lightcyan": [224, 255, 255], - "lightgoldenrodyellow": [250, 250, 210], - "lightgray": [211, 211, 211], - "lightgreen": [144, 238, 144], - "lightgrey": [211, 211, 211], - "lightpink": [255, 182, 193], - "lightsalmon": [255, 160, 122], - "lightseagreen": [32, 178, 170], - "lightskyblue": [135, 206, 250], - "lightslategray": [119, 136, 153], - "lightslategrey": [119, 136, 153], - "lightsteelblue": [176, 196, 222], - "lightyellow": [255, 255, 224], - "lime": [0, 255, 0], - "limegreen": [50, 205, 50], - "linen": [250, 240, 230], - "magenta": [255, 0, 255], - "maroon": [128, 0, 0], - "mediumaquamarine": [102, 205, 170], - "mediumblue": [0, 0, 205], - "mediumorchid": [186, 85, 211], - "mediumpurple": [147, 112, 219], - "mediumseagreen": [60, 179, 113], - "mediumslateblue": [123, 104, 238], - "mediumspringgreen": [0, 250, 154], - "mediumturquoise": [72, 209, 204], - "mediumvioletred": [199, 21, 133], - "midnightblue": [25, 25, 112], - "mintcream": [245, 255, 250], - "mistyrose": [255, 228, 225], - "moccasin": [255, 228, 181], - "navajowhite": [255, 222, 173], - "navy": [0, 0, 128], - "oldlace": [253, 245, 230], - "olive": [128, 128, 0], - "olivedrab": [107, 142, 35], - "orange": [255, 165, 0], - "orangered": [255, 69, 0], - "orchid": [218, 112, 214], - "palegoldenrod": [238, 232, 170], - "palegreen": [152, 251, 152], - "paleturquoise": [175, 238, 238], - "palevioletred": [219, 112, 147], - "papayawhip": [255, 239, 213], - "peachpuff": [255, 218, 185], - "peru": [205, 133, 63], - "pink": [255, 192, 203], - "plum": [221, 160, 221], - "powderblue": [176, 224, 230], - "purple": [128, 0, 128], - "rebeccapurple": [102, 51, 153], - "red": [255, 0, 0], - "rosybrown": [188, 143, 143], - "royalblue": [65, 105, 225], - "saddlebrown": [139, 69, 19], - "salmon": [250, 128, 114], - "sandybrown": [244, 164, 96], - "seagreen": [46, 139, 87], - "seashell": [255, 245, 238], - "sienna": [160, 82, 45], - "silver": [192, 192, 192], - "skyblue": [135, 206, 235], - "slateblue": [106, 90, 205], - "slategray": [112, 128, 144], - "slategrey": [112, 128, 144], - "snow": [255, 250, 250], - "springgreen": [0, 255, 127], - "steelblue": [70, 130, 180], - "tan": [210, 180, 140], - "teal": [0, 128, 128], - "thistle": [216, 191, 216], - "tomato": [255, 99, 71], - "turquoise": [64, 224, 208], - "violet": [238, 130, 238], - "wheat": [245, 222, 179], - "white": [255, 255, 255], - "whitesmoke": [245, 245, 245], - "yellow": [255, 255, 0], - "yellowgreen": [154, 205, 50] -}; +'use strict' + +module.exports = { + "aliceblue": [240, 248, 255], + "antiquewhite": [250, 235, 215], + "aqua": [0, 255, 255], + "aquamarine": [127, 255, 212], + "azure": [240, 255, 255], + "beige": [245, 245, 220], + "bisque": [255, 228, 196], + "black": [0, 0, 0], + "blanchedalmond": [255, 235, 205], + "blue": [0, 0, 255], + "blueviolet": [138, 43, 226], + "brown": [165, 42, 42], + "burlywood": [222, 184, 135], + "cadetblue": [95, 158, 160], + "chartreuse": [127, 255, 0], + "chocolate": [210, 105, 30], + "coral": [255, 127, 80], + "cornflowerblue": [100, 149, 237], + "cornsilk": [255, 248, 220], + "crimson": [220, 20, 60], + "cyan": [0, 255, 255], + "darkblue": [0, 0, 139], + "darkcyan": [0, 139, 139], + "darkgoldenrod": [184, 134, 11], + "darkgray": [169, 169, 169], + "darkgreen": [0, 100, 0], + "darkgrey": [169, 169, 169], + "darkkhaki": [189, 183, 107], + "darkmagenta": [139, 0, 139], + "darkolivegreen": [85, 107, 47], + "darkorange": [255, 140, 0], + "darkorchid": [153, 50, 204], + "darkred": [139, 0, 0], + "darksalmon": [233, 150, 122], + "darkseagreen": [143, 188, 143], + "darkslateblue": [72, 61, 139], + "darkslategray": [47, 79, 79], + "darkslategrey": [47, 79, 79], + "darkturquoise": [0, 206, 209], + "darkviolet": [148, 0, 211], + "deeppink": [255, 20, 147], + "deepskyblue": [0, 191, 255], + "dimgray": [105, 105, 105], + "dimgrey": [105, 105, 105], + "dodgerblue": [30, 144, 255], + "firebrick": [178, 34, 34], + "floralwhite": [255, 250, 240], + "forestgreen": [34, 139, 34], + "fuchsia": [255, 0, 255], + "gainsboro": [220, 220, 220], + "ghostwhite": [248, 248, 255], + "gold": [255, 215, 0], + "goldenrod": [218, 165, 32], + "gray": [128, 128, 128], + "green": [0, 128, 0], + "greenyellow": [173, 255, 47], + "grey": [128, 128, 128], + "honeydew": [240, 255, 240], + "hotpink": [255, 105, 180], + "indianred": [205, 92, 92], + "indigo": [75, 0, 130], + "ivory": [255, 255, 240], + "khaki": [240, 230, 140], + "lavender": [230, 230, 250], + "lavenderblush": [255, 240, 245], + "lawngreen": [124, 252, 0], + "lemonchiffon": [255, 250, 205], + "lightblue": [173, 216, 230], + "lightcoral": [240, 128, 128], + "lightcyan": [224, 255, 255], + "lightgoldenrodyellow": [250, 250, 210], + "lightgray": [211, 211, 211], + "lightgreen": [144, 238, 144], + "lightgrey": [211, 211, 211], + "lightpink": [255, 182, 193], + "lightsalmon": [255, 160, 122], + "lightseagreen": [32, 178, 170], + "lightskyblue": [135, 206, 250], + "lightslategray": [119, 136, 153], + "lightslategrey": [119, 136, 153], + "lightsteelblue": [176, 196, 222], + "lightyellow": [255, 255, 224], + "lime": [0, 255, 0], + "limegreen": [50, 205, 50], + "linen": [250, 240, 230], + "magenta": [255, 0, 255], + "maroon": [128, 0, 0], + "mediumaquamarine": [102, 205, 170], + "mediumblue": [0, 0, 205], + "mediumorchid": [186, 85, 211], + "mediumpurple": [147, 112, 219], + "mediumseagreen": [60, 179, 113], + "mediumslateblue": [123, 104, 238], + "mediumspringgreen": [0, 250, 154], + "mediumturquoise": [72, 209, 204], + "mediumvioletred": [199, 21, 133], + "midnightblue": [25, 25, 112], + "mintcream": [245, 255, 250], + "mistyrose": [255, 228, 225], + "moccasin": [255, 228, 181], + "navajowhite": [255, 222, 173], + "navy": [0, 0, 128], + "oldlace": [253, 245, 230], + "olive": [128, 128, 0], + "olivedrab": [107, 142, 35], + "orange": [255, 165, 0], + "orangered": [255, 69, 0], + "orchid": [218, 112, 214], + "palegoldenrod": [238, 232, 170], + "palegreen": [152, 251, 152], + "paleturquoise": [175, 238, 238], + "palevioletred": [219, 112, 147], + "papayawhip": [255, 239, 213], + "peachpuff": [255, 218, 185], + "peru": [205, 133, 63], + "pink": [255, 192, 203], + "plum": [221, 160, 221], + "powderblue": [176, 224, 230], + "purple": [128, 0, 128], + "rebeccapurple": [102, 51, 153], + "red": [255, 0, 0], + "rosybrown": [188, 143, 143], + "royalblue": [65, 105, 225], + "saddlebrown": [139, 69, 19], + "salmon": [250, 128, 114], + "sandybrown": [244, 164, 96], + "seagreen": [46, 139, 87], + "seashell": [255, 245, 238], + "sienna": [160, 82, 45], + "silver": [192, 192, 192], + "skyblue": [135, 206, 235], + "slateblue": [106, 90, 205], + "slategray": [112, 128, 144], + "slategrey": [112, 128, 144], + "snow": [255, 250, 250], + "springgreen": [0, 255, 127], + "steelblue": [70, 130, 180], + "tan": [210, 180, 140], + "teal": [0, 128, 128], + "thistle": [216, 191, 216], + "tomato": [255, 99, 71], + "turquoise": [64, 224, 208], + "violet": [238, 130, 238], + "wheat": [245, 222, 179], + "white": [255, 255, 255], + "whitesmoke": [245, 245, 245], + "yellow": [255, 255, 0], + "yellowgreen": [154, 205, 50] +}; diff --git a/node_modules/color-name/package.json b/node_modules/color-name/package.json index 66aeccd1..782dd828 100644 --- a/node_modules/color-name/package.json +++ b/node_modules/color-name/package.json @@ -1,59 +1,28 @@ -{ - "_args": [ - [ - "color-name@1.1.4", - "/var/www/html/arclight" - ] - ], - "_from": "color-name@1.1.4", - "_id": "color-name@1.1.4", - "_inBundle": false, - "_integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "_location": "/color-name", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "color-name@1.1.4", - "name": "color-name", - "escapedName": "color-name", - "rawSpec": "1.1.4", - "saveSpec": null, - "fetchSpec": "1.1.4" - }, - "_requiredBy": [ - "/color-convert" - ], - "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "_spec": "1.1.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "DY", - "email": "dfcreative@gmail.com" - }, - "bugs": { - "url": "https://github.com/colorjs/color-name/issues" - }, - "description": "A list of color names and its values", - "files": [ - "index.js" - ], - "homepage": "https://github.com/colorjs/color-name", - "keywords": [ - "color-name", - "color", - "color-keyword", - "keyword" - ], - "license": "MIT", - "main": "index.js", - "name": "color-name", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/colorjs/color-name.git" - }, - "scripts": { - "test": "node test.js" - }, - "version": "1.1.4" -} +{ + "name": "color-name", + "version": "1.1.4", + "description": "A list of color names and its values", + "main": "index.js", + "files": [ + "index.js" + ], + "scripts": { + "test": "node test.js" + }, + "repository": { + "type": "git", + "url": "git@github.com:colorjs/color-name.git" + }, + "keywords": [ + "color-name", + "color", + "color-keyword", + "keyword" + ], + "author": "DY ", + "license": "MIT", + "bugs": { + "url": "https://github.com/colorjs/color-name/issues" + }, + "homepage": "https://github.com/colorjs/color-name" +} diff --git a/node_modules/concat-map/package.json b/node_modules/concat-map/package.json index a57dfa09..d3640e6b 100644 --- a/node_modules/concat-map/package.json +++ b/node_modules/concat-map/package.json @@ -1,91 +1,43 @@ { - "_args": [ - [ - "concat-map@0.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "concat-map@0.0.1", - "_id": "concat-map@0.0.1", - "_inBundle": false, - "_integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "_location": "/concat-map", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "concat-map@0.0.1", - "name": "concat-map", - "escapedName": "concat-map", - "rawSpec": "0.0.1", - "saveSpec": null, - "fetchSpec": "0.0.1" - }, - "_requiredBy": [ - "/brace-expansion" - ], - "_resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "_spec": "0.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" - }, - "bugs": { - "url": "https://github.com/substack/node-concat-map/issues" - }, - "description": "concatenative mapdashery", - "devDependencies": { - "tape": "~2.4.0" - }, - "directories": { - "example": "example", - "test": "test" - }, - "homepage": "https://github.com/substack/node-concat-map#readme", - "keywords": [ - "concat", - "concatMap", - "map", - "functional", - "higher-order" - ], - "license": "MIT", - "main": "index.js", - "name": "concat-map", - "repository": { - "type": "git", - "url": "git://github.com/substack/node-concat-map.git" - }, - "scripts": { - "test": "tape test/*.js" - }, - "testling": { - "files": "test/*.js", - "browsers": { - "ie": [ - 6, - 7, - 8, - 9 - ], - "ff": [ - 3.5, - 10, - 15 - ], - "chrome": [ - 10, - 22 - ], - "safari": [ - 5.1 - ], - "opera": [ - 12 - ] + "name" : "concat-map", + "description" : "concatenative mapdashery", + "version" : "0.0.1", + "repository" : { + "type" : "git", + "url" : "git://github.com/substack/node-concat-map.git" + }, + "main" : "index.js", + "keywords" : [ + "concat", + "concatMap", + "map", + "functional", + "higher-order" + ], + "directories" : { + "example" : "example", + "test" : "test" + }, + "scripts" : { + "test" : "tape test/*.js" + }, + "devDependencies" : { + "tape" : "~2.4.0" + }, + "license" : "MIT", + "author" : { + "name" : "James Halliday", + "email" : "mail@substack.net", + "url" : "http://substack.net" + }, + "testling" : { + "files" : "test/*.js", + "browsers" : { + "ie" : [ 6, 7, 8, 9 ], + "ff" : [ 3.5, 10, 15.0 ], + "chrome" : [ 10, 22 ], + "safari" : [ 5.1 ], + "opera" : [ 12 ] + } } - }, - "version": "0.0.1" } diff --git a/node_modules/connect-ensure-login/package.json b/node_modules/connect-ensure-login/package.json index c36a8ef9..4e579292 100644 --- a/node_modules/connect-ensure-login/package.json +++ b/node_modules/connect-ensure-login/package.json @@ -1,73 +1,32 @@ { - "_args": [ - [ - "connect-ensure-login@0.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "connect-ensure-login@0.1.1", - "_id": "connect-ensure-login@0.1.1", - "_inBundle": false, - "_integrity": "sha512-u0LGY/YXgkqdD4uVz8Gkri0adby5SBPYIFQvIa4FjBIaZUN0yuZPVHsjAA2bUiprGyjh8NlqxPUcIzzfTiXhQQ==", - "_location": "/connect-ensure-login", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "connect-ensure-login@0.1.1", - "name": "connect-ensure-login", - "escapedName": "connect-ensure-login", - "rawSpec": "0.1.1", - "saveSpec": null, - "fetchSpec": "0.1.1" + "name": "connect-ensure-login", + "version": "0.1.1", + "description": "Login session ensuring middleware for Connect.", + "keywords": ["connect", "express", "auth", "authn", "authentication", "login", "session", "passport"], + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/connect-ensure-login.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/connect-ensure-login/issues" }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/connect-ensure-login/-/connect-ensure-login-0.1.1.tgz", - "_spec": "0.1.1", - "_where": "/var/www/html/arclight", "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, - "bugs": { - "url": "http://github.com/jaredhanson/connect-ensure-login/issues" + "licenses": [ { + "type": "MIT", + "url": "http://www.opensource.org/licenses/MIT" + } ], + "main": "./lib", + "dependencies": { }, - "dependencies": {}, - "description": "Login session ensuring middleware for Connect.", "devDependencies": { "vows": "0.6.x" }, - "engines": { - "node": ">= 0.4.0" - }, - "homepage": "https://github.com/jaredhanson/connect-ensure-login#readme", - "keywords": [ - "connect", - "express", - "auth", - "authn", - "authentication", - "login", - "session", - "passport" - ], - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/MIT" - } - ], - "main": "./lib", - "name": "connect-ensure-login", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/connect-ensure-login.git" - }, "scripts": { "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js" }, - "version": "0.1.1" + "engines": { "node": ">= 0.4.0" } } diff --git a/node_modules/connect-flash/package.json b/node_modules/connect-flash/package.json index 1dde7e92..bc463005 100644 --- a/node_modules/connect-flash/package.json +++ b/node_modules/connect-flash/package.json @@ -1,69 +1,32 @@ { - "_args": [ - [ - "connect-flash@0.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "connect-flash@0.1.1", - "_id": "connect-flash@0.1.1", - "_inBundle": false, - "_integrity": "sha512-2rcfELQt/ZMP+SM/pG8PyhJRaLKp+6Hk2IUBNkEit09X+vwn3QsAL3ZbYtxUn7NVPzbMTSLRDhqe0B/eh30RYA==", - "_location": "/connect-flash", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "connect-flash@0.1.1", - "name": "connect-flash", - "escapedName": "connect-flash", - "rawSpec": "0.1.1", - "saveSpec": null, - "fetchSpec": "0.1.1" + "name": "connect-flash", + "version": "0.1.1", + "description": "Flash message middleware for Connect.", + "keywords": ["connect", "express", "flash", "messages"], + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/connect-flash.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/connect-flash/issues" }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/connect-flash/-/connect-flash-0.1.1.tgz", - "_spec": "0.1.1", - "_where": "/var/www/html/arclight", "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, - "bugs": { - "url": "http://github.com/jaredhanson/connect-flash/issues" + "licenses": [ { + "type": "MIT", + "url": "http://www.opensource.org/licenses/MIT" + } ], + "main": "./lib", + "dependencies": { }, - "dependencies": {}, - "description": "Flash message middleware for Connect.", "devDependencies": { "vows": "0.6.x" }, - "engines": { - "node": ">= 0.4.0" - }, - "homepage": "https://github.com/jaredhanson/connect-flash#readme", - "keywords": [ - "connect", - "express", - "flash", - "messages" - ], - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/MIT" - } - ], - "main": "./lib", - "name": "connect-flash", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/connect-flash.git" - }, "scripts": { "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js" }, - "version": "0.1.1" + "engines": { "node": ">= 0.4.0" } } diff --git a/node_modules/connect-mongo/node_modules/debug/package.json b/node_modules/connect-mongo/node_modules/debug/package.json index 58f41f8e..3bcdc242 100644 --- a/node_modules/connect-mongo/node_modules/debug/package.json +++ b/node_modules/connect-mongo/node_modules/debug/package.json @@ -1,59 +1,38 @@ { - "_args": [ - [ - "debug@4.3.4", - "/var/www/html/arclight" - ] - ], - "_from": "debug@4.3.4", - "_id": "debug@4.3.4", - "_inBundle": false, - "_integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "_location": "/connect-mongo/debug", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "debug@4.3.4", - "name": "debug", - "escapedName": "debug", - "rawSpec": "4.3.4", - "saveSpec": null, - "fetchSpec": "4.3.4" + "name": "debug", + "version": "4.3.4", + "repository": { + "type": "git", + "url": "git://github.com/debug-js/debug.git" }, - "_requiredBy": [ - "/connect-mongo" + "description": "Lightweight debugging utility for Node.js and the browser", + "keywords": [ + "debug", + "log", + "debugger" ], - "_resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "_spec": "4.3.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Josh Junon", - "email": "josh.junon@protonmail.com" - }, - "browser": "./src/browser.js", - "bugs": { - "url": "https://github.com/debug-js/debug/issues" - }, + "files": [ + "src", + "LICENSE", + "README.md" + ], + "author": "Josh Junon ", "contributors": [ - { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - { - "name": "Nathan Rajlich", - "email": "nathan@tootallnate.net", - "url": "http://n8.io" - }, - { - "name": "Andrew Rhyne", - "email": "rhyneandrew@gmail.com" - } + "TJ Holowaychuk ", + "Nathan Rajlich (http://n8.io)", + "Andrew Rhyne " ], + "license": "MIT", + "scripts": { + "lint": "xo", + "test": "npm run test:node && npm run test:browser && npm run lint", + "test:node": "istanbul cover _mocha -- test.js", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls" + }, "dependencies": { "ms": "2.1.2" }, - "description": "Lightweight debugging utility for Node.js and the browser", "devDependencies": { "brfs": "^2.0.1", "browserify": "^16.2.3", @@ -67,38 +46,14 @@ "mocha-lcov-reporter": "^1.2.0", "xo": "^0.23.0" }, - "engines": { - "node": ">=6.0" - }, - "files": [ - "src", - "LICENSE", - "README.md" - ], - "homepage": "https://github.com/debug-js/debug#readme", - "keywords": [ - "debug", - "log", - "debugger" - ], - "license": "MIT", - "main": "./src/index.js", - "name": "debug", "peerDependenciesMeta": { "supports-color": { "optional": true } }, - "repository": { - "type": "git", - "url": "git://github.com/debug-js/debug.git" - }, - "scripts": { - "lint": "xo", - "test": "npm run test:node && npm run test:browser && npm run lint", - "test:browser": "karma start --single-run", - "test:coverage": "cat ./coverage/lcov.info | coveralls", - "test:node": "istanbul cover _mocha -- test.js" - }, - "version": "4.3.4" + "main": "./src/index.js", + "browser": "./src/browser.js", + "engines": { + "node": ">=6.0" + } } diff --git a/node_modules/connect-mongo/node_modules/ms/package.json b/node_modules/connect-mongo/node_modules/ms/package.json index e778429a..eea666e1 100644 --- a/node_modules/connect-mongo/node_modules/ms/package.json +++ b/node_modules/connect-mongo/node_modules/ms/package.json @@ -1,42 +1,16 @@ { - "_args": [ - [ - "ms@2.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.1.2", - "_id": "ms@2.1.2", - "_inBundle": false, - "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "_location": "/connect-mongo/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.1.2", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.1.2", - "saveSpec": null, - "fetchSpec": "2.1.2" - }, - "_requiredBy": [ - "/connect-mongo/debug" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "_spec": "2.1.2", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/zeit/ms/issues" - }, + "name": "ms", + "version": "2.1.2", "description": "Tiny millisecond conversion utility", - "devDependencies": { - "eslint": "4.12.1", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1" + "repository": "zeit/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -45,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/zeit/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -57,16 +26,12 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/zeit/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.1.2" + "license": "MIT", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" + } } diff --git a/node_modules/connect-mongo/package.json b/node_modules/connect-mongo/package.json index 71ac8bbe..244fc1d0 100644 --- a/node_modules/connect-mongo/package.json +++ b/node_modules/connect-mongo/package.json @@ -1,72 +1,68 @@ { - "_args": [ - [ - "connect-mongo@4.6.0", - "/var/www/html/arclight" - ] + "name": "connect-mongo", + "version": "4.6.0", + "description": "MongoDB session store for Express and Connect", + "main": "build/main/index.js", + "typings": "build/main/index.d.ts", + "keywords": [ + "connect", + "mongo", + "mongodb", + "session", + "express" ], - "_from": "connect-mongo@4.6.0", - "_id": "connect-mongo@4.6.0", - "_inBundle": false, - "_integrity": "sha512-8new4Z7NLP3CGP65Aw6ls3xDBeKVvHRSh39CXuDZTQsvpeeU9oNMzfFgvqmHqZ6gWpxIl663RyoVEmCAGf1yOg==", - "_location": "/connect-mongo", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "connect-mongo@4.6.0", - "name": "connect-mongo", - "escapedName": "connect-mongo", - "rawSpec": "4.6.0", - "saveSpec": null, - "fetchSpec": "4.6.0" - }, - "_requiredBy": [ - "/" + "contributors": [ + "Casey Banner ", + "Jerome Desboeufs ", + "MC Or " ], - "_resolved": "https://registry.npmjs.org/connect-mongo/-/connect-mongo-4.6.0.tgz", - "_spec": "4.6.0", - "_where": "/var/www/html/arclight", - "ava": { - "failFast": true, - "timeout": "60s", - "typescript": { - "rewritePaths": { - "src/": "build/main/" - } - }, - "files": [ - "!build/module/**", - "!src/test/testHelper.ts" - ] + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/jdesboeufs/connect-mongo.git" }, "bugs": { "url": "https://github.com/jdesboeufs/connect-mongo/issues" }, - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } + "scripts": { + "prebuild": "rm -rf build", + "build": "run-p build:*", + "build:main": "tsc -p tsconfig.json", + "fix": "run-s fix:*", + "fix:prettier": "prettier \"src/**/*.ts\" --write", + "fix:lint": "eslint --cache src --ext .ts --fix", + "test": "run-s build test:*", + "test:lint": "eslint --cache src --ext .ts", + "test:prettier": "prettier \"src/**/*.ts\" --list-different", + "test:unit": "nyc ava", + "check-cli": "run-s test diff-integration-tests check-integration-tests", + "check-integration-tests": "run-s check-integration-test:*", + "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'", + "watch:build": "tsc -p tsconfig.json -w", + "watch:test": "nyc --silent ava --watch", + "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html", + "cov:html": "nyc report --reporter=html", + "cov:lcov": "nyc report --reporter=lcov", + "cov:send": "run-s cov:lcov && codecov", + "cov:check": "nyc report && nyc check-coverage", + "doc": "run-s doc:html && open-cli build/docs/index.html", + "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", + "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", + "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", + "version": "standard-version", + "reset-hard": "git clean -dfx && git reset --hard && yarn", + "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "mongodb": "^4.1.0" }, - "contributors": [ - { - "name": "Casey Banner", - "email": "kcbanner@gmail.com" - }, - { - "name": "Jerome Desboeufs", - "email": "jerome.desboeufs@gmail.com" - }, - { - "name": "MC Or", - "email": "mingchuno@gmail.com" - } - ], "dependencies": { "debug": "^4.3.1", "kruptein": "^3.0.0" }, - "description": "MongoDB session store for Express and Connect", "devDependencies": { "@ava/typescript": "^1.1.1", "@commitlint/cli": "^11.0.0", @@ -109,9 +105,6 @@ "typedoc": "^0.19.0", "typescript": "^4.0.2" }, - "engines": { - "node": ">=10" - }, "files": [ "build/main", "build/module", @@ -122,75 +115,44 @@ "LICENSE", "README.md" ], - "homepage": "https://github.com/jdesboeufs/connect-mongo#readme", - "husky": { - "hooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" - } - }, - "keywords": [ - "connect", - "mongo", - "mongodb", - "session", - "express" - ], - "license": "MIT", - "lint-staged": { - "*.{js,ts}": [ - "eslint --fix" - ] - }, - "main": "build/main/index.js", - "name": "connect-mongo", - "nyc": { - "extends": "@istanbuljs/nyc-config-typescript", - "exclude": [ - "**/*.spec.js" + "ava": { + "failFast": true, + "timeout": "60s", + "typescript": { + "rewritePaths": { + "src/": "build/main/" + } + }, + "files": [ + "!build/module/**", + "!src/test/testHelper.ts" ] }, - "peerDependencies": { - "mongodb": "^4.1.0" + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } }, "prettier": { "singleQuote": true, "semi": false, "trailingComma": "es5" }, - "repository": { - "type": "git", - "url": "git+https://github.com/jdesboeufs/connect-mongo.git" + "nyc": { + "extends": "@istanbuljs/nyc-config-typescript", + "exclude": [ + "**/*.spec.js" + ] }, - "scripts": { - "build": "run-p build:*", - "build:main": "tsc -p tsconfig.json", - "check-cli": "run-s test diff-integration-tests check-integration-tests", - "check-integration-tests": "run-s check-integration-test:*", - "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html", - "cov:check": "nyc report && nyc check-coverage", - "cov:html": "nyc report --reporter=html", - "cov:lcov": "nyc report --reporter=lcov", - "cov:send": "run-s cov:lcov && codecov", - "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'", - "doc": "run-s doc:html && open-cli build/docs/index.html", - "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", - "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", - "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", - "fix": "run-s fix:*", - "fix:lint": "eslint --cache src --ext .ts --fix", - "fix:prettier": "prettier \"src/**/*.ts\" --write", - "prebuild": "rm -rf build", - "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", - "reset-hard": "git clean -dfx && git reset --hard && yarn", - "test": "run-s build test:*", - "test:lint": "eslint --cache src --ext .ts", - "test:prettier": "prettier \"src/**/*.ts\" --list-different", - "test:unit": "nyc ava", - "version": "standard-version", - "watch:build": "tsc -p tsconfig.json -w", - "watch:test": "nyc --silent ava --watch" + "husky": { + "hooks": { + "pre-commit": "lint-staged", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } }, - "typings": "build/main/index.d.ts", - "version": "4.6.0" + "lint-staged": { + "*.{js,ts}": [ + "eslint --fix" + ] + } } diff --git a/node_modules/content-disposition/package.json b/node_modules/content-disposition/package.json index cfd3f7e7..43c70ce2 100644 --- a/node_modules/content-disposition/package.json +++ b/node_modules/content-disposition/package.json @@ -1,43 +1,19 @@ { - "_args": [ - [ - "content-disposition@0.5.4", - "/var/www/html/arclight" - ] - ], - "_from": "content-disposition@0.5.4", - "_id": "content-disposition@0.5.4", - "_inBundle": false, - "_integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", - "_location": "/content-disposition", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "content-disposition@0.5.4", - "name": "content-disposition", - "escapedName": "content-disposition", - "rawSpec": "0.5.4", - "saveSpec": null, - "fetchSpec": "0.5.4" - }, - "_requiredBy": [ - "/express" + "name": "content-disposition", + "description": "Create and parse Content-Disposition header", + "version": "0.5.4", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "content-disposition", + "http", + "rfc6266", + "res" ], - "_resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "_spec": "0.5.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/content-disposition/issues" - }, + "repository": "jshttp/content-disposition", "dependencies": { "safe-buffer": "5.2.1" }, - "description": "Create and parse Content-Disposition header", "devDependencies": { "deep-equal": "1.0.1", "eslint": "7.32.0", @@ -50,33 +26,19 @@ "istanbul": "0.4.5", "mocha": "9.1.3" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/content-disposition#readme", - "keywords": [ - "content-disposition", - "http", - "rfc6266", - "res" - ], - "license": "MIT", - "name": "content-disposition", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/content-disposition.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" - }, - "version": "0.5.4" + } } diff --git a/node_modules/content-type/package.json b/node_modules/content-type/package.json index 21fe7ae4..f2d31d41 100644 --- a/node_modules/content-type/package.json +++ b/node_modules/content-type/package.json @@ -1,41 +1,17 @@ { - "_args": [ - [ - "content-type@1.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "content-type@1.0.4", - "_id": "content-type@1.0.4", - "_inBundle": false, - "_integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "_location": "/content-type", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "content-type@1.0.4", - "name": "content-type", - "escapedName": "content-type", - "rawSpec": "1.0.4", - "saveSpec": null, - "fetchSpec": "1.0.4" - }, - "_requiredBy": [ - "/body-parser", - "/express" - ], - "_resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "_spec": "1.0.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/content-type/issues" - }, + "name": "content-type", "description": "Create and parse HTTP Content-Type header", + "version": "1.0.4", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "content-type", + "http", + "req", + "res", + "rfc7231" + ], + "repository": "jshttp/content-type", "devDependencies": { "eslint": "3.19.0", "eslint-config-standard": "10.2.1", @@ -46,34 +22,19 @@ "istanbul": "0.4.5", "mocha": "~1.21.5" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/content-type#readme", - "keywords": [ - "content-type", - "http", - "req", - "res", - "rfc7231" - ], - "license": "MIT", - "name": "content-type", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/content-type.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --check-leaks --bail test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" - }, - "version": "1.0.4" + } } diff --git a/node_modules/cookie-signature/package.json b/node_modules/cookie-signature/package.json index 186c22d9..29c4498e 100644 --- a/node_modules/cookie-signature/package.json +++ b/node_modules/cookie-signature/package.json @@ -1,61 +1,18 @@ { - "_args": [ - [ - "cookie-signature@1.0.6", - "/var/www/html/arclight" - ] - ], - "_from": "cookie-signature@1.0.6", - "_id": "cookie-signature@1.0.6", - "_inBundle": false, - "_integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", - "_location": "/cookie-signature", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "cookie-signature@1.0.6", - "name": "cookie-signature", - "escapedName": "cookie-signature", - "rawSpec": "1.0.6", - "saveSpec": null, - "fetchSpec": "1.0.6" - }, - "_requiredBy": [ - "/express", - "/express-session" - ], - "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "_spec": "1.0.6", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@learnboost.com" - }, - "bugs": { - "url": "https://github.com/visionmedia/node-cookie-signature/issues" - }, - "dependencies": {}, + "name": "cookie-signature", + "version": "1.0.6", "description": "Sign and unsign cookies", + "keywords": ["cookie", "sign", "unsign"], + "author": "TJ Holowaychuk ", + "license": "MIT", + "repository": { "type": "git", "url": "https://github.com/visionmedia/node-cookie-signature.git"}, + "dependencies": {}, "devDependencies": { "mocha": "*", "should": "*" }, - "homepage": "https://github.com/visionmedia/node-cookie-signature#readme", - "keywords": [ - "cookie", - "sign", - "unsign" - ], - "license": "MIT", - "main": "index", - "name": "cookie-signature", - "repository": { - "type": "git", - "url": "git+https://github.com/visionmedia/node-cookie-signature.git" - }, "scripts": { "test": "mocha --require should --reporter spec" }, - "version": "1.0.6" + "main": "index" } diff --git a/node_modules/cookie/package.json b/node_modules/cookie/package.json index 1b5786c8..ed5606a9 100644 --- a/node_modules/cookie/package.json +++ b/node_modules/cookie/package.json @@ -1,46 +1,17 @@ { - "_args": [ - [ - "cookie@0.5.0", - "/var/www/html/arclight" - ] - ], - "_from": "cookie@0.5.0", - "_id": "cookie@0.5.0", - "_inBundle": false, - "_integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", - "_location": "/cookie", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "cookie@0.5.0", - "name": "cookie", - "escapedName": "cookie", - "rawSpec": "0.5.0", - "saveSpec": null, - "fetchSpec": "0.5.0" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "_spec": "0.5.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - }, - "bugs": { - "url": "https://github.com/jshttp/cookie/issues" - }, + "name": "cookie", + "description": "HTTP server cookie parsing and serialization", + "version": "0.5.0", + "author": "Roman Shtylman ", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "HTTP server cookie parsing and serialization", + "license": "MIT", + "keywords": [ + "cookie", + "cookies" + ], + "repository": "jshttp/cookie", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -51,9 +22,6 @@ "safe-buffer": "5.2.1", "top-sites": "1.1.97" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", @@ -61,16 +29,8 @@ "SECURITY.md", "index.js" ], - "homepage": "https://github.com/jshttp/cookie#readme", - "keywords": [ - "cookie", - "cookies" - ], - "license": "MIT", - "name": "cookie", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/cookie.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "bench": "node benchmark/index.js", @@ -80,6 +40,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "update-bench": "node scripts/update-benchmark.js", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "0.5.0" + } } diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json index 9ec7c716..dc787ba7 100644 --- a/node_modules/debug/package.json +++ b/node_modules/debug/package.json @@ -1,66 +1,25 @@ { - "_args": [ - [ - "debug@2.6.9", - "/var/www/html/arclight" - ] - ], - "_from": "debug@2.6.9", - "_id": "debug@2.6.9", - "_inBundle": false, - "_integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "_location": "/debug", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "debug@2.6.9", - "name": "debug", - "escapedName": "debug", - "rawSpec": "2.6.9", - "saveSpec": null, - "fetchSpec": "2.6.9" + "name": "debug", + "version": "2.6.9", + "repository": { + "type": "git", + "url": "git://github.com/visionmedia/debug.git" }, - "_requiredBy": [ - "/body-parser", - "/express", - "/express-session", - "/finalhandler", - "/morgan", - "/send" + "description": "small debugging utility", + "keywords": [ + "debug", + "log", + "debugger" ], - "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "_spec": "2.6.9", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "browser": "./src/browser.js", - "bugs": { - "url": "https://github.com/visionmedia/debug/issues" - }, - "component": { - "scripts": { - "debug/index.js": "browser.js", - "debug/debug.js": "debug.js" - } - }, + "author": "TJ Holowaychuk ", "contributors": [ - { - "name": "Nathan Rajlich", - "email": "nathan@tootallnate.net", - "url": "http://n8.io" - }, - { - "name": "Andrew Rhyne", - "email": "rhyneandrew@gmail.com" - } + "Nathan Rajlich (http://n8.io)", + "Andrew Rhyne " ], + "license": "MIT", "dependencies": { "ms": "2.0.0" }, - "description": "small debugging utility", "devDependencies": { "browserify": "9.0.3", "chai": "^3.5.0", @@ -79,18 +38,12 @@ "sinon": "^1.17.6", "sinon-chai": "^2.8.0" }, - "homepage": "https://github.com/visionmedia/debug#readme", - "keywords": [ - "debug", - "log", - "debugger" - ], - "license": "MIT", "main": "./src/index.js", - "name": "debug", - "repository": { - "type": "git", - "url": "git://github.com/visionmedia/debug.git" - }, - "version": "2.6.9" + "browser": "./src/browser.js", + "component": { + "scripts": { + "debug/index.js": "browser.js", + "debug/debug.js": "debug.js" + } + } } diff --git a/node_modules/denque/package.json b/node_modules/denque/package.json index 32e8c679..f1a0fcc7 100644 --- a/node_modules/denque/package.json +++ b/node_modules/denque/package.json @@ -1,60 +1,11 @@ { - "_args": [ - [ - "denque@2.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "denque@2.0.1", - "_id": "denque@2.0.1", - "_inBundle": false, - "_integrity": "sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ==", - "_location": "/denque", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "denque@2.0.1", - "name": "denque", - "escapedName": "denque", - "rawSpec": "2.0.1", - "saveSpec": null, - "fetchSpec": "2.0.1" - }, - "_requiredBy": [ - "/mongodb" - ], - "_resolved": "https://registry.npmjs.org/denque/-/denque-2.0.1.tgz", - "_spec": "2.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Invertase", - "email": "oss@invertase.io", - "url": "http://github.com/invertase/" - }, - "bugs": { - "url": "https://github.com/invertase/denque/issues" - }, - "contributors": [ - { - "name": "Mike Diarmid", - "email": "mike@invertase.io", - "url": "Salakar" - } - ], + "name": "denque", + "version": "2.0.1", "description": "The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.", - "devDependencies": { - "benchmark": "^2.1.4", - "codecov": "^3.8.3", - "double-ended-queue": "^2.1.0-0", - "istanbul": "^0.4.5", - "mocha": "^3.5.3", - "typescript": "^3.4.1" - }, + "main": "index.js", "engines": { "node": ">=0.10" }, - "homepage": "https://docs.page/invertase/denque", "keywords": [ "data-structure", "data-structures", @@ -66,22 +17,39 @@ "denque", "double-ended-queue" ], - "license": "Apache-2.0", - "main": "index.js", - "name": "denque", + "scripts": { + "test": "istanbul cover --report lcov _mocha && npm run typescript", + "coveralls": "cat ./coverage/lcov.info | coveralls", + "typescript": "tsc --project ./test/type/tsconfig.json", + "benchmark_thousand": "node benchmark/thousand", + "benchmark_2mil": "node benchmark/two_million", + "benchmark_splice": "node benchmark/splice", + "benchmark_remove": "node benchmark/remove", + "benchmark_removeOne": "node benchmark/removeOne" + }, "repository": { "type": "git", "url": "git+https://github.com/invertase/denque.git" }, - "scripts": { - "benchmark_2mil": "node benchmark/two_million", - "benchmark_remove": "node benchmark/remove", - "benchmark_removeOne": "node benchmark/removeOne", - "benchmark_splice": "node benchmark/splice", - "benchmark_thousand": "node benchmark/thousand", - "coveralls": "cat ./coverage/lcov.info | coveralls", - "test": "istanbul cover --report lcov _mocha && npm run typescript", - "typescript": "tsc --project ./test/type/tsconfig.json" + "license": "Apache-2.0", + "author": { + "name": "Invertase", + "email": "oss@invertase.io", + "url": "http://github.com/invertase/" + }, + "contributors": [ + "Mike Diarmid (Salakar) " + ], + "bugs": { + "url": "https://github.com/invertase/denque/issues" }, - "version": "2.0.1" + "homepage": "https://docs.page/invertase/denque", + "devDependencies": { + "benchmark": "^2.1.4", + "codecov": "^3.8.3", + "double-ended-queue": "^2.1.0-0", + "istanbul": "^0.4.5", + "mocha": "^3.5.3", + "typescript": "^3.4.1" + } } diff --git a/node_modules/depd/package.json b/node_modules/depd/package.json index 35fc3461..3857e199 100644 --- a/node_modules/depd/package.json +++ b/node_modules/depd/package.json @@ -1,49 +1,18 @@ { - "_args": [ - [ - "depd@2.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "depd@2.0.0", - "_id": "depd@2.0.0", - "_inBundle": false, - "_integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "_location": "/depd", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "depd@2.0.0", - "name": "depd", - "escapedName": "depd", - "rawSpec": "2.0.0", - "saveSpec": null, - "fetchSpec": "2.0.0" - }, - "_requiredBy": [ - "/body-parser", - "/express", - "/express-session", - "/http-errors", - "/morgan", - "/send" + "name": "depd", + "description": "Deprecate all the things", + "version": "2.0.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "deprecate", + "deprecated" ], - "_resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "_spec": "2.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, + "repository": "dougwilson/nodejs-depd", "browser": "lib/browser/index.js", - "bugs": { - "url": "https://github.com/dougwilson/nodejs-depd/issues" - }, - "description": "Deprecate all the things", "devDependencies": { - "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", + "beautify-benchmark": "0.2.4", "eslint": "5.7.0", "eslint-config-standard": "12.0.0", "eslint-plugin-import": "2.14.0", @@ -56,9 +25,6 @@ "safe-buffer": "5.1.2", "uid-safe": "2.1.5" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "lib/", "History.md", @@ -66,16 +32,8 @@ "index.js", "Readme.md" ], - "homepage": "https://github.com/dougwilson/nodejs-depd#readme", - "keywords": [ - "deprecate", - "deprecated" - ], - "license": "MIT", - "name": "depd", - "repository": { - "type": "git", - "url": "git+https://github.com/dougwilson/nodejs-depd.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "bench": "node benchmark/index.js", @@ -83,6 +41,5 @@ "test": "mocha --reporter spec --bail test/", "test-ci": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter spec test/ && istanbul report lcovonly text-summary", "test-cov": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter dot test/ && istanbul report lcov text-summary" - }, - "version": "2.0.0" + } } diff --git a/node_modules/destroy/package.json b/node_modules/destroy/package.json index cec24a1e..c85e4383 100644 --- a/node_modules/destroy/package.json +++ b/node_modules/destroy/package.json @@ -1,48 +1,18 @@ { - "_args": [ - [ - "destroy@1.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "destroy@1.2.0", - "_id": "destroy@1.2.0", - "_inBundle": false, - "_integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "_location": "/destroy", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "destroy@1.2.0", - "name": "destroy", - "escapedName": "destroy", - "rawSpec": "1.2.0", - "saveSpec": null, - "fetchSpec": "1.2.0" - }, - "_requiredBy": [ - "/body-parser", - "/send" - ], - "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "_spec": "1.2.0", - "_where": "/var/www/html/arclight", + "name": "destroy", + "description": "destroy a stream if possible", + "version": "1.2.0", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/stream-utils/destroy/issues" + "url": "http://jongleberry.com", + "twitter": "https://twitter.com/jongleberry" }, "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "destroy a stream if possible", + "license": "MIT", + "repository": "stream-utils/destroy", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -57,11 +27,16 @@ "node": ">= 0.8", "npm": "1.2.8000 || >= 1.4.16" }, + "scripts": { + "lint": "eslint .", + "test": "mocha --reporter spec", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", + "test-cov": "nyc --reporter=html --reporter=text npm test" + }, "files": [ "index.js", "LICENSE" ], - "homepage": "https://github.com/stream-utils/destroy#readme", "keywords": [ "stream", "streams", @@ -69,18 +44,5 @@ "cleanup", "leak", "fd" - ], - "license": "MIT", - "name": "destroy", - "repository": { - "type": "git", - "url": "git+https://github.com/stream-utils/destroy.git" - }, - "scripts": { - "lint": "eslint .", - "test": "mocha --reporter spec", - "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", - "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "1.2.0" + ] } diff --git a/node_modules/dotenv/package.json b/node_modules/dotenv/package.json index e664eccd..d09ae8ed 100644 --- a/node_modules/dotenv/package.json +++ b/node_modules/dotenv/package.json @@ -1,51 +1,9 @@ { - "_args": [ - [ - "dotenv@16.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "dotenv@16.0.1", - "_id": "dotenv@16.0.1", - "_inBundle": false, - "_integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", - "_location": "/dotenv", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "dotenv@16.0.1", - "name": "dotenv", - "escapedName": "dotenv", - "rawSpec": "16.0.1", - "saveSpec": null, - "fetchSpec": "16.0.1" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", - "_spec": "16.0.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/motdotla/dotenv/issues" - }, + "name": "dotenv", + "version": "16.0.1", "description": "Loads environment variables from .env file", - "devDependencies": { - "@types/node": "^17.0.9", - "decache": "^4.6.1", - "dtslint": "^3.7.0", - "sinon": "^12.0.1", - "standard": "^16.0.4", - "standard-markdown": "^7.1.0", - "standard-version": "^9.3.2", - "tap": "^15.1.6", - "tar": "^6.1.11", - "typescript": "^4.5.4" - }, - "engines": { - "node": ">=12" - }, + "main": "lib/main.js", + "types": "lib/main.d.ts", "exports": { ".": { "require": "./lib/main.js", @@ -56,7 +14,19 @@ "./config.js": "./config.js", "./package.json": "./package.json" }, - "homepage": "https://github.com/motdotla/dotenv#readme", + "scripts": { + "dts-check": "tsc --project tests/types/tsconfig.json", + "lint": "standard", + "lint-readme": "standard-markdown", + "pretest": "npm run lint && npm run dts-check", + "test": "tap tests/*.js --100 -Rspec", + "prerelease": "npm test", + "release": "standard-version" + }, + "repository": { + "type": "git", + "url": "git://github.com/motdotla/dotenv.git" + }, "keywords": [ "dotenv", "env", @@ -66,22 +36,21 @@ "config", "settings" ], + "readmeFilename": "README.md", "license": "BSD-2-Clause", - "main": "lib/main.js", - "name": "dotenv", - "repository": { - "type": "git", - "url": "git://github.com/motdotla/dotenv.git" - }, - "scripts": { - "dts-check": "tsc --project tests/types/tsconfig.json", - "lint": "standard", - "lint-readme": "standard-markdown", - "prerelease": "npm test", - "pretest": "npm run lint && npm run dts-check", - "release": "standard-version", - "test": "tap tests/*.js --100 -Rspec" + "devDependencies": { + "@types/node": "^17.0.9", + "decache": "^4.6.1", + "dtslint": "^3.7.0", + "sinon": "^12.0.1", + "standard": "^16.0.4", + "standard-markdown": "^7.1.0", + "standard-version": "^9.3.2", + "tap": "^15.1.6", + "tar": "^6.1.11", + "typescript": "^4.5.4" }, - "types": "lib/main.d.ts", - "version": "16.0.1" + "engines": { + "node": ">=12" + } } diff --git a/node_modules/ecdsa-sig-formatter/package.json b/node_modules/ecdsa-sig-formatter/package.json index e4d280c0..6fb5ebfe 100644 --- a/node_modules/ecdsa-sig-formatter/package.json +++ b/node_modules/ecdsa-sig-formatter/package.json @@ -1,42 +1,37 @@ { - "_args": [ - [ - "ecdsa-sig-formatter@1.0.11", - "/var/www/html/arclight" - ] - ], - "_from": "ecdsa-sig-formatter@1.0.11", - "_id": "ecdsa-sig-formatter@1.0.11", - "_inBundle": false, - "_integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "_location": "/ecdsa-sig-formatter", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ecdsa-sig-formatter@1.0.11", - "name": "ecdsa-sig-formatter", - "escapedName": "ecdsa-sig-formatter", - "rawSpec": "1.0.11", - "saveSpec": null, - "fetchSpec": "1.0.11" + "name": "ecdsa-sig-formatter", + "version": "1.0.11", + "description": "Translate ECDSA signatures between ASN.1/DER and JOSE-style concatenation", + "main": "src/ecdsa-sig-formatter.js", + "scripts": { + "check-style": "eslint .", + "pretest": "npm run check-style", + "test": "istanbul cover --root src _mocha -- spec", + "report-cov": "cat ./coverage/lcov.info | coveralls" }, - "_requiredBy": [ - "/jwa" - ], - "_resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", - "_spec": "1.0.11", - "_where": "/var/www/html/arclight", - "author": { - "name": "D2L Corporation" + "typings": "./src/ecdsa-sig-formatter.d.ts", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/Brightspace/node-ecdsa-sig-formatter.git" }, + "keywords": [ + "ecdsa", + "der", + "asn.1", + "jwt", + "jwa", + "jsonwebtoken", + "jose" + ], + "author": "D2L Corporation", + "license": "Apache-2.0", "bugs": { "url": "https://github.com/Brightspace/node-ecdsa-sig-formatter/issues" }, + "homepage": "https://github.com/Brightspace/node-ecdsa-sig-formatter#readme", "dependencies": { "safe-buffer": "^5.0.1" }, - "description": "Translate ECDSA signatures between ASN.1/DER and JOSE-style concatenation", "devDependencies": { "bench": "^0.3.6", "chai": "^3.5.0", @@ -47,30 +42,5 @@ "jwk-to-pem": "^1.2.5", "mocha": "^2.5.3", "native-crypto": "^1.7.0" - }, - "homepage": "https://github.com/Brightspace/node-ecdsa-sig-formatter#readme", - "keywords": [ - "ecdsa", - "der", - "asn.1", - "jwt", - "jwa", - "jsonwebtoken", - "jose" - ], - "license": "Apache-2.0", - "main": "src/ecdsa-sig-formatter.js", - "name": "ecdsa-sig-formatter", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/Brightspace/node-ecdsa-sig-formatter.git" - }, - "scripts": { - "check-style": "eslint .", - "pretest": "npm run check-style", - "report-cov": "cat ./coverage/lcov.info | coveralls", - "test": "istanbul cover --root src _mocha -- spec" - }, - "typings": "./src/ecdsa-sig-formatter.d.ts", - "version": "1.0.11" + } } diff --git a/node_modules/ee-first/package.json b/node_modules/ee-first/package.json index f5fed543..b6d0b7d6 100644 --- a/node_modules/ee-first/package.json +++ b/node_modules/ee-first/package.json @@ -1,48 +1,18 @@ { - "_args": [ - [ - "ee-first@1.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "ee-first@1.1.1", - "_id": "ee-first@1.1.1", - "_inBundle": false, - "_integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "_location": "/ee-first", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ee-first@1.1.1", - "name": "ee-first", - "escapedName": "ee-first", - "rawSpec": "1.1.1", - "saveSpec": null, - "fetchSpec": "1.1.1" - }, - "_requiredBy": [ - "/morgan/on-finished", - "/on-finished" - ], - "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "_spec": "1.1.1", - "_where": "/var/www/html/arclight", + "name": "ee-first", + "description": "return the first event in a set of ee/event pairs", + "version": "1.1.1", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/jonathanong/ee-first/issues" + "url": "http://jongleberry.com", + "twitter": "https://twitter.com/jongleberry" }, "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "return the first event in a set of ee/event pairs", + "license": "MIT", + "repository": "jonathanong/ee-first", "devDependencies": { "istanbul": "0.3.9", "mocha": "2.2.5" @@ -51,17 +21,9 @@ "index.js", "LICENSE" ], - "homepage": "https://github.com/jonathanong/ee-first#readme", - "license": "MIT", - "name": "ee-first", - "repository": { - "type": "git", - "url": "git+https://github.com/jonathanong/ee-first.git" - }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "1.1.1" + } } diff --git a/node_modules/encodeurl/package.json b/node_modules/encodeurl/package.json index f9f09754..b9f25ef1 100644 --- a/node_modules/encodeurl/package.json +++ b/node_modules/encodeurl/package.json @@ -1,45 +1,17 @@ { - "_args": [ - [ - "encodeurl@1.0.2", - "/var/www/html/arclight" - ] - ], - "_from": "encodeurl@1.0.2", - "_id": "encodeurl@1.0.2", - "_inBundle": false, - "_integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "_location": "/encodeurl", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "encodeurl@1.0.2", - "name": "encodeurl", - "escapedName": "encodeurl", - "rawSpec": "1.0.2", - "saveSpec": null, - "fetchSpec": "1.0.2" - }, - "_requiredBy": [ - "/express", - "/finalhandler", - "/send", - "/serve-static" - ], - "_resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "_spec": "1.0.2", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/pillarjs/encodeurl/issues" - }, + "name": "encodeurl", + "description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences", + "version": "1.0.2", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences", + "license": "MIT", + "keywords": [ + "encode", + "encodeurl", + "url" + ], + "repository": "pillarjs/encodeurl", "devDependencies": { "eslint": "3.19.0", "eslint-config-standard": "10.2.1", @@ -50,32 +22,19 @@ "istanbul": "0.4.5", "mocha": "2.5.3" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/pillarjs/encodeurl#readme", - "keywords": [ - "encode", - "encodeurl", - "url" - ], - "license": "MIT", - "name": "encodeurl", - "repository": { - "type": "git", - "url": "git+https://github.com/pillarjs/encodeurl.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "1.0.2" + } } diff --git a/node_modules/escape-html/package.json b/node_modules/escape-html/package.json index c7318d75..57ec7bd0 100644 --- a/node_modules/escape-html/package.json +++ b/node_modules/escape-html/package.json @@ -1,62 +1,24 @@ { - "_args": [ - [ - "escape-html@1.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "escape-html@1.0.3", - "_id": "escape-html@1.0.3", - "_inBundle": false, - "_integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "_location": "/escape-html", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "escape-html@1.0.3", - "name": "escape-html", - "escapedName": "escape-html", - "rawSpec": "1.0.3", - "saveSpec": null, - "fetchSpec": "1.0.3" - }, - "_requiredBy": [ - "/express", - "/finalhandler", - "/send", - "/serve-static" - ], - "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "_spec": "1.0.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/component/escape-html/issues" - }, + "name": "escape-html", "description": "Escape string for use in HTML", + "version": "1.0.3", + "license": "MIT", + "keywords": [ + "escape", + "html", + "utility" + ], + "repository": "component/escape-html", "devDependencies": { - "beautify-benchmark": "0.2.4", - "benchmark": "1.0.0" + "benchmark": "1.0.0", + "beautify-benchmark": "0.2.4" }, "files": [ "LICENSE", "Readme.md", "index.js" ], - "homepage": "https://github.com/component/escape-html#readme", - "keywords": [ - "escape", - "html", - "utility" - ], - "license": "MIT", - "name": "escape-html", - "repository": { - "type": "git", - "url": "git+https://github.com/component/escape-html.git" - }, "scripts": { "bench": "node benchmark/index.js" - }, - "version": "1.0.3" + } } diff --git a/node_modules/etag/package.json b/node_modules/etag/package.json index 49f195f5..b06ab803 100644 --- a/node_modules/etag/package.json +++ b/node_modules/etag/package.json @@ -1,47 +1,18 @@ { - "_args": [ - [ - "etag@1.8.1", - "/var/www/html/arclight" - ] - ], - "_from": "etag@1.8.1", - "_id": "etag@1.8.1", - "_inBundle": false, - "_integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "_location": "/etag", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "etag@1.8.1", - "name": "etag", - "escapedName": "etag", - "rawSpec": "1.8.1", - "saveSpec": null, - "fetchSpec": "1.8.1" - }, - "_requiredBy": [ - "/express", - "/send" - ], - "_resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "_spec": "1.8.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/etag/issues" - }, + "name": "etag", + "description": "Create simple HTTP ETags", + "version": "1.8.1", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "David Björklund", - "email": "david.bjorklund@gmail.com" - } + "Douglas Christopher Wilson ", + "David Björklund " ], - "description": "Create simple HTTP ETags", + "license": "MIT", + "keywords": [ + "etag", + "http", + "res" + ], + "repository": "jshttp/etag", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -57,26 +28,14 @@ "safe-buffer": "5.1.1", "seedrandom": "2.4.3" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/etag#readme", - "keywords": [ - "etag", - "http", - "res" - ], - "license": "MIT", - "name": "etag", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/etag.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "bench": "node benchmark/index.js", @@ -84,6 +43,5 @@ "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "1.8.1" + } } diff --git a/node_modules/express-session/node_modules/cookie/package.json b/node_modules/express-session/node_modules/cookie/package.json index 3fdd7fac..cd40d0d1 100644 --- a/node_modules/express-session/node_modules/cookie/package.json +++ b/node_modules/express-session/node_modules/cookie/package.json @@ -1,46 +1,17 @@ { - "_args": [ - [ - "cookie@0.4.2", - "/var/www/html/arclight" - ] - ], - "_from": "cookie@0.4.2", - "_id": "cookie@0.4.2", - "_inBundle": false, - "_integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", - "_location": "/express-session/cookie", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "cookie@0.4.2", - "name": "cookie", - "escapedName": "cookie", - "rawSpec": "0.4.2", - "saveSpec": null, - "fetchSpec": "0.4.2" - }, - "_requiredBy": [ - "/express-session" - ], - "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", - "_spec": "0.4.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Roman Shtylman", - "email": "shtylman@gmail.com" - }, - "bugs": { - "url": "https://github.com/jshttp/cookie/issues" - }, + "name": "cookie", + "description": "HTTP server cookie parsing and serialization", + "version": "0.4.2", + "author": "Roman Shtylman ", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "HTTP server cookie parsing and serialization", + "license": "MIT", + "keywords": [ + "cookie", + "cookies" + ], + "repository": "jshttp/cookie", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -50,25 +21,14 @@ "nyc": "15.1.0", "top-sites": "1.1.85" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/cookie#readme", - "keywords": [ - "cookie", - "cookies" - ], - "license": "MIT", - "name": "cookie", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/cookie.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "bench": "node benchmark/index.js", @@ -78,6 +38,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "update-bench": "node scripts/update-benchmark.js", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "0.4.2" + } } diff --git a/node_modules/express-session/package.json b/node_modules/express-session/package.json index 1233b88f..711e9866 100644 --- a/node_modules/express-session/package.json +++ b/node_modules/express-session/package.json @@ -1,50 +1,14 @@ { - "_args": [ - [ - "express-session@1.17.3", - "/var/www/html/arclight" - ] - ], - "_from": "express-session@1.17.3", - "_id": "express-session@1.17.3", - "_inBundle": false, - "_integrity": "sha512-4+otWXlShYlG1Ma+2Jnn+xgKUZTMJ5QD3YvfilX3AcocOAbIkVylSWEklzALe/+Pu4qV6TYBj5GwOBFfdKqLBw==", - "_location": "/express-session", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "express-session@1.17.3", - "name": "express-session", - "escapedName": "express-session", - "rawSpec": "1.17.3", - "saveSpec": null, - "fetchSpec": "1.17.3" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.3.tgz", - "_spec": "1.17.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca", - "url": "http://tjholowaychuk.com" - }, - "bugs": { - "url": "https://github.com/expressjs/session/issues" - }, + "name": "express-session", + "version": "1.17.3", + "description": "Simple session middleware for Express", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Joe Wagner", - "email": "njwjs722@gmail.com" - } + "Douglas Christopher Wilson ", + "Joe Wagner " ], + "repository": "expressjs/session", + "license": "MIT", "dependencies": { "cookie": "0.4.2", "cookie-signature": "1.0.6", @@ -55,7 +19,6 @@ "safe-buffer": "5.2.1", "uid-safe": "~2.1.5" }, - "description": "Simple session middleware for Express", "devDependencies": { "after": "0.8.2", "cookie-parser": "1.4.6", @@ -66,20 +29,13 @@ "nyc": "15.1.0", "supertest": "6.2.3" }, - "engines": { - "node": ">= 0.8.0" - }, "files": [ "session/", "HISTORY.md", "index.js" ], - "homepage": "https://github.com/expressjs/session#readme", - "license": "MIT", - "name": "express-session", - "repository": { - "type": "git", - "url": "git+https://github.com/expressjs/session.git" + "engines": { + "node": ">= 0.8.0" }, "scripts": { "lint": "eslint . && node ./scripts/lint-readme.js", @@ -87,6 +43,5 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "1.17.3" + } } diff --git a/node_modules/express-validator/package.json b/node_modules/express-validator/package.json index 6834b2cf..5728038a 100644 --- a/node_modules/express-validator/package.json +++ b/node_modules/express-validator/package.json @@ -1,58 +1,50 @@ { - "_args": [ - [ - "express-validator@6.14.2", - "/var/www/html/arclight" - ] + "name": "express-validator", + "description": "Express middleware for the validator module.", + "author": "Christoph Tavan ", + "contributors": [ + "Rusty Bailey ", + "Gustavo Henke ", + "Federico Ciardi " ], - "_from": "express-validator@6.14.2", - "_id": "express-validator@6.14.2", - "_inBundle": false, - "_integrity": "sha512-8XfAUrQ6Y7dIIuy9KcUPCfG/uCbvREctrxf5EeeME+ulanJ4iiW71lWmm9r4YcKKYOCBMan0WpVg7FtHu4Z4Wg==", - "_location": "/express-validator", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "express-validator@6.14.2", - "name": "express-validator", - "escapedName": "express-validator", - "rawSpec": "6.14.2", - "saveSpec": null, - "fetchSpec": "6.14.2" + "version": "6.14.2", + "homepage": "https://express-validator.github.io", + "license": "MIT", + "repository": { + "type": "git", + "url": "git://github.com/express-validator/express-validator.git" }, - "_requiredBy": [ - "/" + "main": "./src/index.js", + "types": "./src/index.d.ts", + "files": [ + "src", + "check", + "filter", + "!**/*.spec.ts", + "!**/*.ts", + "**/*.d.ts", + "!website", + "!docs" ], - "_resolved": "https://registry.npmjs.org/express-validator/-/express-validator-6.14.2.tgz", - "_spec": "6.14.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Christoph Tavan", - "email": "dev@tavan.de" + "scripts": { + "build": "tsc", + "clean": "git clean -Xf src check filter", + "docs:build": "npm --prefix ./website run build", + "docs:publish": "USE_SSH=true CURRENT_BRANCH=master npm --prefix ./website run publish-gh-pages", + "docs:start": "npm --prefix ./website start", + "docs:version": "npm --prefix ./website run version", + "prepublishOnly": "tsc", + "test": "jest", + "lint": "eslint --ignore-path .gitignore 'src/**/*.ts' && prettier -c .", + "version": "npm run docs:version -- $npm_package_version && npm run docs:build && git add -A website" }, - "bugs": { - "url": "https://github.com/express-validator/express-validator/issues" + "engines": { + "node": ">= 8.0.0" }, - "contributors": [ - { - "name": "Rusty Bailey", - "email": "rustylbailey@gmail.com" - }, - { - "name": "Gustavo Henke", - "email": "guhenke@gmail.com" - }, - { - "name": "Federico Ciardi", - "email": "fed.ciardi@gmail.com" - } - ], "dependencies": { "lodash": "^4.17.21", "validator": "^13.7.0" }, - "description": "Express middleware for the validator module.", "devDependencies": { "@types/jest": "^26.0.20", "@types/lodash": "^4.14.168", @@ -68,20 +60,6 @@ "ts-jest": "^26.4.4", "typescript": "^3.9.7" }, - "engines": { - "node": ">= 8.0.0" - }, - "files": [ - "src", - "check", - "filter", - "!**/*.spec.ts", - "!**/*.ts", - "**/*.d.ts", - "!website", - "!docs" - ], - "homepage": "https://express-validator.github.io", "keywords": [ "express", "validator", @@ -90,26 +68,5 @@ "sanitize", "sanitization", "xss" - ], - "license": "MIT", - "main": "./src/index.js", - "name": "express-validator", - "repository": { - "type": "git", - "url": "git://github.com/express-validator/express-validator.git" - }, - "scripts": { - "build": "tsc", - "clean": "git clean -Xf src check filter", - "docs:build": "npm --prefix ./website run build", - "docs:publish": "USE_SSH=true CURRENT_BRANCH=master npm --prefix ./website run publish-gh-pages", - "docs:start": "npm --prefix ./website start", - "docs:version": "npm --prefix ./website run version", - "lint": "eslint --ignore-path .gitignore 'src/**/*.ts' && prettier -c .", - "prepublishOnly": "tsc", - "test": "jest", - "version": "npm run docs:version -- $npm_package_version && npm run docs:build && git add -A website" - }, - "types": "./src/index.d.ts", - "version": "6.14.2" + ] } diff --git a/node_modules/express/package.json b/node_modules/express/package.json index 9fb54917..f5872a53 100644 --- a/node_modules/express/package.json +++ b/node_modules/express/package.json @@ -1,68 +1,31 @@ { - "_args": [ - [ - "express@4.18.1", - "/var/www/html/arclight" - ] - ], - "_from": "express@4.18.1", - "_id": "express@4.18.1", - "_inBundle": false, - "_integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", - "_location": "/express", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "express@4.18.1", - "name": "express", - "escapedName": "express", - "rawSpec": "4.18.1", - "saveSpec": null, - "fetchSpec": "4.18.1" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", - "_spec": "4.18.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "bugs": { - "url": "https://github.com/expressjs/express/issues" - }, + "name": "express", + "description": "Fast, unopinionated, minimalist web framework", + "version": "4.18.1", + "author": "TJ Holowaychuk ", "contributors": [ - { - "name": "Aaron Heckmann", - "email": "aaron.heckmann+github@gmail.com" - }, - { - "name": "Ciaran Jessup", - "email": "ciaranj@gmail.com" - }, - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Guillermo Rauch", - "email": "rauchg@gmail.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com" - }, - { - "name": "Roman Shtylman", - "email": "shtylman+expressjs@gmail.com" - }, - { - "name": "Young Jae Sim", - "email": "hanul@hanul.me" - } + "Aaron Heckmann ", + "Ciaran Jessup ", + "Douglas Christopher Wilson ", + "Guillermo Rauch ", + "Jonathan Ong ", + "Roman Shtylman ", + "Young Jae Sim " + ], + "license": "MIT", + "repository": "expressjs/express", + "homepage": "http://expressjs.com/", + "keywords": [ + "express", + "framework", + "sinatra", + "web", + "http", + "rest", + "restful", + "router", + "app", + "api" ], "dependencies": { "accepts": "~1.3.8", @@ -97,7 +60,6 @@ "utils-merge": "1.0.1", "vary": "~1.1.2" }, - "description": "Fast, unopinionated, minimalist web framework", "devDependencies": { "after": "0.8.2", "connect-redis": "3.4.2", @@ -127,31 +89,11 @@ "index.js", "lib/" ], - "homepage": "http://expressjs.com/", - "keywords": [ - "express", - "framework", - "sinatra", - "web", - "http", - "rest", - "restful", - "router", - "app", - "api" - ], - "license": "MIT", - "name": "express", - "repository": { - "type": "git", - "url": "git+https://github.com/expressjs/express.git" - }, "scripts": { "lint": "eslint .", "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/", "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/" - }, - "version": "4.18.1" + } } diff --git a/node_modules/filelist/node_modules/brace-expansion/package.json b/node_modules/filelist/node_modules/brace-expansion/package.json index 3b3567de..7097d41e 100644 --- a/node_modules/filelist/node_modules/brace-expansion/package.json +++ b/node_modules/filelist/node_modules/brace-expansion/package.json @@ -1,62 +1,32 @@ { - "_args": [ - [ - "brace-expansion@2.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "brace-expansion@2.0.1", - "_id": "brace-expansion@2.0.1", - "_inBundle": false, - "_integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "_location": "/filelist/brace-expansion", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "brace-expansion@2.0.1", - "name": "brace-expansion", - "escapedName": "brace-expansion", - "rawSpec": "2.0.1", - "saveSpec": null, - "fetchSpec": "2.0.1" - }, - "_requiredBy": [ - "/filelist/minimatch" - ], - "_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "_spec": "2.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Julian Gruber", - "email": "mail@juliangruber.com", - "url": "http://juliangruber.com" + "name": "brace-expansion", + "description": "Brace expansion as known from sh/bash", + "version": "2.0.1", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/brace-expansion.git" }, - "bugs": { - "url": "https://github.com/juliangruber/brace-expansion/issues" + "homepage": "https://github.com/juliangruber/brace-expansion", + "main": "index.js", + "scripts": { + "test": "tape test/*.js", + "gentest": "bash test/generate.sh", + "bench": "matcha test/perf/bench.js" }, "dependencies": { "balanced-match": "^1.0.0" }, - "description": "Brace expansion as known from sh/bash", "devDependencies": { "@c4312/matcha": "^1.3.1", "tape": "^4.6.0" }, - "homepage": "https://github.com/juliangruber/brace-expansion", "keywords": [], - "license": "MIT", - "main": "index.js", - "name": "brace-expansion", - "repository": { - "type": "git", - "url": "git://github.com/juliangruber/brace-expansion.git" - }, - "scripts": { - "bench": "matcha test/perf/bench.js", - "gentest": "bash test/generate.sh", - "test": "tape test/*.js" + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" }, + "license": "MIT", "testling": { "files": "test/*.js", "browsers": [ @@ -72,6 +42,5 @@ "iphone/6.0..latest", "android-browser/4.2..latest" ] - }, - "version": "2.0.1" + } } diff --git a/node_modules/filelist/node_modules/minimatch/package.json b/node_modules/filelist/node_modules/minimatch/package.json index c13429e1..8e1a8428 100644 --- a/node_modules/filelist/node_modules/minimatch/package.json +++ b/node_modules/filelist/node_modules/minimatch/package.json @@ -1,68 +1,32 @@ { - "_args": [ - [ - "minimatch@5.1.0", - "/var/www/html/arclight" - ] - ], - "_from": "minimatch@5.1.0", - "_id": "minimatch@5.1.0", - "_inBundle": false, - "_integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "_location": "/filelist/minimatch", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "minimatch@5.1.0", - "name": "minimatch", - "escapedName": "minimatch", - "rawSpec": "5.1.0", - "saveSpec": null, - "fetchSpec": "5.1.0" + "author": "Isaac Z. Schlueter (http://blog.izs.me)", + "name": "minimatch", + "description": "a glob matcher in javascript", + "version": "5.1.0", + "repository": { + "type": "git", + "url": "git://github.com/isaacs/minimatch.git" }, - "_requiredBy": [ - "/filelist" - ], - "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "_spec": "5.1.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" + "main": "minimatch.js", + "scripts": { + "test": "tap", + "snap": "tap", + "preversion": "npm test", + "postversion": "npm publish", + "prepublishOnly": "git push origin --follow-tags" }, - "bugs": { - "url": "https://github.com/isaacs/minimatch/issues" + "engines": { + "node": ">=10" }, "dependencies": { "brace-expansion": "^2.0.1" }, - "description": "a glob matcher in javascript", "devDependencies": { "tap": "^15.1.6" }, - "engines": { - "node": ">=10" - }, + "license": "ISC", "files": [ "minimatch.js", "lib" - ], - "homepage": "https://github.com/isaacs/minimatch#readme", - "license": "ISC", - "main": "minimatch.js", - "name": "minimatch", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/minimatch.git" - }, - "scripts": { - "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags", - "preversion": "npm test", - "snap": "tap", - "test": "tap" - }, - "version": "5.1.0" + ] } diff --git a/node_modules/filelist/package.json b/node_modules/filelist/package.json index c41070ef..8a90586a 100644 --- a/node_modules/filelist/package.json +++ b/node_modules/filelist/package.json @@ -1,62 +1,28 @@ { - "_args": [ - [ - "filelist@1.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "filelist@1.0.4", - "_id": "filelist@1.0.4", - "_inBundle": false, - "_integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "_location": "/filelist", - "_phantomChildren": { - "balanced-match": "1.0.2" - }, - "_requested": { - "type": "version", - "registry": true, - "raw": "filelist@1.0.4", - "name": "filelist", - "escapedName": "filelist", - "rawSpec": "1.0.4", - "saveSpec": null, - "fetchSpec": "1.0.4" - }, - "_requiredBy": [ - "/jake" - ], - "_resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "_spec": "1.0.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Matthew Eernisse", - "email": "mde@fleegix.org", - "url": "http://fleegix.org" - }, - "bugs": { - "url": "https://github.com/mde/filelist/issues" + "name": "filelist", + "version": "1.0.4", + "description": "Lazy-evaluating list of files, based on globs or regex patterns", + "main": "index.js", + "types": "index.d.ts", + "scripts": { + "test": "jake test" }, - "dependencies": { - "minimatch": "^5.0.1" + "repository": { + "type": "git", + "url": "git://github.com/mde/filelist.git" }, - "description": "Lazy-evaluating list of files, based on globs or regex patterns", - "homepage": "https://github.com/mde/filelist", "keywords": [ "file", "utility", "glob" ], + "author": "Matthew Eernisse (http://fleegix.org)", "license": "Apache-2.0", - "main": "index.js", - "name": "filelist", - "repository": { - "type": "git", - "url": "git://github.com/mde/filelist.git" - }, - "scripts": { - "test": "jake test" + "bugs": { + "url": "https://github.com/mde/filelist/issues" }, - "types": "index.d.ts", - "version": "1.0.4" + "homepage": "https://github.com/mde/filelist", + "dependencies": { + "minimatch": "^5.0.1" + } } diff --git a/node_modules/finalhandler/package.json b/node_modules/finalhandler/package.json index 4f4eca37..16bf11ed 100644 --- a/node_modules/finalhandler/package.json +++ b/node_modules/finalhandler/package.json @@ -1,39 +1,10 @@ { - "_args": [ - [ - "finalhandler@1.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "finalhandler@1.2.0", - "_id": "finalhandler@1.2.0", - "_inBundle": false, - "_integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", - "_location": "/finalhandler", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "finalhandler@1.2.0", - "name": "finalhandler", - "escapedName": "finalhandler", - "rawSpec": "1.2.0", - "saveSpec": null, - "fetchSpec": "1.2.0" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "_spec": "1.2.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/pillarjs/finalhandler/issues" - }, + "name": "finalhandler", + "description": "Node.js final http responder", + "version": "1.2.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "pillarjs/finalhandler", "dependencies": { "debug": "2.6.9", "encodeurl": "~1.0.2", @@ -43,7 +14,6 @@ "statuses": "2.0.1", "unpipe": "~1.0.0" }, - "description": "Node.js final http responder", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -58,27 +28,19 @@ "safe-buffer": "5.2.1", "supertest": "6.2.2" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "SECURITY.md", "index.js" ], - "homepage": "https://github.com/pillarjs/finalhandler#readme", - "license": "MIT", - "name": "finalhandler", - "repository": { - "type": "git", - "url": "git+https://github.com/pillarjs/finalhandler.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "1.2.0" + } } diff --git a/node_modules/forwarded/package.json b/node_modules/forwarded/package.json index e2e69d3b..bf9c7d65 100644 --- a/node_modules/forwarded/package.json +++ b/node_modules/forwarded/package.json @@ -1,42 +1,17 @@ { - "_args": [ - [ - "forwarded@0.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "forwarded@0.2.0", - "_id": "forwarded@0.2.0", - "_inBundle": false, - "_integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "_location": "/forwarded", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "forwarded@0.2.0", - "name": "forwarded", - "escapedName": "forwarded", - "rawSpec": "0.2.0", - "saveSpec": null, - "fetchSpec": "0.2.0" - }, - "_requiredBy": [ - "/proxy-addr" - ], - "_resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "_spec": "0.2.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/forwarded/issues" - }, + "name": "forwarded", + "description": "Parse HTTP X-Forwarded-For header", + "version": "0.2.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "Parse HTTP X-Forwarded-For header", + "license": "MIT", + "keywords": [ + "x-forwarded-for", + "http", + "req" + ], + "repository": "jshttp/forwarded", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -50,26 +25,14 @@ "mocha": "8.4.0", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/forwarded#readme", - "keywords": [ - "x-forwarded-for", - "http", - "req" - ], - "license": "MIT", - "name": "forwarded", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/forwarded.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "bench": "node benchmark/index.js", @@ -78,6 +41,5 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "0.2.0" + } } diff --git a/node_modules/fresh/package.json b/node_modules/fresh/package.json index 7eeefa28..c2fa0f48 100644 --- a/node_modules/fresh/package.json +++ b/node_modules/fresh/package.json @@ -1,53 +1,20 @@ { - "_args": [ - [ - "fresh@0.5.2", - "/var/www/html/arclight" - ] - ], - "_from": "fresh@0.5.2", - "_id": "fresh@0.5.2", - "_inBundle": false, - "_integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", - "_location": "/fresh", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "fresh@0.5.2", - "name": "fresh", - "escapedName": "fresh", - "rawSpec": "0.5.2", - "saveSpec": null, - "fetchSpec": "0.5.2" - }, - "_requiredBy": [ - "/express", - "/send" - ], - "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "_spec": "0.5.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca", - "url": "http://tjholowaychuk.com" - }, - "bugs": { - "url": "https://github.com/jshttp/fresh/issues" - }, + "name": "fresh", + "description": "HTTP response freshness testing", + "version": "0.5.2", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], - "description": "HTTP response freshness testing", + "license": "MIT", + "keywords": [ + "fresh", + "http", + "conditional", + "cache" + ], + "repository": "jshttp/fresh", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -61,26 +28,13 @@ "istanbul": "0.4.5", "mocha": "1.21.5" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/fresh#readme", - "keywords": [ - "fresh", - "http", - "conditional", - "cache" - ], - "license": "MIT", - "name": "fresh", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/fresh.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "bench": "node benchmark/index.js", @@ -88,6 +42,5 @@ "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "0.5.2" + } } diff --git a/node_modules/function-bind/package.json b/node_modules/function-bind/package.json index 9c3d47ab..20a1727c 100644 --- a/node_modules/function-bind/package.json +++ b/node_modules/function-bind/package.json @@ -1,42 +1,17 @@ { - "_args": [ - [ - "function-bind@1.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "function-bind@1.1.1", - "_id": "function-bind@1.1.1", - "_inBundle": false, - "_integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "_location": "/function-bind", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "function-bind@1.1.1", - "name": "function-bind", - "escapedName": "function-bind", - "rawSpec": "1.1.1", - "saveSpec": null, - "fetchSpec": "1.1.1" - }, - "_requiredBy": [ - "/call-bind", - "/get-intrinsic", - "/has" + "name": "function-bind", + "version": "1.1.1", + "description": "Implementation of Function.prototype.bind", + "keywords": [ + "function", + "bind", + "shim", + "es5" ], - "_resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "_spec": "1.1.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Raynos", - "email": "raynos2@gmail.com" - }, - "bugs": { - "url": "https://github.com/Raynos/function-bind/issues", - "email": "raynos2@gmail.com" - }, + "author": "Raynos ", + "repository": "git://github.com/Raynos/function-bind.git", + "main": "index", + "homepage": "https://github.com/Raynos/function-bind", "contributors": [ { "name": "Raynos" @@ -46,8 +21,11 @@ "url": "https://github.com/ljharb" } ], + "bugs": { + "url": "https://github.com/Raynos/function-bind/issues", + "email": "raynos2@gmail.com" + }, "dependencies": {}, - "description": "Implementation of Function.prototype.bind", "devDependencies": { "@ljharb/eslint-config": "^12.2.1", "covert": "^1.1.0", @@ -55,29 +33,16 @@ "jscs": "^3.0.7", "tape": "^4.8.0" }, - "homepage": "https://github.com/Raynos/function-bind", - "keywords": [ - "function", - "bind", - "shim", - "es5" - ], "license": "MIT", - "main": "index", - "name": "function-bind", - "repository": { - "type": "git", - "url": "git://github.com/Raynos/function-bind.git" - }, "scripts": { - "coverage": "covert test/*.js", - "eslint": "eslint *.js */*.js", - "jscs": "jscs *.js */*.js", - "lint": "npm run jscs && npm run eslint", - "posttest": "npm run coverage -- --quiet", "pretest": "npm run lint", "test": "npm run tests-only", - "tests-only": "node test" + "posttest": "npm run coverage -- --quiet", + "tests-only": "node test", + "coverage": "covert test/*.js", + "lint": "npm run jscs && npm run eslint", + "jscs": "jscs *.js */*.js", + "eslint": "eslint *.js */*.js" }, "testling": { "files": "test/index.js", @@ -94,6 +59,5 @@ "iphone/6.0..latest", "android-browser/4.2..latest" ] - }, - "version": "1.1.1" + } } diff --git a/node_modules/get-intrinsic/package.json b/node_modules/get-intrinsic/package.json index 267e38e7..e8dc0377 100644 --- a/node_modules/get-intrinsic/package.json +++ b/node_modules/get-intrinsic/package.json @@ -1,120 +1,88 @@ { - "_args": [ - [ - "get-intrinsic@1.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "get-intrinsic@1.1.2", - "_id": "get-intrinsic@1.1.2", - "_inBundle": false, - "_integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", - "_location": "/get-intrinsic", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "get-intrinsic@1.1.2", - "name": "get-intrinsic", - "escapedName": "get-intrinsic", - "rawSpec": "1.1.2", - "saveSpec": null, - "fetchSpec": "1.1.2" - }, - "_requiredBy": [ - "/call-bind", - "/side-channel" - ], - "_resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", - "_spec": "1.1.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "bugs": { - "url": "https://github.com/ljharb/get-intrinsic/issues" - }, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.3" - }, - "description": "Get and robustly cache all JS language-level intrinsics at first require time", - "devDependencies": { - "@ljharb/eslint-config": "^21.0.0", - "aud": "^2.0.0", - "auto-changelog": "^2.4.0", - "call-bind": "^1.0.2", - "es-abstract": "^1.20.1", - "es-value-fixtures": "^1.4.1", - "eslint": "=8.8.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "make-async-function": "^1.0.0", - "make-async-generator-function": "^1.0.0", - "make-generator-function": "^2.0.0", - "mock-property": "^1.0.0", - "npmignore": "^0.3.0", - "nyc": "^10.3.2", - "object-inspect": "^1.12.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.5.3" - }, - "exports": { - ".": [ - { - "default": "./index.js" - }, - "./index.js" - ], - "./package.json": "./package.json" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "homepage": "https://github.com/ljharb/get-intrinsic#readme", - "keywords": [ - "javascript", - "ecmascript", - "es", - "js", - "intrinsic", - "getintrinsic", - "es-abstract" - ], - "license": "MIT", - "main": "index.js", - "name": "get-intrinsic", - "publishConfig": { - "ignore": [ - ".github/workflows" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/get-intrinsic.git" - }, - "scripts": { - "lint": "eslint --ext=.js,.mjs .", - "posttest": "aud --production", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", - "prelint": "evalmd README.md", - "prepack": "npmignore --auto --commentLines=autogenerated", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "version": "auto-changelog && git add CHANGELOG.md" - }, - "version": "1.1.2" + "name": "get-intrinsic", + "version": "1.1.2", + "description": "Get and robustly cache all JS language-level intrinsics at first require time", + "main": "index.js", + "exports": { + ".": [ + { + "default": "./index.js" + }, + "./index.js" + ], + "./package.json": "./package.json" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=autogenerated", + "prepublish": "not-in-publish || npm run prepublishOnly", + "prepublishOnly": "safe-publish-latest", + "prelint": "evalmd README.md", + "lint": "eslint --ext=.js,.mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/get-intrinsic.git" + }, + "keywords": [ + "javascript", + "ecmascript", + "es", + "js", + "intrinsic", + "getintrinsic", + "es-abstract" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/get-intrinsic/issues" + }, + "homepage": "https://github.com/ljharb/get-intrinsic#readme", + "devDependencies": { + "@ljharb/eslint-config": "^21.0.0", + "aud": "^2.0.0", + "auto-changelog": "^2.4.0", + "call-bind": "^1.0.2", + "es-abstract": "^1.20.1", + "es-value-fixtures": "^1.4.1", + "eslint": "=8.8.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "make-async-function": "^1.0.0", + "make-async-generator-function": "^1.0.0", + "make-generator-function": "^2.0.0", + "mock-property": "^1.0.0", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "object-inspect": "^1.12.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.5.3" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } } diff --git a/node_modules/has-flag/package.json b/node_modules/has-flag/package.json index e1197f5e..a9cba4b8 100644 --- a/node_modules/has-flag/package.json +++ b/node_modules/has-flag/package.json @@ -1,81 +1,46 @@ { - "_args": [ - [ - "has-flag@4.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "has-flag@4.0.0", - "_id": "has-flag@4.0.0", - "_inBundle": false, - "_integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "_location": "/has-flag", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "has-flag@4.0.0", - "name": "has-flag", - "escapedName": "has-flag", - "rawSpec": "4.0.0", - "saveSpec": null, - "fetchSpec": "4.0.0" - }, - "_requiredBy": [ - "/supports-color" - ], - "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "_spec": "4.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/has-flag/issues" - }, - "description": "Check if argv has a specific flag", - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "homepage": "https://github.com/sindresorhus/has-flag#readme", - "keywords": [ - "has", - "check", - "detect", - "contains", - "find", - "flag", - "cli", - "command-line", - "argv", - "process", - "arg", - "args", - "argument", - "arguments", - "getopt", - "minimist", - "optimist" - ], - "license": "MIT", - "name": "has-flag", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/has-flag.git" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "version": "4.0.0" + "name": "has-flag", + "version": "4.0.0", + "description": "Check if argv has a specific flag", + "license": "MIT", + "repository": "sindresorhus/has-flag", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "engines": { + "node": ">=8" + }, + "scripts": { + "test": "xo && ava && tsd" + }, + "files": [ + "index.js", + "index.d.ts" + ], + "keywords": [ + "has", + "check", + "detect", + "contains", + "find", + "flag", + "cli", + "command-line", + "argv", + "process", + "arg", + "args", + "argument", + "arguments", + "getopt", + "minimist", + "optimist" + ], + "devDependencies": { + "ava": "^1.4.1", + "tsd": "^0.7.2", + "xo": "^0.24.0" + } } diff --git a/node_modules/has-symbols/package.json b/node_modules/has-symbols/package.json index 88883a94..fe7004a1 100644 --- a/node_modules/has-symbols/package.json +++ b/node_modules/has-symbols/package.json @@ -1,129 +1,101 @@ { - "_args": [ - [ - "has-symbols@1.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "has-symbols@1.0.3", - "_id": "has-symbols@1.0.3", - "_inBundle": false, - "_integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "_location": "/has-symbols", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "has-symbols@1.0.3", - "name": "has-symbols", - "escapedName": "has-symbols", - "rawSpec": "1.0.3", - "saveSpec": null, - "fetchSpec": "1.0.3" - }, - "_requiredBy": [ - "/get-intrinsic" - ], - "_resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "_spec": "1.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "bugs": { - "url": "https://github.com/ljharb/has-symbols/issues" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", - "devDependencies": { - "@ljharb/eslint-config": "^20.2.3", - "aud": "^2.0.0", - "auto-changelog": "^2.4.0", - "core-js": "^2.6.12", - "eslint": "=8.8.0", - "get-own-property-symbols": "^0.9.5", - "nyc": "^10.3.2", - "safe-publish-latest": "^2.0.0", - "tape": "^5.5.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "greenkeeper": { - "ignore": [ - "core-js" - ] - }, - "homepage": "https://github.com/ljharb/has-symbols#readme", - "keywords": [ - "Symbol", - "symbols", - "typeof", - "sham", - "polyfill", - "native", - "core-js", - "ES6" - ], - "license": "MIT", - "main": "index.js", - "name": "has-symbols", - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/has-symbols.git" - }, - "scripts": { - "lint": "eslint --ext=js,mjs .", - "posttest": "aud --production", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest", - "pretest": "npm run --silent lint", - "test": "npm run tests-only", - "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", - "test:shams:corejs": "nyc node test/shams/core-js.js", - "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", - "test:staging": "nyc node --harmony --es-staging test", - "test:stock": "nyc node test", - "tests-only": "npm run test:stock && npm run test:staging && npm run test:shams", - "version": "auto-changelog && git add CHANGELOG.md" - }, - "testling": { - "files": "test/index.js", - "browsers": [ - "iexplore/6.0..latest", - "firefox/3.0..6.0", - "firefox/15.0..latest", - "firefox/nightly", - "chrome/4.0..10.0", - "chrome/20.0..latest", - "chrome/canary", - "opera/10.0..latest", - "opera/next", - "safari/4.0..latest", - "ipad/6.0..latest", - "iphone/6.0..latest", - "android-browser/4.2" - ] - }, - "version": "1.0.3" + "name": "has-symbols", + "version": "1.0.3", + "description": "Determine if the JS environment has Symbol support. Supports spec, or shams.", + "main": "index.js", + "scripts": { + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent lint", + "test": "npm run tests-only", + "posttest": "aud --production", + "tests-only": "npm run test:stock && npm run test:staging && npm run test:shams", + "test:stock": "nyc node test", + "test:staging": "nyc node --harmony --es-staging test", + "test:shams": "npm run --silent test:shams:getownpropertysymbols && npm run --silent test:shams:corejs", + "test:shams:corejs": "nyc node test/shams/core-js.js", + "test:shams:getownpropertysymbols": "nyc node test/shams/get-own-property-symbols.js", + "lint": "eslint --ext=js,mjs .", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/has-symbols.git" + }, + "keywords": [ + "Symbol", + "symbols", + "typeof", + "sham", + "polyfill", + "native", + "core-js", + "ES6" + ], + "author": { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + }, + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/has-symbols/issues" + }, + "homepage": "https://github.com/ljharb/has-symbols#readme", + "devDependencies": { + "@ljharb/eslint-config": "^20.2.3", + "aud": "^2.0.0", + "auto-changelog": "^2.4.0", + "core-js": "^2.6.12", + "eslint": "=8.8.0", + "get-own-property-symbols": "^0.9.5", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.5.2" + }, + "testling": { + "files": "test/index.js", + "browsers": [ + "iexplore/6.0..latest", + "firefox/3.0..6.0", + "firefox/15.0..latest", + "firefox/nightly", + "chrome/4.0..10.0", + "chrome/20.0..latest", + "chrome/canary", + "opera/10.0..latest", + "opera/next", + "safari/4.0..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2" + ] + }, + "engines": { + "node": ">= 0.4" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "greenkeeper": { + "ignore": [ + "core-js" + ] + } } diff --git a/node_modules/has/package.json b/node_modules/has/package.json index c78e83a3..7c4592f1 100644 --- a/node_modules/has/package.json +++ b/node_modules/has/package.json @@ -1,59 +1,26 @@ { - "_args": [ - [ - "has@1.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "has@1.0.3", - "_id": "has@1.0.3", - "_inBundle": false, - "_integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "_location": "/has", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "has@1.0.3", - "name": "has", - "escapedName": "has", - "rawSpec": "1.0.3", - "saveSpec": null, - "fetchSpec": "1.0.3" - }, - "_requiredBy": [ - "/get-intrinsic" - ], - "_resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "_spec": "1.0.3", - "_where": "/var/www/html/arclight", + "name": "has", + "description": "Object.prototype.hasOwnProperty.call shortcut", + "version": "1.0.3", + "homepage": "https://github.com/tarruda/has", "author": { "name": "Thiago de Arruda", "email": "tpadilha84@gmail.com" }, - "bugs": { - "url": "https://github.com/tarruda/has/issues" - }, - "contributors": [ + "contributors": [ { "name": "Jordan Harband", "email": "ljharb@gmail.com", "url": "http://ljharb.codes" } ], - "dependencies": { - "function-bind": "^1.1.1" - }, - "description": "Object.prototype.hasOwnProperty.call shortcut", - "devDependencies": { - "@ljharb/eslint-config": "^12.2.1", - "eslint": "^4.19.1", - "tape": "^4.9.0" + "repository": { + "type": "git", + "url": "git://github.com/tarruda/has.git" }, - "engines": { - "node": ">= 0.4.0" + "bugs": { + "url": "https://github.com/tarruda/has/issues" }, - "homepage": "https://github.com/tarruda/has", "license": "MIT", "licenses": [ { @@ -62,15 +29,20 @@ } ], "main": "./src", - "name": "has", - "repository": { - "type": "git", - "url": "git://github.com/tarruda/has.git" + "dependencies": { + "function-bind": "^1.1.1" + }, + "devDependencies": { + "@ljharb/eslint-config": "^12.2.1", + "eslint": "^4.19.1", + "tape": "^4.9.0" + }, + "engines": { + "node": ">= 0.4.0" }, "scripts": { "lint": "eslint .", "pretest": "npm run lint", "test": "tape test" - }, - "version": "1.0.3" + } } diff --git a/node_modules/http-errors/package.json b/node_modules/http-errors/package.json index 8a2ba488..4cb6d7ed 100644 --- a/node_modules/http-errors/package.json +++ b/node_modules/http-errors/package.json @@ -1,54 +1,14 @@ { - "_args": [ - [ - "http-errors@2.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "http-errors@2.0.0", - "_id": "http-errors@2.0.0", - "_inBundle": false, - "_integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", - "_location": "/http-errors", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "http-errors@2.0.0", - "name": "http-errors", - "escapedName": "http-errors", - "rawSpec": "2.0.0", - "saveSpec": null, - "fetchSpec": "2.0.0" - }, - "_requiredBy": [ - "/", - "/body-parser", - "/express", - "/raw-body", - "/send" - ], - "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "_spec": "2.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/jshttp/http-errors/issues" - }, + "name": "http-errors", + "description": "Create HTTP error objects", + "version": "2.0.0", + "author": "Jonathan Ong (http://jongleberry.com)", "contributors": [ - { - "name": "Alan Plum", - "email": "me@pluma.io" - }, - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Alan Plum ", + "Douglas Christopher Wilson " ], + "license": "MIT", + "repository": "jshttp/http-errors", "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", @@ -56,7 +16,6 @@ "statuses": "2.0.1", "toidentifier": "1.0.1" }, - "description": "Create HTTP error objects", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -71,23 +30,6 @@ "engines": { "node": ">= 0.8" }, - "files": [ - "index.js", - "HISTORY.md", - "LICENSE", - "README.md" - ], - "homepage": "https://github.com/jshttp/http-errors#readme", - "keywords": [ - "http", - "error" - ], - "license": "MIT", - "name": "http-errors", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/http-errors.git" - }, "scripts": { "lint": "eslint . && node ./scripts/lint-readme-list.js", "test": "mocha --reporter spec --bail", @@ -95,5 +37,14 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" }, - "version": "2.0.0" + "keywords": [ + "http", + "error" + ], + "files": [ + "index.js", + "HISTORY.md", + "LICENSE", + "README.md" + ] } diff --git a/node_modules/iconv-lite/package.json b/node_modules/iconv-lite/package.json index c6196b4a..a7c74fcc 100644 --- a/node_modules/iconv-lite/package.json +++ b/node_modules/iconv-lite/package.json @@ -1,80 +1,46 @@ { - "_args": [ - [ - "iconv-lite@0.4.24", - "/var/www/html/arclight" - ] - ], - "_from": "iconv-lite@0.4.24", - "_id": "iconv-lite@0.4.24", - "_inBundle": false, - "_integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "_location": "/iconv-lite", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "iconv-lite@0.4.24", "name": "iconv-lite", - "escapedName": "iconv-lite", - "rawSpec": "0.4.24", - "saveSpec": null, - "fetchSpec": "0.4.24" - }, - "_requiredBy": [ - "/body-parser", - "/raw-body" - ], - "_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "_spec": "0.4.24", - "_where": "/var/www/html/arclight", - "author": { - "name": "Alexander Shtuchkin", - "email": "ashtuchkin@gmail.com" - }, - "browser": { - "./lib/extend-node": false, - "./lib/streams": false - }, - "bugs": { - "url": "https://github.com/ashtuchkin/iconv-lite/issues" - }, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "description": "Convert character encodings in pure javascript.", - "devDependencies": { - "async": "*", - "errto": "*", - "iconv": "*", - "istanbul": "*", - "mocha": "^3.1.0", - "request": "~2.87.0", - "semver": "*", - "unorm": "*" - }, - "engines": { - "node": ">=0.10.0" - }, - "homepage": "https://github.com/ashtuchkin/iconv-lite", - "keywords": [ - "iconv", - "convert", - "charset", - "icu" - ], - "license": "MIT", - "main": "./lib/index.js", - "name": "iconv-lite", - "repository": { - "type": "git", - "url": "git://github.com/ashtuchkin/iconv-lite.git" - }, - "scripts": { - "coverage": "istanbul cover _mocha -- --grep .", - "coverage-open": "open coverage/lcov-report/index.html", - "test": "mocha --reporter spec --grep ." - }, - "typings": "./lib/index.d.ts", - "version": "0.4.24" + "description": "Convert character encodings in pure javascript.", + "version": "0.4.24", + "license": "MIT", + "keywords": [ + "iconv", + "convert", + "charset", + "icu" + ], + "author": "Alexander Shtuchkin ", + "main": "./lib/index.js", + "typings": "./lib/index.d.ts", + "homepage": "https://github.com/ashtuchkin/iconv-lite", + "bugs": "https://github.com/ashtuchkin/iconv-lite/issues", + "repository": { + "type": "git", + "url": "git://github.com/ashtuchkin/iconv-lite.git" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "coverage": "istanbul cover _mocha -- --grep .", + "coverage-open": "open coverage/lcov-report/index.html", + "test": "mocha --reporter spec --grep ." + }, + "browser": { + "./lib/extend-node": false, + "./lib/streams": false + }, + "devDependencies": { + "mocha": "^3.1.0", + "request": "~2.87.0", + "unorm": "*", + "errto": "*", + "async": "*", + "istanbul": "*", + "semver": "*", + "iconv": "*" + }, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + } } diff --git a/node_modules/ieee754/package.json b/node_modules/ieee754/package.json index edc0cc27..7b238513 100644 --- a/node_modules/ieee754/package.json +++ b/node_modules/ieee754/package.json @@ -1,67 +1,20 @@ { - "_args": [ - [ - "ieee754@1.2.1", - "/var/www/html/arclight" - ] - ], - "_from": "ieee754@1.2.1", - "_id": "ieee754@1.2.1", - "_inBundle": false, - "_integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "_location": "/ieee754", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ieee754@1.2.1", - "name": "ieee754", - "escapedName": "ieee754", - "rawSpec": "1.2.1", - "saveSpec": null, - "fetchSpec": "1.2.1" - }, - "_requiredBy": [ - "/buffer" - ], - "_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "_spec": "1.2.1", - "_where": "/var/www/html/arclight", + "name": "ieee754", + "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", + "version": "1.2.1", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", "url": "https://feross.org" }, - "bugs": { - "url": "https://github.com/feross/ieee754/issues" - }, "contributors": [ - { - "name": "Romain Beauxis", - "email": "toots@rastageeks.org" - } + "Romain Beauxis " ], - "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", "devDependencies": { "airtap": "^3.0.0", "standard": "*", "tape": "^5.0.1" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "homepage": "https://github.com/feross/ieee754#readme", "keywords": [ "IEEE 754", "buffer", @@ -71,7 +24,7 @@ ], "license": "BSD-3-Clause", "main": "index.js", - "name": "ieee754", + "types": "index.d.ts", "repository": { "type": "git", "url": "git://github.com/feross/ieee754.git" @@ -82,6 +35,18 @@ "test-browser-local": "airtap --local -- test/*.js", "test-node": "tape test/*.js" }, - "types": "index.d.ts", - "version": "1.2.1" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] } diff --git a/node_modules/inherits/package.json b/node_modules/inherits/package.json index 3f03e544..37b4366b 100644 --- a/node_modules/inherits/package.json +++ b/node_modules/inherits/package.json @@ -1,48 +1,7 @@ { - "_args": [ - [ - "inherits@2.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "inherits@2.0.4", - "_id": "inherits@2.0.4", - "_inBundle": false, - "_integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "_location": "/inherits", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "inherits@2.0.4", - "name": "inherits", - "escapedName": "inherits", - "rawSpec": "2.0.4", - "saveSpec": null, - "fetchSpec": "2.0.4" - }, - "_requiredBy": [ - "/asn1.js", - "/glob", - "/http-errors", - "/readable-stream" - ], - "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "_spec": "2.0.4", - "_where": "/var/www/html/arclight", - "browser": "./inherits_browser.js", - "bugs": { - "url": "https://github.com/isaacs/inherits/issues" - }, + "name": "inherits", "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", - "devDependencies": { - "tap": "^14.2.4" - }, - "files": [ - "inherits.js", - "inherits_browser.js" - ], - "homepage": "https://github.com/isaacs/inherits#readme", + "version": "2.0.4", "keywords": [ "inheritance", "class", @@ -53,15 +12,18 @@ "browser", "browserify" ], - "license": "ISC", "main": "./inherits.js", - "name": "inherits", - "repository": { - "type": "git", - "url": "git://github.com/isaacs/inherits.git" - }, + "browser": "./inherits_browser.js", + "repository": "git://github.com/isaacs/inherits", + "license": "ISC", "scripts": { "test": "tap" }, - "version": "2.0.4" + "devDependencies": { + "tap": "^14.2.4" + }, + "files": [ + "inherits.js", + "inherits_browser.js" + ] } diff --git a/node_modules/ip/package.json b/node_modules/ip/package.json index 4fe0823e..70e1a4f0 100644 --- a/node_modules/ip/package.json +++ b/node_modules/ip/package.json @@ -1,60 +1,25 @@ { - "_args": [ - [ - "ip@1.1.8", - "/var/www/html/arclight" - ] - ], - "_from": "ip@1.1.8", - "_id": "ip@1.1.8", - "_inBundle": false, - "_integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", - "_location": "/ip", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ip@1.1.8", - "name": "ip", - "escapedName": "ip", - "rawSpec": "1.1.8", - "saveSpec": null, - "fetchSpec": "1.1.8" - }, - "_requiredBy": [ - "/socks" - ], - "_resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "_spec": "1.1.8", - "_where": "/var/www/html/arclight", - "author": { - "name": "Fedor Indutny", - "email": "fedor@indutny.com" - }, - "bugs": { - "url": "https://github.com/indutny/node-ip/issues" - }, - "description": "[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)", - "devDependencies": { - "eslint": "^8.15.0", - "mocha": "^10.0.0" + "name": "ip", + "version": "1.1.8", + "author": "Fedor Indutny ", + "homepage": "https://github.com/indutny/node-ip", + "repository": { + "type": "git", + "url": "http://github.com/indutny/node-ip.git" }, "files": [ "lib", "README.md" ], - "homepage": "https://github.com/indutny/node-ip", - "license": "MIT", "main": "lib/ip", - "name": "ip", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/indutny/node-ip.git" + "devDependencies": { + "eslint": "^8.15.0", + "mocha": "^10.0.0" }, "scripts": { - "fix": "npm run lint -- --fix", "lint": "eslint lib/*.js test/*.js", - "test": "npm run lint && mocha --reporter spec test/*-test.js" + "test": "npm run lint && mocha --reporter spec test/*-test.js", + "fix": "npm run lint -- --fix" }, - "version": "1.1.8" + "license": "MIT" } diff --git a/node_modules/ipaddr.js/package.json b/node_modules/ipaddr.js/package.json index 332fe93d..f4d35475 100644 --- a/node_modules/ipaddr.js/package.json +++ b/node_modules/ipaddr.js/package.json @@ -1,73 +1,35 @@ { - "_args": [ - [ - "ipaddr.js@1.9.1", - "/var/www/html/arclight" - ] - ], - "_from": "ipaddr.js@1.9.1", - "_id": "ipaddr.js@1.9.1", - "_inBundle": false, - "_integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "_location": "/ipaddr.js", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ipaddr.js@1.9.1", - "name": "ipaddr.js", - "escapedName": "ipaddr.js", - "rawSpec": "1.9.1", - "saveSpec": null, - "fetchSpec": "1.9.1" - }, - "_requiredBy": [ - "/proxy-addr" - ], - "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "_spec": "1.9.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "whitequark", - "email": "whitequark@whitequark.org" - }, - "bugs": { - "url": "https://github.com/whitequark/ipaddr.js/issues" + "name": "ipaddr.js", + "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.", + "version": "1.9.1", + "author": "whitequark ", + "directories": { + "lib": "./lib" }, "dependencies": {}, - "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.", "devDependencies": { "coffee-script": "~1.12.6", "nodeunit": "^0.11.3", "uglify-js": "~3.0.19" }, - "directories": { - "lib": "./lib" - }, - "engines": { - "node": ">= 0.10" + "scripts": { + "test": "cake build test" }, "files": [ "lib/", "LICENSE", "ipaddr.min.js" ], - "homepage": "https://github.com/whitequark/ipaddr.js#readme", "keywords": [ "ip", "ipv4", "ipv6" ], - "license": "MIT", + "repository": "git://github.com/whitequark/ipaddr.js", "main": "./lib/ipaddr.js", - "name": "ipaddr.js", - "repository": { - "type": "git", - "url": "git://github.com/whitequark/ipaddr.js.git" - }, - "scripts": { - "test": "cake build test" + "engines": { + "node": ">= 0.10" }, - "types": "./lib/ipaddr.js.d.ts", - "version": "1.9.1" + "license": "MIT", + "types": "./lib/ipaddr.js.d.ts" } diff --git a/node_modules/jsonwebtoken/node_modules/ms/package.json b/node_modules/jsonwebtoken/node_modules/ms/package.json index 1bc25b51..49971890 100644 --- a/node_modules/jsonwebtoken/node_modules/ms/package.json +++ b/node_modules/jsonwebtoken/node_modules/ms/package.json @@ -1,43 +1,16 @@ { - "_args": [ - [ - "ms@2.1.3", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.1.3", - "_id": "ms@2.1.3", - "_inBundle": false, - "_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "_location": "/jsonwebtoken/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.1.3", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.1.3", - "saveSpec": null, - "fetchSpec": "2.1.3" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "_spec": "2.1.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/vercel/ms/issues" - }, + "name": "ms", + "version": "2.1.3", "description": "Tiny millisecond conversion utility", - "devDependencies": { - "eslint": "4.18.2", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1", - "prettier": "2.0.5" + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -46,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/vercel/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -58,16 +26,13 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/vercel/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.1.3" + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } } diff --git a/node_modules/jsonwebtoken/package.json b/node_modules/jsonwebtoken/package.json index 0294e318..81d63da8 100644 --- a/node_modules/jsonwebtoken/package.json +++ b/node_modules/jsonwebtoken/package.json @@ -1,36 +1,37 @@ { - "_args": [ - [ - "jsonwebtoken@8.5.1", - "/var/www/html/arclight" + "name": "jsonwebtoken", + "version": "8.5.1", + "description": "JSON Web Token implementation (symmetric and asymmetric)", + "main": "index.js", + "nyc": { + "check-coverage": true, + "lines": 95, + "statements": 95, + "functions": 100, + "branches": 95, + "exclude": [ + "./test/**" + ], + "reporter": [ + "json", + "lcov", + "text-summary" ] - ], - "_from": "jsonwebtoken@8.5.1", - "_id": "jsonwebtoken@8.5.1", - "_inBundle": false, - "_integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", - "_location": "/jsonwebtoken", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "jsonwebtoken@8.5.1", - "name": "jsonwebtoken", - "escapedName": "jsonwebtoken", - "rawSpec": "8.5.1", - "saveSpec": null, - "fetchSpec": "8.5.1" }, - "_requiredBy": [ - "/", - "/passport-jwt" - ], - "_resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "_spec": "8.5.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "auth0" + "scripts": { + "lint": "eslint .", + "coverage": "nyc mocha --use_strict", + "test": "npm run lint && npm run coverage && cost-of-modules" }, + "repository": { + "type": "git", + "url": "https://github.com/auth0/node-jsonwebtoken" + }, + "keywords": [ + "jwt" + ], + "author": "auth0", + "license": "MIT", "bugs": { "url": "https://github.com/auth0/node-jsonwebtoken/issues" }, @@ -46,7 +47,6 @@ "ms": "^2.1.1", "semver": "^5.6.0" }, - "description": "JSON Web Token implementation (symmetric and asymmetric)", "devDependencies": { "atob": "^2.1.2", "chai": "^4.1.2", @@ -59,45 +59,13 @@ "sinon": "^6.0.0" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" + "npm": ">=1.4.28", + "node": ">=4" }, "files": [ "lib", "decode.js", "sign.js", "verify.js" - ], - "homepage": "https://github.com/auth0/node-jsonwebtoken#readme", - "keywords": [ - "jwt" - ], - "license": "MIT", - "main": "index.js", - "name": "jsonwebtoken", - "nyc": { - "check-coverage": true, - "lines": 95, - "statements": 95, - "functions": 100, - "branches": 95, - "exclude": [ - "./test/**" - ], - "reporter": [ - "json", - "lcov", - "text-summary" - ] - }, - "repository": { - "type": "git", - "url": "git+https://github.com/auth0/node-jsonwebtoken.git" - }, - "scripts": { - "coverage": "nyc mocha --use_strict", - "lint": "eslint .", - "test": "npm run lint && npm run coverage && cost-of-modules" - }, - "version": "8.5.1" + ] } diff --git a/node_modules/jwa/package.json b/node_modules/jwa/package.json index fe92f6dd..0777d533 100644 --- a/node_modules/jwa/package.json +++ b/node_modules/jwa/package.json @@ -1,55 +1,29 @@ { - "_args": [ - [ - "jwa@1.4.1", - "/var/www/html/arclight" - ] - ], - "_from": "jwa@1.4.1", - "_id": "jwa@1.4.1", - "_inBundle": false, - "_integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "_location": "/jwa", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "jwa@1.4.1", - "name": "jwa", - "escapedName": "jwa", - "rawSpec": "1.4.1", - "saveSpec": null, - "fetchSpec": "1.4.1" - }, - "_requiredBy": [ - "/jws" - ], - "_resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "_spec": "1.4.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Brian J. Brennan", - "email": "brianloveswords@gmail.com" - }, - "bugs": { - "url": "https://github.com/brianloveswords/node-jwa/issues" + "name": "jwa", + "version": "1.4.1", + "description": "JWA implementation (supports all JWS algorithms)", + "main": "index.js", + "directories": { + "test": "test" }, "dependencies": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" }, - "description": "JWA implementation (supports all JWS algorithms)", "devDependencies": { "base64url": "^2.0.0", "jwk-to-pem": "^2.0.1", "semver": "4.3.6", "tap": "6.2.0" }, - "directories": { - "test": "test" + "scripts": { + "test": "make test" + }, + "repository": { + "type": "git", + "url": "git://github.com/brianloveswords/node-jwa.git" }, - "homepage": "https://github.com/brianloveswords/node-jwa#readme", "keywords": [ "jwa", "jws", @@ -58,15 +32,6 @@ "ecdsa", "hmac" ], - "license": "MIT", - "main": "index.js", - "name": "jwa", - "repository": { - "type": "git", - "url": "git://github.com/brianloveswords/node-jwa.git" - }, - "scripts": { - "test": "make test" - }, - "version": "1.4.1" + "author": "Brian J. Brennan ", + "license": "MIT" } diff --git a/node_modules/jws/package.json b/node_modules/jws/package.json index 3a0351a7..3fb28375 100644 --- a/node_modules/jws/package.json +++ b/node_modules/jws/package.json @@ -1,67 +1,34 @@ { - "_args": [ - [ - "jws@3.2.2", - "/var/www/html/arclight" - ] - ], - "_from": "jws@3.2.2", - "_id": "jws@3.2.2", - "_inBundle": false, - "_integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "_location": "/jws", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "jws@3.2.2", - "name": "jws", - "escapedName": "jws", - "rawSpec": "3.2.2", - "saveSpec": null, - "fetchSpec": "3.2.2" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "_spec": "3.2.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Brian J Brennan" - }, - "bugs": { - "url": "https://github.com/brianloveswords/node-jws/issues" - }, - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - }, + "name": "jws", + "version": "3.2.2", "description": "Implementation of JSON Web Signatures", - "devDependencies": { - "semver": "^5.1.0", - "tape": "~2.14.0" - }, + "main": "index.js", "directories": { "test": "test" }, - "gitHead": "c0f6b27bcea5a2ad2e304d91c2e842e4076a6b03", - "homepage": "https://github.com/brianloveswords/node-jws#readme", + "scripts": { + "test": "make test" + }, + "repository": { + "type": "git", + "url": "git://github.com/brianloveswords/node-jws.git" + }, "keywords": [ "jws", "json", "web", "signatures" ], + "author": "Brian J Brennan", "license": "MIT", - "main": "index.js", - "name": "jws", - "repository": { - "type": "git", - "url": "git://github.com/brianloveswords/node-jws.git" - }, - "scripts": { - "test": "make test" + "readmeFilename": "readme.md", + "gitHead": "c0f6b27bcea5a2ad2e304d91c2e842e4076a6b03", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" }, - "version": "3.2.2" + "devDependencies": { + "semver": "^5.1.0", + "tape": "~2.14.0" + } } diff --git a/node_modules/kareem/package.json b/node_modules/kareem/package.json index 92f84f8f..437dded9 100644 --- a/node_modules/kareem/package.json +++ b/node_modules/kareem/package.json @@ -1,40 +1,17 @@ { - "_args": [ - [ - "kareem@2.4.1", - "/var/www/html/arclight" - ] - ], - "_from": "kareem@2.4.1", - "_id": "kareem@2.4.1", - "_inBundle": false, - "_integrity": "sha512-aJ9opVoXroQUPfovYP5kaj2lM7Jn02Gw13bL0lg9v0V7SaUc0qavPs0Eue7d2DcC3NjqI6QAUElXNsuZSeM+EA==", - "_location": "/kareem", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "kareem@2.4.1", - "name": "kareem", - "escapedName": "kareem", - "rawSpec": "2.4.1", - "saveSpec": null, - "fetchSpec": "2.4.1" - }, - "_requiredBy": [ - "/mongoose" - ], - "_resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz", - "_spec": "2.4.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Valeri Karpov", - "email": "val@karpov.io" + "name": "kareem", + "version": "2.4.1", + "description": "Next-generation take on pre/post function hooks", + "main": "index.js", + "scripts": { + "lint": "eslint .", + "test": "mocha ./test/*", + "test-travis": "nyc mocha ./test/*" }, - "bugs": { - "url": "https://github.com/vkarpov15/kareem/issues" + "repository": { + "type": "git", + "url": "git://github.com/vkarpov15/kareem.git" }, - "description": "Next-generation take on pre/post function hooks", "devDependencies": { "@masteringjs/eslint-config": "0.0.1", "acquit": "1.x", @@ -43,18 +20,6 @@ "mocha": "9.2.0", "nyc": "15.1.0" }, - "homepage": "https://github.com/vkarpov15/kareem#readme", - "license": "Apache-2.0", - "main": "index.js", - "name": "kareem", - "repository": { - "type": "git", - "url": "git://github.com/vkarpov15/kareem.git" - }, - "scripts": { - "lint": "eslint .", - "test": "mocha ./test/*", - "test-travis": "nyc mocha ./test/*" - }, - "version": "2.4.1" + "author": "Valeri Karpov ", + "license": "Apache-2.0" } diff --git a/node_modules/kruptein/package.json b/node_modules/kruptein/package.json old mode 100644 new mode 100755 index 7bb1ccdf..d7445741 --- a/node_modules/kruptein/package.json +++ b/node_modules/kruptein/package.json @@ -1,52 +1,7 @@ { - "_args": [ - [ - "kruptein@3.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "kruptein@3.0.4", - "_id": "kruptein@3.0.4", - "_inBundle": false, - "_integrity": "sha512-614v+4fgOkcw98lI7rMO9HZ+Y2cK6MGYcR/NSVhRXcClUb72LTAf2NibAh8CKSjalY81rfrrjLQgb8TW9RP03Q==", - "_location": "/kruptein", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "kruptein@3.0.4", - "name": "kruptein", - "escapedName": "kruptein", - "rawSpec": "3.0.4", - "saveSpec": null, - "fetchSpec": "3.0.4" - }, - "_requiredBy": [ - "/connect-mongo" - ], - "_resolved": "https://registry.npmjs.org/kruptein/-/kruptein-3.0.4.tgz", - "_spec": "3.0.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jason Gerfen", - "email": "jason.gerfen@gmail.com" - }, - "bugs": { - "url": "https://github.com/jas-/kruptein/issues" - }, - "dependencies": { - "asn1.js": "^5.4.1" - }, + "name": "kruptein", + "version": "3.0.4", "description": "crypto; from kruptein to hide or conceal", - "devDependencies": { - "expect.js": "^0.3.1", - "mocha": "^9.2.2", - "nyc": "^15.1.0" - }, - "engines": { - "node": ">8" - }, - "homepage": "https://github.com/jas-/kruptein#readme", "keywords": [ "crypto", "cryptography", @@ -69,14 +24,30 @@ "security", "asn.1" ], + "author": { + "name": "Jason Gerfen", + "email": "jason.gerfen@gmail.com" + }, "license": "MIT", - "name": "kruptein", "repository": { "type": "git", - "url": "git+https://github.com/jas-/kruptein.git" + "url": "https://github.com/jas-/kruptein.git" + }, + "bugs": { + "url": "https://github.com/jas-/kruptein/issues" + }, + "devDependencies": { + "expect.js": "^0.3.1", + "mocha": "^9.2.2", + "nyc": "^15.1.0" }, "scripts": { "test": "nyc mocha test/*.js" }, - "version": "3.0.4" + "engines": { + "node": ">8" + }, + "dependencies": { + "asn1.js": "^5.4.1" + } } diff --git a/node_modules/lodash.includes/package.json b/node_modules/lodash.includes/package.json index e3307c14..a02e645d 100644 --- a/node_modules/lodash.includes/package.json +++ b/node_modules/lodash.includes/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.includes@4.3.0", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.includes@4.3.0", - "_id": "lodash.includes@4.3.0", - "_inBundle": false, - "_integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "_location": "/lodash.includes", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.includes@4.3.0", - "name": "lodash.includes", - "escapedName": "lodash.includes", - "rawSpec": "4.3.0", - "saveSpec": null, - "fetchSpec": "4.3.0" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "_spec": "4.3.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.includes", + "version": "4.3.0", "description": "The lodash method `_.includes` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "includes" - ], "license": "MIT", - "name": "lodash.includes", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "4.3.0" + "keywords": "lodash-modularized, includes", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.isboolean/package.json b/node_modules/lodash.isboolean/package.json index b8016f55..01d6e8b9 100644 --- a/node_modules/lodash.isboolean/package.json +++ b/node_modules/lodash.isboolean/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.isboolean@3.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.isboolean@3.0.3", - "_id": "lodash.isboolean@3.0.3", - "_inBundle": false, - "_integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "_location": "/lodash.isboolean", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.isboolean@3.0.3", - "name": "lodash.isboolean", - "escapedName": "lodash.isboolean", - "rawSpec": "3.0.3", - "saveSpec": null, - "fetchSpec": "3.0.3" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "_spec": "3.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine@iceddev.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.isboolean", + "version": "3.0.3", "description": "The lodash method `_.isBoolean` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "isboolean" - ], "license": "MIT", - "name": "lodash.isboolean", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "3.0.3" + "keywords": "lodash-modularized, isboolean", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.isinteger/package.json b/node_modules/lodash.isinteger/package.json index f161d5d9..92db256f 100644 --- a/node_modules/lodash.isinteger/package.json +++ b/node_modules/lodash.isinteger/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.isinteger@4.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.isinteger@4.0.4", - "_id": "lodash.isinteger@4.0.4", - "_inBundle": false, - "_integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "_location": "/lodash.isinteger", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.isinteger@4.0.4", - "name": "lodash.isinteger", - "escapedName": "lodash.isinteger", - "rawSpec": "4.0.4", - "saveSpec": null, - "fetchSpec": "4.0.4" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "_spec": "4.0.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.isinteger", + "version": "4.0.4", "description": "The lodash method `_.isInteger` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "isinteger" - ], "license": "MIT", - "name": "lodash.isinteger", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "4.0.4" + "keywords": "lodash-modularized, isinteger", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.isnumber/package.json b/node_modules/lodash.isnumber/package.json index 1d092b8a..4c33c2a3 100644 --- a/node_modules/lodash.isnumber/package.json +++ b/node_modules/lodash.isnumber/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.isnumber@3.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.isnumber@3.0.3", - "_id": "lodash.isnumber@3.0.3", - "_inBundle": false, - "_integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "_location": "/lodash.isnumber", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.isnumber@3.0.3", - "name": "lodash.isnumber", - "escapedName": "lodash.isnumber", - "rawSpec": "3.0.3", - "saveSpec": null, - "fetchSpec": "3.0.3" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "_spec": "3.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine@iceddev.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.isnumber", + "version": "3.0.3", "description": "The lodash method `_.isNumber` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "isnumber" - ], "license": "MIT", - "name": "lodash.isnumber", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "3.0.3" + "keywords": "lodash-modularized, isnumber", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.isplainobject/package.json b/node_modules/lodash.isplainobject/package.json index 3b2210f3..86f6a07e 100644 --- a/node_modules/lodash.isplainobject/package.json +++ b/node_modules/lodash.isplainobject/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.isplainobject@4.0.6", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.isplainobject@4.0.6", - "_id": "lodash.isplainobject@4.0.6", - "_inBundle": false, - "_integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "_location": "/lodash.isplainobject", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.isplainobject@4.0.6", - "name": "lodash.isplainobject", - "escapedName": "lodash.isplainobject", - "rawSpec": "4.0.6", - "saveSpec": null, - "fetchSpec": "4.0.6" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "_spec": "4.0.6", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.isplainobject", + "version": "4.0.6", "description": "The lodash method `_.isPlainObject` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "isplainobject" - ], "license": "MIT", - "name": "lodash.isplainobject", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "4.0.6" + "keywords": "lodash-modularized, isplainobject", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.isstring/package.json b/node_modules/lodash.isstring/package.json index 361a7ceb..1331535d 100644 --- a/node_modules/lodash.isstring/package.json +++ b/node_modules/lodash.isstring/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.isstring@4.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.isstring@4.0.1", - "_id": "lodash.isstring@4.0.1", - "_inBundle": false, - "_integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "_location": "/lodash.isstring", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.isstring@4.0.1", - "name": "lodash.isstring", - "escapedName": "lodash.isstring", - "rawSpec": "4.0.1", - "saveSpec": null, - "fetchSpec": "4.0.1" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "_spec": "4.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine@iceddev.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.isstring", + "version": "4.0.1", "description": "The lodash method `_.isString` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "isstring" - ], "license": "MIT", - "name": "lodash.isstring", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "4.0.1" + "keywords": "lodash-modularized, isstring", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash.once/package.json b/node_modules/lodash.once/package.json index 19b2bd40..fae782c2 100644 --- a/node_modules/lodash.once/package.json +++ b/node_modules/lodash.once/package.json @@ -1,72 +1,17 @@ { - "_args": [ - [ - "lodash.once@4.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "lodash.once@4.1.1", - "_id": "lodash.once@4.1.1", - "_inBundle": false, - "_integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "_location": "/lodash.once", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash.once@4.1.1", - "name": "lodash.once", - "escapedName": "lodash.once", - "rawSpec": "4.1.1", - "saveSpec": null, - "fetchSpec": "4.1.1" - }, - "_requiredBy": [ - "/jsonwebtoken" - ], - "_resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "_spec": "4.1.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com", - "url": "http://allyoucanleet.com/" - }, - { - "name": "Blaine Bublitz", - "email": "blaine.bublitz@gmail.com", - "url": "https://github.com/phated" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be", - "url": "https://mathiasbynens.be/" - } - ], + "name": "lodash.once", + "version": "4.1.1", "description": "The lodash method `_.once` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "lodash-modularized", - "once" - ], "license": "MIT", - "name": "lodash.once", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" - }, - "version": "4.1.1" + "keywords": "lodash-modularized, once", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Blaine Bublitz (https://github.com/phated)", + "Mathias Bynens (https://mathiasbynens.be/)" + ], + "repository": "lodash/lodash", + "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" } } diff --git a/node_modules/lodash/package.json b/node_modules/lodash/package.json index c7c1815b..b35fd95c 100644 --- a/node_modules/lodash/package.json +++ b/node_modules/lodash/package.json @@ -1,66 +1,17 @@ { - "_args": [ - [ - "lodash@4.17.21", - "/var/www/html/arclight" - ] - ], - "_from": "lodash@4.17.21", - "_id": "lodash@4.17.21", - "_inBundle": false, - "_integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "_location": "/lodash", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lodash@4.17.21", - "name": "lodash", - "escapedName": "lodash", - "rawSpec": "4.17.21", - "saveSpec": null, - "fetchSpec": "4.17.21" - }, - "_requiredBy": [ - "/express-validator" - ], - "_resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "_spec": "4.17.21", - "_where": "/var/www/html/arclight", - "author": { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com" - }, - "bugs": { - "url": "https://github.com/lodash/lodash/issues" - }, - "contributors": [ - { - "name": "John-David Dalton", - "email": "john.david.dalton@gmail.com" - }, - { - "name": "Mathias Bynens", - "email": "mathias@qiwi.be" - } - ], + "name": "lodash", + "version": "4.17.21", "description": "Lodash modular utilities.", + "keywords": "modules, stdlib, util", "homepage": "https://lodash.com/", + "repository": "lodash/lodash", "icon": "https://lodash.com/icon.svg", - "keywords": [ - "modules", - "stdlib", - "util" - ], "license": "MIT", "main": "lodash.js", - "name": "lodash", - "repository": { - "type": "git", - "url": "git+https://github.com/lodash/lodash.git" - }, - "scripts": { - "test": "echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\"" - }, - "version": "4.17.21" + "author": "John-David Dalton ", + "contributors": [ + "John-David Dalton ", + "Mathias Bynens " + ], + "scripts": { "test": "echo \"See https://travis-ci.org/lodash-archive/lodash-cli for testing details.\"" } } diff --git a/node_modules/media-typer/package.json b/node_modules/media-typer/package.json index b92e25db..8cf3ebcd 100644 --- a/node_modules/media-typer/package.json +++ b/node_modules/media-typer/package.json @@ -1,64 +1,26 @@ { - "_args": [ - [ - "media-typer@0.3.0", - "/var/www/html/arclight" - ] - ], - "_from": "media-typer@0.3.0", - "_id": "media-typer@0.3.0", - "_inBundle": false, - "_integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", - "_location": "/media-typer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "media-typer@0.3.0", - "name": "media-typer", - "escapedName": "media-typer", - "rawSpec": "0.3.0", - "saveSpec": null, - "fetchSpec": "0.3.0" - }, - "_requiredBy": [ - "/type-is" - ], - "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "_spec": "0.3.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/media-typer/issues" - }, + "name": "media-typer", "description": "Simple RFC 6838 media type parser and formatter", + "version": "0.3.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "jshttp/media-typer", "devDependencies": { "istanbul": "0.3.2", "mocha": "~1.21.4", "should": "~4.0.4" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "homepage": "https://github.com/jshttp/media-typer#readme", - "license": "MIT", - "name": "media-typer", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/media-typer.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "test": "mocha --reporter spec --check-leaks --bail test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "0.3.0" + } } diff --git a/node_modules/memory-pager/package.json b/node_modules/memory-pager/package.json index 6c7374c9..f4847e8c 100644 --- a/node_modules/memory-pager/package.json +++ b/node_modules/memory-pager/package.json @@ -1,56 +1,24 @@ { - "_args": [ - [ - "memory-pager@1.5.0", - "/var/www/html/arclight" - ] - ], - "_from": "memory-pager@1.5.0", - "_id": "memory-pager@1.5.0", - "_inBundle": false, - "_integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", - "_location": "/memory-pager", - "_optional": true, - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "memory-pager@1.5.0", - "name": "memory-pager", - "escapedName": "memory-pager", - "rawSpec": "1.5.0", - "saveSpec": null, - "fetchSpec": "1.5.0" - }, - "_requiredBy": [ - "/sparse-bitfield" - ], - "_resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", - "_spec": "1.5.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Mathias Buus", - "url": "@mafintosh" - }, - "bugs": { - "url": "https://github.com/mafintosh/memory-pager/issues" - }, - "dependencies": {}, + "name": "memory-pager", + "version": "1.5.0", "description": "Access memory using small fixed sized buffers", + "main": "index.js", + "dependencies": {}, "devDependencies": { "standard": "^9.0.0", "tape": "^4.6.3" }, - "homepage": "https://github.com/mafintosh/memory-pager", - "license": "MIT", - "main": "index.js", - "name": "memory-pager", + "scripts": { + "test": "standard && tape test.js" + }, "repository": { "type": "git", - "url": "git+https://github.com/mafintosh/memory-pager.git" + "url": "https://github.com/mafintosh/memory-pager.git" }, - "scripts": { - "test": "standard && tape test.js" + "author": "Mathias Buus (@mafintosh)", + "license": "MIT", + "bugs": { + "url": "https://github.com/mafintosh/memory-pager/issues" }, - "version": "1.5.0" + "homepage": "https://github.com/mafintosh/memory-pager" } diff --git a/node_modules/merge-descriptors/package.json b/node_modules/merge-descriptors/package.json index 19189222..514cdbd8 100644 --- a/node_modules/merge-descriptors/package.json +++ b/node_modules/merge-descriptors/package.json @@ -1,51 +1,19 @@ { - "_args": [ - [ - "merge-descriptors@1.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "merge-descriptors@1.0.1", - "_id": "merge-descriptors@1.0.1", - "_inBundle": false, - "_integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "_location": "/merge-descriptors", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "merge-descriptors@1.0.1", - "name": "merge-descriptors", - "escapedName": "merge-descriptors", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/var/www/html/arclight", + "name": "merge-descriptors", + "description": "Merge objects using descriptors", + "version": "1.0.1", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/component/merge-descriptors/issues" + "url": "http://jongleberry.com", + "twitter": "https://twitter.com/jongleberry" }, "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Mike Grabowski", - "email": "grabbou@gmail.com" - } + "Douglas Christopher Wilson ", + "Mike Grabowski " ], - "description": "Merge objects using descriptors", + "license": "MIT", + "repository": "component/merge-descriptors", "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" @@ -56,17 +24,9 @@ "README.md", "index.js" ], - "homepage": "https://github.com/component/merge-descriptors#readme", - "license": "MIT", - "name": "merge-descriptors", - "repository": { - "type": "git", - "url": "git+https://github.com/component/merge-descriptors.git" - }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" - }, - "version": "1.0.1" + } } diff --git a/node_modules/methods/package.json b/node_modules/methods/package.json index 06b6aacc..c4ce6f05 100644 --- a/node_modules/methods/package.json +++ b/node_modules/methods/package.json @@ -1,82 +1,36 @@ { - "_args": [ - [ - "methods@1.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "methods@1.1.2", - "_id": "methods@1.1.2", - "_inBundle": false, - "_integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", - "_location": "/methods", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "methods@1.1.2", - "name": "methods", - "escapedName": "methods", - "rawSpec": "1.1.2", - "saveSpec": null, - "fetchSpec": "1.1.2" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "_spec": "1.1.2", - "_where": "/var/www/html/arclight", - "browser": { - "http": false - }, - "bugs": { - "url": "https://github.com/jshttp/methods/issues" - }, + "name": "methods", + "description": "HTTP methods that node supports", + "version": "1.1.2", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca", - "url": "http://tjholowaychuk.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)", + "TJ Holowaychuk (http://tjholowaychuk.com)" ], - "description": "HTTP methods that node supports", + "license": "MIT", + "repository": "jshttp/methods", "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "index.js", "HISTORY.md", "LICENSE" ], - "homepage": "https://github.com/jshttp/methods#readme", - "keywords": [ - "http", - "methods" - ], - "license": "MIT", - "name": "methods", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/methods.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" }, - "version": "1.1.2" + "browser": { + "http": false + }, + "keywords": [ + "http", + "methods" + ] } diff --git a/node_modules/mime-db/package.json b/node_modules/mime-db/package.json index fe29ee20..32c14b84 100644 --- a/node_modules/mime-db/package.json +++ b/node_modules/mime-db/package.json @@ -1,52 +1,23 @@ { - "_args": [ - [ - "mime-db@1.52.0", - "/var/www/html/arclight" - ] - ], - "_from": "mime-db@1.52.0", - "_id": "mime-db@1.52.0", - "_inBundle": false, - "_integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "_location": "/mime-db", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mime-db@1.52.0", - "name": "mime-db", - "escapedName": "mime-db", - "rawSpec": "1.52.0", - "saveSpec": null, - "fetchSpec": "1.52.0" - }, - "_requiredBy": [ - "/mime-types" - ], - "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "_spec": "1.52.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/mime-db/issues" - }, + "name": "mime-db", + "description": "Media Type Database", + "version": "1.52.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - { - "name": "Robert Kieffer", - "email": "robert@broofa.com", - "url": "http://github.com/broofa" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)", + "Robert Kieffer (http://github.com/broofa)" ], - "description": "Media Type Database", + "license": "MIT", + "keywords": [ + "mime", + "db", + "type", + "types", + "database", + "charset", + "charsets" + ], + "repository": "jshttp/mime-db", "devDependencies": { "bluebird": "3.7.2", "co": "4.6.0", @@ -66,9 +37,6 @@ "raw-body": "2.5.0", "stream-to-array": "2.3.0" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", @@ -76,21 +44,8 @@ "db.json", "index.js" ], - "homepage": "https://github.com/jshttp/mime-db#readme", - "keywords": [ - "mime", - "db", - "type", - "types", - "database", - "charset", - "charsets" - ], - "license": "MIT", - "name": "mime-db", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/mime-db.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "build": "node scripts/build", @@ -101,6 +56,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "update": "npm run fetch && npm run build", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "1.52.0" + } } diff --git a/node_modules/mime-types/package.json b/node_modules/mime-types/package.json index ee8bfd9f..bbef6964 100644 --- a/node_modules/mime-types/package.json +++ b/node_modules/mime-types/package.json @@ -1,56 +1,21 @@ { - "_args": [ - [ - "mime-types@2.1.35", - "/var/www/html/arclight" - ] - ], - "_from": "mime-types@2.1.35", - "_id": "mime-types@2.1.35", - "_inBundle": false, - "_integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "_location": "/mime-types", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mime-types@2.1.35", - "name": "mime-types", - "escapedName": "mime-types", - "rawSpec": "2.1.35", - "saveSpec": null, - "fetchSpec": "2.1.35" - }, - "_requiredBy": [ - "/accepts", - "/type-is" - ], - "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "_spec": "2.1.35", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/mime-types/issues" - }, + "name": "mime-types", + "description": "The ultimate javascript content-type utility.", + "version": "2.1.35", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jeremiah Senkpiel", - "email": "fishrock123@rocketmail.com", - "url": "https://searchbeam.jit.su" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jeremiah Senkpiel (https://searchbeam.jit.su)", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "keywords": [ + "mime", + "types" + ], + "repository": "jshttp/mime-types", "dependencies": { "mime-db": "1.52.0" }, - "description": "The ultimate javascript content-type utility.", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -62,30 +27,18 @@ "mocha": "9.2.2", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/mime-types#readme", - "keywords": [ - "mime", - "types" - ], - "license": "MIT", - "name": "mime-types", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/mime-types.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec test/test.js", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "2.1.35" + } } diff --git a/node_modules/minimalistic-assert/package.json b/node_modules/minimalistic-assert/package.json index 85c0822e..f8de10d9 100644 --- a/node_modules/minimalistic-assert/package.json +++ b/node_modules/minimalistic-assert/package.json @@ -1,47 +1,19 @@ { - "_args": [ - [ - "minimalistic-assert@1.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "minimalistic-assert@1.0.1", - "_id": "minimalistic-assert@1.0.1", - "_inBundle": false, - "_integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", - "_location": "/minimalistic-assert", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "minimalistic-assert@1.0.1", - "name": "minimalistic-assert", - "escapedName": "minimalistic-assert", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" - }, - "_requiredBy": [ - "/asn1.js" - ], - "_resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/var/www/html/arclight", - "author": "", - "bugs": { - "url": "https://github.com/calvinmetcalf/minimalistic-assert/issues" - }, + "name": "minimalistic-assert", + "version": "1.0.1", "description": "minimalistic-assert ===", - "homepage": "https://github.com/calvinmetcalf/minimalistic-assert", - "license": "ISC", "main": "index.js", - "name": "minimalistic-assert", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, "repository": { "type": "git", - "url": "git+https://github.com/calvinmetcalf/minimalistic-assert.git" + "url": "https://github.com/calvinmetcalf/minimalistic-assert.git" }, - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/calvinmetcalf/minimalistic-assert/issues" }, - "version": "1.0.1" + "homepage": "https://github.com/calvinmetcalf/minimalistic-assert" } diff --git a/node_modules/minimatch/package.json b/node_modules/minimatch/package.json index 210a903d..566efdfe 100644 --- a/node_modules/minimatch/package.json +++ b/node_modules/minimatch/package.json @@ -1,59 +1,8 @@ { - "_args": [ - [ - "minimatch@3.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "minimatch@3.1.2", - "_id": "minimatch@3.1.2", - "_inBundle": false, - "_integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "_location": "/minimatch", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "minimatch@3.1.2", - "name": "minimatch", - "escapedName": "minimatch", - "rawSpec": "3.1.2", - "saveSpec": null, - "fetchSpec": "3.1.2" - }, - "_requiredBy": [ - "/glob", - "/jake", - "/nodemon" - ], - "_resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "_spec": "3.1.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me" - }, - "bugs": { - "url": "https://github.com/isaacs/minimatch/issues" - }, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "description": "a glob matcher in javascript", - "devDependencies": { - "tap": "^15.1.6" - }, - "engines": { - "node": "*" - }, - "files": [ - "minimatch.js" - ], - "homepage": "https://github.com/isaacs/minimatch#readme", - "license": "ISC", - "main": "minimatch.js", + "author": "Isaac Z. Schlueter (http://blog.izs.me)", "name": "minimatch", + "description": "a glob matcher in javascript", + "version": "3.1.2", "publishConfig": { "tag": "v3-legacy" }, @@ -61,11 +10,24 @@ "type": "git", "url": "git://github.com/isaacs/minimatch.git" }, + "main": "minimatch.js", "scripts": { - "postpublish": "git push origin --all; git push origin --tags", - "postversion": "npm publish", + "test": "tap", "preversion": "npm test", - "test": "tap" + "postversion": "npm publish", + "postpublish": "git push origin --all; git push origin --tags" + }, + "engines": { + "node": "*" + }, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "devDependencies": { + "tap": "^15.1.6" }, - "version": "3.1.2" + "license": "ISC", + "files": [ + "minimatch.js" + ] } diff --git a/node_modules/mongodb-connection-string-url/package.json b/node_modules/mongodb-connection-string-url/package.json index fa6eb5ec..cfb44d9f 100644 --- a/node_modules/mongodb-connection-string-url/package.json +++ b/node_modules/mongodb-connection-string-url/package.json @@ -1,40 +1,40 @@ { - "_args": [ - [ - "mongodb-connection-string-url@2.5.2", - "/var/www/html/arclight" - ] + "name": "mongodb-connection-string-url", + "version": "2.5.2", + "description": "MongoDB connection strings, based on the WhatWG URL API", + "keywords": [ + "password", + "prompt", + "tty" ], - "_from": "mongodb-connection-string-url@2.5.2", - "_id": "mongodb-connection-string-url@2.5.2", - "_inBundle": false, - "_integrity": "sha512-tWDyIG8cQlI5k3skB6ywaEA5F9f5OntrKKsT/Lteub2zgwSUlhqEN2inGgBTm8bpYJf8QYBdA/5naz65XDpczA==", - "_location": "/mongodb-connection-string-url", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mongodb-connection-string-url@2.5.2", - "name": "mongodb-connection-string-url", - "escapedName": "mongodb-connection-string-url", - "rawSpec": "2.5.2", - "saveSpec": null, - "fetchSpec": "2.5.2" + "homepage": "https://github.com/mongodb-js/mongodb-connection-string-url", + "repository": { + "type": "git", + "url": "https://github.com/mongodb-js/mongodb-connection-string-url.git" }, - "_requiredBy": [ - "/mongodb" - ], - "_resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.5.2.tgz", - "_spec": "2.5.2", - "_where": "/var/www/html/arclight", "bugs": { "url": "https://github.com/mongodb-js/mongodb-connection-string-url/issues" }, - "dependencies": { - "@types/whatwg-url": "^8.2.1", - "whatwg-url": "^11.0.0" + "main": "lib/index.js", + "exports": { + "require": "./lib/index.js", + "import": "./.esm-wrapper.mjs" }, - "description": "MongoDB connection strings, based on the WhatWG URL API", + "files": [ + "LICENSE", + "lib", + "package.json", + "README.md", + ".esm-wrapper.mjs" + ], + "scripts": { + "lint": "eslint \"{src,test}/**/*.ts\"", + "test": "npm run lint && npm run build && nyc mocha --colors -r ts-node/register test/*.ts", + "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", + "prepack": "npm run build", + "compile-ts": "tsc -p tsconfig.json" + }, + "license": "Apache-2.0", "devDependencies": { "@types/chai": "^4.2.5", "@types/mocha": "^8.0.3", @@ -55,36 +55,8 @@ "ts-node": "^9.0.0", "typescript": "^4.0.3" }, - "exports": { - "require": "./lib/index.js", - "import": "./.esm-wrapper.mjs" - }, - "files": [ - "LICENSE", - "lib", - "package.json", - "README.md", - ".esm-wrapper.mjs" - ], - "homepage": "https://github.com/mongodb-js/mongodb-connection-string-url", - "keywords": [ - "password", - "prompt", - "tty" - ], - "license": "Apache-2.0", - "main": "lib/index.js", - "name": "mongodb-connection-string-url", - "repository": { - "type": "git", - "url": "git+https://github.com/mongodb-js/mongodb-connection-string-url.git" - }, - "scripts": { - "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", - "compile-ts": "tsc -p tsconfig.json", - "lint": "eslint \"{src,test}/**/*.ts\"", - "prepack": "npm run build", - "test": "npm run lint && npm run build && nyc mocha --colors -r ts-node/register test/*.ts" - }, - "version": "2.5.2" + "dependencies": { + "@types/whatwg-url": "^8.2.1", + "whatwg-url": "^11.0.0" + } } diff --git a/node_modules/mongodb/etc/prepare.js b/node_modules/mongodb/etc/prepare.js old mode 100644 new mode 100755 diff --git a/node_modules/mongodb/package.json b/node_modules/mongodb/package.json index 93975268..754a6cd9 100644 --- a/node_modules/mongodb/package.json +++ b/node_modules/mongodb/package.json @@ -1,47 +1,35 @@ { - "_args": [ - [ - "mongodb@4.7.0", - "/var/www/html/arclight" - ] + "name": "mongodb", + "version": "4.7.0", + "description": "The official MongoDB driver for Node.js", + "main": "lib/index.js", + "files": [ + "lib", + "src", + "etc/prepare.js", + "mongodb.d.ts", + "tsconfig.json" ], - "_from": "mongodb@4.7.0", - "_id": "mongodb@4.7.0", - "_inBundle": false, - "_integrity": "sha512-HhVar6hsUeMAVlIbwQwWtV36iyjKd9qdhY+s4wcU8K6TOj4Q331iiMy+FoPuxEntDIijTYWivwFJkLv8q/ZgvA==", - "_location": "/mongodb", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mongodb@4.7.0", - "name": "mongodb", - "escapedName": "mongodb", - "rawSpec": "4.7.0", - "saveSpec": null, - "fetchSpec": "4.7.0" + "types": "mongodb.d.ts", + "repository": { + "type": "git", + "url": "git@github.com:mongodb/node-mongodb-native.git" }, - "_requiredBy": [ - "/mongoose" + "keywords": [ + "mongodb", + "driver", + "official" ], - "_resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.7.0.tgz", - "_spec": "4.7.0", - "_where": "/var/www/html/arclight", "author": { "name": "The MongoDB NodeJS Team", "email": "dbx-node@mongodb.com" }, - "bugs": { - "url": "https://jira.mongodb.org/projects/NODE/issues/" - }, "dependencies": { "bson": "^4.6.3", "denque": "^2.0.1", "mongodb-connection-string-url": "^2.5.2", - "saslprep": "^1.0.3", "socks": "^2.6.2" }, - "description": "The official MongoDB driver for Node.js", "devDependencies": { "@iarna/toml": "^2.2.5", "@istanbuljs/nyc-config-typescript": "^1.0.2", @@ -90,58 +78,43 @@ "xml2js": "^0.4.23", "yargs": "^17.4.0" }, + "license": "Apache-2.0", "engines": { "node": ">=12.9.0" }, - "files": [ - "lib", - "src", - "etc/prepare.js", - "mongodb.d.ts", - "tsconfig.json" - ], + "bugs": { + "url": "https://jira.mongodb.org/projects/NODE/issues/" + }, "homepage": "https://github.com/mongodb/node-mongodb-native", - "keywords": [ - "mongodb", - "driver", - "official" - ], - "license": "Apache-2.0", - "main": "lib/index.js", - "name": "mongodb", "optionalDependencies": { "saslprep": "^1.0.3" }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/mongodb/node-mongodb-native.git" - }, "scripts": { - "build:docs": "./etc/docs/build.ts", - "build:dts": "npm run build:ts && api-extractor run && rimraf 'lib/**/*.d.ts*'", "build:evergreen": "node .evergreen/generate_evergreen_tasks.js", "build:ts": "node ./node_modules/typescript/bin/tsc", + "build:dts": "npm run build:ts && api-extractor run && rimraf 'lib/**/*.d.ts*'", + "build:docs": "./etc/docs/build.ts", "build:typedoc": "typedoc", - "check:adl": "mocha --config test/mocha_mongodb.json test/manual/atlas-data-lake-testing", - "check:atlas": "mocha --config test/manual/mocharc.json test/manual/atlas_connectivity.test.js", - "check:aws": "mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.js", "check:bench": "node test/benchmarks/driverBench", "check:coverage": "nyc npm run test:all", - "check:csfle": "mocha --config test/mocha_mongodb.json test/integration/client-side-encryption", - "check:dts": "node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd", - "check:eslint": "eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test", "check:integration-coverage": "nyc npm run check:test", - "check:kerberos": "mocha --config test/manual/mocharc.json test/manual/kerberos.test.js", - "check:ldap": "mocha --config test/manual/mocharc.json test/manual/ldap.test.js", "check:lint": "npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd", - "check:ocsp": "mocha --config test/manual/mocharc.json test/manual/ocsp_support.test.js", - "check:snappy": "mocha test/unit/assorted/snappy.test.js", - "check:socks5": "mocha --config test/manual/mocharc.json test/manual/socks5.test.ts", - "check:test": "mocha --config test/mocha_mongodb.json test/integration", - "check:tls": "mocha --config test/manual/mocharc.json test/manual/tls_support.test.js", - "check:ts": "node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit", + "check:eslint": "eslint -v && eslint --max-warnings=0 --ext '.js,.ts' src test", "check:tsd": "tsd --version && tsd", + "check:dts": "node ./node_modules/typescript/bin/tsc --noEmit mongodb.d.ts && tsd", + "check:test": "mocha --config test/mocha_mongodb.json test/integration", "check:unit": "mocha test/unit", + "check:ts": "node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit", + "check:atlas": "mocha --config test/manual/mocharc.json test/manual/atlas_connectivity.test.js", + "check:adl": "mocha --config test/mocha_mongodb.json test/manual/atlas-data-lake-testing", + "check:aws": "mocha --config test/mocha_mongodb.json test/integration/auth/mongodb_aws.test.js", + "check:ocsp": "mocha --config test/manual/mocharc.json test/manual/ocsp_support.test.js", + "check:kerberos": "mocha --config test/manual/mocharc.json test/manual/kerberos.test.js", + "check:tls": "mocha --config test/manual/mocharc.json test/manual/tls_support.test.js", + "check:ldap": "mocha --config test/manual/mocharc.json test/manual/ldap.test.js", + "check:socks5": "mocha --config test/manual/mocharc.json test/manual/socks5.test.ts", + "check:csfle": "mocha --config test/mocha_mongodb.json test/integration/client-side-encryption", + "check:snappy": "mocha test/unit/assorted/snappy.test.js", "fix:eslint": "npm run check:eslint -- --fix", "prepare": "node etc/prepare.js", "preview:docs": "ts-node etc/docs/preview.ts", @@ -158,7 +131,5 @@ "module": "commonjs", "moduleResolution": "node" } - }, - "types": "mongodb.d.ts", - "version": "4.7.0" + } } diff --git a/node_modules/mongoose/dist/browser.umd.js b/node_modules/mongoose/dist/browser.umd.js index de902f6c..d398868e 100644 --- a/node_modules/mongoose/dist/browser.umd.js +++ b/node_modules/mongoose/dist/browser.umd.js @@ -38841,19 +38841,19 @@ var buffer_1 = buffer$1.Buffer; buffer$1.SlowBuffer; buffer$1.INSPECT_MAX_BYTES; buffer$1.kMaxLength; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ /* global Reflect, Promise */ diff --git a/node_modules/mongoose/node_modules/ms/package.json b/node_modules/mongoose/node_modules/ms/package.json index 31e6a9dd..49971890 100644 --- a/node_modules/mongoose/node_modules/ms/package.json +++ b/node_modules/mongoose/node_modules/ms/package.json @@ -1,43 +1,16 @@ { - "_args": [ - [ - "ms@2.1.3", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.1.3", - "_id": "ms@2.1.3", - "_inBundle": false, - "_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "_location": "/mongoose/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.1.3", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.1.3", - "saveSpec": null, - "fetchSpec": "2.1.3" - }, - "_requiredBy": [ - "/mongoose" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "_spec": "2.1.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/vercel/ms/issues" - }, + "name": "ms", + "version": "2.1.3", "description": "Tiny millisecond conversion utility", - "devDependencies": { - "eslint": "4.18.2", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1", - "prettier": "2.0.5" + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -46,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/vercel/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -58,16 +26,13 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/vercel/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.1.3" + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } } diff --git a/node_modules/mongoose/package.json b/node_modules/mongoose/package.json index bac4dda5..1ee9873c 100644 --- a/node_modules/mongoose/package.json +++ b/node_modules/mongoose/package.json @@ -1,45 +1,23 @@ { - "_args": [ - [ - "mongoose@6.4.1", - "/var/www/html/arclight" - ] - ], - "_from": "mongoose@6.4.1", - "_id": "mongoose@6.4.1", - "_inBundle": false, - "_integrity": "sha512-6a3UmHaC2BYdxZT7qqwORqbxDfAa5HaRMidkA8Ll4Rupnl6R8vRu5Av13jx4DaxgJBpPDo4/K9AXxb+OGSD+5w==", - "_location": "/mongoose", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mongoose@6.4.1", - "name": "mongoose", - "escapedName": "mongoose", - "rawSpec": "6.4.1", - "saveSpec": null, - "fetchSpec": "6.4.1" - }, - "_requiredBy": [ - "/" + "name": "mongoose", + "description": "Mongoose MongoDB ODM", + "version": "6.4.1", + "author": "Guillermo Rauch ", + "keywords": [ + "mongodb", + "document", + "model", + "schema", + "database", + "odm", + "data", + "datastore", + "query", + "nosql", + "orm", + "db" ], - "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-6.4.1.tgz", - "_spec": "6.4.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Guillermo Rauch", - "email": "guillermo@learnboost.com" - }, - "browser": "./dist/browser.umd.js", - "bugs": { - "url": "https://github.com/Automattic/mongoose/issues/new" - }, - "config": { - "mongodbMemoryServer": { - "disablePostinstall": true - } - }, + "license": "MIT", "dependencies": { "bson": "^4.6.2", "kareem": "2.4.1", @@ -49,7 +27,6 @@ "ms": "2.1.3", "sift": "16.0.0" }, - "description": "Mongoose MongoDB ODM", "devDependencies": { "@babel/core": "7.18.2", "@typescript-eslint/eslint-plugin": "5.27.0", @@ -92,75 +69,69 @@ "directories": { "lib": "./lib/mongoose" }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mongoose" - }, - "homepage": "https://mongoosejs.com", - "keywords": [ - "mongodb", - "document", - "model", - "schema", - "database", - "odm", - "data", - "datastore", - "query", - "nosql", - "orm", - "db" - ], - "license": "MIT", - "main": "./index.js", - "mocha": { - "extension": [ - "test.js" - ], - "watch-files": [ - "test/**/*.js" - ] - }, - "name": "mongoose", - "repository": { - "type": "git", - "url": "git://github.com/Automattic/mongoose.git" - }, "scripts": { - "build-browser": "node build-browser.js", - "docs:checkout:gh-pages": "git checkout gh-pages", - "docs:checkout:legacy": "git checkout 5.x", "docs:clean": "npm run docs:clean:stable", - "docs:clean:legacy": "rimraf index.html && rimraf -rf ./docs/5.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp", "docs:clean:stable": "rimraf index.html && rimraf -rf ./docs/*.html && rimraf -rf ./docs/api && rimraf -rf ./docs/tutorials/*.html && rimraf -rf ./docs/typescript/*.html && rimraf -rf ./docs/*.html && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp", + "docs:clean:legacy": "rimraf index.html && rimraf -rf ./docs/5.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp", "docs:copy:tmp": "mkdirp ./tmp/docs/css && mkdirp ./tmp/docs/js && mkdirp ./tmp/docs/images && mkdirp ./tmp/docs/tutorials && mkdirp ./tmp/docs/typescript && ncp ./docs/css ./tmp/docs/css --filter=.css$ && ncp ./docs/js ./tmp/docs/js --filter=.js$ && ncp ./docs/images ./tmp/docs/images && ncp ./docs/tutorials ./tmp/docs/tutorials && ncp ./docs/typescript ./tmp/docs/typescript && cp index.html ./tmp", "docs:copy:tmp:legacy": "rimraf ./docs/5.x && ncp ./tmp ./docs/5.x", + "docs:checkout:gh-pages": "git checkout gh-pages", + "docs:checkout:legacy": "git checkout 5.x", "docs:generate": "node website.js", "docs:generate:search": "node docs/search.js", - "docs:merge:legacy": "git merge 5.x", "docs:merge:stable": "git merge master", - "docs:prepare:publish:legacy": "npm run docs:checkout:legacy && npm run docs:merge:legacy && npm run docs:clean:stable && npm run docs:generate && npm run docs:copy:tmp && docs:checkout:gh-pages && docs:copy:tmp:legacy", - "docs:prepare:publish:stable": "npm run docs:checkout:gh-pages && npm run docs:merge:stable && npm run docs:clean:stable && npm run docs:generate && npm run docs:generate:search", + "docs:merge:legacy": "git merge 5.x", "docs:test": "npm run docs:generate && npm run docs:generate:search", "docs:view": "node website.js && node static.js", + "docs:prepare:publish:stable": "npm run docs:checkout:gh-pages && npm run docs:merge:stable && npm run docs:clean:stable && npm run docs:generate && npm run docs:generate:search", + "docs:prepare:publish:legacy": "npm run docs:checkout:legacy && npm run docs:merge:legacy && npm run docs:clean:stable && npm run docs:generate && npm run docs:copy:tmp && docs:checkout:gh-pages && docs:copy:tmp:legacy", "lint": "eslint .", "lint-js": "eslint . --ext .js", "lint-ts": "eslint . --ext .ts", - "mongo": "node ./tools/repl.js", + "build-browser": "node build-browser.js", "prepublishOnly": "npm run build-browser", "release": "git pull && git push origin master --tags && npm publish", "release-legacy": "git pull origin 5.x && git push origin 5.x --tags && npm publish --tag legacy", - "tdd": "mocha ./test/*.test.js --inspect --watch --recursive --watch-files ./**/*.{js,ts}", + "mongo": "node ./tools/repl.js", "test": "mocha --exit ./test/*.test.js", - "test-coverage": "nyc --reporter=html --reporter=text npm test", "test-rs": "START_REPLICA_SET=1 mocha --timeout 30000 --exit ./test/*.test.js", "test-tsd": "node ./test/types/check-types-filename && tsd", + "tdd": "mocha ./test/*.test.js --inspect --watch --recursive --watch-files ./**/*.{js,ts}", + "test-coverage": "nyc --reporter=html --reporter=text npm test", "ts-benchmark": "ts-benchmark -p ./benchmarks/typescript/simple -f 17 18 29 32", "ts-benchmark-watch": "ts-benchmark -p ./benchmarks/typescript/simple -w ./types -i -s -f 17 18 29 32 -b master" }, + "main": "./index.js", + "types": "./types/index.d.ts", + "engines": { + "node": ">=12.0.0" + }, + "bugs": { + "url": "https://github.com/Automattic/mongoose/issues/new" + }, + "repository": { + "type": "git", + "url": "git://github.com/Automattic/mongoose.git" + }, + "homepage": "https://mongoosejs.com", + "browser": "./dist/browser.umd.js", + "mocha": { + "extension": [ + "test.js" + ], + "watch-files": [ + "test/**/*.js" + ] + }, + "config": { + "mongodbMemoryServer": { + "disablePostinstall": true + } + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mongoose" + }, "tsd": { "directory": "test/types", "compilerOptions": { @@ -173,7 +144,5 @@ "module": "commonjs", "target": "ES2017" } - }, - "types": "./types/index.d.ts", - "version": "6.4.1" -} + } +} \ No newline at end of file diff --git a/node_modules/morgan/node_modules/on-finished/package.json b/node_modules/morgan/node_modules/on-finished/package.json index d8a2485e..b9df1bd2 100644 --- a/node_modules/morgan/node_modules/on-finished/package.json +++ b/node_modules/morgan/node_modules/on-finished/package.json @@ -1,50 +1,16 @@ { - "_args": [ - [ - "on-finished@2.3.0", - "/var/www/html/arclight" - ] - ], - "_from": "on-finished@2.3.0", - "_id": "on-finished@2.3.0", - "_inBundle": false, - "_integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==", - "_location": "/morgan/on-finished", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "on-finished@2.3.0", - "name": "on-finished", - "escapedName": "on-finished", - "rawSpec": "2.3.0", - "saveSpec": null, - "fetchSpec": "2.3.0" - }, - "_requiredBy": [ - "/morgan" - ], - "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "_spec": "2.3.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/on-finished/issues" - }, + "name": "on-finished", + "description": "Execute a callback when a request closes, finishes, or errors", + "version": "2.3.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "jshttp/on-finished", "dependencies": { "ee-first": "1.1.1" }, - "description": "Execute a callback when a request closes, finishes, or errors", "devDependencies": { "istanbul": "0.3.9", "mocha": "2.2.5" @@ -57,17 +23,9 @@ "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/on-finished#readme", - "license": "MIT", - "name": "on-finished", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/on-finished.git" - }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "2.3.0" + } } diff --git a/node_modules/morgan/package.json b/node_modules/morgan/package.json index 552e4df3..b25a6477 100644 --- a/node_modules/morgan/package.json +++ b/node_modules/morgan/package.json @@ -1,48 +1,19 @@ { - "_args": [ - [ - "morgan@1.10.0", - "/var/www/html/arclight" - ] - ], - "_from": "morgan@1.10.0", - "_id": "morgan@1.10.0", - "_inBundle": false, - "_integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==", - "_location": "/morgan", - "_phantomChildren": { - "ee-first": "1.1.1" - }, - "_requested": { - "type": "version", - "registry": true, - "raw": "morgan@1.10.0", - "name": "morgan", - "escapedName": "morgan", - "rawSpec": "1.10.0", - "saveSpec": null, - "fetchSpec": "1.10.0" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz", - "_spec": "1.10.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/expressjs/morgan/issues" - }, + "name": "morgan", + "description": "HTTP request logger middleware for node.js", + "version": "1.10.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "keywords": [ + "express", + "http", + "logger", + "middleware" + ], + "repository": "expressjs/morgan", "dependencies": { "basic-auth": "~2.0.1", "debug": "2.6.9", @@ -50,7 +21,6 @@ "on-finished": "~2.3.0", "on-headers": "~1.0.2" }, - "description": "HTTP request logger middleware for node.js", "devDependencies": { "eslint": "6.8.0", "eslint-config-standard": "14.1.0", @@ -64,33 +34,19 @@ "split": "1.0.1", "supertest": "4.0.2" }, - "engines": { - "node": ">= 0.8.0" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/expressjs/morgan#readme", - "keywords": [ - "express", - "http", - "logger", - "middleware" - ], - "license": "MIT", - "name": "morgan", - "repository": { - "type": "git", - "url": "git+https://github.com/expressjs/morgan.git" + "engines": { + "node": ">= 0.8.0" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --check-leaks --reporter spec --bail", "test-ci": "nyc --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "1.10.0" + } } diff --git a/node_modules/mpath/package.json b/node_modules/mpath/package.json index 2be4c7d9..6d1242d4 100644 --- a/node_modules/mpath/package.json +++ b/node_modules/mpath/package.json @@ -1,48 +1,29 @@ { - "_args": [ - [ - "mpath@0.9.0", - "/var/www/html/arclight" - ] - ], - "_from": "mpath@0.9.0", - "_id": "mpath@0.9.0", - "_inBundle": false, - "_integrity": "sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==", - "_location": "/mpath", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mpath@0.9.0", - "name": "mpath", - "escapedName": "mpath", - "rawSpec": "0.9.0", - "saveSpec": null, - "fetchSpec": "0.9.0" - }, - "_requiredBy": [ - "/mongoose" - ], - "_resolved": "https://registry.npmjs.org/mpath/-/mpath-0.9.0.tgz", - "_spec": "0.9.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Aaron Heckmann", - "email": "aaron.heckmann+github@gmail.com" - }, - "bugs": { - "url": "https://github.com/aheckmann/mpath/issues" - }, + "name": "mpath", + "version": "0.9.0", "description": "{G,S}et object values using MongoDB-like path notation", - "devDependencies": { - "benchmark": "~1.0.0", - "eslint": "7.16.0", - "mocha": "5.x" + "main": "index.js", + "scripts": { + "lint": "eslint .", + "test": "mocha test/*" }, "engines": { "node": ">=4.0.0" }, + "repository": "git://github.com/aheckmann/mpath.git", + "keywords": [ + "mongodb", + "path", + "get", + "set" + ], + "author": "Aaron Heckmann ", + "license": "MIT", + "devDependencies": { + "mocha": "5.x", + "benchmark": "~1.0.0", + "eslint": "7.16.0" + }, "eslintConfig": { "extends": [ "eslint:recommended" @@ -159,24 +140,5 @@ ], "no-prototype-builtins": "off" } - }, - "homepage": "https://github.com/aheckmann/mpath#readme", - "keywords": [ - "mongodb", - "path", - "get", - "set" - ], - "license": "MIT", - "main": "index.js", - "name": "mpath", - "repository": { - "type": "git", - "url": "git://github.com/aheckmann/mpath.git" - }, - "scripts": { - "lint": "eslint .", - "test": "mocha test/*" - }, - "version": "0.9.0" + } } diff --git a/node_modules/mquery/node_modules/debug/package.json b/node_modules/mquery/node_modules/debug/package.json index 994307a6..3bcdc242 100644 --- a/node_modules/mquery/node_modules/debug/package.json +++ b/node_modules/mquery/node_modules/debug/package.json @@ -1,59 +1,38 @@ { - "_args": [ - [ - "debug@4.3.4", - "/var/www/html/arclight" - ] - ], - "_from": "debug@4.3.4", - "_id": "debug@4.3.4", - "_inBundle": false, - "_integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "_location": "/mquery/debug", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "debug@4.3.4", - "name": "debug", - "escapedName": "debug", - "rawSpec": "4.3.4", - "saveSpec": null, - "fetchSpec": "4.3.4" + "name": "debug", + "version": "4.3.4", + "repository": { + "type": "git", + "url": "git://github.com/debug-js/debug.git" }, - "_requiredBy": [ - "/mquery" + "description": "Lightweight debugging utility for Node.js and the browser", + "keywords": [ + "debug", + "log", + "debugger" ], - "_resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "_spec": "4.3.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Josh Junon", - "email": "josh.junon@protonmail.com" - }, - "browser": "./src/browser.js", - "bugs": { - "url": "https://github.com/debug-js/debug/issues" - }, + "files": [ + "src", + "LICENSE", + "README.md" + ], + "author": "Josh Junon ", "contributors": [ - { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - { - "name": "Nathan Rajlich", - "email": "nathan@tootallnate.net", - "url": "http://n8.io" - }, - { - "name": "Andrew Rhyne", - "email": "rhyneandrew@gmail.com" - } + "TJ Holowaychuk ", + "Nathan Rajlich (http://n8.io)", + "Andrew Rhyne " ], + "license": "MIT", + "scripts": { + "lint": "xo", + "test": "npm run test:node && npm run test:browser && npm run lint", + "test:node": "istanbul cover _mocha -- test.js", + "test:browser": "karma start --single-run", + "test:coverage": "cat ./coverage/lcov.info | coveralls" + }, "dependencies": { "ms": "2.1.2" }, - "description": "Lightweight debugging utility for Node.js and the browser", "devDependencies": { "brfs": "^2.0.1", "browserify": "^16.2.3", @@ -67,38 +46,14 @@ "mocha-lcov-reporter": "^1.2.0", "xo": "^0.23.0" }, - "engines": { - "node": ">=6.0" - }, - "files": [ - "src", - "LICENSE", - "README.md" - ], - "homepage": "https://github.com/debug-js/debug#readme", - "keywords": [ - "debug", - "log", - "debugger" - ], - "license": "MIT", - "main": "./src/index.js", - "name": "debug", "peerDependenciesMeta": { "supports-color": { "optional": true } }, - "repository": { - "type": "git", - "url": "git://github.com/debug-js/debug.git" - }, - "scripts": { - "lint": "xo", - "test": "npm run test:node && npm run test:browser && npm run lint", - "test:browser": "karma start --single-run", - "test:coverage": "cat ./coverage/lcov.info | coveralls", - "test:node": "istanbul cover _mocha -- test.js" - }, - "version": "4.3.4" + "main": "./src/index.js", + "browser": "./src/browser.js", + "engines": { + "node": ">=6.0" + } } diff --git a/node_modules/mquery/node_modules/ms/package.json b/node_modules/mquery/node_modules/ms/package.json index 89675c15..eea666e1 100644 --- a/node_modules/mquery/node_modules/ms/package.json +++ b/node_modules/mquery/node_modules/ms/package.json @@ -1,42 +1,16 @@ { - "_args": [ - [ - "ms@2.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.1.2", - "_id": "ms@2.1.2", - "_inBundle": false, - "_integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "_location": "/mquery/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.1.2", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.1.2", - "saveSpec": null, - "fetchSpec": "2.1.2" - }, - "_requiredBy": [ - "/mquery/debug" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "_spec": "2.1.2", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/zeit/ms/issues" - }, + "name": "ms", + "version": "2.1.2", "description": "Tiny millisecond conversion utility", - "devDependencies": { - "eslint": "4.12.1", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1" + "repository": "zeit/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -45,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/zeit/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -57,16 +26,12 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/zeit/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.1.2" + "license": "MIT", + "devDependencies": { + "eslint": "4.12.1", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1" + } } diff --git a/node_modules/mquery/package.json b/node_modules/mquery/package.json index c6135ebf..bf1cba18 100644 --- a/node_modules/mquery/package.json +++ b/node_modules/mquery/package.json @@ -1,69 +1,38 @@ { - "_args": [ - [ - "mquery@4.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "mquery@4.0.3", - "_id": "mquery@4.0.3", - "_inBundle": false, - "_integrity": "sha512-J5heI+P08I6VJ2Ky3+33IpCdAvlYGTSUjwTPxkAr8i8EoduPMBX2OY/wa3IKZIQl7MU4SbFk8ndgSKyB/cl1zA==", - "_location": "/mquery", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "mquery@4.0.3", - "name": "mquery", - "escapedName": "mquery", - "rawSpec": "4.0.3", - "saveSpec": null, - "fetchSpec": "4.0.3" + "name": "mquery", + "version": "4.0.3", + "description": "Expressive query building for MongoDB", + "main": "lib/mquery.js", + "scripts": { + "test": "mocha test/index.js test/*.test.js", + "fix-lint": "eslint . --fix", + "lint": "eslint ." }, - "_requiredBy": [ - "/mongoose" - ], - "_resolved": "https://registry.npmjs.org/mquery/-/mquery-4.0.3.tgz", - "_spec": "4.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "Aaron Heckmann", - "email": "aaron.heckmann+github@gmail.com" + "repository": { + "type": "git", + "url": "git://github.com/aheckmann/mquery.git" }, - "bugs": { - "url": "https://github.com/aheckmann/mquery/issues/new" + "engines": { + "node": ">=12.0.0" }, "dependencies": { "debug": "4.x" }, - "description": "Expressive query building for MongoDB", "devDependencies": { "eslint": "8.x", "eslint-plugin-mocha-no-only": "1.1.1", "mocha": "9.x", "mongodb": "4.x" }, - "engines": { - "node": ">=12.0.0" + "bugs": { + "url": "https://github.com/aheckmann/mquery/issues/new" }, - "homepage": "https://github.com/aheckmann/mquery/", + "author": "Aaron Heckmann ", + "license": "MIT", "keywords": [ "mongodb", "query", "builder" ], - "license": "MIT", - "main": "lib/mquery.js", - "name": "mquery", - "repository": { - "type": "git", - "url": "git://github.com/aheckmann/mquery.git" - }, - "scripts": { - "fix-lint": "eslint . --fix", - "lint": "eslint .", - "test": "mocha test/index.js test/*.test.js" - }, - "version": "4.0.3" + "homepage": "https://github.com/aheckmann/mquery/" } diff --git a/node_modules/ms/package.json b/node_modules/ms/package.json index e8869bb4..6a31c81f 100644 --- a/node_modules/ms/package.json +++ b/node_modules/ms/package.json @@ -1,42 +1,16 @@ { - "_args": [ - [ - "ms@2.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.0.0", - "_id": "ms@2.0.0", - "_inBundle": false, - "_integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "_location": "/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.0.0", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.0.0", - "saveSpec": null, - "fetchSpec": "2.0.0" - }, - "_requiredBy": [ - "/debug" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "_spec": "2.0.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/zeit/ms/issues" - }, + "name": "ms", + "version": "2.0.0", "description": "Tiny milisecond conversion utility", - "devDependencies": { - "eslint": "3.19.0", - "expect.js": "0.3.1", - "husky": "0.13.3", - "lint-staged": "3.4.1", - "mocha": "3.4.1" + "repository": "zeit/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -45,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/zeit/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -57,16 +26,12 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/zeit/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.0.0" + "license": "MIT", + "devDependencies": { + "eslint": "3.19.0", + "expect.js": "0.3.1", + "husky": "0.13.3", + "lint-staged": "3.4.1", + "mocha": "3.4.1" + } } diff --git a/node_modules/negotiator/package.json b/node_modules/negotiator/package.json index fe2c8e57..297635f6 100644 --- a/node_modules/negotiator/package.json +++ b/node_modules/negotiator/package.json @@ -1,60 +1,28 @@ { - "_args": [ - [ - "negotiator@0.6.3", - "/var/www/html/arclight" - ] - ], - "_from": "negotiator@0.6.3", - "_id": "negotiator@0.6.3", - "_inBundle": false, - "_integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "_location": "/negotiator", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "negotiator@0.6.3", - "name": "negotiator", - "escapedName": "negotiator", - "rawSpec": "0.6.3", - "saveSpec": null, - "fetchSpec": "0.6.3" - }, - "_requiredBy": [ - "/accepts" - ], - "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "_spec": "0.6.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/negotiator/issues" - }, + "name": "negotiator", + "description": "HTTP content negotiation", + "version": "0.6.3", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Federico Romero", - "email": "federico.romero@outboxlabs.com" - }, - { - "name": "Isaac Z. Schlueter", - "email": "i@izs.me", - "url": "http://blog.izs.me/" - } + "Douglas Christopher Wilson ", + "Federico Romero ", + "Isaac Z. Schlueter (http://blog.izs.me/)" ], - "description": "HTTP content negotiation", + "license": "MIT", + "keywords": [ + "http", + "content negotiation", + "accept", + "accept-language", + "accept-encoding", + "accept-charset" + ], + "repository": "jshttp/negotiator", "devDependencies": { "eslint": "7.32.0", "eslint-plugin-markdown": "2.2.1", "mocha": "9.1.3", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "lib/", "HISTORY.md", @@ -62,26 +30,13 @@ "index.js", "README.md" ], - "homepage": "https://github.com/jshttp/negotiator#readme", - "keywords": [ - "http", - "content negotiation", - "accept", - "accept-language", - "accept-encoding", - "accept-charset" - ], - "license": "MIT", - "name": "negotiator", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/negotiator.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --check-leaks --bail test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "0.6.3" + } } diff --git a/node_modules/node-addon-api/tools/conversion.js b/node_modules/node-addon-api/tools/conversion.js old mode 100644 new mode 100755 diff --git a/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js b/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js index 27d977a2..c25dbc2c 100644 --- a/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js +++ b/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js @@ -1,1297 +1,1297 @@ -"use strict"; -const punycode = require("punycode"); -const tr46 = require("tr46"); - -const specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 -}; - -const failure = Symbol("failure"); - -function countSymbols(str) { - return punycode.ucs2.decode(str).length; -} - -function at(input, idx) { - const c = input[idx]; - return isNaN(c) ? undefined : String.fromCodePoint(c); -} - -function isASCIIDigit(c) { - return c >= 0x30 && c <= 0x39; -} - -function isASCIIAlpha(c) { - return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); -} - -function isASCIIAlphanumeric(c) { - return isASCIIAlpha(c) || isASCIIDigit(c); -} - -function isASCIIHex(c) { - return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); -} - -function isSingleDot(buffer) { - return buffer === "." || buffer.toLowerCase() === "%2e"; -} - -function isDoubleDot(buffer) { - buffer = buffer.toLowerCase(); - return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; -} - -function isWindowsDriveLetterCodePoints(cp1, cp2) { - return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); -} - -function isWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); -} - -function isNormalizedWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; -} - -function containsForbiddenHostCodePoint(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; -} - -function containsForbiddenHostCodePointExcludingPercent(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; -} - -function isSpecialScheme(scheme) { - return specialSchemes[scheme] !== undefined; -} - -function isSpecial(url) { - return isSpecialScheme(url.scheme); -} - -function defaultPort(scheme) { - return specialSchemes[scheme]; -} - -function percentEncode(c) { - let hex = c.toString(16).toUpperCase(); - if (hex.length === 1) { - hex = "0" + hex; - } - - return "%" + hex; -} - -function utf8PercentEncode(c) { - const buf = new Buffer(c); - - let str = ""; - - for (let i = 0; i < buf.length; ++i) { - str += percentEncode(buf[i]); - } - - return str; -} - -function utf8PercentDecode(str) { - const input = new Buffer(str); - const output = []; - for (let i = 0; i < input.length; ++i) { - if (input[i] !== 37) { - output.push(input[i]); - } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { - output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); - i += 2; - } else { - output.push(input[i]); - } - } - return new Buffer(output).toString(); -} - -function isC0ControlPercentEncode(c) { - return c <= 0x1F || c > 0x7E; -} - -const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); -function isPathPercentEncode(c) { - return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); -} - -const extraUserinfoPercentEncodeSet = - new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); -function isUserinfoPercentEncode(c) { - return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); -} - -function percentEncodeChar(c, encodeSetPredicate) { - const cStr = String.fromCodePoint(c); - - if (encodeSetPredicate(c)) { - return utf8PercentEncode(cStr); - } - - return cStr; -} - -function parseIPv4Number(input) { - let R = 10; - - if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { - input = input.substring(2); - R = 16; - } else if (input.length >= 2 && input.charAt(0) === "0") { - input = input.substring(1); - R = 8; - } - - if (input === "") { - return 0; - } - - const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); - if (regex.test(input)) { - return failure; - } - - return parseInt(input, R); -} - -function parseIPv4(input) { - const parts = input.split("."); - if (parts[parts.length - 1] === "") { - if (parts.length > 1) { - parts.pop(); - } - } - - if (parts.length > 4) { - return input; - } - - const numbers = []; - for (const part of parts) { - if (part === "") { - return input; - } - const n = parseIPv4Number(part); - if (n === failure) { - return input; - } - - numbers.push(n); - } - - for (let i = 0; i < numbers.length - 1; ++i) { - if (numbers[i] > 255) { - return failure; - } - } - if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { - return failure; - } - - let ipv4 = numbers.pop(); - let counter = 0; - - for (const n of numbers) { - ipv4 += n * Math.pow(256, 3 - counter); - ++counter; - } - - return ipv4; -} - -function serializeIPv4(address) { - let output = ""; - let n = address; - - for (let i = 1; i <= 4; ++i) { - output = String(n % 256) + output; - if (i !== 4) { - output = "." + output; - } - n = Math.floor(n / 256); - } - - return output; -} - -function parseIPv6(input) { - const address = [0, 0, 0, 0, 0, 0, 0, 0]; - let pieceIndex = 0; - let compress = null; - let pointer = 0; - - input = punycode.ucs2.decode(input); - - if (input[pointer] === 58) { - if (input[pointer + 1] !== 58) { - return failure; - } - - pointer += 2; - ++pieceIndex; - compress = pieceIndex; - } - - while (pointer < input.length) { - if (pieceIndex === 8) { - return failure; - } - - if (input[pointer] === 58) { - if (compress !== null) { - return failure; - } - ++pointer; - ++pieceIndex; - compress = pieceIndex; - continue; - } - - let value = 0; - let length = 0; - - while (length < 4 && isASCIIHex(input[pointer])) { - value = value * 0x10 + parseInt(at(input, pointer), 16); - ++pointer; - ++length; - } - - if (input[pointer] === 46) { - if (length === 0) { - return failure; - } - - pointer -= length; - - if (pieceIndex > 6) { - return failure; - } - - let numbersSeen = 0; - - while (input[pointer] !== undefined) { - let ipv4Piece = null; - - if (numbersSeen > 0) { - if (input[pointer] === 46 && numbersSeen < 4) { - ++pointer; - } else { - return failure; - } - } - - if (!isASCIIDigit(input[pointer])) { - return failure; - } - - while (isASCIIDigit(input[pointer])) { - const number = parseInt(at(input, pointer)); - if (ipv4Piece === null) { - ipv4Piece = number; - } else if (ipv4Piece === 0) { - return failure; - } else { - ipv4Piece = ipv4Piece * 10 + number; - } - if (ipv4Piece > 255) { - return failure; - } - ++pointer; - } - - address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; - - ++numbersSeen; - - if (numbersSeen === 2 || numbersSeen === 4) { - ++pieceIndex; - } - } - - if (numbersSeen !== 4) { - return failure; - } - - break; - } else if (input[pointer] === 58) { - ++pointer; - if (input[pointer] === undefined) { - return failure; - } - } else if (input[pointer] !== undefined) { - return failure; - } - - address[pieceIndex] = value; - ++pieceIndex; - } - - if (compress !== null) { - let swaps = pieceIndex - compress; - pieceIndex = 7; - while (pieceIndex !== 0 && swaps > 0) { - const temp = address[compress + swaps - 1]; - address[compress + swaps - 1] = address[pieceIndex]; - address[pieceIndex] = temp; - --pieceIndex; - --swaps; - } - } else if (compress === null && pieceIndex !== 8) { - return failure; - } - - return address; -} - -function serializeIPv6(address) { - let output = ""; - const seqResult = findLongestZeroSequence(address); - const compress = seqResult.idx; - let ignore0 = false; - - for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { - if (ignore0 && address[pieceIndex] === 0) { - continue; - } else if (ignore0) { - ignore0 = false; - } - - if (compress === pieceIndex) { - const separator = pieceIndex === 0 ? "::" : ":"; - output += separator; - ignore0 = true; - continue; - } - - output += address[pieceIndex].toString(16); - - if (pieceIndex !== 7) { - output += ":"; - } - } - - return output; -} - -function parseHost(input, isSpecialArg) { - if (input[0] === "[") { - if (input[input.length - 1] !== "]") { - return failure; - } - - return parseIPv6(input.substring(1, input.length - 1)); - } - - if (!isSpecialArg) { - return parseOpaqueHost(input); - } - - const domain = utf8PercentDecode(input); - const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); - if (asciiDomain === null) { - return failure; - } - - if (containsForbiddenHostCodePoint(asciiDomain)) { - return failure; - } - - const ipv4Host = parseIPv4(asciiDomain); - if (typeof ipv4Host === "number" || ipv4Host === failure) { - return ipv4Host; - } - - return asciiDomain; -} - -function parseOpaqueHost(input) { - if (containsForbiddenHostCodePointExcludingPercent(input)) { - return failure; - } - - let output = ""; - const decoded = punycode.ucs2.decode(input); - for (let i = 0; i < decoded.length; ++i) { - output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); - } - return output; -} - -function findLongestZeroSequence(arr) { - let maxIdx = null; - let maxLen = 1; // only find elements > 1 - let currStart = null; - let currLen = 0; - - for (let i = 0; i < arr.length; ++i) { - if (arr[i] !== 0) { - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - currStart = null; - currLen = 0; - } else { - if (currStart === null) { - currStart = i; - } - ++currLen; - } - } - - // if trailing zeros - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - return { - idx: maxIdx, - len: maxLen - }; -} - -function serializeHost(host) { - if (typeof host === "number") { - return serializeIPv4(host); - } - - // IPv6 serializer - if (host instanceof Array) { - return "[" + serializeIPv6(host) + "]"; - } - - return host; -} - -function trimControlChars(url) { - return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); -} - -function trimTabAndNewline(url) { - return url.replace(/\u0009|\u000A|\u000D/g, ""); -} - -function shortenPath(url) { - const path = url.path; - if (path.length === 0) { - return; - } - if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { - return; - } - - path.pop(); -} - -function includesCredentials(url) { - return url.username !== "" || url.password !== ""; -} - -function cannotHaveAUsernamePasswordPort(url) { - return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; -} - -function isNormalizedWindowsDriveLetter(string) { - return /^[A-Za-z]:$/.test(string); -} - -function URLStateMachine(input, base, encodingOverride, url, stateOverride) { - this.pointer = 0; - this.input = input; - this.base = base || null; - this.encodingOverride = encodingOverride || "utf-8"; - this.stateOverride = stateOverride; - this.url = url; - this.failure = false; - this.parseError = false; - - if (!this.url) { - this.url = { - scheme: "", - username: "", - password: "", - host: null, - port: null, - path: [], - query: null, - fragment: null, - - cannotBeABaseURL: false - }; - - const res = trimControlChars(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - } - - const res = trimTabAndNewline(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - - this.state = stateOverride || "scheme start"; - - this.buffer = ""; - this.atFlag = false; - this.arrFlag = false; - this.passwordTokenSeenFlag = false; - - this.input = punycode.ucs2.decode(this.input); - - for (; this.pointer <= this.input.length; ++this.pointer) { - const c = this.input[this.pointer]; - const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); - - // exec state machine - const ret = this["parse " + this.state](c, cStr); - if (!ret) { - break; // terminate algorithm - } else if (ret === failure) { - this.failure = true; - break; - } - } -} - -URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { - if (isASCIIAlpha(c)) { - this.buffer += cStr.toLowerCase(); - this.state = "scheme"; - } else if (!this.stateOverride) { - this.state = "no scheme"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; -}; - -URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { - if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { - this.buffer += cStr.toLowerCase(); - } else if (c === 58) { - if (this.stateOverride) { - if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { - return false; - } - - if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { - return false; - } - - if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { - return false; - } - - if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { - return false; - } - } - this.url.scheme = this.buffer; - this.buffer = ""; - if (this.stateOverride) { - return false; - } - if (this.url.scheme === "file") { - if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { - this.parseError = true; - } - this.state = "file"; - } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { - this.state = "special relative or authority"; - } else if (isSpecial(this.url)) { - this.state = "special authority slashes"; - } else if (this.input[this.pointer + 1] === 47) { - this.state = "path or authority"; - ++this.pointer; - } else { - this.url.cannotBeABaseURL = true; - this.url.path.push(""); - this.state = "cannot-be-a-base-URL path"; - } - } else if (!this.stateOverride) { - this.buffer = ""; - this.state = "no scheme"; - this.pointer = -1; - } else { - this.parseError = true; - return failure; - } - - return true; -}; - -URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { - if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { - return failure; - } else if (this.base.cannotBeABaseURL && c === 35) { - this.url.scheme = this.base.scheme; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.url.cannotBeABaseURL = true; - this.state = "fragment"; - } else if (this.base.scheme === "file") { - this.state = "file"; - --this.pointer; - } else { - this.state = "relative"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "relative"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { - if (c === 47) { - this.state = "authority"; - } else { - this.state = "path"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse relative"] = function parseRelative(c) { - this.url.scheme = this.base.scheme; - if (isNaN(c)) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 47) { - this.state = "relative slash"; - } else if (c === 63) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else if (isSpecial(this.url) && c === 92) { - this.parseError = true; - this.state = "relative slash"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(0, this.base.path.length - 1); - - this.state = "path"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { - if (isSpecial(this.url) && (c === 47 || c === 92)) { - if (c === 92) { - this.parseError = true; - } - this.state = "special authority ignore slashes"; - } else if (c === 47) { - this.state = "authority"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.state = "path"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "special authority ignore slashes"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { - if (c !== 47 && c !== 92) { - this.state = "authority"; - --this.pointer; - } else { - this.parseError = true; - } - - return true; -}; - -URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { - if (c === 64) { - this.parseError = true; - if (this.atFlag) { - this.buffer = "%40" + this.buffer; - } - this.atFlag = true; - - // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars - const len = countSymbols(this.buffer); - for (let pointer = 0; pointer < len; ++pointer) { - const codePoint = this.buffer.codePointAt(pointer); - - if (codePoint === 58 && !this.passwordTokenSeenFlag) { - this.passwordTokenSeenFlag = true; - continue; - } - const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); - if (this.passwordTokenSeenFlag) { - this.url.password += encodedCodePoints; - } else { - this.url.username += encodedCodePoints; - } - } - this.buffer = ""; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - if (this.atFlag && this.buffer === "") { - this.parseError = true; - return failure; - } - this.pointer -= countSymbols(this.buffer) + 1; - this.buffer = ""; - this.state = "host"; - } else { - this.buffer += cStr; - } - - return true; -}; - -URLStateMachine.prototype["parse hostname"] = -URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { - if (this.stateOverride && this.url.scheme === "file") { - --this.pointer; - this.state = "file host"; - } else if (c === 58 && !this.arrFlag) { - if (this.buffer === "") { - this.parseError = true; - return failure; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "port"; - if (this.stateOverride === "hostname") { - return false; - } - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - --this.pointer; - if (isSpecial(this.url) && this.buffer === "") { - this.parseError = true; - return failure; - } else if (this.stateOverride && this.buffer === "" && - (includesCredentials(this.url) || this.url.port !== null)) { - this.parseError = true; - return false; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "path start"; - if (this.stateOverride) { - return false; - } - } else { - if (c === 91) { - this.arrFlag = true; - } else if (c === 93) { - this.arrFlag = false; - } - this.buffer += cStr; - } - - return true; -}; - -URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { - if (isASCIIDigit(c)) { - this.buffer += cStr; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92) || - this.stateOverride) { - if (this.buffer !== "") { - const port = parseInt(this.buffer); - if (port > Math.pow(2, 16) - 1) { - this.parseError = true; - return failure; - } - this.url.port = port === defaultPort(this.url.scheme) ? null : port; - this.buffer = ""; - } - if (this.stateOverride) { - return false; - } - this.state = "path start"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; -}; - -const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); - -URLStateMachine.prototype["parse file"] = function parseFile(c) { - this.url.scheme = "file"; - - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file slash"; - } else if (this.base !== null && this.base.scheme === "file") { - if (isNaN(c)) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 63) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else { - if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points - !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || - (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points - !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - shortenPath(this.url); - } else { - this.parseError = true; - } - - this.state = "path"; - --this.pointer; - } - } else { - this.state = "path"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file host"; - } else { - if (this.base !== null && this.base.scheme === "file") { - if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { - this.url.path.push(this.base.path[0]); - } else { - this.url.host = this.base.host; - } - } - this.state = "path"; - --this.pointer; - } - - return true; -}; - -URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { - if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { - --this.pointer; - if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { - this.parseError = true; - this.state = "path"; - } else if (this.buffer === "") { - this.url.host = ""; - if (this.stateOverride) { - return false; - } - this.state = "path start"; - } else { - let host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - if (host === "localhost") { - host = ""; - } - this.url.host = host; - - if (this.stateOverride) { - return false; - } - - this.buffer = ""; - this.state = "path start"; - } - } else { - this.buffer += cStr; - } - - return true; -}; - -URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { - if (isSpecial(this.url)) { - if (c === 92) { - this.parseError = true; - } - this.state = "path"; - - if (c !== 47 && c !== 92) { - --this.pointer; - } - } else if (!this.stateOverride && c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (!this.stateOverride && c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else if (c !== undefined) { - this.state = "path"; - if (c !== 47) { - --this.pointer; - } - } - - return true; -}; - -URLStateMachine.prototype["parse path"] = function parsePath(c) { - if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || - (!this.stateOverride && (c === 63 || c === 35))) { - if (isSpecial(this.url) && c === 92) { - this.parseError = true; - } - - if (isDoubleDot(this.buffer)) { - shortenPath(this.url); - if (c !== 47 && !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } - } else if (isSingleDot(this.buffer) && c !== 47 && - !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } else if (!isSingleDot(this.buffer)) { - if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { - if (this.url.host !== "" && this.url.host !== null) { - this.parseError = true; - this.url.host = ""; - } - this.buffer = this.buffer[0] + ":"; - } - this.url.path.push(this.buffer); - } - this.buffer = ""; - if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { - while (this.url.path.length > 1 && this.url.path[0] === "") { - this.parseError = true; - this.url.path.shift(); - } - } - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += percentEncodeChar(c, isPathPercentEncode); - } - - return true; -}; - -URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else { - // TODO: Add: not a URL code point - if (!isNaN(c) && c !== 37) { - this.parseError = true; - } - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - if (!isNaN(c)) { - this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); - } - } - - return true; -}; - -URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { - if (isNaN(c) || (!this.stateOverride && c === 35)) { - if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { - this.encodingOverride = "utf-8"; - } - - const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead - for (let i = 0; i < buffer.length; ++i) { - if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || - buffer[i] === 0x3C || buffer[i] === 0x3E) { - this.url.query += percentEncode(buffer[i]); - } else { - this.url.query += String.fromCodePoint(buffer[i]); - } - } - - this.buffer = ""; - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += cStr; - } - - return true; -}; - -URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { - if (isNaN(c)) { // do nothing - } else if (c === 0x0) { - this.parseError = true; - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); - } - - return true; -}; - -function serializeURL(url, excludeFragment) { - let output = url.scheme + ":"; - if (url.host !== null) { - output += "//"; - - if (url.username !== "" || url.password !== "") { - output += url.username; - if (url.password !== "") { - output += ":" + url.password; - } - output += "@"; - } - - output += serializeHost(url.host); - - if (url.port !== null) { - output += ":" + url.port; - } - } else if (url.host === null && url.scheme === "file") { - output += "//"; - } - - if (url.cannotBeABaseURL) { - output += url.path[0]; - } else { - for (const string of url.path) { - output += "/" + string; - } - } - - if (url.query !== null) { - output += "?" + url.query; - } - - if (!excludeFragment && url.fragment !== null) { - output += "#" + url.fragment; - } - - return output; -} - -function serializeOrigin(tuple) { - let result = tuple.scheme + "://"; - result += serializeHost(tuple.host); - - if (tuple.port !== null) { - result += ":" + tuple.port; - } - - return result; -} - -module.exports.serializeURL = serializeURL; - -module.exports.serializeURLOrigin = function (url) { - // https://url.spec.whatwg.org/#concept-url-origin - switch (url.scheme) { - case "blob": - try { - return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); - } catch (e) { - // serializing an opaque origin returns "null" - return "null"; - } - case "ftp": - case "gopher": - case "http": - case "https": - case "ws": - case "wss": - return serializeOrigin({ - scheme: url.scheme, - host: url.host, - port: url.port - }); - case "file": - // spec says "exercise to the reader", chrome says "file://" - return "file://"; - default: - // serializing an opaque origin returns "null" - return "null"; - } -}; - -module.exports.basicURLParse = function (input, options) { - if (options === undefined) { - options = {}; - } - - const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); - if (usm.failure) { - return "failure"; - } - - return usm.url; -}; - -module.exports.setTheUsername = function (url, username) { - url.username = ""; - const decoded = punycode.ucs2.decode(username); - for (let i = 0; i < decoded.length; ++i) { - url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } -}; - -module.exports.setThePassword = function (url, password) { - url.password = ""; - const decoded = punycode.ucs2.decode(password); - for (let i = 0; i < decoded.length; ++i) { - url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } -}; - -module.exports.serializeHost = serializeHost; - -module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; - -module.exports.serializeInteger = function (integer) { - return String(integer); -}; - -module.exports.parseURL = function (input, options) { - if (options === undefined) { - options = {}; - } - - // We don't handle blobs, so this just delegates: - return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); -}; +"use strict"; +const punycode = require("punycode"); +const tr46 = require("tr46"); + +const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; + +const failure = Symbol("failure"); + +function countSymbols(str) { + return punycode.ucs2.decode(str).length; +} + +function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); +} + +function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; +} + +function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); +} + +function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); +} + +function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); +} + +function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; +} + +function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; +} + +function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); +} + +function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); +} + +function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; +} + +function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; +} + +function isSpecial(url) { + return isSpecialScheme(url.scheme); +} + +function defaultPort(scheme) { + return specialSchemes[scheme]; +} + +function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; +} + +function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; +} + +function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); +} + +function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; +} + +const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); +function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); +} + +const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); +function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); +} + +function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; +} + +function parseIPv4Number(input) { + let R = 10; + + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); +} + +function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; +} + +function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; +} + +function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; +} + +function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; +} + +function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; +} + +function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; +} + +function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen + }; +} + +function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; +} + +function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); +} + +function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); +} + +function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } + + path.pop(); +} + +function includesCredentials(url) { + return url.username !== "" || url.password !== ""; +} + +function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; +} + +function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); +} + +function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } +} + +URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } + + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; +}; + +URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse hostname"] = +URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + +URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; +}; + +URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; +}; + +URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; +}; + +URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) { // do nothing + } else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; +}; + +function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; +} + +function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; +} + +module.exports.serializeURL = serializeURL; + +module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } +}; + +module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } + + return usm.url; +}; + +module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.serializeHost = serializeHost; + +module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + +module.exports.serializeInteger = function (integer) { + return String(integer); +}; + +module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); +}; diff --git a/node_modules/object-inspect/package.json b/node_modules/object-inspect/package.json index 702d1e46..7e0b87c7 100644 --- a/node_modules/object-inspect/package.json +++ b/node_modules/object-inspect/package.json @@ -1,52 +1,9 @@ { - "_args": [ - [ - "object-inspect@1.12.2", - "/var/www/html/arclight" - ] - ], - "_from": "object-inspect@1.12.2", - "_id": "object-inspect@1.12.2", - "_inBundle": false, - "_integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", - "_location": "/object-inspect", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "object-inspect@1.12.2", - "name": "object-inspect", - "escapedName": "object-inspect", - "rawSpec": "1.12.2", - "saveSpec": null, - "fetchSpec": "1.12.2" - }, - "_requiredBy": [ - "/side-channel" - ], - "_resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "_spec": "1.12.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "James Halliday", - "email": "mail@substack.net", - "url": "http://substack.net" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "browser": { - "./util.inspect.js": false - }, - "bugs": { - "url": "https://github.com/inspect-js/object-inspect/issues" - }, + "name": "object-inspect", + "version": "1.12.2", "description": "string representations of objects in node and the browser", + "main": "index.js", + "sideEffects": false, "devDependencies": { "@ljharb/eslint-config": "^21.0.0", "aud": "^2.0.0", @@ -66,45 +23,19 @@ "string.prototype.repeat": "^1.0.0", "tape": "^5.5.3" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "homepage": "https://github.com/inspect-js/object-inspect", - "keywords": [ - "inspect", - "util.inspect", - "object", - "stringify", - "pretty" - ], - "license": "MIT", - "main": "index.js", - "name": "object-inspect", - "publishConfig": { - "ignore": [ - ".github/workflows", - "./test-core-js.js" - ] - }, - "repository": { - "type": "git", - "url": "git://github.com/inspect-js/object-inspect.git" - }, "scripts": { - "lint": "eslint .", - "posttest": "npx aud --production", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", "prepack": "npmignore --auto --commentLines=autogenerated", "prepublish": "not-in-publish || npm run prepublishOnly", "prepublishOnly": "safe-publish-latest", "pretest": "npm run lint", + "lint": "eslint .", "test": "npm run tests-only && npm run test:corejs", - "test:corejs": "nyc tape test-core-js.js 'test/*.js'", "tests-only": "nyc tape 'test/*.js'", - "version": "auto-changelog && git add CHANGELOG.md" + "test:corejs": "nyc tape test-core-js.js 'test/*.js'", + "posttest": "npx aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" }, - "sideEffects": false, - "support": true, "testling": { "files": [ "test/*.js", @@ -121,5 +52,43 @@ "android/latest" ] }, - "version": "1.12.2" + "repository": { + "type": "git", + "url": "git://github.com/inspect-js/object-inspect.git" + }, + "homepage": "https://github.com/inspect-js/object-inspect", + "keywords": [ + "inspect", + "util.inspect", + "object", + "stringify", + "pretty" + ], + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "browser": { + "./util.inspect.js": false + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows", + "./test-core-js.js" + ] + }, + "support": true } diff --git a/node_modules/on-finished/package.json b/node_modules/on-finished/package.json index 01e38ed8..644cd814 100644 --- a/node_modules/on-finished/package.json +++ b/node_modules/on-finished/package.json @@ -1,53 +1,16 @@ { - "_args": [ - [ - "on-finished@2.4.1", - "/var/www/html/arclight" - ] - ], - "_from": "on-finished@2.4.1", - "_id": "on-finished@2.4.1", - "_inBundle": false, - "_integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "_location": "/on-finished", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "on-finished@2.4.1", - "name": "on-finished", - "escapedName": "on-finished", - "rawSpec": "2.4.1", - "saveSpec": null, - "fetchSpec": "2.4.1" - }, - "_requiredBy": [ - "/body-parser", - "/express", - "/finalhandler", - "/send" - ], - "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "_spec": "2.4.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/on-finished/issues" - }, + "name": "on-finished", + "description": "Execute a callback when a request closes, finishes, or errors", + "version": "2.4.1", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "jshttp/on-finished", "dependencies": { "ee-first": "1.1.1" }, - "description": "Execute a callback when a request closes, finishes, or errors", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -67,18 +30,10 @@ "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/on-finished#readme", - "license": "MIT", - "name": "on-finished", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/on-finished.git" - }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "2.4.1" + } } diff --git a/node_modules/on-headers/package.json b/node_modules/on-headers/package.json index 3665be68..1e9bf9e2 100644 --- a/node_modules/on-headers/package.json +++ b/node_modules/on-headers/package.json @@ -1,41 +1,16 @@ { - "_args": [ - [ - "on-headers@1.0.2", - "/var/www/html/arclight" - ] - ], - "_from": "on-headers@1.0.2", - "_id": "on-headers@1.0.2", - "_inBundle": false, - "_integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "_location": "/on-headers", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "on-headers@1.0.2", - "name": "on-headers", - "escapedName": "on-headers", - "rawSpec": "1.0.2", - "saveSpec": null, - "fetchSpec": "1.0.2" - }, - "_requiredBy": [ - "/express-session", - "/morgan" - ], - "_resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "_spec": "1.0.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/on-headers/issues" - }, + "name": "on-headers", "description": "Execute a listener when a response is about to write headers", + "version": "1.0.2", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "event", + "headers", + "http", + "onheaders" + ], + "repository": "jshttp/on-headers", "devDependencies": { "eslint": "5.14.1", "eslint-config-standard": "12.0.0", @@ -48,27 +23,14 @@ "mocha": "6.0.1", "supertest": "3.4.2" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/on-headers#readme", - "keywords": [ - "event", - "headers", - "http", - "onheaders" - ], - "license": "MIT", - "name": "on-headers", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/on-headers.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", @@ -76,6 +38,5 @@ "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "1.0.2" + } } diff --git a/node_modules/parseurl/package.json b/node_modules/parseurl/package.json index 33bde947..6b443ca7 100644 --- a/node_modules/parseurl/package.json +++ b/node_modules/parseurl/package.json @@ -1,50 +1,13 @@ { - "_args": [ - [ - "parseurl@1.3.3", - "/var/www/html/arclight" - ] - ], - "_from": "parseurl@1.3.3", - "_id": "parseurl@1.3.3", - "_inBundle": false, - "_integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "_location": "/parseurl", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "parseurl@1.3.3", - "name": "parseurl", - "escapedName": "parseurl", - "rawSpec": "1.3.3", - "saveSpec": null, - "fetchSpec": "1.3.3" - }, - "_requiredBy": [ - "/express", - "/express-session", - "/finalhandler", - "/serve-static" - ], - "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "_spec": "1.3.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/pillarjs/parseurl/issues" - }, + "name": "parseurl", + "description": "parse a url with memoization", + "version": "1.3.3", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], - "description": "parse a url with memoization", + "repository": "pillarjs/parseurl", + "license": "MIT", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -58,21 +21,14 @@ "istanbul": "0.4.5", "mocha": "6.1.3" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/pillarjs/parseurl#readme", - "license": "MIT", - "name": "parseurl", - "repository": { - "type": "git", - "url": "git+https://github.com/pillarjs/parseurl.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "bench": "node benchmark/index.js", @@ -80,6 +36,5 @@ "test": "mocha --check-leaks --bail --reporter spec test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/" - }, - "version": "1.3.3" + } } diff --git a/node_modules/passport-jwt/package.json b/node_modules/passport-jwt/package.json index 2521473d..01ba48f0 100644 --- a/node_modules/passport-jwt/package.json +++ b/node_modules/passport-jwt/package.json @@ -1,51 +1,16 @@ { - "_args": [ - [ - "passport-jwt@4.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "passport-jwt@4.0.0", - "_id": "passport-jwt@4.0.0", - "_inBundle": false, - "_integrity": "sha512-BwC0n2GP/1hMVjR4QpnvqA61TxenUMlmfNjYNgK0ZAs0HK4SOQkHcSv4L328blNTLtHq7DbmvyNJiH+bn6C5Mg==", - "_location": "/passport-jwt", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "passport-jwt@4.0.0", - "name": "passport-jwt", - "escapedName": "passport-jwt", - "rawSpec": "4.0.0", - "saveSpec": null, - "fetchSpec": "4.0.0" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/passport-jwt/-/passport-jwt-4.0.0.tgz", - "_spec": "4.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Mike Nicholson" - }, - "bugs": { - "url": "https://github.com/themikenicholson/passport-jwt/issues" - }, - "dependencies": { - "jsonwebtoken": "^8.2.0", - "passport-strategy": "^1.0.0" - }, + "name": "passport-jwt", + "version": "4.0.0", "description": "Passport authentication strategy using JSON Web Tokens", - "devDependencies": { - "chai": "^3.0.0", - "chai-passport-strategy": "^1.0.0", - "istanbul": "^0.4.5", - "mocha": "^3.0.0", - "sinon": "^1.0.0" + "main": "./lib", + "scripts": { + "test": "./node_modules/.bin/mocha --reporter spec --require test/bootstrap test/*test.js", + "testcov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/themikenicholson/passport-jwt.git" }, - "homepage": "https://github.com/themikenicholson/passport-jwt", "keywords": [ "Passport", "Strategy", @@ -54,16 +19,21 @@ "Token", "JWT" ], + "author": "Mike Nicholson", "license": "MIT", - "main": "./lib", - "name": "passport-jwt", - "repository": { - "type": "git", - "url": "git+https://github.com/themikenicholson/passport-jwt.git" + "bugs": { + "url": "https://github.com/themikenicholson/passport-jwt/issues" }, - "scripts": { - "test": "mocha --reporter spec --require test/bootstrap test/*test.js", - "testcov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js" + "homepage": "https://github.com/themikenicholson/passport-jwt", + "devDependencies": { + "chai": "^3.0.0", + "chai-passport-strategy": "^1.0.0", + "istanbul": "^0.4.5", + "mocha": "^3.0.0", + "sinon": "^1.0.0" }, - "version": "4.0.0" + "dependencies": { + "jsonwebtoken": "^8.2.0", + "passport-strategy": "^1.0.0" + } } diff --git a/node_modules/passport-local/package.json b/node_modules/passport-local/package.json index 82df492c..8df864d9 100644 --- a/node_modules/passport-local/package.json +++ b/node_modules/passport-local/package.json @@ -1,53 +1,7 @@ { - "_args": [ - [ - "passport-local@1.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "passport-local@1.0.0", - "_id": "passport-local@1.0.0", - "_inBundle": false, - "_integrity": "sha512-9wCE6qKznvf9mQYYbgJ3sVOHmCWoUNMVFoZzNoznmISbhnNNPhN9xfY3sLmScHMetEJeoY7CXwfhCe7argfQow==", - "_location": "/passport-local", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "passport-local@1.0.0", - "name": "passport-local", - "escapedName": "passport-local", - "rawSpec": "1.0.0", - "saveSpec": null, - "fetchSpec": "1.0.0" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/passport-local/-/passport-local-1.0.0.tgz", - "_spec": "1.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jared Hanson", - "email": "jaredhanson@gmail.com", - "url": "http://www.jaredhanson.net/" - }, - "bugs": { - "url": "http://github.com/jaredhanson/passport-local/issues" - }, - "dependencies": { - "passport-strategy": "1.x.x" - }, + "name": "passport-local", + "version": "1.0.0", "description": "Local username and password authentication strategy for Passport.", - "devDependencies": { - "chai": "1.x.x", - "chai-passport-strategy": "0.1.x", - "mocha": "1.x.x" - }, - "engines": { - "node": ">= 0.4.0" - }, - "homepage": "https://github.com/jaredhanson/passport-local#readme", "keywords": [ "passport", "local", @@ -57,6 +11,18 @@ "username", "password" ], + "author": { + "name": "Jared Hanson", + "email": "jaredhanson@gmail.com", + "url": "http://www.jaredhanson.net/" + }, + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/passport-local.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/passport-local/issues" + }, "licenses": [ { "type": "MIT", @@ -64,13 +30,18 @@ } ], "main": "./lib", - "name": "passport-local", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/passport-local.git" + "dependencies": { + "passport-strategy": "1.x.x" }, - "scripts": { - "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js" + "devDependencies": { + "mocha": "1.x.x", + "chai": "1.x.x", + "chai-passport-strategy": "0.1.x" }, - "version": "1.0.0" + "engines": { + "node": ">= 0.4.0" + }, + "scripts": { + "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js" + } } diff --git a/node_modules/passport-strategy/package.json b/node_modules/passport-strategy/package.json index 59a5a7b4..666d2650 100644 --- a/node_modules/passport-strategy/package.json +++ b/node_modules/passport-strategy/package.json @@ -1,56 +1,23 @@ { - "_args": [ - [ - "passport-strategy@1.0.0", - "/var/www/html/arclight" - ] + "name": "passport-strategy", + "version": "1.0.0", + "description": "An abstract class implementing Passport's strategy API.", + "keywords": [ + "passport", + "strategy" ], - "_from": "passport-strategy@1.0.0", - "_id": "passport-strategy@1.0.0", - "_inBundle": false, - "_integrity": "sha512-CB97UUvDKJde2V0KDWWB3lyf6PC3FaZP7YxZ2G8OAtn9p4HI9j9JLP9qjOGZFvyl8uwNT8qM+hGnz/n16NI7oA==", - "_location": "/passport-strategy", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "passport-strategy@1.0.0", - "name": "passport-strategy", - "escapedName": "passport-strategy", - "rawSpec": "1.0.0", - "saveSpec": null, - "fetchSpec": "1.0.0" + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/passport-strategy.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/passport-strategy/issues" }, - "_requiredBy": [ - "/passport", - "/passport-jwt", - "/passport-local" - ], - "_resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz", - "_spec": "1.0.0", - "_where": "/var/www/html/arclight", "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, - "bugs": { - "url": "http://github.com/jaredhanson/passport-strategy/issues" - }, - "dependencies": {}, - "description": "An abstract class implementing Passport's strategy API.", - "devDependencies": { - "chai": "1.x.x", - "mocha": "1.x.x" - }, - "engines": { - "node": ">= 0.4.0" - }, - "homepage": "https://github.com/jaredhanson/passport-strategy#readme", - "keywords": [ - "passport", - "strategy" - ], "licenses": [ { "type": "MIT", @@ -58,23 +25,26 @@ } ], "main": "./lib", - "name": "passport-strategy", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/passport-strategy.git" + "dependencies": { + }, + "devDependencies": { + "mocha": "1.x.x", + "chai": "1.x.x" + }, + "engines": { + "node": ">= 0.4.0" }, "scripts": { - "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js" + "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js" }, "testling": { "browsers": [ "chrome/latest" ], - "harness": "mocha", + "harness" : "mocha", "files": [ "test/bootstrap/testling.js", "test/*.test.js" ] - }, - "version": "1.0.0" + } } diff --git a/node_modules/passport/package.json b/node_modules/passport/package.json index 6c413d8d..3bef6d3d 100644 --- a/node_modules/passport/package.json +++ b/node_modules/passport/package.json @@ -1,84 +1,56 @@ { - "_args": [ - [ - "passport@0.6.0", - "/var/www/html/arclight" - ] - ], - "_from": "passport@0.6.0", - "_id": "passport@0.6.0", - "_inBundle": false, - "_integrity": "sha512-0fe+p3ZnrWRW74fe8+SvCyf4a3Pb2/h7gFkQ8yTJpAO50gDzlfjZUZTO1k5Eg9kUct22OxHLqDZoKUWRHOh9ug==", - "_location": "/passport", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "passport@0.6.0", - "name": "passport", - "escapedName": "passport", - "rawSpec": "0.6.0", - "saveSpec": null, - "fetchSpec": "0.6.0" - }, - "_requiredBy": [ - "/" + "name": "passport", + "version": "0.6.0", + "description": "Simple, unobtrusive authentication for Node.js.", + "keywords": [ + "express", + "connect", + "auth", + "authn", + "authentication" ], - "_resolved": "https://registry.npmjs.org/passport/-/passport-0.6.0.tgz", - "_spec": "0.6.0", - "_where": "/var/www/html/arclight", "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "https://www.jaredhanson.me/" }, + "homepage": "https://www.passportjs.org/", + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/passport.git" + }, "bugs": { "url": "https://github.com/jaredhanson/passport/issues" }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/jaredhanson" + }, + "license": "MIT", + "licenses": [ + { + "type": "MIT", + "url": "https://opensource.org/licenses/MIT" + } + ], + "main": "./lib", "dependencies": { "passport-strategy": "1.x.x", "pause": "0.0.1", "utils-merge": "^1.0.1" }, - "description": "Simple, unobtrusive authentication for Node.js.", "devDependencies": { + "make-node": "0.3.x", + "mocha": "2.x.x", "chai": "2.x.x", "chai-connect-middleware": "0.3.x", "chai-passport-strategy": "0.2.x", - "make-node": "0.3.x", - "mocha": "2.x.x", "proxyquire": "1.4.x" }, "engines": { "node": ">= 0.4.0" }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/jaredhanson" - }, - "homepage": "https://www.passportjs.org/", - "keywords": [ - "express", - "connect", - "auth", - "authn", - "authentication" - ], - "license": "MIT", - "licenses": [ - { - "type": "MIT", - "url": "https://opensource.org/licenses/MIT" - } - ], - "main": "./lib", - "name": "passport", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/passport.git" - }, "scripts": { - "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js" - }, - "version": "0.6.0" + "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js" + } } diff --git a/node_modules/path-to-regexp/package.json b/node_modules/path-to-regexp/package.json index 876518fc..d4e51b57 100644 --- a/node_modules/path-to-regexp/package.json +++ b/node_modules/path-to-regexp/package.json @@ -1,62 +1,30 @@ { - "_args": [ - [ - "path-to-regexp@0.1.7", - "/var/www/html/arclight" - ] - ], - "_from": "path-to-regexp@0.1.7", - "_id": "path-to-regexp@0.1.7", - "_inBundle": false, - "_integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", - "_location": "/path-to-regexp", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "path-to-regexp@0.1.7", - "name": "path-to-regexp", - "escapedName": "path-to-regexp", - "rawSpec": "0.1.7", - "saveSpec": null, - "fetchSpec": "0.1.7" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "_spec": "0.1.7", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/component/path-to-regexp/issues" - }, - "component": { - "scripts": { - "path-to-regexp": "index.js" - } - }, + "name": "path-to-regexp", "description": "Express style path to RegExp utility", - "devDependencies": { - "istanbul": "^0.2.6", - "mocha": "^1.17.1" - }, + "version": "0.1.7", "files": [ "index.js", "LICENSE" ], - "homepage": "https://github.com/component/path-to-regexp#readme", + "scripts": { + "test": "istanbul cover _mocha -- -R spec" + }, "keywords": [ "express", "regexp" ], + "component": { + "scripts": { + "path-to-regexp": "index.js" + } + }, "license": "MIT", - "name": "path-to-regexp", "repository": { "type": "git", - "url": "git+https://github.com/component/path-to-regexp.git" - }, - "scripts": { - "test": "istanbul cover _mocha -- -R spec" + "url": "https://github.com/component/path-to-regexp.git" }, - "version": "0.1.7" + "devDependencies": { + "mocha": "^1.17.1", + "istanbul": "^0.2.6" + } } diff --git a/node_modules/pause/package.json b/node_modules/pause/package.json index 26c1ccad..ae472ac8 100644 --- a/node_modules/pause/package.json +++ b/node_modules/pause/package.json @@ -1,44 +1,13 @@ { - "_args": [ - [ - "pause@0.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "pause@0.0.1", - "_id": "pause@0.0.1", - "_inBundle": false, - "_integrity": "sha512-KG8UEiEVkR3wGEb4m5yZkVCzigAD+cVEJck2CzYZO37ZGJfctvVptVO192MwrtPhzONn6go8ylnOdMhKqi4nfg==", - "_location": "/pause", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "pause@0.0.1", - "name": "pause", - "escapedName": "pause", - "rawSpec": "0.0.1", - "saveSpec": null, - "fetchSpec": "0.0.1" - }, - "_requiredBy": [ - "/passport" - ], - "_resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz", - "_spec": "0.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "dependencies": {}, + "name": "pause", + "version": "0.0.1", "description": "Pause streams...", + "keywords": [], + "author": "TJ Holowaychuk ", + "dependencies": {}, "devDependencies": { "mocha": "*", "should": "*" }, - "keywords": [], - "main": "index", - "name": "pause", - "version": "0.0.1" -} + "main": "index" +} \ No newline at end of file diff --git a/node_modules/proxy-addr/package.json b/node_modules/proxy-addr/package.json index 47f70c99..24ba8f7d 100644 --- a/node_modules/proxy-addr/package.json +++ b/node_modules/proxy-addr/package.json @@ -1,47 +1,22 @@ { - "_args": [ - [ - "proxy-addr@2.0.7", - "/var/www/html/arclight" - ] - ], - "_from": "proxy-addr@2.0.7", - "_id": "proxy-addr@2.0.7", - "_inBundle": false, - "_integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "_location": "/proxy-addr", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "proxy-addr@2.0.7", - "name": "proxy-addr", - "escapedName": "proxy-addr", - "rawSpec": "2.0.7", - "saveSpec": null, - "fetchSpec": "2.0.7" - }, - "_requiredBy": [ - "/express" + "name": "proxy-addr", + "description": "Determine address of proxied request", + "version": "2.0.7", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "ip", + "proxy", + "x-forwarded-for" ], - "_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "_spec": "2.0.7", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/proxy-addr/issues" - }, + "repository": "jshttp/proxy-addr", "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" }, - "description": "Determine address of proxied request", "devDependencies": { - "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", + "beautify-benchmark": "0.2.4", "deep-equal": "1.0.1", "eslint": "7.26.0", "eslint-config-standard": "14.1.1", @@ -53,26 +28,14 @@ "mocha": "8.4.0", "nyc": "15.1.0" }, - "engines": { - "node": ">= 0.10" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/proxy-addr#readme", - "keywords": [ - "ip", - "proxy", - "x-forwarded-for" - ], - "license": "MIT", - "name": "proxy-addr", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/proxy-addr.git" + "engines": { + "node": ">= 0.10" }, "scripts": { "bench": "node benchmark/index.js", @@ -80,6 +43,5 @@ "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "2.0.7" + } } diff --git a/node_modules/punycode/package.json b/node_modules/punycode/package.json index 5ea6cd70..9202ccf8 100644 --- a/node_modules/punycode/package.json +++ b/node_modules/punycode/package.json @@ -1,88 +1,58 @@ { - "_args": [ - [ - "punycode@2.1.1", - "/var/www/html/arclight" - ] - ], - "_from": "punycode@2.1.1", - "_id": "punycode@2.1.1", - "_inBundle": false, - "_integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "_location": "/punycode", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "punycode@2.1.1", - "name": "punycode", - "escapedName": "punycode", - "rawSpec": "2.1.1", - "saveSpec": null, - "fetchSpec": "2.1.1" + "name": "punycode", + "version": "2.1.1", + "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", + "homepage": "https://mths.be/punycode", + "main": "punycode.js", + "jsnext:main": "punycode.es6.js", + "module": "punycode.es6.js", + "engines": { + "node": ">=6" }, - "_requiredBy": [ - "/tr46" + "keywords": [ + "punycode", + "unicode", + "idn", + "idna", + "dns", + "url", + "domain" ], - "_resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "_spec": "2.1.1", - "_where": "/var/www/html/arclight", + "license": "MIT", "author": { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" }, - "bugs": { - "url": "https://github.com/bestiejs/punycode.js/issues" - }, "contributors": [ { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" } ], - "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", - "devDependencies": { - "codecov": "^1.0.1", - "istanbul": "^0.4.1", - "mocha": "^2.5.3" - }, - "engines": { - "node": ">=6" + "repository": { + "type": "git", + "url": "https://github.com/bestiejs/punycode.js.git" }, + "bugs": "https://github.com/bestiejs/punycode.js/issues", "files": [ "LICENSE-MIT.txt", "punycode.js", "punycode.es6.js" ], - "homepage": "https://mths.be/punycode", - "jsnext:main": "punycode.es6.js", + "scripts": { + "test": "mocha tests", + "prepublish": "node scripts/prepublish.js" + }, + "devDependencies": { + "codecov": "^1.0.1", + "istanbul": "^0.4.1", + "mocha": "^2.5.3" + }, "jspm": { "map": { "./punycode.js": { "node": "@node/punycode" } } - }, - "keywords": [ - "punycode", - "unicode", - "idn", - "idna", - "dns", - "url", - "domain" - ], - "license": "MIT", - "main": "punycode.js", - "module": "punycode.es6.js", - "name": "punycode", - "repository": { - "type": "git", - "url": "git+https://github.com/bestiejs/punycode.js.git" - }, - "scripts": { - "prepublish": "node scripts/prepublish.js", - "test": "mocha tests" - }, - "version": "2.1.1" + } } diff --git a/node_modules/qs/package.json b/node_modules/qs/package.json index b969bf82..845e20a2 100644 --- a/node_modules/qs/package.json +++ b/node_modules/qs/package.json @@ -1,105 +1,73 @@ { - "_args": [ - [ - "qs@6.10.3", - "/var/www/html/arclight" - ] - ], - "_from": "qs@6.10.3", - "_id": "qs@6.10.3", - "_inBundle": false, - "_integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", - "_location": "/qs", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "qs@6.10.3", "name": "qs", - "escapedName": "qs", - "rawSpec": "6.10.3", - "saveSpec": null, - "fetchSpec": "6.10.3" - }, - "_requiredBy": [ - "/body-parser", - "/express" - ], - "_resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", - "_spec": "6.10.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/ljharb/qs/issues" - }, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" + "description": "A querystring parser that supports nesting and arrays, with a depth limit", + "homepage": "https://github.com/ljharb/qs", + "version": "6.10.3", + "repository": { + "type": "git", + "url": "https://github.com/ljharb/qs.git" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "main": "lib/index.js", + "contributors": [ + { + "name": "Jordan Harband", + "email": "ljharb@gmail.com", + "url": "http://ljharb.codes" + } + ], + "keywords": [ + "querystring", + "qs", + "query", + "url", + "parse", + "stringify" + ], + "engines": { + "node": ">=0.6" + }, + "dependencies": { + "side-channel": "^1.0.4" + }, + "devDependencies": { + "@ljharb/eslint-config": "^20.1.0", + "aud": "^1.1.5", + "browserify": "^16.5.2", + "eclint": "^2.8.1", + "eslint": "^8.6.0", + "evalmd": "^0.0.19", + "for-each": "^0.3.3", + "has-symbols": "^1.0.2", + "iconv-lite": "^0.5.1", + "in-publish": "^2.0.1", + "mkdirp": "^0.5.5", + "nyc": "^10.3.2", + "object-inspect": "^1.12.0", + "qs-iconv": "^1.0.4", + "safe-publish-latest": "^2.0.0", + "safer-buffer": "^2.1.2", + "tape": "^5.4.0" + }, + "scripts": { + "prepublishOnly": "safe-publish-latest && npm run dist", + "prepublish": "not-in-publish || npm run prepublishOnly", + "pretest": "npm run --silent readme && npm run --silent lint", + "test": "npm run tests-only", + "tests-only": "nyc tape 'test/**/*.js'", + "posttest": "aud --production", + "readme": "evalmd README.md", + "postlint": "eclint check * lib/* test/* !dist/*", + "lint": "eslint .", + "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js" + }, + "license": "BSD-3-Clause", + "greenkeeper": { + "ignore": [ + "iconv-lite", + "mkdirp" + ] } - ], - "dependencies": { - "side-channel": "^1.0.4" - }, - "description": "A querystring parser that supports nesting and arrays, with a depth limit", - "devDependencies": { - "@ljharb/eslint-config": "^20.1.0", - "aud": "^1.1.5", - "browserify": "^16.5.2", - "eclint": "^2.8.1", - "eslint": "^8.6.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "has-symbols": "^1.0.2", - "iconv-lite": "^0.5.1", - "in-publish": "^2.0.1", - "mkdirp": "^0.5.5", - "nyc": "^10.3.2", - "object-inspect": "^1.12.0", - "qs-iconv": "^1.0.4", - "safe-publish-latest": "^2.0.0", - "safer-buffer": "^2.1.2", - "tape": "^5.4.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "greenkeeper": { - "ignore": [ - "iconv-lite", - "mkdirp" - ] - }, - "homepage": "https://github.com/ljharb/qs", - "keywords": [ - "querystring", - "qs", - "query", - "url", - "parse", - "stringify" - ], - "license": "BSD-3-Clause", - "main": "lib/index.js", - "name": "qs", - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/qs.git" - }, - "scripts": { - "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js", - "lint": "eslint .", - "postlint": "eclint check * lib/* test/* !dist/*", - "posttest": "aud --production", - "prepublish": "not-in-publish || npm run prepublishOnly", - "prepublishOnly": "safe-publish-latest && npm run dist", - "pretest": "npm run --silent readme && npm run --silent lint", - "readme": "evalmd README.md", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'" - }, - "version": "6.10.3" } diff --git a/node_modules/random-bytes/package.json b/node_modules/random-bytes/package.json index 72325abf..c67e0e81 100644 --- a/node_modules/random-bytes/package.json +++ b/node_modules/random-bytes/package.json @@ -1,74 +1,36 @@ { - "_args": [ - [ - "random-bytes@1.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "random-bytes@1.0.0", - "_id": "random-bytes@1.0.0", - "_inBundle": false, - "_integrity": "sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ==", - "_location": "/random-bytes", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "random-bytes@1.0.0", - "name": "random-bytes", - "escapedName": "random-bytes", - "rawSpec": "1.0.0", - "saveSpec": null, - "fetchSpec": "1.0.0" - }, - "_requiredBy": [ - "/uid-safe" - ], - "_resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", - "_spec": "1.0.0", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/crypto-utils/random-bytes/issues" - }, + "name": "random-bytes", + "description": "URL and cookie safe UIDs", + "version": "1.0.0", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - } + "Douglas Christopher Wilson " ], - "description": "URL and cookie safe UIDs", + "license": "MIT", + "repository": "crypto-utils/random-bytes", "devDependencies": { "bluebird": "3.1.1", "istanbul": "0.4.2", "mocha": "2.3.4", "proxyquire": "1.2.0" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/crypto-utils/random-bytes#readme", - "keywords": [ - "bytes", - "generator", - "random", - "safe" - ], - "license": "MIT", - "name": "random-bytes", - "repository": { - "type": "git", - "url": "git+https://github.com/crypto-utils/random-bytes.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --trace-deprecation --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --trace-deprecation --reporter spec --check-leaks test/" }, - "version": "1.0.0" + "keywords": [ + "bytes", + "generator", + "random", + "safe" + ] } diff --git a/node_modules/range-parser/package.json b/node_modules/range-parser/package.json index fe770678..abea6d85 100644 --- a/node_modules/range-parser/package.json +++ b/node_modules/range-parser/package.json @@ -1,94 +1,44 @@ { - "_args": [ - [ - "range-parser@1.2.1", - "/var/www/html/arclight" - ] - ], - "_from": "range-parser@1.2.1", - "_id": "range-parser@1.2.1", - "_inBundle": false, - "_integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "_location": "/range-parser", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "range-parser@1.2.1", - "name": "range-parser", - "escapedName": "range-parser", - "rawSpec": "1.2.1", - "saveSpec": null, - "fetchSpec": "1.2.1" - }, - "_requiredBy": [ - "/express", - "/send" - ], - "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "_spec": "1.2.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca", - "url": "http://tjholowaychuk.com" - }, - "bugs": { - "url": "https://github.com/jshttp/range-parser/issues" - }, + "name": "range-parser", + "author": "TJ Holowaychuk (http://tjholowaychuk.com)", + "description": "Range header field string parser", + "version": "1.2.1", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "James Wyatt Cready", - "email": "wyatt.cready@lanetix.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "James Wyatt Cready ", + "Jonathan Ong (http://jongleberry.com)" ], - "description": "Range header field string parser", + "license": "MIT", + "keywords": [ + "range", + "parser", + "http" + ], + "repository": "jshttp/range-parser", "devDependencies": { "deep-equal": "1.0.1", "eslint": "5.16.0", "eslint-config-standard": "12.0.0", - "eslint-plugin-import": "2.17.2", "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-import": "2.17.2", "eslint-plugin-node": "8.0.1", "eslint-plugin-promise": "4.1.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", "nyc": "14.1.1" }, - "engines": { - "node": ">= 0.6" - }, "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "homepage": "https://github.com/jshttp/range-parser#readme", - "keywords": [ - "range", - "parser", - "http" - ], - "license": "MIT", - "name": "range-parser", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/range-parser.git" + "engines": { + "node": ">= 0.6" }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" - }, - "version": "1.2.1" + } } diff --git a/node_modules/raw-body/package.json b/node_modules/raw-body/package.json index 80fdbee2..50fc90ad 100644 --- a/node_modules/raw-body/package.json +++ b/node_modules/raw-body/package.json @@ -1,57 +1,20 @@ { - "_args": [ - [ - "raw-body@2.5.1", - "/var/www/html/arclight" - ] - ], - "_from": "raw-body@2.5.1", - "_id": "raw-body@2.5.1", - "_inBundle": false, - "_integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", - "_location": "/raw-body", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "raw-body@2.5.1", - "name": "raw-body", - "escapedName": "raw-body", - "rawSpec": "2.5.1", - "saveSpec": null, - "fetchSpec": "2.5.1" - }, - "_requiredBy": [ - "/body-parser" - ], - "_resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "_spec": "2.5.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - }, - "bugs": { - "url": "https://github.com/stream-utils/raw-body/issues" - }, + "name": "raw-body", + "description": "Get and validate the raw body of a readable stream.", + "version": "2.5.1", + "author": "Jonathan Ong (http://jongleberry.com)", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Raynos", - "email": "raynos2@gmail.com" - } + "Douglas Christopher Wilson ", + "Raynos " ], + "license": "MIT", + "repository": "stream-utils/raw-body", "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", "iconv-lite": "0.4.24", "unpipe": "1.0.0" }, - "description": "Get and validate the raw body of a readable stream.", "devDependencies": { "bluebird": "3.7.2", "eslint": "7.32.0", @@ -77,18 +40,10 @@ "index.d.ts", "index.js" ], - "homepage": "https://github.com/stream-utils/raw-body#readme", - "license": "MIT", - "name": "raw-body", - "repository": { - "type": "git", - "url": "git+https://github.com/stream-utils/raw-body.git" - }, "scripts": { "lint": "eslint .", "test": "mocha --trace-deprecation --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "2.5.1" + } } diff --git a/node_modules/safe-buffer/package.json b/node_modules/safe-buffer/package.json index f36c206d..f2869e25 100644 --- a/node_modules/safe-buffer/package.json +++ b/node_modules/safe-buffer/package.json @@ -1,38 +1,7 @@ { - "_args": [ - [ - "safe-buffer@5.2.1", - "/var/www/html/arclight" - ] - ], - "_from": "safe-buffer@5.2.1", - "_id": "safe-buffer@5.2.1", - "_inBundle": false, - "_integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "_location": "/safe-buffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "safe-buffer@5.2.1", - "name": "safe-buffer", - "escapedName": "safe-buffer", - "rawSpec": "5.2.1", - "saveSpec": null, - "fetchSpec": "5.2.1" - }, - "_requiredBy": [ - "/content-disposition", - "/ecdsa-sig-formatter", - "/express", - "/express-session", - "/jwa", - "/jws", - "/string_decoder" - ], - "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "_spec": "5.2.1", - "_where": "/var/www/html/arclight", + "name": "safe-buffer", + "description": "Safer Node.js Buffer API", + "version": "5.2.1", "author": { "name": "Feross Aboukhadijeh", "email": "feross@feross.org", @@ -41,25 +10,10 @@ "bugs": { "url": "https://github.com/feross/safe-buffer/issues" }, - "description": "Safer Node.js Buffer API", "devDependencies": { "standard": "*", "tape": "^5.0.0" }, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], "homepage": "https://github.com/feross/safe-buffer", "keywords": [ "buffer", @@ -72,7 +26,7 @@ ], "license": "MIT", "main": "index.js", - "name": "safe-buffer", + "types": "index.d.ts", "repository": { "type": "git", "url": "git://github.com/feross/safe-buffer.git" @@ -80,6 +34,18 @@ "scripts": { "test": "standard && tape test/*.js" }, - "types": "index.d.ts", - "version": "5.2.1" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] } diff --git a/node_modules/safer-buffer/package.json b/node_modules/safer-buffer/package.json index c878d811..d452b04a 100644 --- a/node_modules/safer-buffer/package.json +++ b/node_modules/safer-buffer/package.json @@ -1,42 +1,25 @@ { - "_args": [ - [ - "safer-buffer@2.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "safer-buffer@2.1.2", - "_id": "safer-buffer@2.1.2", - "_inBundle": false, - "_integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "_location": "/safer-buffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "safer-buffer@2.1.2", - "name": "safer-buffer", - "escapedName": "safer-buffer", - "rawSpec": "2.1.2", - "saveSpec": null, - "fetchSpec": "2.1.2" + "name": "safer-buffer", + "version": "2.1.2", + "description": "Modern Buffer API polyfill without footguns", + "main": "safer.js", + "scripts": { + "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", + "test": "standard && tape tests.js" }, - "_requiredBy": [ - "/asn1.js", - "/iconv-lite" - ], - "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "_spec": "2.1.2", - "_where": "/var/www/html/arclight", "author": { "name": "Nikita Skovoroda", "email": "chalkerx@gmail.com", "url": "https://github.com/ChALkeR" }, + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/ChALkeR/safer-buffer.git" + }, "bugs": { "url": "https://github.com/ChALkeR/safer-buffer/issues" }, - "description": "Modern Buffer API polyfill without footguns", "devDependencies": { "standard": "^11.0.1", "tape": "^4.9.0" @@ -47,18 +30,5 @@ "tests.js", "dangerous.js", "safer.js" - ], - "homepage": "https://github.com/ChALkeR/safer-buffer#readme", - "license": "MIT", - "main": "safer.js", - "name": "safer-buffer", - "repository": { - "type": "git", - "url": "git+https://github.com/ChALkeR/safer-buffer.git" - }, - "scripts": { - "browserify-test": "browserify --external tape tests.js > browserify-tests.js && tape browserify-tests.js", - "test": "standard && tape tests.js" - }, - "version": "2.1.2" + ] } diff --git a/node_modules/saslprep/package.json b/node_modules/saslprep/package.json index 26f7fa24..23c35627 100644 --- a/node_modules/saslprep/package.json +++ b/node_modules/saslprep/package.json @@ -1,52 +1,42 @@ { - "_args": [ - [ - "saslprep@1.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "saslprep@1.0.3", - "_id": "saslprep@1.0.3", - "_inBundle": false, - "_integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", - "_location": "/saslprep", - "_optional": true, - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "saslprep@1.0.3", - "name": "saslprep", - "escapedName": "saslprep", - "rawSpec": "1.0.3", - "saveSpec": null, - "fetchSpec": "1.0.3" + "name": "saslprep", + "version": "1.0.3", + "description": "SASLprep: Stringprep Profile for User Names and Passwords, rfc4013.", + "main": "index.js", + "scripts": { + "test": "npm run lint && npm run unit-test", + "lint": "npx eslint --quiet .", + "unit-test": "npx jest", + "gen-code-points": "node generate-code-points.js > code-points.mem" }, - "_requiredBy": [ - "/mongodb" - ], - "_resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", - "_spec": "1.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "Dmitry Tsvettsikh", - "email": "me@reklatsmasters.com" + "repository": { + "type": "git", + "url": "git+https://github.com/reklatsmasters/saslprep.git" }, + "keywords": [ + "sasl", + "saslprep", + "stringprep", + "rfc4013", + "4013" + ], + "author": "Dmitry Tsvettsikh ", + "license": "MIT", "bugs": { "url": "https://github.com/reklatsmasters/saslprep/issues" }, - "dependencies": { - "sparse-bitfield": "^3.0.3" + "engines": { + "node": ">=6" }, - "description": "SASLprep: Stringprep Profile for User Names and Passwords, rfc4013.", + "homepage": "https://github.com/reklatsmasters/saslprep#readme", "devDependencies": { "@nodertc/eslint-config": "^0.2.1", "eslint": "^5.16.0", "jest": "^23.6.0", "prettier": "^1.14.3" }, - "engines": { - "node": ">=6" + "dependencies": { + "sparse-bitfield": "^3.0.3" }, "eslintConfig": { "extends": "@nodertc", @@ -68,7 +58,6 @@ } ] }, - "homepage": "https://github.com/reklatsmasters/saslprep#readme", "jest": { "modulePaths": [ "" @@ -79,26 +68,5 @@ "testPathIgnorePatterns": [ "/node_modules/" ] - }, - "keywords": [ - "sasl", - "saslprep", - "stringprep", - "rfc4013", - "4013" - ], - "license": "MIT", - "main": "index.js", - "name": "saslprep", - "repository": { - "type": "git", - "url": "git+https://github.com/reklatsmasters/saslprep.git" - }, - "scripts": { - "gen-code-points": "node generate-code-points.js > code-points.mem", - "lint": "npx eslint --quiet .", - "test": "npm run lint && npm run unit-test", - "unit-test": "npx jest" - }, - "version": "1.0.3" + } } diff --git a/node_modules/send/node_modules/ms/package.json b/node_modules/send/node_modules/ms/package.json index e4f67c3b..49971890 100644 --- a/node_modules/send/node_modules/ms/package.json +++ b/node_modules/send/node_modules/ms/package.json @@ -1,43 +1,16 @@ { - "_args": [ - [ - "ms@2.1.3", - "/var/www/html/arclight" - ] - ], - "_from": "ms@2.1.3", - "_id": "ms@2.1.3", - "_inBundle": false, - "_integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "_location": "/send/ms", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "ms@2.1.3", - "name": "ms", - "escapedName": "ms", - "rawSpec": "2.1.3", - "saveSpec": null, - "fetchSpec": "2.1.3" - }, - "_requiredBy": [ - "/send" - ], - "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "_spec": "2.1.3", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/vercel/ms/issues" - }, + "name": "ms", + "version": "2.1.3", "description": "Tiny millisecond conversion utility", - "devDependencies": { - "eslint": "4.18.2", - "expect.js": "0.3.1", - "husky": "0.14.3", - "lint-staged": "5.0.0", - "mocha": "4.0.1", - "prettier": "2.0.5" + "repository": "vercel/ms", + "main": "./index", + "files": [ + "index.js" + ], + "scripts": { + "precommit": "lint-staged", + "lint": "eslint lib/* bin/*", + "test": "mocha tests.js" }, "eslintConfig": { "extends": "eslint:recommended", @@ -46,11 +19,6 @@ "es6": true } }, - "files": [ - "index.js" - ], - "homepage": "https://github.com/vercel/ms#readme", - "license": "MIT", "lint-staged": { "*.js": [ "npm run lint", @@ -58,16 +26,13 @@ "git add" ] }, - "main": "./index", - "name": "ms", - "repository": { - "type": "git", - "url": "git+https://github.com/vercel/ms.git" - }, - "scripts": { - "lint": "eslint lib/* bin/*", - "precommit": "lint-staged", - "test": "mocha tests.js" - }, - "version": "2.1.3" + "license": "MIT", + "devDependencies": { + "eslint": "4.18.2", + "expect.js": "0.3.1", + "husky": "0.14.3", + "lint-staged": "5.0.0", + "mocha": "4.0.1", + "prettier": "2.0.5" + } } diff --git a/node_modules/send/package.json b/node_modules/send/package.json index f1349f4a..7f269d51 100644 --- a/node_modules/send/package.json +++ b/node_modules/send/package.json @@ -1,53 +1,19 @@ { - "_args": [ - [ - "send@0.18.0", - "/var/www/html/arclight" - ] - ], - "_from": "send@0.18.0", - "_id": "send@0.18.0", - "_inBundle": false, - "_integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", - "_location": "/send", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "send@0.18.0", - "name": "send", - "escapedName": "send", - "rawSpec": "0.18.0", - "saveSpec": null, - "fetchSpec": "0.18.0" - }, - "_requiredBy": [ - "/express", - "/serve-static" - ], - "_resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "_spec": "0.18.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "TJ Holowaychuk", - "email": "tj@vision-media.ca" - }, - "bugs": { - "url": "https://github.com/pillarjs/send/issues" - }, + "name": "send", + "description": "Better streaming static file server with Range and conditional-GET support", + "version": "0.18.0", + "author": "TJ Holowaychuk ", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "James Wyatt Cready", - "email": "jcready@gmail.com" - }, - { - "name": "Jesús Leganés Combarro", - "email": "piranna@gmail.com" - } + "Douglas Christopher Wilson ", + "James Wyatt Cready ", + "Jesús Leganés Combarro " + ], + "license": "MIT", + "repository": "pillarjs/send", + "keywords": [ + "static", + "file", + "server" ], "dependencies": { "debug": "2.6.9", @@ -64,7 +30,6 @@ "range-parser": "~1.2.1", "statuses": "2.0.1" }, - "description": "Better streaming static file server with Range and conditional-GET support", "devDependencies": { "after": "0.8.2", "eslint": "7.32.0", @@ -78,9 +43,6 @@ "nyc": "15.1.0", "supertest": "6.2.2" }, - "engines": { - "node": ">= 0.8.0" - }, "files": [ "HISTORY.md", "LICENSE", @@ -88,23 +50,13 @@ "SECURITY.md", "index.js" ], - "homepage": "https://github.com/pillarjs/send#readme", - "keywords": [ - "static", - "file", - "server" - ], - "license": "MIT", - "name": "send", - "repository": { - "type": "git", - "url": "git+https://github.com/pillarjs/send.git" + "engines": { + "node": ">= 0.8.0" }, "scripts": { "lint": "eslint .", "test": "mocha --check-leaks --reporter spec --bail", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test" - }, - "version": "0.18.0" + } } diff --git a/node_modules/serve-static/package.json b/node_modules/serve-static/package.json index 83e0b51d..9d935f5d 100644 --- a/node_modules/serve-static/package.json +++ b/node_modules/serve-static/package.json @@ -1,46 +1,16 @@ { - "_args": [ - [ - "serve-static@1.15.0", - "/var/www/html/arclight" - ] - ], - "_from": "serve-static@1.15.0", - "_id": "serve-static@1.15.0", - "_inBundle": false, - "_integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", - "_location": "/serve-static", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "serve-static@1.15.0", - "name": "serve-static", - "escapedName": "serve-static", - "rawSpec": "1.15.0", - "saveSpec": null, - "fetchSpec": "1.15.0" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "_spec": "1.15.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/expressjs/serve-static/issues" - }, + "name": "serve-static", + "description": "Serve static files", + "version": "1.15.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "expressjs/serve-static", "dependencies": { "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "parseurl": "~1.3.3", "send": "0.18.0" }, - "description": "Serve static files", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -54,20 +24,13 @@ "safe-buffer": "5.2.1", "supertest": "6.2.2" }, - "engines": { - "node": ">= 0.8.0" - }, "files": [ "LICENSE", "HISTORY.md", "index.js" ], - "homepage": "https://github.com/expressjs/serve-static#readme", - "license": "MIT", - "name": "serve-static", - "repository": { - "type": "git", - "url": "git+https://github.com/expressjs/serve-static.git" + "engines": { + "node": ">= 0.8.0" }, "scripts": { "lint": "eslint .", @@ -75,6 +38,5 @@ "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "1.15.0" + } } diff --git a/node_modules/setprototypeof/package.json b/node_modules/setprototypeof/package.json index 8de1f4f5..f20915be 100644 --- a/node_modules/setprototypeof/package.json +++ b/node_modules/setprototypeof/package.json @@ -1,69 +1,38 @@ { - "_args": [ - [ - "setprototypeof@1.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "setprototypeof@1.2.0", - "_id": "setprototypeof@1.2.0", - "_inBundle": false, - "_integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", - "_location": "/setprototypeof", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "setprototypeof@1.2.0", - "name": "setprototypeof", - "escapedName": "setprototypeof", - "rawSpec": "1.2.0", - "saveSpec": null, - "fetchSpec": "1.2.0" - }, - "_requiredBy": [ - "/express", - "/http-errors" - ], - "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "_spec": "1.2.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Wes Todd" - }, - "bugs": { - "url": "https://github.com/wesleytodd/setprototypeof/issues" - }, + "name": "setprototypeof", + "version": "1.2.0", "description": "A small polyfill for Object.setprototypeof", - "devDependencies": { - "mocha": "^6.1.4", - "standard": "^13.0.2" - }, - "homepage": "https://github.com/wesleytodd/setprototypeof", - "keywords": [ - "polyfill", - "object", - "setprototypeof" - ], - "license": "ISC", "main": "index.js", - "name": "setprototypeof", - "repository": { - "type": "git", - "url": "git+https://github.com/wesleytodd/setprototypeof.git" - }, + "typings": "index.d.ts", "scripts": { + "test": "standard && mocha", + "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", + "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t", "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion", - "node11": "NODE_VER=11 npm run testversion", "node4": "NODE_VER=4 npm run testversion", "node6": "NODE_VER=6 npm run testversion", "node9": "NODE_VER=9 npm run testversion", - "postpublish": "git push origin && git push origin --tags", + "node11": "NODE_VER=11 npm run testversion", "prepublishOnly": "npm t", - "test": "standard && mocha", - "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11", - "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t" + "postpublish": "git push origin && git push origin --tags" }, - "typings": "index.d.ts", - "version": "1.2.0" + "repository": { + "type": "git", + "url": "https://github.com/wesleytodd/setprototypeof.git" + }, + "keywords": [ + "polyfill", + "object", + "setprototypeof" + ], + "author": "Wes Todd", + "license": "ISC", + "bugs": { + "url": "https://github.com/wesleytodd/setprototypeof/issues" + }, + "homepage": "https://github.com/wesleytodd/setprototypeof", + "devDependencies": { + "mocha": "^6.1.4", + "standard": "^13.0.2" + } } diff --git a/node_modules/side-channel/package.json b/node_modules/side-channel/package.json index 2f9f52f7..a3e33f66 100644 --- a/node_modules/side-channel/package.json +++ b/node_modules/side-channel/package.json @@ -1,98 +1,67 @@ { - "_args": [ - [ - "side-channel@1.0.4", - "/var/www/html/arclight" - ] - ], - "_from": "side-channel@1.0.4", - "_id": "side-channel@1.0.4", - "_inBundle": false, - "_integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "_location": "/side-channel", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "side-channel@1.0.4", - "name": "side-channel", - "escapedName": "side-channel", - "rawSpec": "1.0.4", - "saveSpec": null, - "fetchSpec": "1.0.4" - }, - "_requiredBy": [ - "/qs" - ], - "_resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "_spec": "1.0.4", - "_where": "/var/www/html/arclight", - "author": { - "name": "Jordan Harband", - "email": "ljharb@gmail.com" - }, - "auto-changelog": { - "output": "CHANGELOG.md", - "template": "keepachangelog", - "unreleased": false, - "commitLimit": false, - "backfillLimit": false, - "hideCredit": true - }, - "bugs": { - "url": "https://github.com/ljharb/side-channel/issues" - }, - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", - "devDependencies": { - "@ljharb/eslint-config": "^17.3.0", - "aud": "^1.1.3", - "auto-changelog": "^2.2.1", - "eslint": "^7.16.0", - "nyc": "^10.3.2", - "safe-publish-latest": "^1.1.4", - "tape": "^5.0.1" - }, - "exports": { - "./package.json": "./package.json", - ".": [ - { - "default": "./index.js" - }, - "./index.js" - ] - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "homepage": "https://github.com/ljharb/side-channel#readme", - "keywords": [ - "weakmap", - "map", - "side", - "channel", - "metadata" - ], - "license": "MIT", - "main": "index.js", - "name": "side-channel", - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/side-channel.git" - }, - "scripts": { - "lint": "eslint .", - "posttest": "npx aud --production", - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", - "prepublish": "safe-publish-latest", - "pretest": "npm run lint", - "test": "npm run tests-only", - "tests-only": "nyc tape 'test/**/*.js'", - "version": "auto-changelog && git add CHANGELOG.md" - }, - "version": "1.0.4" + "name": "side-channel", + "version": "1.0.4", + "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", + "main": "index.js", + "exports": { + "./package.json": "./package.json", + ".": [ + { + "default": "./index.js" + }, + "./index.js" + ] + }, + "scripts": { + "prepublish": "safe-publish-latest", + "lint": "eslint .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "npx aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ljharb/side-channel.git" + }, + "keywords": [ + "weakmap", + "map", + "side", + "channel", + "metadata" + ], + "author": "Jordan Harband ", + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/ljharb/side-channel/issues" + }, + "homepage": "https://github.com/ljharb/side-channel#readme", + "devDependencies": { + "@ljharb/eslint-config": "^17.3.0", + "aud": "^1.1.3", + "auto-changelog": "^2.2.1", + "eslint": "^7.16.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^1.1.4", + "tape": "^5.0.1" + }, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + } } diff --git a/node_modules/sift/README.md b/node_modules/sift/README.md old mode 100644 new mode 100755 diff --git a/node_modules/sift/es5m/index.js b/node_modules/sift/es5m/index.js index 79c77a24..bedb93b4 100644 --- a/node_modules/sift/es5m/index.js +++ b/node_modules/sift/es5m/index.js @@ -1,32 +1,32 @@ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -/* global Reflect, Promise */ - -var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); -}; - -function __extends(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global Reflect, Promise */ + +var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); +}; + +function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); } var typeChecker = function (type) { diff --git a/node_modules/sift/lib/index.js b/node_modules/sift/lib/index.js index 3e6e078f..52cc23b5 100644 --- a/node_modules/sift/lib/index.js +++ b/node_modules/sift/lib/index.js @@ -4,35 +4,35 @@ (global = global || self, factory(global.sift = {})); }(this, (function (exports) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */ + /* global Reflect, Promise */ + + var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); } var typeChecker = function (type) { diff --git a/node_modules/sift/package.json b/node_modules/sift/package.json index c820c165..d6ed64ae 100644 --- a/node_modules/sift/package.json +++ b/node_modules/sift/package.json @@ -1,40 +1,21 @@ { - "_args": [ - [ - "sift@16.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "sift@16.0.0", - "_id": "sift@16.0.0", - "_inBundle": false, - "_integrity": "sha512-ILTjdP2Mv9V1kIxWMXeMTIRbOBrqKc4JAXmFMnFq3fKeyQ2Qwa3Dw1ubcye3vR+Y6ofA0b9gNDr/y2t6eUeIzQ==", - "_location": "/sift", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "sift@16.0.0", - "name": "sift", - "escapedName": "sift", - "rawSpec": "16.0.0", - "saveSpec": null, - "fetchSpec": "16.0.0" - }, - "_requiredBy": [ - "/mongoose" - ], - "_resolved": "https://registry.npmjs.org/sift/-/sift-16.0.0.tgz", - "_spec": "16.0.0", - "_where": "/var/www/html/arclight", + "name": "sift", + "description": "MongoDB query filtering in JavaScript", + "version": "16.0.0", + "repository": "crcn/sift.js", + "sideEffects": false, "author": { "name": "Craig Condon", "email": "craig.j.condon@gmail.com" }, - "bugs": { - "url": "https://github.com/crcn/sift.js/issues" + "license": "MIT", + "engines": {}, + "typings": "./index.d.ts", + "husky": { + "hooks": { + "pre-commit": "pretty-quick --staged" + } }, - "description": "MongoDB query filtering in JavaScript", "devDependencies": { "@rollup/plugin-replace": "^2.3.2", "@rollup/plugin-typescript": "8.2.1", @@ -53,8 +34,19 @@ "tslib": "2.2.0", "typescript": "4.2.4" }, - "engines": {}, + "main": "./index.js", + "module": "./es5m/index.js", "es2015": "./es/index.js", + "scripts": { + "clean": "rimraf lib es5m es", + "prebuild": "npm run clean && npm run build:types", + "build": "rollup -c", + "build:types": "tsc -p tsconfig.json --emitDeclarationOnly --outDir lib", + "test": "npm run test:spec && npm run test:types", + "test:spec": "mocha ./test -R spec", + "test:types": "cd test && tsc types.ts --noEmit", + "prepublishOnly": "npm run build && npm run test" + }, "files": [ "es", "es5m", @@ -66,32 +58,5 @@ "sift.csp.min.js", "sift.min.js", "MIT-LICENSE.txt" - ], - "homepage": "https://github.com/crcn/sift.js#readme", - "husky": { - "hooks": { - "pre-commit": "pretty-quick --staged" - } - }, - "license": "MIT", - "main": "./index.js", - "module": "./es5m/index.js", - "name": "sift", - "repository": { - "type": "git", - "url": "git+https://github.com/crcn/sift.js.git" - }, - "scripts": { - "build": "rollup -c", - "build:types": "tsc -p tsconfig.json --emitDeclarationOnly --outDir lib", - "clean": "rimraf lib es5m es", - "prebuild": "npm run clean && npm run build:types", - "prepublishOnly": "npm run build && npm run test", - "test": "npm run test:spec && npm run test:types", - "test:spec": "mocha ./test -R spec", - "test:types": "cd test && tsc types.ts --noEmit" - }, - "sideEffects": false, - "typings": "./index.d.ts", - "version": "16.0.0" + ] } diff --git a/node_modules/sift/sift.csp.min.js b/node_modules/sift/sift.csp.min.js index ac6865c2..0e28d1e0 100644 --- a/node_modules/sift/sift.csp.min.js +++ b/node_modules/sift/sift.csp.min.js @@ -4,35 +4,35 @@ (global = global || self, factory(global.sift = {})); }(this, (function (exports) { 'use strict'; - /*! ***************************************************************************** - Copyright (c) Microsoft Corporation. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY - AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR - OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR - PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */ - /* global Reflect, Promise */ - - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - - function __extends(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + /*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */ + /* global Reflect, Promise */ + + var extendStatics = function(d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + function __extends(d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); } var typeChecker = function (type) { diff --git a/node_modules/simple-update-notifier/build/index.js b/node_modules/simple-update-notifier/build/index.js index ffa01fad..10218437 100644 --- a/node_modules/simple-update-notifier/build/index.js +++ b/node_modules/simple-update-notifier/build/index.js @@ -16,57 +16,57 @@ var path__default = /*#__PURE__*/_interopDefaultLegacy(path); var fs__default = /*#__PURE__*/_interopDefaultLegacy(fs); var https__default = /*#__PURE__*/_interopDefaultLegacy(https); -/****************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ - -function __awaiter(thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} - -function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ + +function __awaiter(thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +} + +function __generator(thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } } var packageJson = process__default["default"].env.npm_package_json; diff --git a/node_modules/smart-buffer/package.json b/node_modules/smart-buffer/package.json index f22d1de1..2f326f24 100644 --- a/node_modules/smart-buffer/package.json +++ b/node_modules/smart-buffer/package.json @@ -1,45 +1,33 @@ { - "_args": [ - [ - "smart-buffer@4.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "smart-buffer@4.2.0", - "_id": "smart-buffer@4.2.0", - "_inBundle": false, - "_integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "_location": "/smart-buffer", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "smart-buffer@4.2.0", - "name": "smart-buffer", - "escapedName": "smart-buffer", - "rawSpec": "4.2.0", - "saveSpec": null, - "fetchSpec": "4.2.0" - }, - "_requiredBy": [ - "/socks" - ], - "_resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "_spec": "4.2.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Josh Glazebrook" + "name": "smart-buffer", + "version": "4.2.0", + "description": "smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.", + "main": "build/smartbuffer.js", + "contributors": ["syvita"], + "homepage": "https://github.com/JoshGlazebrook/smart-buffer/", + "repository": { + "type": "git", + "url": "https://github.com/JoshGlazebrook/smart-buffer.git" }, "bugs": { "url": "https://github.com/JoshGlazebrook/smart-buffer/issues" }, - "contributors": [ - { - "name": "syvita" - } + "keywords": [ + "buffer", + "smart", + "packet", + "serialize", + "network", + "cursor", + "simple" ], - "dependencies": {}, - "description": "smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + }, + "author": "Josh Glazebrook", + "license": "MIT", + "readmeFilename": "README.md", "devDependencies": { "@types/chai": "4.1.7", "@types/mocha": "5.2.7", @@ -55,23 +43,16 @@ "tslint": "5.18.0", "typescript": "^3.2.1" }, - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" + "typings": "typings/smartbuffer.d.ts", + "dependencies": {}, + "scripts": { + "prepublish": "npm install -g typescript && npm run build", + "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts", + "coverage": "NODE_ENV=test nyc npm test", + "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls", + "lint": "tslint --type-check --project tsconfig.json 'src/**/*.ts'", + "build": "tsc -p ./" }, - "homepage": "https://github.com/JoshGlazebrook/smart-buffer/", - "keywords": [ - "buffer", - "smart", - "packet", - "serialize", - "network", - "cursor", - "simple" - ], - "license": "MIT", - "main": "build/smartbuffer.js", - "name": "smart-buffer", "nyc": { "extension": [ ".ts", @@ -94,19 +75,5 @@ "html" ], "all": true - }, - "repository": { - "type": "git", - "url": "git+https://github.com/JoshGlazebrook/smart-buffer.git" - }, - "scripts": { - "build": "tsc -p ./", - "coverage": "NODE_ENV=test nyc npm test", - "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls", - "lint": "tslint --type-check --project tsconfig.json 'src/**/*.ts'", - "prepublish": "npm install -g typescript && npm run build", - "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts" - }, - "typings": "typings/smartbuffer.d.ts", - "version": "4.2.0" + } } diff --git a/node_modules/socks/package.json b/node_modules/socks/package.json index dbe29b99..61c3f1dc 100644 --- a/node_modules/socks/package.json +++ b/node_modules/socks/package.json @@ -1,48 +1,37 @@ { - "_args": [ - [ - "socks@2.6.2", - "/var/www/html/arclight" - ] - ], - "_from": "socks@2.6.2", - "_id": "socks@2.6.2", - "_inBundle": false, - "_integrity": "sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA==", - "_location": "/socks", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "socks@2.6.2", - "name": "socks", - "escapedName": "socks", - "rawSpec": "2.6.2", - "saveSpec": null, - "fetchSpec": "2.6.2" - }, - "_requiredBy": [ - "/mongodb" - ], - "_resolved": "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz", - "_spec": "2.6.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Josh Glazebrook" + "name": "socks", + "private": false, + "version": "2.6.2", + "description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.", + "main": "build/index.js", + "typings": "typings/index.d.ts", + "homepage": "https://github.com/JoshGlazebrook/socks/", + "repository": { + "type": "git", + "url": "https://github.com/JoshGlazebrook/socks.git" }, "bugs": { "url": "https://github.com/JoshGlazebrook/socks/issues" }, - "contributors": [ - { - "name": "castorw" - } + "keywords": [ + "socks", + "proxy", + "tor", + "socks 4", + "socks 5", + "socks4", + "socks5" ], - "dependencies": { - "ip": "^1.1.5", - "smart-buffer": "^4.2.0" + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" }, - "description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.", + "author": "Josh Glazebrook", + "contributors": [ + "castorw" + ], + "license": "MIT", + "readmeFilename": "README.md", "devDependencies": { "@types/ip": "1.1.0", "@types/mocha": "^9.1.0", @@ -55,23 +44,19 @@ "ts-node": "^10.4.0", "typescript": "^4.5.5" }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" + "dependencies": { + "ip": "^1.1.5", + "smart-buffer": "^4.2.0" + }, + "scripts": { + "prepublish": "npm install -g typescript && npm run build", + "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts", + "prettier": "prettier --write ./src/**/*.ts --config .prettierrc.yaml", + "coverage": "NODE_ENV=test nyc npm test", + "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls", + "lint": "tslint --project tsconfig.json 'src/**/*.ts'", + "build": "rm -rf build typings && prettier --write ./src/**/*.ts --config .prettierrc.yaml && tsc -p ." }, - "homepage": "https://github.com/JoshGlazebrook/socks/", - "keywords": [ - "socks", - "proxy", - "tor", - "socks 4", - "socks 5", - "socks4", - "socks5" - ], - "license": "MIT", - "main": "build/index.js", - "name": "socks", "nyc": { "extension": [ ".ts", @@ -94,21 +79,5 @@ "html" ], "all": true - }, - "private": false, - "repository": { - "type": "git", - "url": "git+https://github.com/JoshGlazebrook/socks.git" - }, - "scripts": { - "build": "rm -rf build typings && prettier --write ./src/**/*.ts --config .prettierrc.yaml && tsc -p .", - "coverage": "NODE_ENV=test nyc npm test", - "coveralls": "NODE_ENV=test nyc npm test && nyc report --reporter=text-lcov | coveralls", - "lint": "tslint --project tsconfig.json 'src/**/*.ts'", - "prepublish": "npm install -g typescript && npm run build", - "prettier": "prettier --write ./src/**/*.ts --config .prettierrc.yaml", - "test": "NODE_ENV=test mocha --recursive --require ts-node/register test/**/*.ts" - }, - "typings": "typings/index.d.ts", - "version": "2.6.2" + } } diff --git a/node_modules/sparse-bitfield/package.json b/node_modules/sparse-bitfield/package.json index cd5d4bc9..092a23f6 100644 --- a/node_modules/sparse-bitfield/package.json +++ b/node_modules/sparse-bitfield/package.json @@ -1,59 +1,27 @@ { - "_args": [ - [ - "sparse-bitfield@3.0.3", - "/var/www/html/arclight" - ] - ], - "_from": "sparse-bitfield@3.0.3", - "_id": "sparse-bitfield@3.0.3", - "_inBundle": false, - "_integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", - "_location": "/sparse-bitfield", - "_optional": true, - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "sparse-bitfield@3.0.3", - "name": "sparse-bitfield", - "escapedName": "sparse-bitfield", - "rawSpec": "3.0.3", - "saveSpec": null, - "fetchSpec": "3.0.3" - }, - "_requiredBy": [ - "/saslprep" - ], - "_resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", - "_spec": "3.0.3", - "_where": "/var/www/html/arclight", - "author": { - "name": "Mathias Buus", - "url": "@mafintosh" - }, - "bugs": { - "url": "https://github.com/mafintosh/sparse-bitfield/issues" - }, + "name": "sparse-bitfield", + "version": "3.0.3", + "description": "Bitfield that allocates a series of small buffers to support sparse bits without allocating a massive buffer", + "main": "index.js", "dependencies": { "memory-pager": "^1.0.2" }, - "description": "Bitfield that allocates a series of small buffers to support sparse bits without allocating a massive buffer", "devDependencies": { "buffer-alloc": "^1.1.0", "standard": "^9.0.0", "tape": "^4.6.3" }, - "homepage": "https://github.com/mafintosh/sparse-bitfield", - "license": "MIT", - "main": "index.js", - "name": "sparse-bitfield", + "scripts": { + "test": "standard && tape test.js" + }, "repository": { "type": "git", - "url": "git+https://github.com/mafintosh/sparse-bitfield.git" + "url": "https://github.com/mafintosh/sparse-bitfield.git" }, - "scripts": { - "test": "standard && tape test.js" + "author": "Mathias Buus (@mafintosh)", + "license": "MIT", + "bugs": { + "url": "https://github.com/mafintosh/sparse-bitfield/issues" }, - "version": "3.0.3" + "homepage": "https://github.com/mafintosh/sparse-bitfield" } diff --git a/node_modules/statuses/package.json b/node_modules/statuses/package.json index 3abed006..8c3e719b 100644 --- a/node_modules/statuses/package.json +++ b/node_modules/statuses/package.json @@ -1,50 +1,24 @@ { - "_args": [ - [ - "statuses@2.0.1", - "/var/www/html/arclight" - ] + "name": "statuses", + "description": "HTTP status utility", + "version": "2.0.1", + "contributors": [ + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], - "_from": "statuses@2.0.1", - "_id": "statuses@2.0.1", - "_inBundle": false, - "_integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "_location": "/statuses", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "statuses@2.0.1", - "name": "statuses", - "escapedName": "statuses", - "rawSpec": "2.0.1", - "saveSpec": null, - "fetchSpec": "2.0.1" - }, - "_requiredBy": [ - "/express", - "/finalhandler", - "/http-errors", - "/send" + "repository": "jshttp/statuses", + "license": "MIT", + "keywords": [ + "http", + "status", + "code" ], - "_resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "_spec": "2.0.1", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/statuses/issues" - }, - "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "files": [ + "HISTORY.md", + "index.js", + "codes.json", + "LICENSE" ], - "description": "HTTP status utility", "devDependencies": { "csv-parse": "4.14.2", "eslint": "7.17.0", @@ -62,24 +36,6 @@ "engines": { "node": ">= 0.8" }, - "files": [ - "HISTORY.md", - "index.js", - "codes.json", - "LICENSE" - ], - "homepage": "https://github.com/jshttp/statuses#readme", - "keywords": [ - "http", - "status", - "code" - ], - "license": "MIT", - "name": "statuses", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/statuses.git" - }, "scripts": { "build": "node scripts/build.js", "fetch": "node scripts/fetch-apache.js && node scripts/fetch-iana.js && node scripts/fetch-nginx.js && node scripts/fetch-node.js", @@ -89,6 +45,5 @@ "test-cov": "nyc --reporter=html --reporter=text npm test", "update": "npm run fetch && npm run build", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "2.0.1" + } } diff --git a/node_modules/supports-color/package.json b/node_modules/supports-color/package.json index e2f70aa5..f7182edc 100644 --- a/node_modules/supports-color/package.json +++ b/node_modules/supports-color/package.json @@ -1,88 +1,53 @@ { - "_args": [ - [ - "supports-color@7.2.0", - "/var/www/html/arclight" - ] - ], - "_from": "supports-color@7.2.0", - "_id": "supports-color@7.2.0", - "_inBundle": false, - "_integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "_location": "/supports-color", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "supports-color@7.2.0", - "name": "supports-color", - "escapedName": "supports-color", - "rawSpec": "7.2.0", - "saveSpec": null, - "fetchSpec": "7.2.0" - }, - "_requiredBy": [ - "/chalk" - ], - "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "_spec": "7.2.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "browser": "browser.js", - "bugs": { - "url": "https://github.com/chalk/supports-color/issues" - }, - "dependencies": { - "has-flag": "^4.0.0" - }, - "description": "Detect whether a terminal supports color", - "devDependencies": { - "ava": "^1.4.1", - "import-fresh": "^3.0.0", - "xo": "^0.24.0" - }, - "engines": { - "node": ">=8" - }, - "files": [ - "index.js", - "browser.js" - ], - "homepage": "https://github.com/chalk/supports-color#readme", - "keywords": [ - "color", - "colour", - "colors", - "terminal", - "console", - "cli", - "ansi", - "styles", - "tty", - "rgb", - "256", - "shell", - "xterm", - "command-line", - "support", - "supports", - "capability", - "detect", - "truecolor", - "16m" - ], - "license": "MIT", - "name": "supports-color", - "repository": { - "type": "git", - "url": "git+https://github.com/chalk/supports-color.git" - }, - "scripts": { - "test": "xo && ava" - }, - "version": "7.2.0" + "name": "supports-color", + "version": "7.2.0", + "description": "Detect whether a terminal supports color", + "license": "MIT", + "repository": "chalk/supports-color", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "sindresorhus.com" + }, + "engines": { + "node": ">=8" + }, + "scripts": { + "test": "xo && ava" + }, + "files": [ + "index.js", + "browser.js" + ], + "keywords": [ + "color", + "colour", + "colors", + "terminal", + "console", + "cli", + "ansi", + "styles", + "tty", + "rgb", + "256", + "shell", + "xterm", + "command-line", + "support", + "supports", + "capability", + "detect", + "truecolor", + "16m" + ], + "dependencies": { + "has-flag": "^4.0.0" + }, + "devDependencies": { + "ava": "^1.4.1", + "import-fresh": "^3.0.0", + "xo": "^0.24.0" + }, + "browser": "browser.js" } diff --git a/node_modules/toidentifier/package.json b/node_modules/toidentifier/package.json index 825ffc53..42db1a66 100644 --- a/node_modules/toidentifier/package.json +++ b/node_modules/toidentifier/package.json @@ -1,51 +1,13 @@ { - "_args": [ - [ - "toidentifier@1.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "toidentifier@1.0.1", - "_id": "toidentifier@1.0.1", - "_inBundle": false, - "_integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "_location": "/toidentifier", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "toidentifier@1.0.1", - "name": "toidentifier", - "escapedName": "toidentifier", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" - }, - "_requiredBy": [ - "/http-errors" - ], - "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/component/toidentifier/issues" - }, + "name": "toidentifier", + "description": "Convert a string of words to a JavaScript identifier", + "version": "1.0.1", + "author": "Douglas Christopher Wilson ", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Nick Baugh", - "email": "niftylettuce@gmail.com", - "url": "http://niftylettuce.com/" - } + "Douglas Christopher Wilson ", + "Nick Baugh (http://niftylettuce.com/)" ], - "description": "Convert a string of words to a JavaScript identifier", + "repository": "component/toidentifier", "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", @@ -60,24 +22,17 @@ "engines": { "node": ">=0.6" }, + "license": "MIT", "files": [ "HISTORY.md", "LICENSE", "index.js" ], - "homepage": "https://github.com/component/toidentifier#readme", - "license": "MIT", - "name": "toidentifier", - "repository": { - "type": "git", - "url": "git+https://github.com/component/toidentifier.git" - }, "scripts": { "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcov --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" - }, - "version": "1.0.1" + } } diff --git a/node_modules/tr46/package.json b/node_modules/tr46/package.json index e262afc8..8e79ba6c 100644 --- a/node_modules/tr46/package.json +++ b/node_modules/tr46/package.json @@ -1,67 +1,24 @@ { - "_args": [ - [ - "tr46@3.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "tr46@3.0.0", - "_id": "tr46@3.0.0", - "_inBundle": false, - "_integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", - "_location": "/tr46", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "tr46@3.0.0", - "name": "tr46", - "escapedName": "tr46", - "rawSpec": "3.0.0", - "saveSpec": null, - "fetchSpec": "3.0.0" - }, - "_requiredBy": [ - "/whatwg-url" - ], - "_resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", - "_spec": "3.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Sebastian Mayr", - "email": "npm@smayr.name" - }, - "bugs": { - "url": "https://github.com/jsdom/tr46/issues" - }, - "contributors": [ - { - "name": "Timothy Gu", - "email": "timothygu99@gmail.com" - } - ], - "dependencies": { - "punycode": "^2.1.1" - }, - "description": "An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing", - "devDependencies": { - "@domenic/eslint-config": "^1.4.0", - "@unicode/unicode-14.0.0": "^1.2.1", - "eslint": "^7.32.0", - "minipass-fetch": "^1.4.1", - "mocha": "^9.1.1", - "regenerate": "^1.4.2" - }, + "name": "tr46", + "version": "3.0.0", "engines": { "node": ">=12" }, + "description": "An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing", + "main": "index.js", "files": [ "index.js", "lib/mappingTable.json", "lib/regexes.js", "lib/statusMapping.js" ], - "homepage": "https://github.com/jsdom/tr46#readme", + "scripts": { + "test": "mocha", + "lint": "eslint .", + "pretest": "node scripts/getLatestTests.js", + "prepublish": "node scripts/generateMappingTable.js && node scripts/generateRegexes.js" + }, + "repository": "https://github.com/jsdom/tr46", "keywords": [ "unicode", "tr46", @@ -70,19 +27,21 @@ "url", "whatwg" ], + "author": "Sebastian Mayr ", + "contributors": [ + "Timothy Gu " + ], "license": "MIT", - "main": "index.js", - "name": "tr46", - "repository": { - "type": "git", - "url": "git+https://github.com/jsdom/tr46.git" + "dependencies": { + "punycode": "^2.1.1" }, - "scripts": { - "lint": "eslint .", - "prepublish": "node scripts/generateMappingTable.js && node scripts/generateRegexes.js", - "pretest": "node scripts/getLatestTests.js", - "test": "mocha" + "devDependencies": { + "@domenic/eslint-config": "^1.4.0", + "@unicode/unicode-14.0.0": "^1.2.1", + "eslint": "^7.32.0", + "minipass-fetch": "^1.4.1", + "mocha": "^9.1.1", + "regenerate": "^1.4.2" }, - "unicodeVersion": "14.0.0", - "version": "3.0.0" + "unicodeVersion": "14.0.0" } diff --git a/node_modules/type-is/package.json b/node_modules/type-is/package.json index ab948af0..97ba5f14 100644 --- a/node_modules/type-is/package.json +++ b/node_modules/type-is/package.json @@ -1,52 +1,17 @@ { - "_args": [ - [ - "type-is@1.6.18", - "/var/www/html/arclight" - ] - ], - "_from": "type-is@1.6.18", - "_id": "type-is@1.6.18", - "_inBundle": false, - "_integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "_location": "/type-is", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "type-is@1.6.18", - "name": "type-is", - "escapedName": "type-is", - "rawSpec": "1.6.18", - "saveSpec": null, - "fetchSpec": "1.6.18" - }, - "_requiredBy": [ - "/body-parser", - "/express" - ], - "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "_spec": "1.6.18", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/jshttp/type-is/issues" - }, + "name": "type-is", + "description": "Infer the content-type of a request.", + "version": "1.6.18", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "jshttp/type-is", "dependencies": { "media-typer": "0.3.0", "mime-types": "~2.1.24" }, - "description": "Infer the content-type of a request.", "devDependencies": { "eslint": "5.16.0", "eslint-config-standard": "12.0.0", @@ -66,23 +31,15 @@ "HISTORY.md", "index.js" ], - "homepage": "https://github.com/jshttp/type-is#readme", - "keywords": [ - "content", - "type", - "checking" - ], - "license": "MIT", - "name": "type-is", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/type-is.git" - }, "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec --check-leaks --bail test/", "test-cov": "nyc --reporter=html --reporter=text npm test", "test-travis": "nyc --reporter=text npm test" }, - "version": "1.6.18" + "keywords": [ + "content", + "type", + "checking" + ] } diff --git a/node_modules/uid-safe/package.json b/node_modules/uid-safe/package.json index b1d4f79a..9d9ea4c6 100644 --- a/node_modules/uid-safe/package.json +++ b/node_modules/uid-safe/package.json @@ -1,50 +1,16 @@ { - "_args": [ - [ - "uid-safe@2.1.5", - "/var/www/html/arclight" - ] - ], - "_from": "uid-safe@2.1.5", - "_id": "uid-safe@2.1.5", - "_inBundle": false, - "_integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==", - "_location": "/uid-safe", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "uid-safe@2.1.5", - "name": "uid-safe", - "escapedName": "uid-safe", - "rawSpec": "2.1.5", - "saveSpec": null, - "fetchSpec": "2.1.5" - }, - "_requiredBy": [ - "/express-session" - ], - "_resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz", - "_spec": "2.1.5", - "_where": "/var/www/html/arclight", - "bugs": { - "url": "https://github.com/crypto-utils/uid-safe/issues" - }, + "name": "uid-safe", + "description": "URL and cookie safe UIDs", + "version": "2.1.5", "contributors": [ - { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - { - "name": "Jonathan Ong", - "email": "me@jongleberry.com", - "url": "http://jongleberry.com" - } + "Douglas Christopher Wilson ", + "Jonathan Ong (http://jongleberry.com)" ], + "license": "MIT", + "repository": "crypto-utils/uid-safe", "dependencies": { "random-bytes": "~1.0.0" }, - "description": "URL and cookie safe UIDs", "devDependencies": { "bluebird": "3.5.0", "eslint": "3.19.0", @@ -56,27 +22,14 @@ "istanbul": "0.4.5", "mocha": "2.5.3" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "LICENSE", "HISTORY.md", "README.md", "index.js" ], - "homepage": "https://github.com/crypto-utils/uid-safe#readme", - "keywords": [ - "random", - "generator", - "uid", - "safe" - ], - "license": "MIT", - "name": "uid-safe", - "repository": { - "type": "git", - "url": "git+https://github.com/crypto-utils/uid-safe.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "lint": "eslint .", @@ -84,5 +37,10 @@ "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --trace-deprecation --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --trace-deprecation --reporter spec --check-leaks test/" }, - "version": "2.1.5" + "keywords": [ + "random", + "generator", + "uid", + "safe" + ] } diff --git a/node_modules/unpipe/package.json b/node_modules/unpipe/package.json index 7dfd36bb..a2b73583 100644 --- a/node_modules/unpipe/package.json +++ b/node_modules/unpipe/package.json @@ -1,67 +1,27 @@ { - "_args": [ - [ - "unpipe@1.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "unpipe@1.0.0", - "_id": "unpipe@1.0.0", - "_inBundle": false, - "_integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "_location": "/unpipe", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "unpipe@1.0.0", - "name": "unpipe", - "escapedName": "unpipe", - "rawSpec": "1.0.0", - "saveSpec": null, - "fetchSpec": "1.0.0" - }, - "_requiredBy": [ - "/body-parser", - "/finalhandler", - "/raw-body" - ], - "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "_spec": "1.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/stream-utils/unpipe/issues" - }, + "name": "unpipe", "description": "Unpipe a stream from all destinations", + "version": "1.0.0", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "repository": "stream-utils/unpipe", "devDependencies": { "istanbul": "0.3.15", "mocha": "2.2.5", "readable-stream": "1.1.13" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], - "homepage": "https://github.com/stream-utils/unpipe#readme", - "license": "MIT", - "name": "unpipe", - "repository": { - "type": "git", - "url": "git+https://github.com/stream-utils/unpipe.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "1.0.0" + } } diff --git a/node_modules/utils-merge/package.json b/node_modules/utils-merge/package.json index 039c5527..e36b0781 100644 --- a/node_modules/utils-merge/package.json +++ b/node_modules/utils-merge/package.json @@ -1,55 +1,22 @@ { - "_args": [ - [ - "utils-merge@1.0.1", - "/var/www/html/arclight" - ] - ], - "_from": "utils-merge@1.0.1", - "_id": "utils-merge@1.0.1", - "_inBundle": false, - "_integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "_location": "/utils-merge", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "utils-merge@1.0.1", - "name": "utils-merge", - "escapedName": "utils-merge", - "rawSpec": "1.0.1", - "saveSpec": null, - "fetchSpec": "1.0.1" - }, - "_requiredBy": [ - "/express", - "/passport" + "name": "utils-merge", + "version": "1.0.1", + "description": "merge() utility function", + "keywords": [ + "util" ], - "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "_spec": "1.0.1", - "_where": "/var/www/html/arclight", "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, + "repository": { + "type": "git", + "url": "git://github.com/jaredhanson/utils-merge.git" + }, "bugs": { "url": "http://github.com/jaredhanson/utils-merge/issues" }, - "dependencies": {}, - "description": "merge() utility function", - "devDependencies": { - "chai": "1.x.x", - "make-node": "0.3.x", - "mocha": "1.x.x" - }, - "engines": { - "node": ">= 0.4.0" - }, - "homepage": "https://github.com/jaredhanson/utils-merge#readme", - "keywords": [ - "util" - ], "license": "MIT", "licenses": [ { @@ -58,13 +25,16 @@ } ], "main": "./index", - "name": "utils-merge", - "repository": { - "type": "git", - "url": "git://github.com/jaredhanson/utils-merge.git" + "dependencies": {}, + "devDependencies": { + "make-node": "0.3.x", + "mocha": "1.x.x", + "chai": "1.x.x" }, - "scripts": { - "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js" + "engines": { + "node": ">= 0.4.0" }, - "version": "1.0.1" + "scripts": { + "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js" + } } diff --git a/node_modules/validator/es/lib/isCurrency.js b/node_modules/validator/es/lib/isCurrency.js old mode 100644 new mode 100755 diff --git a/node_modules/validator/lib/isCurrency.js b/node_modules/validator/lib/isCurrency.js old mode 100644 new mode 100755 diff --git a/node_modules/validator/package.json b/node_modules/validator/package.json index 04a1cb52..7d505205 100644 --- a/node_modules/validator/package.json +++ b/node_modules/validator/package.json @@ -1,67 +1,9 @@ { - "_args": [ - [ - "validator@13.7.0", - "/var/www/html/arclight" - ] - ], - "_from": "validator@13.7.0", - "_id": "validator@13.7.0", - "_inBundle": false, - "_integrity": "sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==", - "_location": "/validator", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "validator@13.7.0", - "name": "validator", - "escapedName": "validator", - "rawSpec": "13.7.0", - "saveSpec": null, - "fetchSpec": "13.7.0" - }, - "_requiredBy": [ - "/express-validator" - ], - "_resolved": "https://registry.npmjs.org/validator/-/validator-13.7.0.tgz", - "_spec": "13.7.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Chris O'Hara", - "email": "cohara87@gmail.com" - }, - "bugs": { - "url": "https://github.com/validatorjs/validator.js/issues" - }, - "contributors": [ - { - "name": "Anthony Nandaa", - "url": "https://github.com/profnandaa" - } - ], + "name": "validator", "description": "String validation and sanitization", - "devDependencies": { - "@babel/cli": "^7.0.0", - "@babel/core": "^7.0.0", - "@babel/preset-env": "^7.0.0", - "@babel/register": "^7.0.0", - "babel-eslint": "^10.0.1", - "babel-plugin-add-module-exports": "^1.0.0", - "eslint": "^4.19.1", - "eslint-config-airbnb-base": "^12.1.0", - "eslint-plugin-import": "^2.11.0", - "mocha": "^6.2.3", - "npm-run-all": "^4.1.5", - "nyc": "^14.1.0", - "rimraf": "^3.0.0", - "rollup": "^0.47.0", - "rollup-plugin-babel": "^4.0.1", - "uglify-js": "^3.0.19" - }, - "engines": { - "node": ">= 0.10" - }, + "version": "13.7.0", + "sideEffects": false, + "homepage": "https://github.com/validatorjs/validator.js", "files": [ "index.js", "es", @@ -71,7 +13,6 @@ "validator.js", "validator.min.js" ], - "homepage": "https://github.com/validatorjs/validator.js", "keywords": [ "validator", "validation", @@ -82,28 +23,53 @@ "sanitise", "assert" ], - "license": "MIT", + "author": "Chris O'Hara ", + "contributors": [ + "Anthony Nandaa (https://github.com/profnandaa)" + ], "main": "index.js", - "name": "validator", + "bugs": { + "url": "https://github.com/validatorjs/validator.js/issues" + }, "repository": { "type": "git", "url": "git+https://github.com/validatorjs/validator.js.git" }, + "devDependencies": { + "@babel/cli": "^7.0.0", + "@babel/core": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "@babel/register": "^7.0.0", + "babel-eslint": "^10.0.1", + "babel-plugin-add-module-exports": "^1.0.0", + "eslint": "^4.19.1", + "eslint-config-airbnb-base": "^12.1.0", + "eslint-plugin-import": "^2.11.0", + "mocha": "^6.2.3", + "npm-run-all": "^4.1.5", + "nyc": "^14.1.0", + "rimraf": "^3.0.0", + "rollup": "^0.47.0", + "rollup-plugin-babel": "^4.0.1", + "uglify-js": "^3.0.19" + }, "scripts": { - "build": "run-p build:*", - "build:browser": "node --require @babel/register build-browser && npm run minify", - "build:es": "babel src -d es --env-name=es", - "build:node": "babel src -d .", - "clean": "run-p clean:*", - "clean:browser": "rimraf validator*.js", - "clean:es": "rimraf es", - "clean:node": "rimraf index.js lib", "lint": "eslint src test", "lint:fix": "eslint --fix src test", + "clean:node": "rimraf index.js lib", + "clean:es": "rimraf es", + "clean:browser": "rimraf validator*.js", + "clean": "run-p clean:*", "minify": "uglifyjs validator.js -o validator.min.js --compress --mangle --comments /Copyright/", + "build:browser": "node --require @babel/register build-browser && npm run minify", + "build:es": "babel src -d es --env-name=es", + "build:node": "babel src -d .", + "build": "run-p build:*", "pretest": "npm run build && npm run lint", "test": "nyc --reporter=cobertura --reporter=text-summary mocha --require @babel/register --reporter dot" }, - "sideEffects": false, - "version": "13.7.0" + "engines": { + "node": ">= 0.10" + }, + "license": "MIT" } diff --git a/node_modules/vary/package.json b/node_modules/vary/package.json index 050461b1..028f72a9 100644 --- a/node_modules/vary/package.json +++ b/node_modules/vary/package.json @@ -1,40 +1,15 @@ { - "_args": [ - [ - "vary@1.1.2", - "/var/www/html/arclight" - ] - ], - "_from": "vary@1.1.2", - "_id": "vary@1.1.2", - "_inBundle": false, - "_integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "_location": "/vary", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "vary@1.1.2", - "name": "vary", - "escapedName": "vary", - "rawSpec": "1.1.2", - "saveSpec": null, - "fetchSpec": "1.1.2" - }, - "_requiredBy": [ - "/express" - ], - "_resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "_spec": "1.1.2", - "_where": "/var/www/html/arclight", - "author": { - "name": "Douglas Christopher Wilson", - "email": "doug@somethingdoug.com" - }, - "bugs": { - "url": "https://github.com/jshttp/vary/issues" - }, + "name": "vary", "description": "Manipulate the HTTP Vary header", + "version": "1.1.2", + "author": "Douglas Christopher Wilson ", + "license": "MIT", + "keywords": [ + "http", + "res", + "vary" + ], + "repository": "jshttp/vary", "devDependencies": { "beautify-benchmark": "0.2.4", "benchmark": "2.1.4", @@ -49,26 +24,14 @@ "mocha": "2.5.3", "supertest": "1.1.0" }, - "engines": { - "node": ">= 0.8" - }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], - "homepage": "https://github.com/jshttp/vary#readme", - "keywords": [ - "http", - "res", - "vary" - ], - "license": "MIT", - "name": "vary", - "repository": { - "type": "git", - "url": "git+https://github.com/jshttp/vary.git" + "engines": { + "node": ">= 0.8" }, "scripts": { "bench": "node benchmark/index.js", @@ -76,6 +39,5 @@ "test": "mocha --reporter spec --bail --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" - }, - "version": "1.1.2" + } } diff --git a/node_modules/webidl-conversions/package.json b/node_modules/webidl-conversions/package.json index 78e525c2..20747bb4 100644 --- a/node_modules/webidl-conversions/package.json +++ b/node_modules/webidl-conversions/package.json @@ -1,44 +1,28 @@ { - "_args": [ - [ - "webidl-conversions@7.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "webidl-conversions@7.0.0", - "_id": "webidl-conversions@7.0.0", - "_inBundle": false, - "_integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "_location": "/webidl-conversions", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "webidl-conversions@7.0.0", - "name": "webidl-conversions", - "escapedName": "webidl-conversions", - "rawSpec": "7.0.0", - "saveSpec": null, - "fetchSpec": "7.0.0" + "name": "webidl-conversions", + "version": "7.0.0", + "description": "Implements the WebIDL algorithms for converting to and from JavaScript values", + "main": "lib/index.js", + "scripts": { + "lint": "eslint .", + "test": "mocha test/*.js", + "test-no-sab": "mocha --parallel --jobs 2 --require test/helpers/delete-sab.js test/*.js", + "coverage": "nyc mocha test/*.js" }, - "_requiredBy": [ - "/whatwg-url" - ], - "_resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", "_scripts_comments": { "test-no-sab": "Node.js internals are broken by deleting SharedArrayBuffer if you run tests on the main thread. Using Mocha's parallel mode avoids this." }, - "_spec": "7.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Domenic Denicola", - "email": "d@domenic.me", - "url": "https://domenic.me/" - }, - "bugs": { - "url": "https://github.com/jsdom/webidl-conversions/issues" - }, - "description": "Implements the WebIDL algorithms for converting to and from JavaScript values", + "repository": "jsdom/webidl-conversions", + "keywords": [ + "webidl", + "web", + "types" + ], + "files": [ + "lib/" + ], + "author": "Domenic Denicola (https://domenic.me/)", + "license": "BSD-2-Clause", "devDependencies": { "@domenic/eslint-config": "^1.3.0", "eslint": "^7.32.0", @@ -47,28 +31,5 @@ }, "engines": { "node": ">=12" - }, - "files": [ - "lib/" - ], - "homepage": "https://github.com/jsdom/webidl-conversions#readme", - "keywords": [ - "webidl", - "web", - "types" - ], - "license": "BSD-2-Clause", - "main": "lib/index.js", - "name": "webidl-conversions", - "repository": { - "type": "git", - "url": "git+https://github.com/jsdom/webidl-conversions.git" - }, - "scripts": { - "coverage": "nyc mocha test/*.js", - "lint": "eslint .", - "test": "mocha test/*.js", - "test-no-sab": "mocha --parallel --jobs 2 --require test/helpers/delete-sab.js test/*.js" - }, - "version": "7.0.0" + } } diff --git a/node_modules/whatwg-url/package.json b/node_modules/whatwg-url/package.json index 6d3452cd..9cb209f9 100644 --- a/node_modules/whatwg-url/package.json +++ b/node_modules/whatwg-url/package.json @@ -1,44 +1,20 @@ { - "_args": [ - [ - "whatwg-url@11.0.0", - "/var/www/html/arclight" - ] - ], - "_from": "whatwg-url@11.0.0", - "_id": "whatwg-url@11.0.0", - "_inBundle": false, - "_integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", - "_location": "/whatwg-url", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "whatwg-url@11.0.0", - "name": "whatwg-url", - "escapedName": "whatwg-url", - "rawSpec": "11.0.0", - "saveSpec": null, - "fetchSpec": "11.0.0" - }, - "_requiredBy": [ - "/mongodb-connection-string-url" + "name": "whatwg-url", + "version": "11.0.0", + "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", + "main": "index.js", + "files": [ + "index.js", + "webidl2js-wrapper.js", + "lib/*.js" ], - "_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", - "_spec": "11.0.0", - "_where": "/var/www/html/arclight", - "author": { - "name": "Sebastian Mayr", - "email": "github@smayr.name" - }, - "bugs": { - "url": "https://github.com/jsdom/whatwg-url/issues" - }, + "author": "Sebastian Mayr ", + "license": "MIT", + "repository": "jsdom/whatwg-url", "dependencies": { "tr46": "^3.0.0", "webidl-conversions": "^7.0.0" }, - "description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", "devDependencies": { "@domenic/eslint-config": "^1.4.0", "benchmark": "^2.1.4", @@ -52,12 +28,14 @@ "engines": { "node": ">=12" }, - "files": [ - "index.js", - "webidl2js-wrapper.js", - "lib/*.js" - ], - "homepage": "https://github.com/jsdom/whatwg-url#readme", + "scripts": { + "coverage": "jest --coverage", + "lint": "eslint .", + "prepare": "node scripts/transform.js", + "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js", + "build-live-viewer": "browserify index.js --standalone whatwgURL > live-viewer/whatwg-url.js", + "test": "jest" + }, "jest": { "collectCoverageFrom": [ "lib/**/*.js", @@ -76,21 +54,5 @@ "^/test/testharness.js$", "^/test/web-platform-tests/" ] - }, - "license": "MIT", - "main": "index.js", - "name": "whatwg-url", - "repository": { - "type": "git", - "url": "git+https://github.com/jsdom/whatwg-url.git" - }, - "scripts": { - "build-live-viewer": "browserify index.js --standalone whatwgURL > live-viewer/whatwg-url.js", - "coverage": "jest --coverage", - "lint": "eslint .", - "prepare": "node scripts/transform.js", - "pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js", - "test": "jest" - }, - "version": "11.0.0" + } } diff --git a/node_modules/wide-align/LICENSE b/node_modules/wide-align/LICENSE old mode 100644 new mode 100755 diff --git a/node_modules/wide-align/README.md b/node_modules/wide-align/README.md old mode 100644 new mode 100755 diff --git a/node_modules/wide-align/align.js b/node_modules/wide-align/align.js old mode 100644 new mode 100755 diff --git a/node_modules/wide-align/package.json b/node_modules/wide-align/package.json old mode 100644 new mode 100755 diff --git a/pages/config/version.php b/pages/config/version.php index 563102a3..026c0317 100644 --- a/pages/config/version.php +++ b/pages/config/version.php @@ -1,3 +1,3 @@ - -2.0.0 + +2.0.1 ?> \ No newline at end of file diff --git a/pages/domain/instance-list-user.php b/pages/domain/instance-list-user.php index cfe0f969..c8b803ea 100644 --- a/pages/domain/instance-list-user.php +++ b/pages/domain/instance-list-user.php @@ -1,1290 +1,1287 @@ -getConnection(); - -// This will prevent duplicating actions when page is reloaded. -if (isset($_GET['action'])) { - $_SESSION['uuid'] = $_GET['uuid']; - $_SESSION['action'] = $_GET['action']; - - //----General Section----// - $_SESSION['instance_type'] = $_GET['instance_type']; - $_SESSION['domain_type'] = "kvm"; //set to "kvm" as this is the only supported type at this time - $_SESSION['domain_name'] = clean_input($_GET['domain_name']); //removes spaces and sanitizes - $_SESSION['memory_unit'] = $_GET['memory_unit']; //choice of "MiB" or "GiB" - $_SESSION['memory'] = $_GET['memory']; //number input, still need to sanitze for number and verify it is not zero - $_SESSION['vcpu'] = $_GET['vcpu']; //number input, still need to sanitze for number and verify it is not zero, also may need to set limit to host CPU# - $_SESSION['tcores'] = $_GET['tcores']; - $_SESSION['tthreads'] = $_GET['tthreads']; - $_SESSION['clock_offset'] = "localtime"; //set to localtime - $_SESSION['os_platform'] = $_GET['os_platform']; //Used to determine what goes in XML. Ex. Windows VMs need extra options - - //----Storage Volume Section----// - $_SESSION['source_file_volume'] = $_GET['source_file_volume']; //This will be the volume image that the user selects - $_SESSION['volume_image_name'] = clean_input($_GET['new_volume_name']); //This is used when a new volume must be created - $_SESSION['volume_capacity'] = $_GET['new_volume_size']; //in Gigabytes - $_SESSION['volume_size'] = $_GET['new_volume_size']; //in Gigabytes, set to the same size as capacity - $_SESSION['driver_type'] = $_GET['new_driver_type']; //qcow2 or raw - $_SESSION['target_bus'] = $_GET['new_target_bus']; //virtia, sata, scsi - $_SESSION['storage_pool'] = $_GET['storage_pool']; //Where the storage volume will be created - $_SESSION['existing_driver_type'] = $_GET['existing_driver_type']; //qcow2 or raw for existing storage - $_SESSION['existing_target_bus'] = $_GET['existing_target_bus']; //virtio, ide, sata, or scsi for existing storage - - //----Optical Storage Section----// - $_SESSION['source_file_cd'] = $_GET['source_file_cd']; //file location is ISO file for booting - - //----Network Section----// - $_SESSION['mac_address'] = clean_input($_GET['mac_address']); //mac address for network device - $_SESSION['model_type'] = $_GET['model_type']; //virtio, e1000, etc - $_SESSION['source_network'] = $_GET['source_network']; //default or any created network bridge - - //----Create from XML----// - $_SESSION['xml'] = $_GET['xml']; - - header("Location: " . $_SERVER['PHP_SELF']); - exit; -} - -require('../header.php'); -require('../navbar.php'); - -$uuid = $_SESSION['uuid']; //grab the $uuid variable from $_GET, only used for actions below -$action = $_SESSION['action']; //grab the $action variable from $_SESSION -unset($_SESSION['action']); //Unset the Action Variable to prevent repeats of action on page reload -$domName = $lv->domain_get_name_by_uuid($uuid); //get the name of virtual machine with $uuid is present -$dom = $lv->get_domain_object($domName); //gets the resource id for a domain - -if ($action == "create-domain") { - $instance_type = $_SESSION['instance_type']; //either vm or baremetal - $domain_type = $_SESSION['domain_type']; //hard coded as "kvm" for now - $domain_name = $_SESSION['domain_name']; //sanatized name for virtual machine - $description = "powered by arclight"; //plug for software that helped put virtual machine together - $memory_unit = $_SESSION['memory_unit']; //either MiB or GiB - $memory = $_SESSION['memory']; //whatever the user sets - $vcpu = $_SESSION['vcpu']; //whatever the user sets, defaults to 1 - if ((isset($_SESSION['tcores'], $_SESSION['tthreads'])) && ($_SESSION['tcores'] != "") && ($_SESSION['tthreads'] != "")) { - $tcores = $_SESSION['tcores']; - $tthreads = $_SESSION['tthreads']; - $cpuTopology = $tcores * $tthreads; - } - - $clock_offset = $_SESSION['clock_offset']; //hard coded as "localtime" for now - $os_platform = $_SESSION['os_platform']; //determines if bios features need to be set, needed for Windows - //--------------------- XML IF Linux Bare Metal ---------------------// - if ($instance_type == "baremetal" && $os_platform != "windows") { - $vm_xml = " - - $domain_name - Instance Type: $instance_type | OS: $os_platform | $description - $memory - $vcpu - - hvm - - - - - - - - - - "; - if ($cpuTopology == $vcpu) { - $vm_xml .= ""; - } - $vm_xml .= " - - - - - - - - - - "; - } - //--------------------- XML IF WINDOWS VM ---------------------// - else if ($instance_type == "vm" && $os_platform == "windows") { - $vm_xml = " - - $domain_name - Instance Type: $instance_type | OS: $os_platform | $description - $memory - $vcpu - - hvm - - - - - - - - - - - - - - - - - - - "; - if ($cpuTopology == $vcpu) { - $vm_xml .= ""; - } - $vm_xml .= " - - - - - - - - - - - - - "; - } - //--------------------- XML IF WINDOWS + Bare metal ---------------------// - else if ($instance_type == "baremetal" && $os_platform == "windows") { - $vm_xml = " - - $domain_name - Instance Type: $instance_type | OS: $os_platform | $description - $memory - $vcpu - - hvm - - - - - - - - - - - - - - - "; - if ($cpuTopology == $vcpu) { - $vm_xml .= ""; - } - $vm_xml .= " - - - - - - - - - - "; - } else { - $vm_xml = " - - $domain_name - Instance Type: $instance_type | OS: $os_platform | $description - $memory - $vcpu - - hvm - - - - - - - - - - - - - - - - - "; - - /* winn 11 UEFI + tpm - - hvm - /usr/share/ovmf/OVMF.fd - - - - - - - - */ - } - - - //--------------------- CREATE BASIC VIRTUAL MACHINE ---------------------// - $new_vm = $lv->domain_define($vm_xml); //Define the new virtual machine using libvirt, based off the XML information - if (!$new_vm) { - $notification = 'Error creating domain: ' . $lv->get_last_error(); //let the user know if there is an error - } else { - $domObj = $lv->get_domain_object($domain_name); //get the domain object - $domainuuid = libvirt_domain_get_uuid_string($domObj); - echo ""; - echo ""; - } - //--------------------- STORAGE VOLUME SECTION ---------------------// - $storage_pool = $_SESSION['storage_pool']; //"default" storage pool is default choice - $volume_image_name = $_SESSION['volume_image_name']; //Sanitized disk name, should end in .qcow2 or .img - $volume_capacity = $_SESSION['volume_capacity']; //Disk size set by user, defaults to 40 - $unit = "G"; // Gigabytes - $volume_size = $_SESSION['volume_size']; - $driver_type = $_SESSION['driver_type']; - $target_bus = $_SESSION['target_bus']; - $source_file_volume = $_SESSION['source_file_volume']; - $existing_driver_type = $_SESSION['existing_driver_type']; //qcow2 or raw - $existing_target_bus = $_SESSION['existing_target_bus']; //virtio, sata, or scsi - - if ($source_file_volume == "new" && $new_vm != false) { - $new_disk = $lv->storagevolume_create($storage_pool, $volume_image_name, $volume_capacity . $unit, $volume_size . $unit, $driver_type); - if (!$new_disk) { - $notification = $notification . " Error creating disk: " . $lv->get_last_error(); - } else { - $disk_path = libvirt_storagevolume_get_path($new_disk); - - //Not all virtual machines can use the virtio driver, set default to sata unless it is linux os - if ($target_bus == "default") { - if ($os_platform == "linux") { - $target_bus = "virtio"; - } else { - $target_bus = "sata"; - } - } - - if ($target_bus == "virtio") { - $target_dev = "vda"; - } - if ($target_bus == "sata" || $target_bus == "scsi") { - $target_dev = "sda"; - } - if ($existing_target_bus == "ide") { - $target_dev = "hda"; - } - $res = $new_vm; - $img = $disk_path; - $dev = $target_dev; - $typ = $target_bus; - $driver = $driver_type; - $add_new_disk_to_vm = $lv->domain_disk_add($res, $img, $dev, $typ, $driver); - if (!$add_new_disk_to_vm) { - $notification = $notification . " Error adding disk to virtual machine: " . $lv->get_last_error(); - } - } - } - - //Create and add storage volume to newly created virtual machine - if ($source_file_volume != "none" && $source_file_volume != "new" && $new_vm != false) { - - //Not all virtual machines can use the virtio driver, set default to sata unless it is linux os - if ($existing_target_bus == "default") { - if ($os_platform == "linux") { - $existing_target_bus = "virtio"; - } else { - $existing_target_bus = "sata"; - } - } - - if ($existing_target_bus == "virtio") { - $target_dev = "vda"; - } - if ($existing_target_bus == "sata" || $existing_target_bus == "scsi") { - $target_dev = "sda"; - } - if ($existing_target_bus == "ide") { - $target_dev = "hda"; - } - $res = $new_vm; - $img = $source_file_volume; - $dev = $target_dev; - $typ = $existing_target_bus; - $driver = $existing_driver_type; - $add_existing_disk_to_vm = $lv->domain_disk_add($res, $img, $dev, $typ, $driver); - if (!$add_existing_disk_to_vm) { - $notification = $notification . " Error adding disk to virtual machine: " . $lv->get_last_error(); - } - } - //--------------------- OPTICAL STORAGE SECTION ---------------------// - //Optical Storage Section - $source_file_cd = $_SESSION['source_file_cd']; - if ($source_file_cd != "none") { - $domName = $new_vm; - $dom = $lv->get_domain_object($domName); - $domXML = new SimpleXMLElement($lv->domain_get_xml($domName)); - //If $target_bus type is ide then we need to determine highest assigned value of drive, because storage may be using hda ex. hda, hdb, hdc... - $ide_array = array(); - for ($i = 'a'; $i < 'z'; $i++) { - $ide_array[] = "hd" . $i; - } - $tmp = libvirt_domain_get_disk_devices($dom); - $result = array_intersect($ide_array, $tmp); - if (count($result) > 0) { - $highestresult = max($result); - $target_dev = ++$highestresult; - } else { - $target_dev = "hda"; - } - //add a new cdrom XML - $disk = $domXML->devices->addChild('disk'); - $disk->addAttribute('type', 'file'); - $disk->addAttribute('device', 'cdrom'); - - $driver = $disk->addChild('driver'); - $driver->addAttribute('name', 'qemu'); - $driver->addAttribute('type', 'raw'); - - $source = $disk->addChild('source'); - $source->addAttribute('file', $source_file_cd); - - $target = $disk->addChild('target'); - $target->addAttribute('dev', $target_dev); - $target->addAttribute('bus', 'ide'); - - $newXML = $domXML->asXML(); - $newXML = str_replace('', '', $newXML); - - $add_iso_file = $lv->domain_change_xml($domName, $newXML); - if (!$add_iso_file) { - $notification = $notification . " Error adding ISO to virtual machine: " . $lv->get_last_error(); - } - } - //--------------------- NETWORK SECTION ---------------------// - //Network Section - $mac_address = $_SESSION['mac_address']; - $model_type = $_SESSION['model_type']; //virtio, rtl8139, e1000 - $source_network = $_SESSION['source_network']; //default, br0, etc - - //Sets the default network model driver to virtio for Linux Virtual Machines - if ($_SESSION['os_platform'] == "linux" && $model_type == "default") { - $model_type = "virtio"; - } - - //Sets the default network model driver to rtl8139 for Windows Virtual Machines - if ($_SESSION['os_platform'] == "windows" && $model_type == "default") { - $model_type = "rtl8139"; - } - - //In the future, when application is written to include Apple, change e1000 driver to e1000-82545em driver, works on High Sierra - if ($_SESSION['os_platform'] == "mac" && $model_type == "default") { - $model_type = "e1000-82545em"; - } - - $domName = $new_vm; - $add_nat_network = $lv->domain_nic_add($domName, $mac_address, $source_network, $model_type); - if (!$add_nat_network) { - $notification = $notification . " Error adding NAT network to virtual machine: " . $lv->get_last_error(); - } -} - -if ($action == "create-xml") { - $xml = $_SESSION['xml']; - - $new_vm = $lv->domain_define($xml); //Define the new virtual machine using libvirt, based off the XML information - if (!$new_vm) { - $notification = "Error creating domain: " . $lv->get_last_error(); //let the user know if there is an error - $notification = filter_var($notification, FILTER_SANITIZE_SPECIAL_CHARS); //Error message will contain special characters - } - - //Return back to the domain-single page if successful - if (!$notification) { - header('Location: instance-list-user.php'); - exit; - } -} //end if $_SESSION - - -//This will turn a shutdown virtual machine on. This option in only given when a machine is shutdown -if ($action == 'domain-start') { - $notification = $lv->domain_start($domName) ? "" : 'Error while starting Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance Started"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - -//This will pause a virtual machine and temporaily save it's state -if ($action == 'domain-pause') { - $notification = $lv->domain_suspend($domName) ? "" : 'Error while pausing Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance Paused"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - -//This will resume a paused virtual machine. Option is given only if a machine is paused -if ($action == 'domain-resume') { - $notification = $lv->domain_resume($domName) ? "" : 'Error while resuming Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance Resumed"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - -//This is used to gracefully shutdown the guest. -//There are many reasons why a guest cannot gracefully shutdown so if it can't, let the user know that -if ($action == 'domain-stop') { - $notification = $lv->domain_shutdown($domName) ? "" : 'Error while stopping Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance has been stopped"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - -//This will forcefully shutdown the virtual machine guest -if ($action == 'domain-destroy') { - $notification = $lv->domain_destroy($domName) ? "" : 'Error while destroying Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance destroyed"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - -//This will reboot the virtual machine guest -if ($action == 'domain-reboot') { - $notification = $lv->domain_reboot($domName) ? "" : 'Error while rebooting Instance: ' . $lv->get_last_error(); - $description = ($notification) ? $notification : "Instance rebooted"; - $insert = new MongoDB\Driver\BulkWrite(); - $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); - $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); -} - - -//Remove SESSION varibles created for domain creation -//General variables -unset($_SESSION['instance_type']); -unset($_SESSION['domain_type']); -unset($_SESSION['domain_name']); -unset($_SESSION['memory_unit']); -unset($_SESSION['memory']); -unset($_SESSION['vcpu']); -unset($_SESSION['tcores']); -unset($_SESSION['tthreads']); -unset($_SESSION['clock_offset']); -unset($_SESSION['os_platform']); -//Storage variables -unset($_SESSION['source_file_volume']); -unset($_SESSION['volume_image_name']); -unset($_SESSION['volume_capacity']); -unset($_SESSION['volume_size']); -unset($_SESSION['driver_type']); -unset($_SESSION['target_bus']); -unset($_SESSION['storage_pool']); -unset($_SESSION['existing_driver_type']); -unset($_SESSION['existing_target_bus']); -//ISO variables -unset($_SESSION['source_file_cd']); -//Network variables -unset($_SESSION['mac_address']); -unset($_SESSION['model_type']); -unset($_SESSION['source_network']); -//Create from XML -unset($_SESSION['xml']); - - -//if theme is dark change sidebar data-color -if (isset($_SESSION[themeColor])) { - $themeColor = $_SESSION['themeColor']; -} else { - $themeColor = "white"; -} - -$random_mac = $lv->generate_random_mac_addr(); //used to set default mac address value in form field -?> - -
"> - -
-

Virtual Machines

-
-
- - - - -
-
-
- -
-
- -
-
"> -
- -
- - - - - - - - - - - - - get_domains(); - foreach ($doms as $name) { - $dom = $lv->get_domain_object($name); - $uuid = libvirt_domain_get_uuid_string($dom); - $active = $lv->domain_is_active($dom); - $info = $lv->domain_get_info($dom); - $mem = number_format($info['memory'] / 1024, 0, '.', '') . ' MB'; - $mem_stats = $lv->domain_get_memory_stats($name); - - $mem_used = (1 - $mem_stats[4] / $mem_stats[5]) * 100; - if ($mem_stats != false && !isset($mem_stats[4]) && !isset($mem_stats[5])) { - $mem_used = 100; - } - $cpu = $info['nrVirtCpu']; - - $state = $lv->domain_state_translate($info['state']); - $id = $lv->domain_get_id($dom); - $arch = $lv->domain_get_arch($dom); - $vnc = $lv->domain_get_vnc_port($dom); - $nics = $lv->get_network_cards($dom); - - if (($diskcnt = $lv->get_disk_count($dom)) > 0) { - $disks = $diskcnt . ' / ' . $lv->get_disk_capacity($dom); - $diskdesc = 'Current physical size: ' . $lv->get_disk_capacity($dom, true); - } else { - $disks = '----'; - $diskdesc = ''; - } - - $filter = ['domain_name' => $name]; - $read = new MongoDB\Driver\Query($filter); - $os_result = $conn->executeQuery('arclight.arclight_vms', $read); - $vm_info = $os_result->toArray(); - foreach ($vm_info as $row) { - if ($row->os == "windows") { - $os_icon = ""; - } else if ($row->os == 'linux') { - $os_icon = ""; - } else if ($row->os == 'mac') { - $os_icon = ""; - } else if ($row->os == 'unix') { - $os_icon = ""; - } else if ($row->os == 'other') { - $os_icon = ""; - } else { - $os_icon = ""; - } - } - unset($tmp); - unset($dom); - - //echo "" . - echo "" . - "" . - "" . - "" . - "" . - "" . - "" . - "" . - ""; - echo ""; - } - ?> - -
NameOSCPUsMemoryMemory UsageDisksStateActions
" . htmlentities($name) . " $os_icon $cpu $mem "; - if ($row->instance_type == 'vm' && $active == true) { - echo "
-
-
"; - } else if ($row->instance_type == 'bare_metal' && $active == true) { - //class added in dist\css\bootstrap.min.css - echo "
-
-
"; - } else { - echo "----"; - } - echo "
$disks$state"; - - if ($lv->domain_is_running($name)) { - echo " Shutdown | Power off | Pause | Reboot"; - } else if ($lv->domain_is_paused($name)) { - echo " Resume"; - } else { - echo " Power on"; - } - echo "
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - -"; + echo ""; + } + //--------------------- STORAGE VOLUME SECTION ---------------------// + $storage_pool = $_SESSION['storage_pool']; //"default" storage pool is default choice + $volume_image_name = $_SESSION['volume_image_name']; //Sanitized disk name, should end in .qcow2 or .img + $volume_capacity = $_SESSION['volume_capacity']; //Disk size set by user, defaults to 40 + $unit = "G"; // Gigabytes + $volume_size = $_SESSION['volume_size']; + $driver_type = $_SESSION['driver_type']; + $target_bus = $_SESSION['target_bus']; + $source_file_volume = $_SESSION['source_file_volume']; + $existing_driver_type = $_SESSION['existing_driver_type']; //qcow2 or raw + $existing_target_bus = $_SESSION['existing_target_bus']; //virtio, sata, or scsi + + if ($source_file_volume == "new" && $new_vm != false) { + $new_disk = $lv->storagevolume_create($storage_pool, $volume_image_name, $volume_capacity . $unit, $volume_size . $unit, $driver_type); + if (!$new_disk) { + $notification = $notification . " Error creating disk: " . $lv->get_last_error(); + } else { + $disk_path = libvirt_storagevolume_get_path($new_disk); + + //Not all virtual machines can use the virtio driver, set default to sata unless it is linux os + if ($target_bus == "default") { + if ($os_platform == "linux") { + $target_bus = "virtio"; + } else { + $target_bus = "sata"; + } + } + + if ($target_bus == "virtio") { + $target_dev = "vda"; + } + if ($target_bus == "sata" || $target_bus == "scsi") { + $target_dev = "sda"; + } + if ($existing_target_bus == "ide") { + $target_dev = "hda"; + } + $res = $new_vm; + $img = $disk_path; + $dev = $target_dev; + $typ = $target_bus; + $driver = $driver_type; + $add_new_disk_to_vm = $lv->domain_disk_add($res, $img, $dev, $typ, $driver); + if (!$add_new_disk_to_vm) { + $notification = $notification . " Error adding disk to virtual machine: " . $lv->get_last_error(); + } + } + } + + //Create and add storage volume to newly created virtual machine + if ($source_file_volume != "none" && $source_file_volume != "new" && $new_vm != false) { + + //Not all virtual machines can use the virtio driver, set default to sata unless it is linux os + if ($existing_target_bus == "default") { + if ($os_platform == "linux") { + $existing_target_bus = "virtio"; + } else { + $existing_target_bus = "sata"; + } + } + + if ($existing_target_bus == "virtio") { + $target_dev = "vda"; + } + if ($existing_target_bus == "sata" || $existing_target_bus == "scsi") { + $target_dev = "sda"; + } + if ($existing_target_bus == "ide") { + $target_dev = "hda"; + } + $res = $new_vm; + $img = $source_file_volume; + $dev = $target_dev; + $typ = $existing_target_bus; + $driver = $existing_driver_type; + $add_existing_disk_to_vm = $lv->domain_disk_add($res, $img, $dev, $typ, $driver); + if (!$add_existing_disk_to_vm) { + $notification = $notification . " Error adding disk to virtual machine: " . $lv->get_last_error(); + } + } + //--------------------- OPTICAL STORAGE SECTION ---------------------// + //Optical Storage Section + $source_file_cd = $_SESSION['source_file_cd']; + if ($source_file_cd != "none") { + $domName = $new_vm; + $dom = $lv->get_domain_object($domName); + $domXML = new SimpleXMLElement($lv->domain_get_xml($domName)); + //If $target_bus type is ide then we need to determine highest assigned value of drive, because storage may be using hda ex. hda, hdb, hdc... + $ide_array = array(); + for ($i = 'a'; $i < 'z'; $i++) { + $ide_array[] = "hd" . $i; + } + $tmp = libvirt_domain_get_disk_devices($dom); + $result = array_intersect($ide_array, $tmp); + if (count($result) > 0) { + $highestresult = max($result); + $target_dev = ++$highestresult; + } else { + $target_dev = "hda"; + } + //add a new cdrom XML + $disk = $domXML->devices->addChild('disk'); + $disk->addAttribute('type', 'file'); + $disk->addAttribute('device', 'cdrom'); + + $driver = $disk->addChild('driver'); + $driver->addAttribute('name', 'qemu'); + $driver->addAttribute('type', 'raw'); + + $source = $disk->addChild('source'); + $source->addAttribute('file', $source_file_cd); + + $target = $disk->addChild('target'); + $target->addAttribute('dev', $target_dev); + $target->addAttribute('bus', 'ide'); + + $newXML = $domXML->asXML(); + $newXML = str_replace('', '', $newXML); + + $add_iso_file = $lv->domain_change_xml($domName, $newXML); + if (!$add_iso_file) { + $notification = $notification . " Error adding ISO to virtual machine: " . $lv->get_last_error(); + } + } + //--------------------- NETWORK SECTION ---------------------// + //Network Section + $mac_address = $_SESSION['mac_address']; + $model_type = $_SESSION['model_type']; //virtio, rtl8139, e1000 + $source_network = $_SESSION['source_network']; //default, br0, etc + + //Sets the default network model driver to virtio for Linux Virtual Machines + if ($_SESSION['os_platform'] == "linux" && $model_type == "default") { + $model_type = "virtio"; + } + + //Sets the default network model driver to rtl8139 for Windows Virtual Machines + if ($_SESSION['os_platform'] == "windows" && $model_type == "default") { + $model_type = "rtl8139"; + } + + //In the future, when application is written to include Apple, change e1000 driver to e1000-82545em driver, works on High Sierra + if ($_SESSION['os_platform'] == "mac" && $model_type == "default") { + $model_type = "e1000-82545em"; + } + + $domName = $new_vm; + $add_nat_network = $lv->domain_nic_add($domName, $mac_address, $source_network, $model_type); + if (!$add_nat_network) { + $notification = $notification . " Error adding NAT network to virtual machine: " . $lv->get_last_error(); + } +} + +if ($action == "create-xml") { + $xml = $_SESSION['xml']; + + $new_vm = $lv->domain_define($xml); //Define the new virtual machine using libvirt, based off the XML information + if (!$new_vm) { + $notification = "Error creating domain: " . $lv->get_last_error(); //let the user know if there is an error + $notification = filter_var($notification, FILTER_SANITIZE_SPECIAL_CHARS); //Error message will contain special characters + } + + //Return back to the domain-single page if successful + if (!$notification) { + header('Location: instance-list-user.php'); + exit; + } +} //end if $_SESSION + + +//This will turn a shutdown virtual machine on. This option in only given when a machine is shutdown +if ($action == 'domain-start') { + $notification = $lv->domain_start($domName) ? "" : 'Error while starting Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance Started"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + +//This will pause a virtual machine and temporaily save it's state +if ($action == 'domain-pause') { + $notification = $lv->domain_suspend($domName) ? "" : 'Error while pausing Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance Paused"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + +//This will resume a paused virtual machine. Option is given only if a machine is paused +if ($action == 'domain-resume') { + $notification = $lv->domain_resume($domName) ? "" : 'Error while resuming Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance Resumed"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + +//This is used to gracefully shutdown the guest. +//There are many reasons why a guest cannot gracefully shutdown so if it can't, let the user know that +if ($action == 'domain-stop') { + $notification = $lv->domain_shutdown($domName) ? "" : 'Error while stopping Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance has been stopped"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + +//This will forcefully shutdown the virtual machine guest +if ($action == 'domain-destroy') { + $notification = $lv->domain_destroy($domName) ? "" : 'Error while destroying Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance destroyed"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + +//This will reboot the virtual machine guest +if ($action == 'domain-reboot') { + $notification = $lv->domain_reboot($domName) ? "" : 'Error while rebooting Instance: ' . $lv->get_last_error(); + $description = ($notification) ? $notification : "Instance rebooted"; + $insert = new MongoDB\Driver\BulkWrite(); + $insert->insert(['description' => $description, 'host_uuid' => $host_uuid, 'domain_uuid' => $domain_uuid, 'userid' => $userid, 'date' => new MongoDB\BSON\UTCDateTime(new DateTime())]); + $result = $conn->executeBulkWrite("arclight.arclight_events", $insert); +} + + +//Remove SESSION varibles created for domain creation +//General variables +unset($_SESSION['instance_type']); +unset($_SESSION['domain_type']); +unset($_SESSION['domain_name']); +unset($_SESSION['memory_unit']); +unset($_SESSION['memory']); +unset($_SESSION['vcpu']); +unset($_SESSION['tcores']); +unset($_SESSION['tthreads']); +unset($_SESSION['clock_offset']); +unset($_SESSION['os_platform']); +//Storage variables +unset($_SESSION['source_file_volume']); +unset($_SESSION['volume_image_name']); +unset($_SESSION['volume_capacity']); +unset($_SESSION['volume_size']); +unset($_SESSION['driver_type']); +unset($_SESSION['target_bus']); +unset($_SESSION['storage_pool']); +unset($_SESSION['existing_driver_type']); +unset($_SESSION['existing_target_bus']); +//ISO variables +unset($_SESSION['source_file_cd']); +//Network variables +unset($_SESSION['mac_address']); +unset($_SESSION['model_type']); +unset($_SESSION['source_network']); +//Create from XML +unset($_SESSION['xml']); + + +//if theme is dark change sidebar data-color +if (isset($_SESSION[themeColor])) { + $themeColor = $_SESSION['themeColor']; +} else { + $themeColor = "white"; +} + +$random_mac = $lv->generate_random_mac_addr(); //used to set default mac address value in form field +?> + +
"> + +
+

Virtual Machines

+
+
+ + + + +
+
+
+ +
+
+ +
+
"> +
+ +
+ + + + + + + + + + + + + get_domains(); + foreach ($doms as $name) { + $dom = $lv->get_domain_object($name); + $uuid = libvirt_domain_get_uuid_string($dom); + $active = $lv->domain_is_active($dom); + $info = $lv->domain_get_info($dom); + $mem = number_format($info['memory'] / 1024, 0, '.', '') . ' MB'; + $mem_stats = $lv->domain_get_memory_stats($name); + + $mem_used = (1 - $mem_stats[4] / $mem_stats[5]) * 100; + if ($mem_stats != false && !isset($mem_stats[4]) && !isset($mem_stats[5])) { + $mem_used = 100; + } + $cpu = $info['nrVirtCpu']; + + $state = $lv->domain_state_translate($info['state']); + $id = $lv->domain_get_id($dom); + $arch = $lv->domain_get_arch($dom); + $vnc = $lv->domain_get_vnc_port($dom); + $nics = $lv->get_network_cards($dom); + + if (($diskcnt = $lv->get_disk_count($dom)) > 0) { + $disks = $diskcnt . ' / ' . $lv->get_disk_capacity($dom); + $diskdesc = 'Current physical size: ' . $lv->get_disk_capacity($dom, true); + } else { + $disks = '----'; + $diskdesc = ''; + } + + $filter = ['domain_name' => $name]; + $read = new MongoDB\Driver\Query($filter); + $os_result = $conn->executeQuery('arclight.arclight_vms', $read); + $vm_info = $os_result->toArray(); + foreach ($vm_info as $row) { + if ($row->os == "windows") { + $os_icon = ""; + } else if ($row->os == 'linux') { + $os_icon = ""; + } else if ($row->os == 'mac') { + $os_icon = ""; + } else if ($row->os == 'unix') { + $os_icon = ""; + } else if ($row->os == 'other') { + $os_icon = ""; + } else { + $os_icon = ""; + } + } + unset($tmp); + unset($dom); + + //echo "" . + echo "" . + "" . + "" . + "" . + "" . + "" . + "" . + "" . + ""; + echo ""; + } + ?> + +
NameOSCPUsMemoryMemory UsageDisksStateActions
" . htmlentities($name) . " $os_icon $cpu $mem "; + if ($row->instance_type == 'vm' && $active == true) { + echo "
+
+
"; + } else if ($row->instance_type == 'bare_metal' && $active == true) { + //class added in dist\css\bootstrap.min.css + echo "
+
+
"; + } else { + echo "----"; + } + echo "
$disks$state"; + + if ($lv->domain_is_running($name)) { + echo " Shutdown | Power off | Pause | Reboot"; + } else if ($lv->domain_is_paused($name)) { + echo " Resume"; + } else { + echo " Power on"; + } + echo "
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/logging/logs.php b/pages/logging/logs.php index fa19e2ce..b06f53f7 100644 --- a/pages/logging/logs.php +++ b/pages/logging/logs.php @@ -108,4 +108,4 @@ } }; getLogs(); - \ No newline at end of file + diff --git a/pages/terminal/xterm.php b/pages/terminal/xterm.php index 49eb3201..760697bb 100644 --- a/pages/terminal/xterm.php +++ b/pages/terminal/xterm.php @@ -1,105 +1,105 @@ -getConnection(); -$userid = $_SESSION['userid']; - -//Setting the SSL Certificate file path -$filter = ['name' => 'cert_path']; -$option = []; -$read = new MongoDB\Driver\Query($filter, $option); -$result = $conn->executeQuery("arclight.arclight_configs", $read); -$result = $result->toArray(); -//get value from array -$cert_path = $result[0]->value; -if ($cert_path != "") { - $cert_option = "--certfile=" . $cert_path; //--cert is option used in noVNC connection string -} else { - $cert_option = "--certfile=/etc/ssl/fullchain.pem"; //sets default location if nothing in database -} - -//Setting the SSL Certificate file path -$filter = ['name' => 'key_path']; -$option = []; -$read = new MongoDB\Driver\Query($filter, $option); -$result = $conn->executeQuery("arclight.arclight_configs", $read); -$result = $result->toArray(); - -//get value from array -$key_path = $result[0]->value; -if ($key_path != "") { - $key_option = "--keyfile=" . $key_path; //--key is option used in noVNC connection string -} else { - $key_option = "--keyfile=/etc/ssl/privkey.pem"; //sets default location if nothing in database -} - -?> -
"> -
-
-
- -
-
-
- - - -
- - - \ No newline at end of file diff --git a/routes/terminal.js b/routes/terminal.js index dbccc942..652ff602 100644 --- a/routes/terminal.js +++ b/routes/terminal.js @@ -4,29 +4,26 @@ const { exec, spawn } = require("child_process"); router.post('/wssh', (req, res) => { const body = req.body; //using the spawn method to read output continuously, and without limit (future-use): - const child = spawn('wssh', [`${body.cert_option}`, `${body.key_option}`, `--log-file-prefix=/var/www/html/arclight/logs/terminal.log`]); + const child = spawn('sudo', ['wssh', `${body.cert_option}`, `${body.key_option}`, '--log-file-prefix=/var/www/html/arclight/logs/terminal.log']); child.stdout.on('data', (data) => { - console.log(`stdout: ${data}`); return res.status(500).json({ success: 0, - data: data + data: data.toString() }); }) child.stderr.on('data', (data) => { - console.log(`stderr: ${data}`); return res.status(200).json({ success: 1, - data: data + data: data.toString() }); }); child.on('error', (error) => { - console.log(`error: ${error}`); return res.status(500).json({ success: 0, message: "SSH connection error", - error: error + error: error.toString() }); }); child.on('exit', (code, signal) => { diff --git a/startup.sh b/startup.sh index 65ddc192..a7ca1919 100755 --- a/startup.sh +++ b/startup.sh @@ -35,7 +35,7 @@ sudo -n true test $? -eq 0 || exit 1 "You should have sudo privilege to run this script" echo -e "${green}Installing pre-requisites${clear}" -while read -r p; do sudo apt-get install -y "$p"; done < <( +while read -r p; do sudo apt install -y "$p"; done < <( cat <<"EOF" curl wget @@ -60,12 +60,11 @@ EOF if [ "$(lsb_release -a | grep -c 20.04)" -eq 2 ]; then echo -e "${green}Working on MongoDB Database${clear}" apt install php-dev php-pear -y - apt-get install mongodb - sudo apt install -y php-dev + apt install mongodb pecl install mongodb echo -e "\n; MongoDB PHP driver\nextension=mongodb.so" | sudo tee -a /etc/php/7.4/apache2/php.ini echo -e "${green}Installing packages for Ubuntu 20.04${clear}" - while read -r p; do sudo apt-get install -y "$p"; done < <( + while read -r p; do sudo apt install -y "$p"; done < <( cat <<"EOF" python3 python3-pip @@ -74,7 +73,7 @@ EOF elif [ "$(lsb_release -a | grep -c 18.04)" -eq 2 ]; then echo -e "${green}Installing packages for Ubuntu 18.04${clear}" - while read -r p; do sudo apt-get install -y "$p"; done < <( + while read -r p; do sudo apt install -y "$p"; done < <( cat <<"EOF" mongodb php-mongodb @@ -84,18 +83,18 @@ EOF ) elif [ "$(lsb_release -a | grep -c 22.04)" -eq 2 ]; then echo -e "${green}Working on MongoDB Database${clear}" - sudo apt-get update -y + sudo apt update -y wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list - sudo apt-get update -y - sudo apt-get install -y mongodb-org + sudo apt update -y + sudo apt install -y mongodb-org sudo apt install -y php-dev pecl install mongodb echo -e "\n; MongoDB PHP driver\nextension=mongodb.so" | sudo tee -a /etc/php/8.1/apache2/php.ini echo -e "${green}Installing packages for for Ubuntu 22.04${clear}" - while read -r p; do sudo apt-get install -y "$p"; done < <( + while read -r p; do sudo apt install -y "$p"; done < <( cat <<"EOF" python3 python3-pip @@ -115,30 +114,24 @@ adduser www-data libvirt cd /var/www/html echo -e "${green}Getting the latest version of arclight...${clear}" sleep 4 -wget https://github.com/Chatnaut/Arclight/archive/refs/tags/v2.0.0.tar.gz +wget https://github.com/Chatnaut/Arclight/archive/refs/tags/v2.0.1.tar.gz echo -e "${green}Extracting the archive...${clear}" -tar -xzf v2.0.0.tar.gz -mv Arclight-2.0.0 arclight +tar -xzf v2.0.1.tar.gz && mv Arclight-2.0.1 arclight chown -R www-data:www-data /var/www/html/arclight -#Setup PM2 process manager to keep your app running -echo -e "${green}Setting-up Arc API...${clear}" +#Setup PM2 process manager to keep your api running +echo -e "${green}Setting-up the Arc API...${clear}" curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - apt install nodejs npm i pm2 -g -#npm install -#pm2 start /var/www/html/arclight/app.js cd /var/www/html/arclight -pm2 start npm --name "arc" --log-date-format 'DD-MM HH:mm:ss.SSS' -- start - +pm2 start ecosystem.config.js pm2 save -# To make sure app starts when reboot +# To make sure api starts when reboot pm2 startup echo -e "${green}Configuring Apache To Proxy Connections...${clear}" -a2enmod proxy -a2enmod proxy_http -a2enmod rewrite +a2enmod proxy proxy_http rewrite echo "You're good now :)" @@ -150,8 +143,8 @@ cat <<"EOF" | Finished! | | /\ ._ _ | o _ |_ _|_ '--------------' | /--\ | (_ | | (_| | | |_ ^ (\_/) | _| - '----- (O.o) | You can now access the web interface at: - (> <) | http://ip-address-of-machine/ + '----- (O.o) | After adding Reverse Proxy & Encryption, You can access the web interface at: + (> <) | https://ip-address-of-machine/ EOF #reboot the server to apply changes diff --git a/tokens.php b/tokens.php index 30119fa9..6a61f8db 100755 --- a/tokens.php +++ b/tokens.php @@ -1 +1,2 @@ +hc0oy5cro5zboh1jv5fcwv18vjj4kxkvowyp0hv1v2u88kvbwmib7vk333s05mi232ckfbf37d3cgg2zszon1mpirindat1ojkyb: localhost:5901 From 99375d2df9892c93eb93008f13874fbea213d5c3 Mon Sep 17 00:00:00 2001 From: SV <75138345+S4nfs@users.noreply.github.com> Date: Wed, 7 Sep 2022 23:02:38 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8191146d..4f82c62a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ + +

Chatnaut_Cloud_Solutions

- +

+Arclight - An open source server virtualization management solution | Product Hunt + +

@@ -11,7 +16,7 @@ - GitHub open issues + GitHub open issues Follow @chatnaut @@ -45,7 +50,7 @@ Arclight is a server virtualization management solution based on KVM. It is desi

- ?? ?? ?? + 🎉 🚀 🐱

@@ -58,7 +63,7 @@ Arclight is a server virtualization management solution based on KVM. It is desi

-## ? Arclight Features +## ✨ Arclight Features - Simple and Minimalist UI - Create virtual machines on bare-metal servers or in your home lab. - Nested virtualization including Bare-Metal provisioning (Vms inside Vms). @@ -74,26 +79,28 @@ Arclight is a server virtualization management solution based on KVM. It is desi



-## ?? Getting Started +## 🏁 Getting Started - [Installation](#Installation) - - [Installation on Ubuntu Server](#Installation-on-Ubuntu-Server) - - [Installation on CentOS 7 Server](#Installation-on-CentOS-7-Server) -- [Add Custom Storage Pools](#Add-Custom-Storage-Pools) -- [ISO images for KVM machines](#ISO-images-for-KVM-machines) -- [Encrypt Arclight Console](#Encrypt-Arclight-Console) -- [Encrypt Arclight console with self-signed cert](#Encrypt-Arclight-console-with-self-signed-cert) -

Arclight documentation
lives here.
+ - [Installation on Ubuntu Server](https://docs.chatnaut.com/getting_started/ubuntu) + - [Installation on CentOS 8 Server](https://docs.chatnaut.com/getting_started/centos) +- [Add Reverse Proxy & Encrypt Arclight](https://docs.chatnaut.com/encrypt_arclight/) + - [Add Reverse Proxy & Encrypt Arclight with Let’s Encrypt](https://docs.chatnaut.com/encrypt_arclight/cert) + - [Add Reverse Proxy & Encrypt Encrypt Arclight with self-signed cert](https://docs.chatnaut.com/encrypt_arclight/self-cert) +- [Add Custom Storage Pools](https://docs.chatnaut.com/add-storage-pool) +- [ISO images for KVM machines](https://docs.chatnaut.com/iso-images-for-kvm) +

Arclight documentation lives here.
For More Information about its features visit arclight page at chatnaut.com



-## ????? License +## 👨‍💻 License Arclight is open-source, licensed as GPL v3. The client and component libraries are licensed as MPL.



-## ?? Contributing to Arclight +## 👋 Contributing to Arclight From opening a bug report to creating a pull request: every contribution is appreciated and welcomed. If you're planning to implement a new feature or change the API please create an issue first. This way we can ensure your work is not in vain. Let's build this damn Cloud ! +