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

read

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

test/many.js

9

lib/read.js

@@ -12,6 +12,12 @@

if (typeof opts.default !== 'undefined' &&
typeof opts.default !== 'string' &&
typeof opts.default !== 'number') {
throw new Error('default value must be string or number')
}
var input = opts.input || process.stdin
var output = opts.output || process.stdout
var m = new Mute({ replace: opts.replace })
m.pipe(output)
m.pipe(output, {end: false})
output = m

@@ -69,2 +75,3 @@ var def = opts.default || ''

output.mute()
output.end()
}

@@ -71,0 +78,0 @@

2

package.json
{
"name": "read",
"version": "1.0.2",
"version": "1.0.3",
"main": "lib/read.js",

@@ -5,0 +5,0 @@ "dependencies": {

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