Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phenomnomnominal/debug

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phenomnomnominal/debug - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

6

dist/debugger.js

@@ -20,8 +20,8 @@ "use strict";

DebuggerΩ.prototype.shouldWrap = function (requirePath) {
console.log(requirePath);
process.stderr.write(requirePath + "\n");
var isNodeModule = module_1.default.builtinModules.includes(requirePath) || requirePath.includes('node_modules');
var isIncludedModule = this._include.some(function (regexp) { return regexp.test(requirePath); });
var isIgnoredModule = this._ignore.some(function (regexp) { return regexp.test(requirePath); });
console.log(this._ignore);
console.log(isIgnoredModule);
process.stderr.write(JSON.stringify(this._ignore) + "\n");
process.stderr.write(JSON.stringify(isIgnoredModule) + "\n");
return !((isNodeModule && !isIncludedModule) || isIgnoredModule);

@@ -28,0 +28,0 @@ };

{
"name": "@phenomnomnominal/debug",
"version": "0.1.2",
"version": "0.1.3",
"description": "Very lazy tool for adding debug logging",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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