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

draftlog

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draftlog - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

lib/into.js

@@ -18,2 +18,6 @@ 'use strict'

console.draft = function draft() {
// Log this
console.log.apply(null, arguments)
// Return usual console.log method
return console.log.bind(console)

@@ -20,0 +24,0 @@ }

2

package.json
{
"name": "draftlog",
"version": "1.0.7",
"version": "1.0.8",
"description": "Update logged lines after logging them",

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

@@ -68,3 +68,3 @@ ![DraftLog](midia/draftlog.png)

console.log('It doesn't matter')
console.log('It doesn`t matter')
console.log('How \n many \n lines \n ituses')

@@ -141,2 +141,4 @@ ```

DraftLog(console, true)
// Or, with one line require-init:
require('draftlog').into(console, true)
```

@@ -143,0 +145,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