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

unix-head-tail

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unix-head-tail - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

index.js

@@ -39,2 +39,3 @@ // -*- compile-command: "node test.js"; -*-

})
out[out.length - 1] = 10
}

@@ -49,3 +50,3 @@

if (begByte > 0) begByte++
readFileRange(filePath, begByte, endByte - 1, (err, b) => {
readFileRange(filePath, begByte, endByte, (err, b) => {
cb(err, b)

@@ -52,0 +53,0 @@ })

{
"name": "unix-head-tail",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -10,4 +10,4 @@ "main": "index.js",

"repository": {
"type" : "git",
"url" : "https://github.com/gpryor/unix-head-tail.git"
"type": "git",
"url": "https://github.com/gpryor/unix-head-tail.git"
},

@@ -14,0 +14,0 @@ "keywords": [],

@@ -7,3 +7,3 @@ // -*- compile-command: "node test.js"; -*-

var fn = 'test.txt'
var gold = (n, m) => { return [0,1,2,3,4,5,6,7,9].slice(n, m+1).join('\n') }
var gold = (n, m) => { return [0,1,2,3,4,5,6,7,9].slice(n, m+1).join('\n') + '\n' }
var is = (a, b) => { return a.toString() == b.toString() }

@@ -10,0 +10,0 @@ var check = (n, m, cb) => {

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