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

@composite-fetcher/with-logging

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@composite-fetcher/with-logging - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

8

./dist/index.js

@@ -0,1 +1,6 @@

// src/withLogging.ts
import {
BasePlugin
} from "@composite-fetcher/core";
// src/ConsoleLogger.ts

@@ -30,5 +35,6 @@ var ConsoleLogger = class {

// src/withLogging.ts
var withLoggingPlugin = class {
var withLoggingPlugin = class extends BasePlugin {
logger;
constructor(logger) {
super();
this.logger = logger || new ConsoleLogger();

@@ -35,0 +41,0 @@ }

4

dist/index.d.ts

@@ -1,2 +0,2 @@

import { PluginHandlerContext, PluginLifecycleHook } from '@composite-fetcher/core';
import { BasePlugin, PluginHandlerContext, PluginLifecycleHook } from '@composite-fetcher/core';

@@ -14,3 +14,3 @@ interface Logger {

declare class withLoggingPlugin {
declare class withLoggingPlugin extends BasePlugin {
private logger;

@@ -17,0 +17,0 @@ constructor(logger?: Logger);

@@ -0,1 +1,6 @@

// src/withLogging.ts
import {
BasePlugin
} from "@composite-fetcher/core";
// src/ConsoleLogger.ts

@@ -30,5 +35,6 @@ var ConsoleLogger = class {

// src/withLogging.ts
var withLoggingPlugin = class {
var withLoggingPlugin = class extends BasePlugin {
logger;
constructor(logger) {
super();
this.logger = logger || new ConsoleLogger();

@@ -35,0 +41,0 @@ }

{
"name": "@composite-fetcher/with-logging",
"description": "A simple logging plugin for composite fetcher",
"version": "0.2.2",
"version": "0.3.0",
"author": "Teofanis Papadopulos",

@@ -6,0 +6,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

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