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

@geek/logger

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geek/logger - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

micromatch.js

15

Logger.js

@@ -14,2 +14,3 @@ 'use strict';

const picomatch = require('picomatch');
const micromatch = require('./micromatch');
const _ = require('lodash');

@@ -326,10 +327,12 @@

// console.trace(`📌 you are here → Logger.applyFilters()`);
for (const filter of namespace_filters) {
// console.debug(`🦠 Logger.namespaces: ${JSON.stringify(Logger.namespaces, null, 2)}`);
// console.debug(`🦠 namespace_filters: ${JSON.stringify(namespace_filters, null, 2)}`);
const isMatch = picomatch(filter);
// const matches = micromatch(Logger.namespaces, namespace_filters);
// console.debug(`🦠 matches: ${JSON.stringify(matches, null, 2)}`);
for (const namespace of Logger.namespaces) {
all_namespaces.set(namespace, isMatch(namespace));
}
for (const namespace of Logger.namespaces) {
// console.debug(`🦠 namespace: ${JSON.stringify(namespace, null, 2)}`);
// console.debug(`🦠 micromatch.all(namespace, namespace_filters): ${JSON.stringify(micromatch.all(namespace, namespace_filters), null, 2)}`);
all_namespaces.set(namespace, micromatch.all(namespace, namespace_filters));
}

@@ -336,0 +339,0 @@ };

6

package.json
{
"name": "@geek/logger",
"version": "0.0.11",
"version": "0.0.12",
"description": "Logging module for Node.js and Axway Titanium",

@@ -10,2 +10,3 @@ "main": "Logger.js",

"prepublishOnly": "git pull && bump",
"lint": "eslint --fix .",
"test": "echo \"no test specified\" && exit 0"

@@ -53,2 +54,5 @@ },

"eslint": "^7.9.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^30.5.1",
"eslint-plugin-promise": "^4.2.1",
"fs-extra": "^9.0.1",

@@ -55,0 +59,0 @@ "lodash": "^4.17.20"

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