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

shepherd-plugin-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shepherd-plugin-interfaces - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

1

index.ts

@@ -21,2 +21,3 @@ import { Readable } from "stream"

| 'noop' // no operation
| 'retry' // clean up and retry
| (string & {})

@@ -23,0 +24,0 @@ err_message?: string // optional error message

15

logger.ts
import col from 'ansi-colors'
import { EOL } from 'os'
import fs from 'fs'
export const logger = (...args: any[]) => {
/* print single objects as json text */
if(args.length === 1 && typeof args[0] === 'object'){
console.log(JSON.stringify(args[0]))
return;
}
let prefix = '[logger]'

@@ -14,8 +19,2 @@ if(args.length > 1){

// //outputs a csv file
// fs.appendFile(
// 'shepherd.log',
// "\"" + new Date().toUTCString() + '\",' + prefix + ',' + args.join(',') + EOL,
// ()=>{}
// )
}
{
"name": "shepherd-plugin-interfaces",
"version": "0.3.0",
"version": "0.3.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -43,3 +43,3 @@ /**

export interface StateRecord {
pname: ('indexer_pass1' | 'indexer_pass2' | 'seed_position')
pname: 'indexer_pass1' | 'indexer_pass2' | 'seed_position' | (string & {})
value: number

@@ -46,0 +46,0 @@ }

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