![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
mongoose-xray
Advanced tools
A Mongoose plugin to log requests and subsegments through AWSXray. This library requires Mongoose 5.x.
The plugin relies on AWS XRay automatic mode being in effect.
For more details on using XRay, see the docs
Simply register as a normal mongoose plugin.
Note that the plugin must be added before a connection is established.
const xRayPlugin = require('mongoose-xray');
const gameSchema = new Schema({ ... });
gameSchema.plugin(xRayPlugin);
// Can also be registered as a global plugin
const mongoose = require('mongoose');
mongoose.plugin(require('mongoose-xray'));
If the options have the verbose flag turned on, more metadata will be added to XRay, potentially at the expense of performance
const mongoose = require('mongoose');
mongoose.plugin(require('mongoose-xray'), { verbose:true });
verbose
Adds additional metadata based on the type of operaton being conductedFor all operations, XRay will record:
With verbose:true, the following will be added:
FAQs
AWS-Xray plugin for Mongoose
The npm package mongoose-xray receives a total of 1,005 weekly downloads. As such, mongoose-xray popularity was classified as popular.
We found that mongoose-xray demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.