New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

whatap

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

whatap - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

lib/observers/mongoose-observer.js

1

lib/conf/base.js

@@ -132,2 +132,3 @@ /**

//2017.05.02 AUTO ONAME
"auto_oname_enabled" : false,
"auto_oname_prefix" : "nodejs",

@@ -134,0 +135,0 @@ "auto_oname_reset" : 0,

15

lib/observers/express-observer.js

@@ -13,4 +13,4 @@ /**

URLPatternDetector = require('../trace/serviceurl-pattern-detector').Detector,
PathMap = require('../trace/serviceurl-pattern-detector').PathMap;
Long = require('long');
PathMap = require('../trace/serviceurl-pattern-detector').PathMap,
Long = require('long');

@@ -48,5 +48,7 @@ var ExpressObserver = function(agent){

aop.before(mod.Router, 'use', function (obj, args) {
var path = typeof args[0] === 'string' ? args[0] : '/',
msg = 'Express',
hash_middle = HashUtil.hashFromString(msg);
if(typeof args[0] == 'string' && args[1]) {

@@ -74,6 +76,8 @@ var tmp = args[1];

if(args.length > 0) {
if(args.length > 1) {
var func = args[args.length - 1];
if(func.length > 3) {
return;
}
var funcName = getFunctionName(func) || 'User defined function';
aop.functionHook(args, -1, function (obj, args) {

@@ -92,2 +96,5 @@ var ctx = TraceContextManager.getCurrentContext();

self.agent.aop.functionHook(args, -1, function (obj, args) {
if(args[0] instanceof Error ) {
return;
}
step.time = ctx.getElapsedTime() - step.start_time;

@@ -94,0 +101,0 @@ });

@@ -50,2 +50,3 @@ /**

this.packages = ['http','https'];
URLPatternDetector.build(true);
};

@@ -52,0 +53,0 @@

{
"name": "whatap",
"homepage": "http://www.whatap.io",
"version": "0.1.2",
"releaseDate": "20170510",
"version": "0.1.3",
"releaseDate": "20170512",
"description": "Monitoring and Profiling Service",

@@ -7,0 +7,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc